From 398b16d0aaae77c2e3feae8ca8f5b205e0016f38 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 31 Oct 2023 10:25:24 +0000 Subject: [PATCH] Update generated files with build 127844 --- .../item/publish/publishPostRequestBody.ts | 4 +- .../item/teamsAppItemRequestBuilder.ts | 4 +- src/applications/delta/deltaGetResponse.ts | 2 +- ...vailableExtensionPropertiesPostResponse.ts | 2 +- .../getByIds/getByIdsPostResponse.ts | 2 +- .../item/addKey/addKeyPostRequestBody.ts | 4 +- .../addPassword/addPasswordPostRequestBody.ts | 2 +- .../acquireAccessTokenPostRequestBody.ts | 2 +- .../provisionOnDemandPostRequestBody.ts | 2 +- .../item/restart/restartPostRequestBody.ts | 2 +- .../filterOperatorsGetResponse.ts | 2 +- .../schema/functions/functionsGetResponse.ts | 2 +- .../parseExpressionPostRequestBody.ts | 4 +- .../validateCredentialsPostRequestBody.ts | 2 +- .../validateCredentialsPostRequestBody.ts | 2 +- .../filterOperatorsGetResponse.ts | 2 +- .../schema/functions/functionsGetResponse.ts | 2 +- .../parseExpressionPostRequestBody.ts | 4 +- .../getAllMessagesGetResponse.ts | 2 +- .../hideForUser/hideForUserPostRequestBody.ts | 2 +- .../item/upgrade/upgradePostRequestBody.ts | 2 +- .../markChatReadForUserPostRequestBody.ts | 2 +- .../markChatUnreadForUserPostRequestBody.ts | 2 +- .../item/members/add/addPostRequestBody.ts | 2 +- src/chats/item/members/add/addPostResponse.ts | 2 +- .../item/messages/delta/deltaGetResponse.ts | 2 +- .../hostedContentsRequestBuilder.ts | 4 +- .../item/replies/delta/deltaGetResponse.ts | 2 +- .../hostedContentsRequestBuilder.ts | 4 +- .../item/replies/repliesRequestBuilder.ts | 6 +- ...sendActivityNotificationPostRequestBody.ts | 8 +- .../unhideForUserPostRequestBody.ts | 2 +- ...thFromDateTimeWithToDateTimeGetResponse.ts | 2 +- ...thFromDateTimeWithToDateTimeGetResponse.ts | 2 +- .../item/answer/answerPostRequestBody.ts | 4 +- .../invite/invitePostRequestBody.ts | 2 +- .../invite/inviteRequestBuilder.ts | 6 +- .../startHoldMusicPostRequestBody.ts | 2 +- .../playPrompt/playPromptPostRequestBody.ts | 2 +- .../recordResponsePostRequestBody.ts | 2 +- .../item/redirect/redirectPostRequestBody.ts | 2 +- .../item/transfer/transferPostRequestBody.ts | 4 +- ...econferenceDeviceQualityPostRequestBody.ts | 2 +- .../getPresencesByUserIdPostResponse.ts | 2 +- .../createOrGet/createOrGetPostRequestBody.ts | 4 +- .../setStatusMessagePostRequestBody.ts | 2 +- .../addActivitiesPostRequestBody.ts | 2 +- .../addActivitiesPostResponse.ts | 2 +- src/contacts/delta/deltaGetResponse.ts | 2 +- ...vailableExtensionPropertiesPostResponse.ts | 2 +- src/contacts/getByIds/getByIdsPostResponse.ts | 2 +- src/contracts/delta/deltaGetResponse.ts | 2 +- ...vailableExtensionPropertiesPostResponse.ts | 2 +- .../getByIds/getByIdsPostResponse.ts | 2 +- .../deviceAppManagementRequestBuilder.ts | 4 +- .../managedAppPolicyItemRequestBuilder.ts | 6 +- .../targetApps/targetAppsPostRequestBody.ts | 2 +- .../managedAppPoliciesRequestBuilder.ts | 6 +- .../targetApps/targetAppsPostRequestBody.ts | 2 +- .../targetApps/targetAppsPostRequestBody.ts | 2 +- ...anagedAppRegistrationItemRequestBuilder.ts | 6 +- .../managedAppRegistrationsRequestBuilder.ts | 6 +- .../managedAppStatusItemRequestBuilder.ts | 6 +- .../item/assign/assignPostRequestBody.ts | 2 +- .../assignments/assignmentsRequestBuilder.ts | 6 +- ...anagedEBookAssignmentItemRequestBuilder.ts | 12 +- .../item/managedEBookItemRequestBuilder.ts | 6 +- .../item/assign/assignPostRequestBody.ts | 2 +- .../mobileAppConfigurationsRequestBuilder.ts | 6 +- .../item/assign/assignPostRequestBody.ts | 2 +- .../item/commit/commitPostRequestBody.ts | 2 +- .../item/commit/commitPostRequestBody.ts | 2 +- .../item/commit/commitPostRequestBody.ts | 2 +- .../item/commit/commitPostRequestBody.ts | 2 +- .../item/commit/commitPostRequestBody.ts | 2 +- .../item/commit/commitPostRequestBody.ts | 2 +- .../item/commit/commitPostRequestBody.ts | 2 +- .../item/commit/commitPostRequestBody.ts | 2 +- .../item/commit/commitPostRequestBody.ts | 2 +- .../item/commit/commitPostRequestBody.ts | 2 +- .../item/commit/commitPostRequestBody.ts | 2 +- .../item/mobileAppItemRequestBuilder.ts | 18 +- .../mobileApps/mobileAppsRequestBuilder.ts | 12 +- .../item/assign/assignPostRequestBody.ts | 2 +- .../targetApps/targetAppsPostRequestBody.ts | 2 +- .../deviceCompliancePoliciesRequestBuilder.ts | 6 +- .../item/assign/assignPostRequestBody.ts | 2 +- .../item/assign/assignPostResponse.ts | 2 +- ...eviceCompliancePolicyItemRequestBuilder.ts | 18 +- .../scheduleActionsForRulesPostRequestBody.ts | 2 +- .../deviceConfigurationsRequestBuilder.ts | 12 +- .../item/assign/assignPostRequestBody.ts | 2 +- .../item/assign/assignPostResponse.ts | 2 +- .../deviceConfigurationItemRequestBuilder.ts | 18 +- ...eEnrollmentConfigurationsRequestBuilder.ts | 6 +- .../item/assign/assignPostRequestBody.ts | 2 +- ...rollmentConfigurationItemRequestBuilder.ts | 12 +- .../deviceManagementRequestBuilder.ts | 4 +- ...ffectivePermissionsWithScopeGetResponse.ts | 2 +- .../importEscaped/importPostRequestBody.ts | 2 +- .../importEscaped/importPostResponse.ts | 2 +- ...dateWindowsDeviceAccountPostRequestBody.ts | 2 +- .../item/roleDefinitionItemRequestBuilder.ts | 18 +- .../roleDefinitionsRequestBuilder.ts | 6 +- ...rmanceDevicesWithSummarizeByGetResponse.ts | 2 +- src/devices/delta/deltaGetResponse.ts | 2 +- ...vailableExtensionPropertiesPostResponse.ts | 2 +- src/devices/getByIds/getByIdsPostResponse.ts | 2 +- .../delta/deltaGetResponse.ts | 2 +- ...vailableExtensionPropertiesPostResponse.ts | 2 +- .../getByIds/getByIdsPostResponse.ts | 2 +- .../count/countRequestBuilder.ts | 6 +- .../deviceLocalCredentials}/count/index.ts | 0 .../deviceLocalCredentialsRequestBuilder.ts | 173 ++++++++++++++++ src/directory/deviceLocalCredentials/index.ts | 1 + ...ceLocalCredentialInfoItemRequestBuilder.ts | 173 ++++++++++++++++ .../deviceLocalCredentials/item/index.ts | 1 + src/directory/directoryRequestBuilder.ts | 7 + .../delta/deltaGetResponse.ts | 2 +- ...vailableExtensionPropertiesPostResponse.ts | 2 +- .../getByIds/getByIdsPostResponse.ts | 2 +- .../delta/deltaGetResponse.ts | 2 +- ...vailableExtensionPropertiesPostResponse.ts | 2 +- .../getByIds/getByIdsPostResponse.ts | 2 +- src/directoryRoles/delta/deltaGetResponse.ts | 2 +- ...vailableExtensionPropertiesPostResponse.ts | 2 +- .../getByIds/getByIdsPostResponse.ts | 2 +- .../federationConfigurationRequestBuilder.ts | 5 +- .../items/item/copy/copyPostRequestBody.ts | 2 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/items/item/delta/deltaGetResponse.ts | 2 +- .../deltaWithTokenGetResponse.ts | 2 +- .../items/item/driveItemItemRequestBuilder.ts | 6 +- .../getActivitiesByIntervalGetResponse.ts | 2 +- ...eWithEndDateTimeWithIntervalGetResponse.ts | 2 +- .../item/invite/invitePostRequestBody.ts | 2 +- .../items/item/invite/invitePostResponse.ts | 2 +- .../item/grant/grantPostRequestBody.ts | 2 +- .../item/grant/grantPostResponse.ts | 2 +- .../item/restore/restorePostRequestBody.ts | 2 +- .../searchWithQ/searchWithQGetResponse.ts | 2 +- .../functions/abs/absPostRequestBody.ts | 2 +- .../accrInt/accrIntPostRequestBody.ts | 16 +- .../accrIntM/accrIntMPostRequestBody.ts | 10 +- .../functions/acos/acosPostRequestBody.ts | 2 +- .../functions/acosh/acoshPostRequestBody.ts | 2 +- .../functions/acot/acotPostRequestBody.ts | 2 +- .../functions/acoth/acothPostRequestBody.ts | 2 +- .../amorDegrc/amorDegrcPostRequestBody.ts | 14 +- .../amorLinc/amorLincPostRequestBody.ts | 14 +- .../functions/and/andPostRequestBody.ts | 2 +- .../functions/arabic/arabicPostRequestBody.ts | 2 +- .../functions/areas/areasPostRequestBody.ts | 2 +- .../functions/asc/ascPostRequestBody.ts | 2 +- .../functions/asin/asinPostRequestBody.ts | 2 +- .../functions/asinh/asinhPostRequestBody.ts | 2 +- .../functions/atan/atanPostRequestBody.ts | 2 +- .../functions/atan2/atan2PostRequestBody.ts | 4 +- .../functions/atanh/atanhPostRequestBody.ts | 2 +- .../functions/aveDev/aveDevPostRequestBody.ts | 2 +- .../average/averagePostRequestBody.ts | 2 +- .../averageA/averageAPostRequestBody.ts | 2 +- .../averageIf/averageIfPostRequestBody.ts | 6 +- .../averageIfs/averageIfsPostRequestBody.ts | 4 +- .../bahtText/bahtTextPostRequestBody.ts | 2 +- .../functions/base/basePostRequestBody.ts | 6 +- .../besselI/besselIPostRequestBody.ts | 4 +- .../besselJ/besselJPostRequestBody.ts | 4 +- .../besselK/besselKPostRequestBody.ts | 4 +- .../besselY/besselYPostRequestBody.ts | 4 +- .../beta_Dist/beta_DistPostRequestBody.ts | 12 +- .../beta_Inv/beta_InvPostRequestBody.ts | 10 +- .../bin2Dec/bin2DecPostRequestBody.ts | 2 +- .../bin2Hex/bin2HexPostRequestBody.ts | 4 +- .../bin2Oct/bin2OctPostRequestBody.ts | 4 +- .../binom_Dist/binom_DistPostRequestBody.ts | 8 +- .../binom_Dist_RangePostRequestBody.ts | 8 +- .../binom_Inv/binom_InvPostRequestBody.ts | 6 +- .../functions/bitand/bitandPostRequestBody.ts | 4 +- .../bitlshift/bitlshiftPostRequestBody.ts | 4 +- .../functions/bitor/bitorPostRequestBody.ts | 4 +- .../bitrshift/bitrshiftPostRequestBody.ts | 4 +- .../functions/bitxor/bitxorPostRequestBody.ts | 4 +- .../ceiling_MathPostRequestBody.ts | 6 +- .../ceiling_PrecisePostRequestBody.ts | 4 +- .../functions/char/charPostRequestBody.ts | 2 +- .../chiSq_Dist/chiSq_DistPostRequestBody.ts | 6 +- .../chiSq_Dist_RTPostRequestBody.ts | 4 +- .../chiSq_Inv/chiSq_InvPostRequestBody.ts | 4 +- .../chiSq_Inv_RTPostRequestBody.ts | 4 +- .../functions/choose/choosePostRequestBody.ts | 4 +- .../functions/clean/cleanPostRequestBody.ts | 2 +- .../functions/code/codePostRequestBody.ts | 2 +- .../columns/columnsPostRequestBody.ts | 2 +- .../functions/combin/combinPostRequestBody.ts | 4 +- .../combina/combinaPostRequestBody.ts | 4 +- .../complex/complexPostRequestBody.ts | 6 +- .../concatenate/concatenatePostRequestBody.ts | 2 +- .../confidence_NormPostRequestBody.ts | 6 +- .../confidence_TPostRequestBody.ts | 6 +- .../convert/convertPostRequestBody.ts | 6 +- .../functions/cos/cosPostRequestBody.ts | 2 +- .../functions/cosh/coshPostRequestBody.ts | 2 +- .../functions/cot/cotPostRequestBody.ts | 2 +- .../functions/coth/cothPostRequestBody.ts | 2 +- .../functions/count/countPostRequestBody.ts | 2 +- .../functions/countA/countAPostRequestBody.ts | 2 +- .../countBlank/countBlankPostRequestBody.ts | 2 +- .../countIf/countIfPostRequestBody.ts | 4 +- .../countIfs/countIfsPostRequestBody.ts | 2 +- .../coupDayBs/coupDayBsPostRequestBody.ts | 8 +- .../coupDays/coupDaysPostRequestBody.ts | 8 +- .../coupDaysNc/coupDaysNcPostRequestBody.ts | 8 +- .../coupNcd/coupNcdPostRequestBody.ts | 8 +- .../coupNum/coupNumPostRequestBody.ts | 8 +- .../coupPcd/coupPcdPostRequestBody.ts | 8 +- .../functions/csc/cscPostRequestBody.ts | 2 +- .../functions/csch/cschPostRequestBody.ts | 2 +- .../cumIPmt/cumIPmtPostRequestBody.ts | 12 +- .../cumPrinc/cumPrincPostRequestBody.ts | 12 +- .../functions/date/datePostRequestBody.ts | 6 +- .../datevalue/datevaluePostRequestBody.ts | 2 +- .../daverage/daveragePostRequestBody.ts | 6 +- .../functions/day/dayPostRequestBody.ts | 2 +- .../functions/days/daysPostRequestBody.ts | 4 +- .../days360/days360PostRequestBody.ts | 6 +- .../functions/db/dbPostRequestBody.ts | 10 +- .../functions/dbcs/dbcsPostRequestBody.ts | 2 +- .../functions/dcount/dcountPostRequestBody.ts | 6 +- .../dcountA/dcountAPostRequestBody.ts | 6 +- .../functions/ddb/ddbPostRequestBody.ts | 10 +- .../dec2Bin/dec2BinPostRequestBody.ts | 4 +- .../dec2Hex/dec2HexPostRequestBody.ts | 4 +- .../dec2Oct/dec2OctPostRequestBody.ts | 4 +- .../decimal/decimalPostRequestBody.ts | 4 +- .../degrees/degreesPostRequestBody.ts | 2 +- .../functions/delta/deltaPostRequestBody.ts | 4 +- .../functions/devSq/devSqPostRequestBody.ts | 2 +- .../functions/dget/dgetPostRequestBody.ts | 6 +- .../functions/disc/discPostRequestBody.ts | 10 +- .../functions/dmax/dmaxPostRequestBody.ts | 6 +- .../functions/dmin/dminPostRequestBody.ts | 6 +- .../functions/dollar/dollarPostRequestBody.ts | 4 +- .../dollarDe/dollarDePostRequestBody.ts | 4 +- .../dollarFr/dollarFrPostRequestBody.ts | 4 +- .../dproduct/dproductPostRequestBody.ts | 6 +- .../functions/dstDev/dstDevPostRequestBody.ts | 6 +- .../dstDevP/dstDevPPostRequestBody.ts | 6 +- .../functions/dsum/dsumPostRequestBody.ts | 6 +- .../duration/durationPostRequestBody.ts | 12 +- .../functions/dvar/dvarPostRequestBody.ts | 6 +- .../functions/dvarP/dvarPPostRequestBody.ts | 6 +- .../ecma_CeilingPostRequestBody.ts | 4 +- .../functions/edate/edatePostRequestBody.ts | 4 +- .../functions/effect/effectPostRequestBody.ts | 4 +- .../eoMonth/eoMonthPostRequestBody.ts | 4 +- .../functions/erf/erfPostRequestBody.ts | 4 +- .../functions/erfC/erfCPostRequestBody.ts | 2 +- .../erfC_PrecisePostRequestBody.ts | 2 +- .../erf_Precise/erf_PrecisePostRequestBody.ts | 2 +- .../error_Type/error_TypePostRequestBody.ts | 2 +- .../functions/even/evenPostRequestBody.ts | 2 +- .../functions/exact/exactPostRequestBody.ts | 4 +- .../functions/exp/expPostRequestBody.ts | 2 +- .../expon_Dist/expon_DistPostRequestBody.ts | 6 +- .../functions/f_Dist/f_DistPostRequestBody.ts | 8 +- .../f_Dist_RT/f_Dist_RTPostRequestBody.ts | 6 +- .../functions/f_Inv/f_InvPostRequestBody.ts | 6 +- .../f_Inv_RT/f_Inv_RTPostRequestBody.ts | 6 +- .../functions/fact/factPostRequestBody.ts | 2 +- .../factDouble/factDoublePostRequestBody.ts | 2 +- .../functions/find/findPostRequestBody.ts | 6 +- .../functions/findB/findBPostRequestBody.ts | 6 +- .../functions/fisher/fisherPostRequestBody.ts | 2 +- .../fisherInv/fisherInvPostRequestBody.ts | 2 +- .../functions/fixed/fixedPostRequestBody.ts | 6 +- .../floor_Math/floor_MathPostRequestBody.ts | 6 +- .../floor_PrecisePostRequestBody.ts | 4 +- .../functions/fv/fvPostRequestBody.ts | 10 +- .../fvschedule/fvschedulePostRequestBody.ts | 4 +- .../functions/gamma/gammaPostRequestBody.ts | 2 +- .../gammaLn/gammaLnPostRequestBody.ts | 2 +- .../gammaLn_PrecisePostRequestBody.ts | 2 +- .../gamma_Dist/gamma_DistPostRequestBody.ts | 8 +- .../gamma_Inv/gamma_InvPostRequestBody.ts | 6 +- .../functions/gauss/gaussPostRequestBody.ts | 2 +- .../functions/gcd/gcdPostRequestBody.ts | 2 +- .../functions/geStep/geStepPostRequestBody.ts | 4 +- .../geoMean/geoMeanPostRequestBody.ts | 2 +- .../harMean/harMeanPostRequestBody.ts | 2 +- .../hex2Bin/hex2BinPostRequestBody.ts | 4 +- .../hex2Dec/hex2DecPostRequestBody.ts | 2 +- .../hex2Oct/hex2OctPostRequestBody.ts | 4 +- .../hlookup/hlookupPostRequestBody.ts | 8 +- .../functions/hour/hourPostRequestBody.ts | 2 +- .../hypGeom_DistPostRequestBody.ts | 10 +- .../hyperlink/hyperlinkPostRequestBody.ts | 4 +- .../functions/ifEscaped/ifPostRequestBody.ts | 6 +- .../functions/imAbs/imAbsPostRequestBody.ts | 2 +- .../imArgument/imArgumentPostRequestBody.ts | 2 +- .../imConjugate/imConjugatePostRequestBody.ts | 2 +- .../functions/imCos/imCosPostRequestBody.ts | 2 +- .../functions/imCosh/imCoshPostRequestBody.ts | 2 +- .../functions/imCot/imCotPostRequestBody.ts | 2 +- .../functions/imCsc/imCscPostRequestBody.ts | 2 +- .../functions/imCsch/imCschPostRequestBody.ts | 2 +- .../functions/imDiv/imDivPostRequestBody.ts | 4 +- .../functions/imExp/imExpPostRequestBody.ts | 2 +- .../functions/imLn/imLnPostRequestBody.ts | 2 +- .../imLog10/imLog10PostRequestBody.ts | 2 +- .../functions/imLog2/imLog2PostRequestBody.ts | 2 +- .../imPower/imPowerPostRequestBody.ts | 4 +- .../imProduct/imProductPostRequestBody.ts | 2 +- .../functions/imReal/imRealPostRequestBody.ts | 2 +- .../functions/imSec/imSecPostRequestBody.ts | 2 +- .../functions/imSech/imSechPostRequestBody.ts | 2 +- .../functions/imSin/imSinPostRequestBody.ts | 2 +- .../functions/imSinh/imSinhPostRequestBody.ts | 2 +- .../functions/imSqrt/imSqrtPostRequestBody.ts | 2 +- .../functions/imSub/imSubPostRequestBody.ts | 4 +- .../functions/imSum/imSumPostRequestBody.ts | 2 +- .../functions/imTan/imTanPostRequestBody.ts | 2 +- .../imaginary/imaginaryPostRequestBody.ts | 2 +- .../functions/int/intPostRequestBody.ts | 2 +- .../intRate/intRatePostRequestBody.ts | 10 +- .../functions/ipmt/ipmtPostRequestBody.ts | 12 +- .../functions/irr/irrPostRequestBody.ts | 4 +- .../functions/isErr/isErrPostRequestBody.ts | 2 +- .../isError/isErrorPostRequestBody.ts | 2 +- .../functions/isEven/isEvenPostRequestBody.ts | 2 +- .../isFormula/isFormulaPostRequestBody.ts | 2 +- .../isLogical/isLogicalPostRequestBody.ts | 2 +- .../functions/isNA/isNAPostRequestBody.ts | 2 +- .../isNonText/isNonTextPostRequestBody.ts | 2 +- .../isNumber/isNumberPostRequestBody.ts | 2 +- .../functions/isOdd/isOddPostRequestBody.ts | 2 +- .../functions/isText/isTextPostRequestBody.ts | 2 +- .../isoWeekNum/isoWeekNumPostRequestBody.ts | 2 +- .../iso_Ceiling/iso_CeilingPostRequestBody.ts | 4 +- .../functions/ispmt/ispmtPostRequestBody.ts | 8 +- .../functions/isref/isrefPostRequestBody.ts | 2 +- .../functions/kurt/kurtPostRequestBody.ts | 2 +- .../functions/large/largePostRequestBody.ts | 4 +- .../functions/lcm/lcmPostRequestBody.ts | 2 +- .../functions/left/leftPostRequestBody.ts | 4 +- .../functions/leftb/leftbPostRequestBody.ts | 4 +- .../functions/len/lenPostRequestBody.ts | 2 +- .../functions/lenb/lenbPostRequestBody.ts | 2 +- .../functions/ln/lnPostRequestBody.ts | 2 +- .../functions/log/logPostRequestBody.ts | 4 +- .../functions/log10/log10PostRequestBody.ts | 2 +- .../logNorm_DistPostRequestBody.ts | 8 +- .../logNorm_Inv/logNorm_InvPostRequestBody.ts | 6 +- .../functions/lookup/lookupPostRequestBody.ts | 6 +- .../functions/lower/lowerPostRequestBody.ts | 2 +- .../functions/match/matchPostRequestBody.ts | 6 +- .../functions/max/maxPostRequestBody.ts | 2 +- .../functions/maxA/maxAPostRequestBody.ts | 2 +- .../mduration/mdurationPostRequestBody.ts | 12 +- .../functions/median/medianPostRequestBody.ts | 2 +- .../functions/mid/midPostRequestBody.ts | 6 +- .../functions/midb/midbPostRequestBody.ts | 6 +- .../functions/min/minPostRequestBody.ts | 2 +- .../functions/minA/minAPostRequestBody.ts | 2 +- .../functions/minute/minutePostRequestBody.ts | 2 +- .../functions/mirr/mirrPostRequestBody.ts | 6 +- .../functions/mod/modPostRequestBody.ts | 4 +- .../functions/month/monthPostRequestBody.ts | 2 +- .../functions/mround/mroundPostRequestBody.ts | 4 +- .../multiNomial/multiNomialPostRequestBody.ts | 2 +- .../workbook/functions/n/nPostRequestBody.ts | 2 +- .../negBinom_DistPostRequestBody.ts | 8 +- .../networkDays/networkDaysPostRequestBody.ts | 6 +- .../networkDays_IntlPostRequestBody.ts | 8 +- .../nominal/nominalPostRequestBody.ts | 4 +- .../norm_Dist/norm_DistPostRequestBody.ts | 8 +- .../norm_Inv/norm_InvPostRequestBody.ts | 6 +- .../norm_S_Dist/norm_S_DistPostRequestBody.ts | 4 +- .../norm_S_Inv/norm_S_InvPostRequestBody.ts | 2 +- .../functions/not/notPostRequestBody.ts | 2 +- .../functions/nper/nperPostRequestBody.ts | 10 +- .../functions/npv/npvPostRequestBody.ts | 4 +- .../numberValue/numberValuePostRequestBody.ts | 6 +- .../oct2Bin/oct2BinPostRequestBody.ts | 4 +- .../oct2Dec/oct2DecPostRequestBody.ts | 2 +- .../oct2Hex/oct2HexPostRequestBody.ts | 4 +- .../functions/odd/oddPostRequestBody.ts | 2 +- .../oddFPrice/oddFPricePostRequestBody.ts | 18 +- .../oddFYield/oddFYieldPostRequestBody.ts | 18 +- .../oddLPrice/oddLPricePostRequestBody.ts | 16 +- .../oddLYield/oddLYieldPostRequestBody.ts | 16 +- .../functions/or/orPostRequestBody.ts | 2 +- .../pduration/pdurationPostRequestBody.ts | 6 +- .../percentRank_ExcPostRequestBody.ts | 6 +- .../percentRank_IncPostRequestBody.ts | 6 +- .../percentile_ExcPostRequestBody.ts | 4 +- .../percentile_IncPostRequestBody.ts | 4 +- .../functions/permut/permutPostRequestBody.ts | 4 +- .../permutationaPostRequestBody.ts | 4 +- .../functions/phi/phiPostRequestBody.ts | 2 +- .../functions/pmt/pmtPostRequestBody.ts | 10 +- .../poisson_DistPostRequestBody.ts | 6 +- .../functions/power/powerPostRequestBody.ts | 4 +- .../functions/ppmt/ppmtPostRequestBody.ts | 12 +- .../functions/price/pricePostRequestBody.ts | 14 +- .../priceDisc/priceDiscPostRequestBody.ts | 10 +- .../priceMat/priceMatPostRequestBody.ts | 12 +- .../product/productPostRequestBody.ts | 2 +- .../functions/proper/properPostRequestBody.ts | 2 +- .../functions/pv/pvPostRequestBody.ts | 10 +- .../quartile_ExcPostRequestBody.ts | 4 +- .../quartile_IncPostRequestBody.ts | 4 +- .../quotient/quotientPostRequestBody.ts | 4 +- .../radians/radiansPostRequestBody.ts | 2 +- .../randBetween/randBetweenPostRequestBody.ts | 4 +- .../rank_Avg/rank_AvgPostRequestBody.ts | 6 +- .../rank_Eq/rank_EqPostRequestBody.ts | 6 +- .../functions/rate/ratePostRequestBody.ts | 12 +- .../received/receivedPostRequestBody.ts | 10 +- .../replace/replacePostRequestBody.ts | 8 +- .../replaceB/replaceBPostRequestBody.ts | 8 +- .../functions/rept/reptPostRequestBody.ts | 4 +- .../functions/right/rightPostRequestBody.ts | 4 +- .../functions/rightb/rightbPostRequestBody.ts | 4 +- .../functions/roman/romanPostRequestBody.ts | 4 +- .../functions/round/roundPostRequestBody.ts | 4 +- .../roundDown/roundDownPostRequestBody.ts | 4 +- .../roundUp/roundUpPostRequestBody.ts | 4 +- .../functions/rows/rowsPostRequestBody.ts | 2 +- .../functions/rri/rriPostRequestBody.ts | 6 +- .../functions/sec/secPostRequestBody.ts | 2 +- .../functions/sech/sechPostRequestBody.ts | 2 +- .../functions/second/secondPostRequestBody.ts | 2 +- .../seriesSum/seriesSumPostRequestBody.ts | 8 +- .../functions/sheet/sheetPostRequestBody.ts | 2 +- .../functions/sheets/sheetsPostRequestBody.ts | 2 +- .../functions/sign/signPostRequestBody.ts | 2 +- .../functions/sin/sinPostRequestBody.ts | 2 +- .../functions/sinh/sinhPostRequestBody.ts | 2 +- .../functions/skew/skewPostRequestBody.ts | 2 +- .../functions/skew_p/skew_pPostRequestBody.ts | 2 +- .../functions/sln/slnPostRequestBody.ts | 6 +- .../functions/small/smallPostRequestBody.ts | 4 +- .../functions/sqrt/sqrtPostRequestBody.ts | 2 +- .../functions/sqrtPi/sqrtPiPostRequestBody.ts | 2 +- .../functions/stDevA/stDevAPostRequestBody.ts | 2 +- .../stDevPA/stDevPAPostRequestBody.ts | 2 +- .../stDev_P/stDev_PPostRequestBody.ts | 2 +- .../stDev_S/stDev_SPostRequestBody.ts | 2 +- .../standardize/standardizePostRequestBody.ts | 6 +- .../substitute/substitutePostRequestBody.ts | 8 +- .../subtotal/subtotalPostRequestBody.ts | 4 +- .../functions/sum/sumPostRequestBody.ts | 2 +- .../functions/sumIf/sumIfPostRequestBody.ts | 6 +- .../functions/sumIfs/sumIfsPostRequestBody.ts | 4 +- .../functions/sumSq/sumSqPostRequestBody.ts | 2 +- .../functions/syd/sydPostRequestBody.ts | 8 +- .../workbook/functions/t/tPostRequestBody.ts | 2 +- .../functions/t_Dist/t_DistPostRequestBody.ts | 6 +- .../t_Dist_2T/t_Dist_2TPostRequestBody.ts | 4 +- .../t_Dist_RT/t_Dist_RTPostRequestBody.ts | 4 +- .../functions/t_Inv/t_InvPostRequestBody.ts | 4 +- .../t_Inv_2T/t_Inv_2TPostRequestBody.ts | 4 +- .../functions/tan/tanPostRequestBody.ts | 2 +- .../functions/tanh/tanhPostRequestBody.ts | 2 +- .../tbillEq/tbillEqPostRequestBody.ts | 6 +- .../tbillPrice/tbillPricePostRequestBody.ts | 6 +- .../tbillYield/tbillYieldPostRequestBody.ts | 6 +- .../functions/text/textPostRequestBody.ts | 4 +- .../functions/time/timePostRequestBody.ts | 6 +- .../timevalue/timevaluePostRequestBody.ts | 2 +- .../functions/trim/trimPostRequestBody.ts | 2 +- .../trimMean/trimMeanPostRequestBody.ts | 4 +- .../functions/trunc/truncPostRequestBody.ts | 4 +- .../functions/type/typePostRequestBody.ts | 2 +- .../unichar/unicharPostRequestBody.ts | 2 +- .../unicode/unicodePostRequestBody.ts | 2 +- .../functions/upper/upperPostRequestBody.ts | 2 +- .../usdollar/usdollarPostRequestBody.ts | 4 +- .../functions/value/valuePostRequestBody.ts | 2 +- .../functions/varA/varAPostRequestBody.ts | 2 +- .../functions/varPA/varPAPostRequestBody.ts | 2 +- .../functions/var_P/var_PPostRequestBody.ts | 2 +- .../functions/var_S/var_SPostRequestBody.ts | 2 +- .../functions/vdb/vdbPostRequestBody.ts | 14 +- .../vlookup/vlookupPostRequestBody.ts | 8 +- .../weekNum/weekNumPostRequestBody.ts | 4 +- .../weekday/weekdayPostRequestBody.ts | 4 +- .../weibull_DistPostRequestBody.ts | 8 +- .../workDay/workDayPostRequestBody.ts | 6 +- .../workDay_IntlPostRequestBody.ts | 8 +- .../functions/xirr/xirrPostRequestBody.ts | 6 +- .../functions/xnpv/xnpvPostRequestBody.ts | 6 +- .../functions/xor/xorPostRequestBody.ts | 2 +- .../functions/year/yearPostRequestBody.ts | 2 +- .../yearFrac/yearFracPostRequestBody.ts | 6 +- .../functions/yield/yieldPostRequestBody.ts | 14 +- .../yieldDisc/yieldDiscPostRequestBody.ts | 10 +- .../yieldMat/yieldMatPostRequestBody.ts | 12 +- .../functions/z_Test/z_TestPostRequestBody.ts | 6 +- .../workbook/names/add/addPostRequestBody.ts | 2 +- .../names/item/range/rangeRequestBuilder.ts | 6 +- .../workbook/tables/add/addRequestBuilder.ts | 6 +- .../item/columns/add/addPostRequestBody.ts | 2 +- .../item/columns/columnsRequestBuilder.ts | 2 +- .../item/filter/apply/applyPostRequestBody.ts | 2 +- .../applyIconFilterPostRequestBody.ts | 2 +- .../applyValuesFilterPostRequestBody.ts | 2 +- .../item/rows/add/addPostRequestBody.ts | 2 +- .../tables/item/rows/rowsRequestBuilder.ts | 2 +- .../item/sort/apply/applyPostRequestBody.ts | 2 +- .../workbook/tables/tablesRequestBuilder.ts | 2 +- .../item/charts/add/addPostRequestBody.ts | 2 +- .../item/setData/setDataPostRequestBody.ts | 2 +- .../setPosition/setPositionPostRequestBody.ts | 4 +- .../item/names/add/addPostRequestBody.ts | 2 +- .../names/item/range/rangeRequestBuilder.ts | 6 +- .../protect/protectPostRequestBody.ts | 2 +- .../item/tables/add/addRequestBuilder.ts | 6 +- .../item/columns/add/addPostRequestBody.ts | 2 +- .../item/columns/columnsRequestBuilder.ts | 2 +- .../item/filter/apply/applyPostRequestBody.ts | 2 +- .../applyIconFilterPostRequestBody.ts | 2 +- .../applyValuesFilterPostRequestBody.ts | 2 +- .../item/rows/add/addPostRequestBody.ts | 2 +- .../tables/item/rows/rowsRequestBuilder.ts | 2 +- .../item/sort/apply/applyPostRequestBody.ts | 2 +- ...getCompatibleHubContentTypesGetResponse.ts | 2 +- ...ToDefaultContentLocationPostRequestBody.ts | 2 +- .../getActivitiesByIntervalGetResponse.ts | 2 +- ...eWithEndDateTimeWithIntervalGetResponse.ts | 2 +- src/drives/item/recent/recentGetResponse.ts | 2 +- .../searchWithQ/searchWithQGetResponse.ts | 2 +- .../sharedWithMe/sharedWithMeGetResponse.ts | 2 +- .../classes/delta/deltaGetResponse.ts | 2 +- .../delta/deltaGetResponse.ts | 2 +- .../assignments/delta/deltaGetResponse.ts | 2 +- .../item/categories/delta/deltaGetResponse.ts | 2 +- .../me/assignments/delta/deltaGetResponse.ts | 2 +- .../item/categories/delta/deltaGetResponse.ts | 2 +- .../schools/delta/deltaGetResponse.ts | 2 +- src/education/users/delta/deltaGetResponse.ts | 2 +- .../assignments/delta/deltaGetResponse.ts | 2 +- .../item/categories/delta/deltaGetResponse.ts | 2 +- .../addActivitiesPostRequestBody.ts | 2 +- .../addActivitiesPostResponse.ts | 2 +- .../delta/deltaGetResponse.ts | 2 +- ...vailableExtensionPropertiesPostResponse.ts | 2 +- .../getByIds/getByIdsPostResponse.ts | 2 +- src/groups/delta/deltaGetResponse.ts | 2 +- ...vailableExtensionPropertiesPostResponse.ts | 2 +- src/groups/getByIds/getByIdsPostResponse.ts | 2 +- .../assignLicensePostRequestBody.ts | 2 +- .../calendarView/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 6 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/instances/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 6 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../calendar/events/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 6 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/instances/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 6 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../getSchedule/getSchedulePostRequestBody.ts | 4 +- .../getSchedule/getSchedulePostResponse.ts | 2 +- .../calendarView/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 6 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/instances/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 6 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- ...eckGrantedPermissionsForAppPostResponse.ts | 2 +- .../conversationsRequestBuilder.ts | 6 +- .../item/conversationItemRequestBuilder.ts | 12 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../forward/forwardPostRequestBody.ts | 2 +- .../inReplyTo/reply/replyPostRequestBody.ts | 2 +- .../posts/item/reply/replyPostRequestBody.ts | 2 +- .../item/reply/replyPostRequestBody.ts | 2 +- .../item/events/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 6 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/instances/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 6 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- ...WithIncludePersonalNotebooksGetResponse.ts | 2 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../item/photos/photosRequestBuilder.ts | 13 +- .../item/sites/add/addPostRequestBody.ts | 2 +- src/groups/item/sites/add/addPostResponse.ts | 2 +- .../item/sites/delta/deltaGetResponse.ts | 2 +- .../getAllSites/getAllSitesGetResponse.ts | 2 +- ...getCompatibleHubContentTypesGetResponse.ts | 2 +- ...ToDefaultContentLocationPostRequestBody.ts | 2 +- .../getActivitiesByIntervalGetResponse.ts | 2 +- ...eWithEndDateTimeWithIntervalGetResponse.ts | 2 +- ...ontentTypesForListWithListIdGetResponse.ts | 2 +- ...getCompatibleHubContentTypesGetResponse.ts | 2 +- ...ToDefaultContentLocationPostRequestBody.ts | 2 +- .../getActivitiesByIntervalGetResponse.ts | 2 +- ...eWithEndDateTimeWithIntervalGetResponse.ts | 2 +- ...WithIncludePersonalNotebooksGetResponse.ts | 2 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../item/grant/grantPostRequestBody.ts | 2 +- .../item/grant/grantPostResponse.ts | 2 +- .../sites/remove/removePostRequestBody.ts | 2 +- .../item/sites/remove/removePostResponse.ts | 2 +- .../getAllMessagesGetResponse.ts | 2 +- .../item/members/add/addPostRequestBody.ts | 2 +- .../item/members/add/addPostResponse.ts | 2 +- .../conversationMemberItemRequestBuilder.ts | 6 +- .../item/messages/delta/deltaGetResponse.ts | 2 +- .../hostedContentsRequestBuilder.ts | 4 +- .../item/replies/delta/deltaGetResponse.ts | 2 +- .../hostedContentsRequestBuilder.ts | 4 +- .../item/replies/repliesRequestBuilder.ts | 6 +- .../item/messages/messagesRequestBuilder.ts | 6 +- .../item/upgrade/upgradePostRequestBody.ts | 2 +- .../team/members/add/addPostRequestBody.ts | 2 +- .../item/team/members/add/addPostResponse.ts | 2 +- .../members/add/addPostRequestBody.ts | 2 +- .../members/add/addPostResponse.ts | 2 +- .../conversationMemberItemRequestBuilder.ts | 6 +- .../messages/delta/deltaGetResponse.ts | 2 +- .../hostedContentsRequestBuilder.ts | 4 +- .../item/replies/delta/deltaGetResponse.ts | 2 +- .../hostedContentsRequestBuilder.ts | 4 +- .../item/replies/repliesRequestBuilder.ts | 6 +- .../messages/messagesRequestBuilder.ts | 6 +- ...sendActivityNotificationPostRequestBody.ts | 8 +- .../conversationThreadItemRequestBuilder.ts | 6 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../forward/forwardPostRequestBody.ts | 2 +- .../inReplyTo/reply/replyPostRequestBody.ts | 2 +- .../posts/item/reply/replyPostRequestBody.ts | 2 +- .../item/reply/replyPostRequestBody.ts | 2 +- .../setOrder/setOrderPostRequestBody.ts | 2 +- .../item/namedLocationItemRequestBuilder.ts | 18 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- ...pplicablePolicyRequirementsPostResponse.ts | 2 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- .../item/resume/resumePostRequestBody.ts | 2 +- .../additionalAccessGetResponse.ts | 2 +- ...hIncompatibleAccessPackageIdGetResponse.ts | 2 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- ...ustomCalloutExtensionItemRequestBuilder.ts | 18 +- ...ustomCalloutExtensionItemRequestBuilder.ts | 18 +- .../activatePostRequestBody.ts | 2 +- .../createNewVersionPostRequestBody.ts | 2 +- .../resumePostRequestBody.ts | 2 +- .../resumePostRequestBody.ts | 2 +- .../resumePostRequestBody.ts | 2 +- .../resumePostRequestBody.ts | 2 +- .../resumePostRequestBody.ts | 2 +- .../resumePostRequestBody.ts | 2 +- .../resumePostRequestBody.ts | 2 +- .../activatePostRequestBody.ts | 2 +- .../createNewVersionPostRequestBody.ts | 2 +- .../resumePostRequestBody.ts | 2 +- .../resumePostRequestBody.ts | 2 +- .../resumePostRequestBody.ts | 2 +- .../resumePostRequestBody.ts | 2 +- .../resumePostRequestBody.ts | 2 +- .../resumePostRequestBody.ts | 2 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- .../item/agreementItemRequestBuilder.ts | 6 +- src/kiota-lock.json | 4 +- src/me/activities/recent/recentGetResponse.ts | 2 +- .../assignLicensePostRequestBody.ts | 2 +- .../calendarView/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 6 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/instances/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 6 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../calendar/events/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 6 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/instances/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 6 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../getSchedule/getSchedulePostRequestBody.ts | 4 +- .../getSchedule/getSchedulePostResponse.ts | 2 +- .../calendarView/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 6 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/instances/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 6 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../item/events/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 6 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/instances/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 6 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../getSchedule/getSchedulePostRequestBody.ts | 4 +- .../getSchedule/getSchedulePostResponse.ts | 2 +- src/me/calendarView/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 6 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/instances/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 6 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../calendarView/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 6 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/instances/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 6 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../item/events/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 6 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/instances/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 6 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../getSchedule/getSchedulePostRequestBody.ts | 4 +- .../getSchedule/getSchedulePostResponse.ts | 2 +- .../getAllMessagesGetResponse.ts | 2 +- .../hideForUser/hideForUserPostRequestBody.ts | 2 +- .../item/upgrade/upgradePostRequestBody.ts | 2 +- .../markChatReadForUserPostRequestBody.ts | 2 +- .../markChatUnreadForUserPostRequestBody.ts | 2 +- .../item/members/add/addPostRequestBody.ts | 2 +- .../chats/item/members/add/addPostResponse.ts | 2 +- .../item/messages/delta/deltaGetResponse.ts | 2 +- .../hostedContentsRequestBuilder.ts | 4 +- .../item/replies/delta/deltaGetResponse.ts | 2 +- .../hostedContentsRequestBuilder.ts | 4 +- .../item/replies/repliesRequestBuilder.ts | 6 +- ...sendActivityNotificationPostRequestBody.ts | 8 +- .../unhideForUserPostRequestBody.ts | 2 +- .../contactFolders/delta/deltaGetResponse.ts | 2 +- .../childFolders/delta/deltaGetResponse.ts | 2 +- .../item/contacts/delta/deltaGetResponse.ts | 2 +- .../item/contacts/delta/deltaGetResponse.ts | 2 +- src/me/contacts/delta/deltaGetResponse.ts | 2 +- src/me/events/delta/deltaGetResponse.ts | 2 +- src/me/events/eventsRequestBuilder.ts | 6 +- .../attachments/attachmentsRequestBuilder.ts | 6 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/instances/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 6 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../findMeetingTimesPostRequestBody.ts | 6 +- src/me/getMailTips/getMailTipsPostResponse.ts | 2 +- ...ManagedAppDiagnosticStatusesGetResponse.ts | 2 +- .../getManagedAppPoliciesGetResponse.ts | 2 +- .../getAllMessagesGetResponse.ts | 2 +- .../getAllMessagesGetResponse.ts | 2 +- .../item/members/add/addPostRequestBody.ts | 2 +- .../item/members/add/addPostResponse.ts | 2 +- .../conversationMemberItemRequestBuilder.ts | 6 +- .../item/messages/delta/deltaGetResponse.ts | 2 +- .../hostedContentsRequestBuilder.ts | 4 +- .../item/replies/delta/deltaGetResponse.ts | 2 +- .../hostedContentsRequestBuilder.ts | 4 +- .../item/replies/repliesRequestBuilder.ts | 6 +- .../item/messages/messagesRequestBuilder.ts | 6 +- .../item/upgrade/upgradePostRequestBody.ts | 2 +- .../item/members/add/addPostRequestBody.ts | 2 +- .../item/members/add/addPostResponse.ts | 2 +- .../members/add/addPostRequestBody.ts | 2 +- .../members/add/addPostResponse.ts | 2 +- .../conversationMemberItemRequestBuilder.ts | 6 +- .../messages/delta/deltaGetResponse.ts | 2 +- .../hostedContentsRequestBuilder.ts | 4 +- .../item/replies/delta/deltaGetResponse.ts | 2 +- .../hostedContentsRequestBuilder.ts | 4 +- .../item/replies/repliesRequestBuilder.ts | 6 +- .../messages/messagesRequestBuilder.ts | 6 +- ...sendActivityNotificationPostRequestBody.ts | 8 +- src/me/mailFolders/delta/deltaGetResponse.ts | 2 +- .../childFolders/delta/deltaGetResponse.ts | 2 +- .../item/messages/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 12 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createForwardPostRequestBody.ts | 4 +- .../createReply/createReplyPostRequestBody.ts | 2 +- .../createReplyAllPostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 4 +- .../item/reply/replyPostRequestBody.ts | 2 +- .../item/replyAll/replyAllPostRequestBody.ts | 2 +- .../item/messages/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 12 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createForwardPostRequestBody.ts | 4 +- .../createReply/createReplyPostRequestBody.ts | 2 +- .../createReplyAllPostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 4 +- .../item/reply/replyPostRequestBody.ts | 2 +- .../item/replyAll/replyAllPostRequestBody.ts | 2 +- ...dateWindowsDeviceAccountPostRequestBody.ts | 2 +- src/me/meRequestBuilder.ts | 6 +- src/me/messages/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 12 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createForwardPostRequestBody.ts | 4 +- .../createReply/createReplyPostRequestBody.ts | 2 +- .../createReplyAllPostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 4 +- .../item/messageItemRequestBuilder.ts | 2 +- .../item/reply/replyPostRequestBody.ts | 2 +- .../item/replyAll/replyAllPostRequestBody.ts | 2 +- .../item/value/contentRequestBuilder.ts | 2 +- src/me/messages/messagesRequestBuilder.ts | 8 +- ...WithIncludePersonalNotebooksGetResponse.ts | 2 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../createOrGet/createOrGetPostRequestBody.ts | 4 +- .../supportedLanguagesGetResponse.ts | 2 +- .../supportedTimeZonesGetResponse.ts | 2 +- ...imeZonesWithTimeZoneStandardGetResponse.ts | 2 +- src/me/photos/photosRequestBuilder.ts | 13 +- src/me/presence/presenceRequestBuilder.ts | 6 +- .../setStatusMessagePostRequestBody.ts | 2 +- ...StartDateTimeWithEndDateTimeGetResponse.ts | 2 +- src/me/sendMail/sendMailPostRequestBody.ts | 2 +- ...sendActivityNotificationPostRequestBody.ts | 6 +- src/me/todo/lists/delta/deltaGetResponse.ts | 2 +- .../item/tasks/delta/deltaGetResponse.ts | 2 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../translateExchangeIdsPostResponse.ts | 2 +- src/models/aadUserConversationMember.ts | 2 +- src/models/accessPackage.ts | 12 +- src/models/accessPackageAnswer.ts | 2 +- src/models/accessPackageAnswerChoice.ts | 2 +- src/models/accessPackageApprovalStage.ts | 8 +- src/models/accessPackageAssignment.ts | 10 +- ...accessPackageAssignmentApprovalSettings.ts | 2 +- ...cessPackageAssignmentCollectionResponse.ts | 2 +- src/models/accessPackageAssignmentPolicy.ts | 20 +- ...ckageAssignmentPolicyCollectionResponse.ts | 2 +- src/models/accessPackageAssignmentRequest.ts | 12 +- ...kageAssignmentRequestCollectionResponse.ts | 2 +- ...essPackageAssignmentRequestRequirements.ts | 4 +- ...ckageAssignmentRequestWorkflowExtension.ts | 2 +- ...ccessPackageAssignmentRequestorSettings.ts | 2 +- .../accessPackageAssignmentReviewSettings.ts | 6 +- ...ccessPackageAssignmentWorkflowExtension.ts | 2 +- src/models/accessPackageCatalog.ts | 10 +- .../accessPackageCatalogCollectionResponse.ts | 2 +- src/models/accessPackageCollectionResponse.ts | 2 +- .../accessPackageMultipleChoiceQuestion.ts | 2 +- src/models/accessPackageQuestion.ts | 2 +- ...accessPackageQuestionCollectionResponse.ts | 2 +- src/models/accessPackageResource.ts | 6 +- ...accessPackageResourceCollectionResponse.ts | 2 +- .../accessPackageResourceEnvironment.ts | 2 +- ...geResourceEnvironmentCollectionResponse.ts | 2 +- src/models/accessPackageResourceRequest.ts | 4 +- ...ackageResourceRequestCollectionResponse.ts | 2 +- src/models/accessPackageResourceRole.ts | 2 +- ...ssPackageResourceRoleCollectionResponse.ts | 2 +- src/models/accessPackageResourceRoleScope.ts | 4 +- ...kageResourceRoleScopeCollectionResponse.ts | 2 +- src/models/accessPackageResourceScope.ts | 2 +- ...sPackageResourceScopeCollectionResponse.ts | 2 +- src/models/accessPackageSubject.ts | 2 +- src/models/accessReviewHistoryDefinition.ts | 8 +- ...viewHistoryDefinitionCollectionResponse.ts | 2 +- ...ReviewHistoryInstanceCollectionResponse.ts | 2 +- .../accessReviewHistoryScheduleSettings.ts | 2 +- src/models/accessReviewInstance.ts | 12 +- .../accessReviewInstanceCollectionResponse.ts | 2 +- .../accessReviewInstanceDecisionItem.ts | 10 +- ...ewInstanceDecisionItemAzureRoleResource.ts | 2 +- ...wInstanceDecisionItemCollectionResponse.ts | 2 +- .../accessReviewNotificationRecipientItem.ts | 2 +- .../accessReviewReviewerCollectionResponse.ts | 2 +- src/models/accessReviewScheduleDefinition.ts | 18 +- ...iewScheduleDefinitionCollectionResponse.ts | 2 +- src/models/accessReviewScheduleSettings.ts | 6 +- src/models/accessReviewSet.ts | 4 +- src/models/accessReviewStage.ts | 6 +- .../accessReviewStageCollectionResponse.ts | 2 +- src/models/accessReviewStageSettings.ts | 6 +- src/models/accountTargetContent.ts | 2 +- src/models/actionResultPart.ts | 2 +- ...ityBasedTimeoutPolicyCollectionResponse.ts | 2 +- src/models/activityHistoryItem.ts | 2 +- .../activityHistoryItemCollectionResponse.ts | 2 +- src/models/addIn.ts | 2 +- src/models/addressBookAccountTargetContent.ts | 2 +- src/models/admin.ts | 8 +- src/models/adminConsentRequestPolicy.ts | 2 +- src/models/administrativeUnit.ts | 6 +- .../administrativeUnitCollectionResponse.ts | 2 +- src/models/aggregationOption.ts | 2 +- src/models/agreement.ts | 8 +- .../agreementAcceptanceCollectionResponse.ts | 2 +- src/models/agreementCollectionResponse.ts | 2 +- src/models/agreementFile.ts | 2 +- src/models/agreementFileLocalization.ts | 2 +- ...ementFileLocalizationCollectionResponse.ts | 2 +- src/models/agreementFileProperties.ts | 2 +- .../agreementFileVersionCollectionResponse.ts | 2 +- src/models/alert.ts | 34 ++-- src/models/alertCollectionResponse.ts | 2 +- src/models/allowedValueCollectionResponse.ts | 2 +- src/models/alterationResponse.ts | 2 +- src/models/androidCustomConfiguration.ts | 2 +- .../androidGeneralDeviceConfiguration.ts | 10 +- src/models/androidLobApp.ts | 2 +- src/models/androidLobAppCollectionResponse.ts | 2 +- src/models/androidManagedAppProtection.ts | 4 +- ...dManagedAppProtectionCollectionResponse.ts | 2 +- src/models/androidStoreApp.ts | 2 +- .../androidStoreAppCollectionResponse.ts | 2 +- .../androidWorkProfileCustomConfiguration.ts | 2 +- src/models/apiApplication.ts | 4 +- src/models/appCatalogs.ts | 2 +- src/models/appConsentApprovalRoute.ts | 2 +- src/models/appConsentRequest.ts | 4 +- .../appConsentRequestCollectionResponse.ts | 2 +- ...pLogCollectionRequestCollectionResponse.ts | 2 +- src/models/appManagementConfiguration.ts | 4 +- src/models/appManagementPolicy.ts | 4 +- .../appManagementPolicyCollectionResponse.ts | 2 +- .../appRoleAssignmentCollectionResponse.ts | 2 +- src/models/application.ts | 50 ++--- src/models/applicationCollectionResponse.ts | 2 +- src/models/applicationServicePrincipal.ts | 4 +- .../applicationTemplateCollectionResponse.ts | 2 +- src/models/approval.ts | 2 +- src/models/approvalCollectionResponse.ts | 2 +- src/models/approvalSettings.ts | 2 +- src/models/approvalStage.ts | 2 +- src/models/approvalStageCollectionResponse.ts | 2 +- src/models/archivedPrintJob.ts | 2 +- .../associatedTeamInfoCollectionResponse.ts | 2 +- .../attachmentBaseCollectionResponse.ts | 2 +- src/models/attachmentCollectionResponse.ts | 2 +- .../attachmentSessionCollectionResponse.ts | 2 +- src/models/attackSimulationOperation.ts | 6 +- ...ckSimulationOperationCollectionResponse.ts | 2 +- src/models/attackSimulationRepeatOffender.ts | 2 +- src/models/attackSimulationRoot.ts | 28 +-- .../attackSimulationSimulationUserCoverage.ts | 2 +- .../attackSimulationTrainingUserCoverage.ts | 4 +- src/models/attendanceRecord.ts | 4 +- .../attendanceRecordCollectionResponse.ts | 2 +- src/models/attendee.ts | 4 +- src/models/attendeeAvailability.ts | 2 +- src/models/attributeDefinition.ts | 6 +- src/models/attributeMapping.ts | 2 +- src/models/attributeMappingFunctionSchema.ts | 2 +- ...MappingFunctionSchemaCollectionResponse.ts | 2 +- src/models/attributeMappingSource.ts | 2 +- src/models/attributeSetCollectionResponse.ts | 2 +- .../audioRoutingGroupCollectionResponse.ts | 2 +- src/models/auditActivityInitiator.ts | 4 +- src/models/auditEvent.ts | 4 +- src/models/auditEventCollectionResponse.ts | 2 +- src/models/auditLogRoot.ts | 6 +- src/models/auditResource.ts | 2 +- src/models/authentication.ts | 20 +- ...binationConfigurationCollectionResponse.ts | 2 +- ...ContextClassReferenceCollectionResponse.ts | 2 +- src/models/authenticationFlowsPolicy.ts | 2 +- .../authenticationMethodCollectionResponse.ts | 2 +- .../authenticationMethodConfiguration.ts | 2 +- ...onMethodConfigurationCollectionResponse.ts | 2 +- ...uthenticationMethodFeatureConfiguration.ts | 4 +- ...ationMethodModeDetailCollectionResponse.ts | 2 +- src/models/authenticationMethodsPolicy.ts | 4 +- ...thenticationMethodsRegistrationCampaign.ts | 4 +- src/models/authenticationMethodsRoot.ts | 2 +- src/models/authenticationStrengthPolicy.ts | 2 +- ...icationStrengthPolicyCollectionResponse.ts | 2 +- src/models/authenticationStrengthRoot.ts | 4 +- src/models/authenticationStrengthUsage.ts | 4 +- src/models/authoredNote.ts | 4 +- src/models/authoredNoteCollectionResponse.ts | 2 +- src/models/authorizationPolicy.ts | 4 +- src/models/automaticRepliesMailTips.ts | 6 +- src/models/automaticRepliesSetting.ts | 4 +- src/models/availabilityItem.ts | 4 +- src/models/b2xIdentityUserFlow.ts | 10 +- .../b2xIdentityUserFlowCollectionResponse.ts | 2 +- .../baseCollectionPaginationCountResponse.ts | 2 + src/models/baseEndUserNotification.ts | 4 +- src/models/baseItem.ts | 10 +- src/models/baseItemCollectionResponse.ts | 2 +- src/models/baseItemVersion.ts | 4 +- src/models/bitlocker.ts | 2 +- .../bitlockerRecoveryKeyCollectionResponse.ts | 2 +- src/models/bookingAppointment.ts | 10 +- .../bookingAppointmentCollectionResponse.ts | 2 +- src/models/bookingBusiness.ts | 18 +- .../bookingBusinessCollectionResponse.ts | 2 +- .../bookingCurrencyCollectionResponse.ts | 2 +- ...bookingCustomQuestionCollectionResponse.ts | 2 +- src/models/bookingCustomer.ts | 4 +- .../bookingCustomerBaseCollectionResponse.ts | 2 +- src/models/bookingCustomerInformation.ts | 4 +- src/models/bookingService.ts | 8 +- .../bookingServiceCollectionResponse.ts | 2 +- src/models/bookingStaffMember.ts | 2 +- ...ookingStaffMemberBaseCollectionResponse.ts | 2 +- src/models/bookingWorkHours.ts | 2 +- src/models/broadcastMeetingSettings.ts | 2 +- src/models/browserSharedCookie.ts | 4 +- .../browserSharedCookieCollectionResponse.ts | 2 +- src/models/browserSharedCookieHistory.ts | 2 +- src/models/browserSite.ts | 4 +- src/models/browserSiteCollectionResponse.ts | 2 +- src/models/browserSiteHistory.ts | 2 +- src/models/browserSiteList.ts | 8 +- .../browserSiteListCollectionResponse.ts | 2 +- src/models/bucketAggregationDefinition.ts | 2 +- src/models/bundle.ts | 2 +- src/models/calendar.ts | 12 +- src/models/calendarCollectionResponse.ts | 2 +- src/models/calendarGroup.ts | 2 +- src/models/calendarGroupCollectionResponse.ts | 2 +- src/models/calendarPermission.ts | 2 +- .../calendarPermissionCollectionResponse.ts | 2 +- src/models/calendarSharingMessage.ts | 4 +- src/models/call.ts | 32 +-- src/models/callCollectionResponse.ts | 2 +- src/models/callEndedEventMessageDetail.ts | 4 +- src/models/callParticipantInfo.ts | 2 +- src/models/callRecordingEventMessageDetail.ts | 4 +- src/models/callRecords/callRecord.ts | 6 +- .../callRecordCollectionResponse.ts | 2 +- src/models/callRecords/endpoint.ts | 2 +- src/models/callRecords/media.ts | 10 +- src/models/callRecords/networkInfo.ts | 2 +- src/models/callRecords/participantEndpoint.ts | 4 +- src/models/callRecords/segment.ts | 8 +- .../callRecords/segmentCollectionResponse.ts | 2 +- src/models/callRecords/session.ts | 8 +- .../callRecords/sessionCollectionResponse.ts | 2 +- src/models/callRecords/userFeedback.ts | 2 +- src/models/callRoute.ts | 4 +- src/models/callStartedEventMessageDetail.ts | 2 +- src/models/callTranscript.ts | 2 +- .../callTranscriptCollectionResponse.ts | 2 +- .../callTranscriptEventMessageDetail.ts | 2 +- .../certificateBasedAuthConfiguration.ts | 2 +- ...asedAuthConfigurationCollectionResponse.ts | 2 +- src/models/channel.ts | 17 +- src/models/channelAddedEventMessageDetail.ts | 2 +- src/models/channelCollectionResponse.ts | 2 +- .../channelDeletedEventMessageDetail.ts | 2 +- ...nelDescriptionUpdatedEventMessageDetail.ts | 2 +- .../channelRenamedEventMessageDetail.ts | 2 +- ...etAsFavoriteByDefaultEventMessageDetail.ts | 2 +- src/models/channelSummary.ts | 54 +++++ ...etAsFavoriteByDefaultEventMessageDetail.ts | 2 +- src/models/chat.ts | 18 +- src/models/chatCollectionResponse.ts | 2 +- src/models/chatMessage.ts | 22 +- src/models/chatMessageCollectionResponse.ts | 2 +- src/models/chatMessageHistoryItem.ts | 2 +- ...tMessageHostedContentCollectionResponse.ts | 2 +- src/models/chatMessageInfo.ts | 6 +- src/models/chatMessageMention.ts | 2 +- src/models/chatMessageMentionedIdentitySet.ts | 2 +- src/models/chatMessagePolicyViolation.ts | 2 +- src/models/chatMessageReaction.ts | 2 +- src/models/chatRenamedEventMessageDetail.ts | 2 +- src/models/checklistItemCollectionResponse.ts | 2 +- .../claimsMappingPolicyCollectionResponse.ts | 2 +- src/models/clientCertificateAuthentication.ts | 2 +- src/models/cloudCommunications.ts | 8 +- src/models/coachmarkLocation.ts | 6 +- src/models/columnDefinition.ts | 36 ++-- .../columnDefinitionCollectionResponse.ts | 2 +- src/models/columnLinkCollectionResponse.ts | 2 +- src/models/columnValidation.ts | 2 +- src/models/commsOperation.ts | 2 +- .../commsOperationCollectionResponse.ts | 2 +- src/models/communicationsIdentitySet.ts | 14 +- src/models/complianceInformation.ts | 2 +- src/models/complianceManagementPartner.ts | 6 +- .../complianceManagementPartnerAssignment.ts | 2 +- ...anceManagementPartnerCollectionResponse.ts | 2 +- src/models/conditionalAccessApplications.ts | 2 +- .../conditionalAccessClientApplications.ts | 2 +- src/models/conditionalAccessConditionSet.ts | 12 +- src/models/conditionalAccessDevices.ts | 2 +- src/models/conditionalAccessGrantControls.ts | 2 +- .../conditionalAccessGuestsOrExternalUsers.ts | 2 +- src/models/conditionalAccessPolicy.ts | 6 +- ...nditionalAccessPolicyCollectionResponse.ts | 2 +- src/models/conditionalAccessPolicyDetail.ts | 6 +- src/models/conditionalAccessRoot.ts | 10 +- .../conditionalAccessSessionControls.ts | 8 +- src/models/conditionalAccessTemplate.ts | 2 +- ...itionalAccessTemplateCollectionResponse.ts | 2 +- src/models/conditionalAccessUsers.ts | 4 +- src/models/connectedOrganization.ts | 6 +- ...connectedOrganizationCollectionResponse.ts | 2 +- src/models/contact.ts | 16 +- src/models/contactCollectionResponse.ts | 2 +- src/models/contactFolder.ts | 8 +- src/models/contactFolderCollectionResponse.ts | 2 +- ...contentSharingSessionCollectionResponse.ts | 2 +- src/models/contentType.ts | 18 +- src/models/contentTypeCollectionResponse.ts | 2 +- src/models/contractCollectionResponse.ts | 2 +- src/models/conversation.ts | 2 +- src/models/conversationCollectionResponse.ts | 2 +- .../conversationMemberCollectionResponse.ts | 2 +- ...tionMemberRoleUpdatedEventMessageDetail.ts | 4 +- src/models/conversationThread.ts | 6 +- .../conversationThreadCollectionResponse.ts | 2 +- src/models/convertIdResult.ts | 2 +- src/models/copyNotebookModel.ts | 6 +- src/models/crossTenantAccessPolicy.ts | 4 +- .../crossTenantAccessPolicyB2BSetting.ts | 4 +- ...sTenantAccessPolicyConfigurationDefault.ts | 12 +- ...sTenantAccessPolicyConfigurationPartner.ts | 14 +- ...yConfigurationPartnerCollectionResponse.ts | 2 +- ...ssTenantAccessPolicyTargetConfiguration.ts | 2 +- .../crossTenantIdentitySyncPolicyPartner.ts | 2 +- src/models/customCalloutExtension.ts | 6 +- ...ustomCalloutExtensionCollectionResponse.ts | 2 +- src/models/customExtensionStageSetting.ts | 2 +- ...ExtensionStageSettingCollectionResponse.ts | 2 +- .../customSecurityAttributeDefinition.ts | 2 +- ...tyAttributeDefinitionCollectionResponse.ts | 2 +- src/models/customTimeZone.ts | 4 +- src/models/customTrainingSetting.ts | 10 +- .../dataPolicyOperationCollectionResponse.ts | 2 +- src/models/defaultManagedAppProtection.ts | 6 +- ...tManagedAppProtectionCollectionResponse.ts | 2 +- src/models/delegatedAdminAccessAssignment.ts | 4 +- ...AdminAccessAssignmentCollectionResponse.ts | 2 +- src/models/delegatedAdminAccessDetails.ts | 2 +- src/models/delegatedAdminCustomer.ts | 2 +- ...elegatedAdminCustomerCollectionResponse.ts | 2 +- src/models/delegatedAdminRelationship.ts | 12 +- ...atedAdminRelationshipCollectionResponse.ts | 2 +- ...RelationshipOperationCollectionResponse.ts | 2 +- ...inRelationshipRequestCollectionResponse.ts | 2 +- ...rviceManagementDetailCollectionResponse.ts | 2 +- ...missionClassificationCollectionResponse.ts | 2 +- src/models/deletedItemContainer.ts | 2 +- src/models/deletedTeam.ts | 2 +- src/models/deletedTeamCollectionResponse.ts | 2 +- src/models/detectedApp.ts | 2 +- src/models/detectedAppCollectionResponse.ts | 2 +- src/models/device.ts | 12 +- ...agementRoleAssignmentCollectionResponse.ts | 2 +- src/models/deviceAppManagement.ts | 28 +-- .../deviceCategoryCollectionResponse.ts | 2 +- src/models/deviceCollectionResponse.ts | 2 +- ...eComplianceActionItemCollectionResponse.ts | 2 +- ...omplianceDeviceStatusCollectionResponse.ts | 2 +- src/models/deviceCompliancePolicy.ts | 14 +- .../deviceCompliancePolicyAssignment.ts | 2 +- ...iancePolicyAssignmentCollectionResponse.ts | 2 +- ...eviceCompliancePolicyCollectionResponse.ts | 2 +- .../deviceCompliancePolicySettingState.ts | 2 +- ...viceCompliancePolicySettingStateSummary.ts | 2 +- ...cySettingStateSummaryCollectionResponse.ts | 2 +- src/models/deviceCompliancePolicyState.ts | 2 +- ...CompliancePolicyStateCollectionResponse.ts | 2 +- .../deviceComplianceScheduledActionForRule.ts | 2 +- ...cheduledActionForRuleCollectionResponse.ts | 2 +- ...omplianceSettingStateCollectionResponse.ts | 2 +- ...eComplianceUserStatusCollectionResponse.ts | 2 +- src/models/deviceConfiguration.ts | 12 +- src/models/deviceConfigurationAssignment.ts | 2 +- ...nfigurationAssignmentCollectionResponse.ts | 2 +- .../deviceConfigurationCollectionResponse.ts | 2 +- ...igurationDeviceStatusCollectionResponse.ts | 2 +- src/models/deviceConfigurationSettingState.ts | 2 +- src/models/deviceConfigurationState.ts | 2 +- ...iceConfigurationStateCollectionResponse.ts | 2 +- ...nfigurationUserStatusCollectionResponse.ts | 2 +- src/models/deviceEnrollmentConfiguration.ts | 2 +- ...rollmentConfigurationCollectionResponse.ts | 2 +- ...llmentPlatformRestrictionsConfiguration.ts | 10 +- .../deviceInstallStateCollectionResponse.ts | 2 +- src/models/deviceLocalCredential.ts | 46 +++++ src/models/deviceLocalCredentialInfo.ts | 47 +++++ ...ceLocalCredentialInfoCollectionResponse.ts | 29 +++ ...LogCollectionResponseCollectionResponse.ts | 2 +- src/models/deviceManagement.ts | 124 ++++++------ ...mentExchangeConnectorCollectionResponse.ts | 2 +- ...ceManagementExportJobCollectionResponse.ts | 2 +- src/models/deviceManagementPartner.ts | 2 +- .../deviceManagementPartnerAssignment.ts | 2 +- ...viceManagementPartnerCollectionResponse.ts | 2 +- src/models/deviceManagementReports.ts | 2 +- ...tTroubleshootingEventCollectionResponse.ts | 2 +- src/models/directory.ts | 19 +- src/models/directoryAudit.ts | 6 +- .../directoryAuditCollectionResponse.ts | 2 +- src/models/directoryDefinition.ts | 2 +- .../directoryDefinitionCollectionResponse.ts | 2 +- .../directoryObjectCollectionResponse.ts | 2 +- src/models/directoryRole.ts | 4 +- src/models/directoryRoleCollectionResponse.ts | 2 +- ...directoryRoleTemplateCollectionResponse.ts | 2 +- src/models/documentSet.ts | 8 +- src/models/documentSetContent.ts | 2 +- src/models/documentSetVersion.ts | 4 +- .../documentSetVersionCollectionResponse.ts | 2 +- src/models/domain.ts | 10 +- src/models/domainCollectionResponse.ts | 2 +- .../domainDnsRecordCollectionResponse.ts | 2 +- src/models/drive.ts | 20 +- src/models/driveCollectionResponse.ts | 2 +- src/models/driveItem.ts | 56 ++--- src/models/driveItemCollectionResponse.ts | 2 +- src/models/driveItemUploadableProperties.ts | 2 +- .../driveItemVersionCollectionResponse.ts | 2 +- src/models/edge.ts | 2 +- src/models/educationAssignment.ts | 14 +- .../educationAssignmentCollectionResponse.ts | 2 +- src/models/educationAssignmentGrade.ts | 2 +- src/models/educationAssignmentResource.ts | 2 +- ...ionAssignmentResourceCollectionResponse.ts | 2 +- .../educationCategoryCollectionResponse.ts | 2 +- src/models/educationClass.ts | 22 +- .../educationClassCollectionResponse.ts | 2 +- src/models/educationFeedback.ts | 4 +- src/models/educationFeedbackOutcome.ts | 4 +- .../educationFeedbackResourceOutcome.ts | 2 +- src/models/educationOutcome.ts | 2 +- .../educationOutcomeCollectionResponse.ts | 2 +- src/models/educationPointsOutcome.ts | 4 +- src/models/educationRoot.ts | 8 +- src/models/educationRubric.ts | 8 +- .../educationRubricCollectionResponse.ts | 2 +- src/models/educationRubricOutcome.ts | 8 +- src/models/educationSchool.ts | 10 +- .../educationSchoolCollectionResponse.ts | 2 +- src/models/educationSubmission.ts | 8 +- .../educationSubmissionCollectionResponse.ts | 2 +- src/models/educationSubmissionResource.ts | 2 +- ...ionSubmissionResourceCollectionResponse.ts | 2 +- src/models/educationUser.ts | 34 ++-- src/models/educationUserCollectionResponse.ts | 2 +- ...lAuthenticationMethodCollectionResponse.ts | 2 +- .../emailAuthenticationMethodConfiguration.ts | 2 +- src/models/emailPayloadDetail.ts | 8 +- src/models/employeeExperience.ts | 4 +- src/models/employeeExperienceUser.ts | 2 +- src/models/endUserNotification.ts | 26 +-- .../endUserNotificationCollectionResponse.ts | 2 +- src/models/endUserNotificationDetail.ts | 12 +- ...serNotificationDetailCollectionResponse.ts | 2 +- src/models/endUserNotificationSetting.ts | 8 +- src/models/endpointCollectionResponse.ts | 2 +- .../enrollmentConfigurationAssignment.ts | 2 +- ...nfigurationAssignmentCollectionResponse.ts | 2 +- src/models/entitlementManagement.ts | 24 +-- src/models/entitlementManagementSchedule.ts | 4 +- src/models/entity.ts | 14 +- src/models/event.ts | 32 +-- src/models/eventCollectionResponse.ts | 2 +- src/models/eventMessage.ts | 10 +- src/models/eventMessageRequest.ts | 6 +- src/models/eventMessageResponse.ts | 2 +- src/models/expressionInputObject.ts | 4 +- src/models/extensionCollectionResponse.ts | 2 +- src/models/extensionProperty.ts | 6 + .../extensionPropertyCollectionResponse.ts | 2 +- .../externalConnectors/activitySettings.ts | 2 +- .../externalConnectors/connectionOperation.ts | 2 +- .../connectionOperationCollectionResponse.ts | 2 +- .../externalConnectors/displayTemplate.ts | 4 +- src/models/externalConnectors/external.ts | 2 +- .../externalConnectors/externalActivity.ts | 2 +- .../externalActivityCollectionResponse.ts | 2 +- .../externalActivityResult.ts | 2 +- .../externalConnectors/externalConnection.ts | 20 +- .../externalConnectionCollectionResponse.ts | 2 +- .../externalConnectors/externalGroup.ts | 2 +- .../externalGroupCollectionResponse.ts | 2 +- src/models/externalConnectors/externalItem.ts | 8 +- .../externalItemCollectionResponse.ts | 2 +- .../identityCollectionResponse.ts | 2 +- .../externalConnectors/itemIdResolver.ts | 2 +- src/models/externalConnectors/schema.ts | 2 +- .../externalConnectors/searchSettings.ts | 2 +- src/models/extractSensitivityLabelsResult.ts | 2 +- src/models/featureRolloutPolicy.ts | 2 +- .../featureRolloutPolicyCollectionResponse.ts | 2 +- ...tedIdentityCredentialCollectionResponse.ts | 2 +- ...2AuthenticationMethodCollectionResponse.ts | 2 +- .../fido2AuthenticationMethodConfiguration.ts | 4 +- src/models/file.ts | 2 +- src/models/fileSecurityState.ts | 2 +- src/models/filter.ts | 6 +- src/models/filterClause.ts | 2 +- src/models/filterGroup.ts | 2 +- .../filterOperatorSchemaCollectionResponse.ts | 2 +- src/models/folder.ts | 2 +- src/models/followupFlag.ts | 6 +- .../governanceInsightCollectionResponse.ts | 2 +- src/models/group.ts | 66 +++--- src/models/groupCollectionResponse.ts | 2 +- .../groupLifecyclePolicyCollectionResponse.ts | 2 +- src/models/groupSetting.ts | 2 +- src/models/groupSettingCollectionResponse.ts | 2 +- src/models/groupSettingTemplate.ts | 2 +- .../groupSettingTemplateCollectionResponse.ts | 2 +- ...eRealmDiscoveryPolicyCollectionResponse.ts | 2 +- src/models/identityApiConnector.ts | 2 +- .../identityApiConnectorCollectionResponse.ts | 2 +- src/models/identityContainer.ts | 10 +- src/models/identityGovernance.ts | 12 +- .../identityGovernance/customTaskExtension.ts | 6 +- ...ustomTaskExtensionCallbackConfiguration.ts | 2 +- .../customTaskExtensionCalloutData.ts | 8 +- .../customTaskExtensionCollectionResponse.ts | 2 +- .../lifecycleManagementSettings.ts | 2 +- .../lifecycleWorkflowsContainer.ts | 12 +- src/models/identityGovernance/run.ts | 4 +- .../runCollectionResponse.ts | 2 +- src/models/identityGovernance/task.ts | 4 +- .../taskCollectionResponse.ts | 2 +- .../identityGovernance/taskDefinition.ts | 2 +- .../taskDefinitionCollectionResponse.ts | 2 +- .../taskProcessingResult.ts | 4 +- .../taskProcessingResultCollectionResponse.ts | 2 +- src/models/identityGovernance/taskReport.ts | 6 +- .../taskReportCollectionResponse.ts | 2 +- .../triggerAndScopeBasedConditions.ts | 4 +- .../userProcessingResult.ts | 4 +- .../userProcessingResultCollectionResponse.ts | 2 +- src/models/identityGovernance/workflow.ts | 10 +- src/models/identityGovernance/workflowBase.ts | 8 +- .../workflowCollectionResponse.ts | 2 +- .../identityGovernance/workflowTemplate.ts | 4 +- .../workflowTemplateCollectionResponse.ts | 2 +- .../workflowVersionCollectionResponse.ts | 2 +- src/models/identityProtectionRoot.ts | 8 +- .../identityProviderBaseCollectionResponse.ts | 2 +- .../identityProviderCollectionResponse.ts | 2 +- src/models/identitySet.ts | 6 +- .../identityUserFlowAttributeAssignment.ts | 4 +- ...owAttributeAssignmentCollectionResponse.ts | 2 +- ...tityUserFlowAttributeCollectionResponse.ts | 2 +- .../importedWindowsAutopilotDeviceIdentity.ts | 2 +- ...topilotDeviceIdentityCollectionResponse.ts | 2 +- ...tedWindowsAutopilotDeviceIdentityUpload.ts | 2 +- src/models/incomingContext.ts | 4 +- src/models/index.ts | 4 + src/models/inferenceClassification.ts | 2 +- src/models/inferenceClassificationOverride.ts | 2 +- ...lassificationOverrideCollectionResponse.ts | 2 +- src/models/informationProtection.ts | 4 +- src/models/internalDomainFederation.ts | 2 +- ...ernalDomainFederationCollectionResponse.ts | 2 +- src/models/internetExplorerMode.ts | 2 +- src/models/intuneBrand.ts | 6 +- src/models/invitation.ts | 4 +- src/models/invitationCollectionResponse.ts | 2 +- src/models/invitationParticipantInfo.ts | 2 +- src/models/inviteParticipantsOperation.ts | 2 +- src/models/invitedUserMessageInfo.ts | 2 +- src/models/iosDeviceFeaturesConfiguration.ts | 6 +- src/models/iosGeneralDeviceConfiguration.ts | 26 +-- src/models/iosHomeScreenFolder.ts | 2 +- src/models/iosHomeScreenFolderPage.ts | 2 +- src/models/iosHomeScreenPage.ts | 2 +- src/models/iosLobApp.ts | 4 +- src/models/iosLobAppCollectionResponse.ts | 2 +- ...bAppProvisioningConfigurationAssignment.ts | 2 +- src/models/iosManagedAppProtection.ts | 4 +- ...sManagedAppProtectionCollectionResponse.ts | 2 +- src/models/iosMobileAppConfiguration.ts | 2 +- src/models/iosNetworkUsageRule.ts | 2 +- src/models/iosStoreApp.ts | 4 +- src/models/iosStoreAppCollectionResponse.ts | 2 +- ...iosUpdateDeviceStatusCollectionResponse.ts | 2 +- src/models/iosVppApp.ts | 4 +- src/models/iosVppAppCollectionResponse.ts | 2 +- src/models/ipNamedLocation.ts | 2 +- src/models/itemActivity.ts | 6 +- src/models/itemActivityCollectionResponse.ts | 2 +- src/models/itemActivityStat.ts | 14 +- .../itemActivityStatCollectionResponse.ts | 2 +- src/models/itemAnalytics.ts | 6 +- src/models/itemAttachment.ts | 2 +- src/models/itemReference.ts | 2 +- src/models/landingPage.ts | 28 +-- src/models/landingPageCollectionResponse.ts | 2 +- src/models/landingPageDetail.ts | 6 +- .../landingPageDetailCollectionResponse.ts | 2 +- src/models/learningAssignment.ts | 4 +- .../learningContentCollectionResponse.ts | 2 +- ...earningCourseActivityCollectionResponse.ts | 2 +- src/models/learningProvider.ts | 4 +- .../learningProviderCollectionResponse.ts | 2 +- src/models/licenseDetails.ts | 2 +- .../licenseDetailsCollectionResponse.ts | 2 +- .../linkedResourceCollectionResponse.ts | 2 +- src/models/list.ts | 18 +- src/models/listCollectionResponse.ts | 2 +- src/models/listItem.ts | 14 +- src/models/listItemCollectionResponse.ts | 2 +- src/models/listItemVersion.ts | 2 +- .../listItemVersionCollectionResponse.ts | 2 +- ...edNotificationMessageCollectionResponse.ts | 2 +- src/models/locateDeviceActionResult.ts | 2 +- src/models/location.ts | 4 +- src/models/locationConstraint.ts | 2 +- src/models/loginPage.ts | 24 +-- src/models/loginPageCollectionResponse.ts | 2 +- .../longRunningOperationCollectionResponse.ts | 2 +- src/models/macOSDmgApp.ts | 4 +- src/models/macOSDmgAppCollectionResponse.ts | 2 +- src/models/macOSGeneralDeviceConfiguration.ts | 2 +- src/models/macOSLobApp.ts | 4 +- src/models/macOSLobAppCollectionResponse.ts | 2 +- src/models/mailFolder.ts | 10 +- src/models/mailFolderCollectionResponse.ts | 2 +- src/models/mailTips.ts | 8 +- src/models/mailboxSettings.ts | 6 +- ...StateForWindowsDeviceCollectionResponse.ts | 2 +- src/models/managedAndroidLobApp.ts | 2 +- .../managedAndroidLobAppCollectionResponse.ts | 2 +- src/models/managedAndroidStoreApp.ts | 2 +- src/models/managedAppConfiguration.ts | 2 +- .../managedAppOperationCollectionResponse.ts | 2 +- .../managedAppPolicyCollectionResponse.ts | 2 +- .../managedAppPolicyDeploymentSummary.ts | 2 +- ...managedAppPolicyDeploymentSummaryPerApp.ts | 2 +- src/models/managedAppRegistration.ts | 8 +- ...anagedAppRegistrationCollectionResponse.ts | 2 +- .../managedAppStatusCollectionResponse.ts | 2 +- src/models/managedAppStatusRaw.ts | 2 +- src/models/managedDevice.ts | 12 +- src/models/managedDeviceCollectionResponse.ts | 2 +- .../managedDeviceMobileAppConfiguration.ts | 10 +- ...dDeviceMobileAppConfigurationAssignment.ts | 2 +- ...nfigurationAssignmentCollectionResponse.ts | 2 +- ...obileAppConfigurationCollectionResponse.ts | 2 +- ...igurationDeviceStatusCollectionResponse.ts | 2 +- ...nfigurationUserStatusCollectionResponse.ts | 2 +- src/models/managedDeviceOverview.ts | 4 +- src/models/managedEBook.ts | 10 +- src/models/managedEBookAssignment.ts | 2 +- ...anagedEBookAssignmentCollectionResponse.ts | 2 +- src/models/managedEBookCollectionResponse.ts | 2 +- src/models/managedIOSLobApp.ts | 4 +- .../managedIOSLobAppCollectionResponse.ts | 2 +- src/models/managedIOSStoreApp.ts | 4 +- src/models/managedMobileApp.ts | 2 +- .../managedMobileAppCollectionResponse.ts | 2 +- src/models/managedMobileLobApp.ts | 2 +- .../managedMobileLobAppCollectionResponse.ts | 2 +- ...ationProtectionPolicyCollectionResponse.ts | 2 +- src/models/mediaPrompt.ts | 2 +- src/models/meetingAttendanceReport.ts | 2 +- ...etingAttendanceReportCollectionResponse.ts | 2 +- src/models/meetingParticipantInfo.ts | 2 +- src/models/meetingParticipants.ts | 4 +- .../meetingPolicyUpdatedEventMessageDetail.ts | 2 +- src/models/meetingTimeSuggestion.ts | 6 +- src/models/meetingTimeSuggestionsResult.ts | 2 +- src/models/membersAddedEventMessageDetail.ts | 4 +- .../membersDeletedEventMessageDetail.ts | 4 +- src/models/membersJoinedEventMessageDetail.ts | 4 +- src/models/membersLeftEventMessageDetail.ts | 4 +- src/models/membershipOutlierInsight.ts | 6 +- src/models/message.ts | 28 +-- src/models/messageCollectionResponse.ts | 2 +- src/models/messagePinnedEventMessageDetail.ts | 2 +- src/models/messageRule.ts | 6 +- src/models/messageRuleActions.ts | 6 +- src/models/messageRuleCollectionResponse.ts | 2 +- src/models/messageRulePredicates.ts | 6 +- .../messageUnpinnedEventMessageDetail.ts | 2 +- ...rosoftAuthenticatorAuthenticationMethod.ts | 2 +- ...rAuthenticationMethodCollectionResponse.ts | 2 +- ...icatorAuthenticationMethodConfiguration.ts | 4 +- .../microsoftAuthenticatorFeatureSettings.ts | 4 +- src/models/microsoftCustomTrainingSetting.ts | 8 +- src/models/microsoftManagedTrainingSetting.ts | 4 +- ...ftStoreForBusinessAppCollectionResponse.ts | 2 +- .../microsoftTrainingAssignmentMapping.ts | 4 +- src/models/mobileApp.ts | 6 +- src/models/mobileAppAssignment.ts | 4 +- .../mobileAppAssignmentCollectionResponse.ts | 2 +- .../mobileAppCategoryCollectionResponse.ts | 2 +- src/models/mobileAppCollectionResponse.ts | 2 +- src/models/mobileAppContent.ts | 4 +- .../mobileAppContentCollectionResponse.ts | 2 +- .../mobileAppContentFileCollectionResponse.ts | 2 +- src/models/mobileAppTroubleshootingEvent.ts | 2 +- ...pTroubleshootingEventCollectionResponse.ts | 2 +- .../mobileContainedAppCollectionResponse.ts | 2 +- src/models/mobileLobApp.ts | 2 +- ...hreatDefenseConnectorCollectionResponse.ts | 2 +- src/models/namedLocationCollectionResponse.ts | 2 +- src/models/noTrainingNotificationSetting.ts | 4 +- src/models/notebook.ts | 6 +- src/models/notebookCollectionResponse.ts | 2 +- src/models/notebookLinks.ts | 4 +- src/models/notificationMessageTemplate.ts | 2 +- ...cationMessageTemplateCollectionResponse.ts | 2 +- ...oAuth2PermissionGrantCollectionResponse.ts | 2 +- src/models/oAuthConsentAppDetail.ts | 6 +- src/models/oDataErrors/mainError.ts | 4 +- src/models/oDataErrors/oDataError.ts | 2 +- src/models/objectDefinition.ts | 4 +- src/models/objectMapping.ts | 6 +- .../offerShiftRequestCollectionResponse.ts | 2 +- src/models/officeGraphInsights.ts | 6 +- .../onPremisesDirectorySynchronization.ts | 4 +- ...ectorySynchronizationCollectionResponse.ts | 2 +- ...esDirectorySynchronizationConfiguration.ts | 2 +- src/models/onenote.ts | 12 +- src/models/onenoteEntityHierarchyModel.ts | 4 +- src/models/onenoteOperation.ts | 2 +- .../onenoteOperationCollectionResponse.ts | 2 +- src/models/onenotePage.ts | 6 +- src/models/onenotePageCollectionResponse.ts | 2 +- src/models/onenotePagePreview.ts | 2 +- src/models/onenotePagePreviewLinks.ts | 2 +- .../onenoteResourceCollectionResponse.ts | 2 +- src/models/onenoteSection.ts | 8 +- .../onenoteSectionCollectionResponse.ts | 2 +- src/models/onlineMeeting.ts | 20 +- src/models/onlineMeetingCollectionResponse.ts | 2 +- src/models/onlineMeetingInfo.ts | 2 +- src/models/openShift.ts | 4 +- ...penShiftChangeRequestCollectionResponse.ts | 2 +- src/models/openShiftCollectionResponse.ts | 2 +- src/models/optionalClaims.ts | 6 +- src/models/orgContact.ts | 16 +- src/models/orgContactCollectionResponse.ts | 2 +- src/models/organization.ts | 14 +- src/models/organizationCollectionResponse.ts | 2 +- src/models/organizationalBranding.ts | 2 +- ...lBrandingLocalizationCollectionResponse.ts | 2 +- .../organizationalBrandingProperties.ts | 4 +- src/models/organizerMeetingInfo.ts | 2 +- .../outlookCategoryCollectionResponse.ts | 2 +- src/models/outlookUser.ts | 2 +- src/models/pageLinks.ts | 4 +- src/models/parseExpressionResponse.ts | 4 +- src/models/participant.ts | 8 +- src/models/participantCollectionResponse.ts | 2 +- src/models/participantInfo.ts | 2 +- src/models/participantJoiningNotification.ts | 2 +- src/models/participantLeftNotification.ts | 2 +- ...dAuthenticationMethodCollectionResponse.ts | 2 +- src/models/patternedRecurrence.ts | 4 +- src/models/payload.ts | 48 ++--- src/models/payloadCoachmark.ts | 14 +- src/models/payloadCollectionResponse.ts | 2 +- src/models/payloadDetail.ts | 8 +- src/models/pendingOperations.ts | 2 +- src/models/peopleAdminSettings.ts | 2 +- src/models/permission.ts | 14 +- src/models/permissionCollectionResponse.ts | 2 +- ...sionGrantConditionSetCollectionResponse.ts | 2 +- src/models/permissionGrantPolicy.ts | 4 +- ...permissionGrantPolicyCollectionResponse.ts | 2 +- src/models/person.ts | 10 +- src/models/personCollectionResponse.ts | 2 +- ...eAuthenticationMethodCollectionResponse.ts | 2 +- src/models/pinnedChatMessageInfo.ts | 2 +- ...pinnedChatMessageInfoCollectionResponse.ts | 2 +- src/models/place.ts | 4 +- src/models/planner.ts | 6 +- .../plannerAssignedToTaskBoardTaskFormat.ts | 2 +- src/models/plannerBucket.ts | 2 +- src/models/plannerBucketCollectionResponse.ts | 2 +- src/models/plannerGroup.ts | 2 +- src/models/plannerPlan.ts | 10 +- src/models/plannerPlanCollectionResponse.ts | 2 +- src/models/plannerPlanDetails.ts | 4 +- src/models/plannerTask.ts | 16 +- src/models/plannerTaskCollectionResponse.ts | 2 +- src/models/plannerTaskDetails.ts | 4 +- src/models/plannerUser.ts | 4 +- src/models/policyRoot.ts | 38 ++-- .../positiveReinforcementNotification.ts | 2 +- src/models/post.ts | 18 +- src/models/postCollectionResponse.ts | 2 +- src/models/presence.ts | 2 +- src/models/presenceCollectionResponse.ts | 2 +- src/models/presenceStatusMessage.ts | 4 +- .../principalResourceMembershipsScope.ts | 4 +- src/models/print.ts | 14 +- src/models/printConnector.ts | 2 +- .../printConnectorCollectionResponse.ts | 2 +- src/models/printDocumentCollectionResponse.ts | 2 +- src/models/printJob.ts | 10 +- src/models/printJobCollectionResponse.ts | 2 +- src/models/printJobConfiguration.ts | 4 +- src/models/printOperation.ts | 2 +- .../printOperationCollectionResponse.ts | 2 +- src/models/printService.ts | 2 +- src/models/printServiceCollectionResponse.ts | 2 +- .../printServiceEndpointCollectionResponse.ts | 2 +- src/models/printTask.ts | 6 +- src/models/printTaskCollectionResponse.ts | 2 +- src/models/printTaskDefinition.ts | 4 +- .../printTaskDefinitionCollectionResponse.ts | 2 +- src/models/printTaskTrigger.ts | 2 +- .../printTaskTriggerCollectionResponse.ts | 2 +- .../printUsageByPrinterCollectionResponse.ts | 2 +- .../printUsageByUserCollectionResponse.ts | 2 +- src/models/printer.ts | 6 +- src/models/printerBase.ts | 10 +- src/models/printerCapabilities.ts | 2 +- src/models/printerCollectionResponse.ts | 2 +- src/models/printerCreateOperation.ts | 2 +- src/models/printerShare.ts | 8 +- src/models/printerShareCollectionResponse.ts | 2 +- src/models/privacy.ts | 2 +- src/models/privilegedAccessGroup.ts | 14 +- ...privilegedAccessGroupAssignmentSchedule.ts | 6 +- ...oupAssignmentScheduleCollectionResponse.ts | 2 +- ...edAccessGroupAssignmentScheduleInstance.ts | 6 +- ...nmentScheduleInstanceCollectionResponse.ts | 2 +- ...gedAccessGroupAssignmentScheduleRequest.ts | 8 +- ...gnmentScheduleRequestCollectionResponse.ts | 2 +- ...rivilegedAccessGroupEligibilitySchedule.ts | 4 +- ...upEligibilityScheduleCollectionResponse.ts | 2 +- ...dAccessGroupEligibilityScheduleInstance.ts | 4 +- ...ilityScheduleInstanceCollectionResponse.ts | 2 +- ...edAccessGroupEligibilityScheduleRequest.ts | 6 +- ...bilityScheduleRequestCollectionResponse.ts | 2 +- src/models/privilegedAccessRoot.ts | 2 +- src/models/privilegedAccessSchedule.ts | 2 +- src/models/privilegedAccessScheduleRequest.ts | 4 +- src/models/process.ts | 2 +- src/models/profileCardAnnotation.ts | 2 +- src/models/profileCardProperty.ts | 2 +- .../profileCardPropertyCollectionResponse.ts | 2 +- src/models/profilePhotoCollectionResponse.ts | 2 +- src/models/provisionedIdentity.ts | 2 +- src/models/provisioningObjectSummary.ts | 18 +- ...isioningObjectSummaryCollectionResponse.ts | 2 +- src/models/provisioningStatusInfo.ts | 2 +- src/models/provisioningStep.ts | 2 +- src/models/provisioningSystem.ts | 2 +- src/models/publicError.ts | 4 +- src/models/publicInnerError.ts | 2 +- src/models/publicationFacet.ts | 2 +- src/models/quota.ts | 2 +- src/models/rbacApplication.ts | 18 +- src/models/recentNotebook.ts | 2 +- src/models/recentNotebookLinks.ts | 4 +- src/models/recipient.ts | 2 +- src/models/recordingInfo.ts | 2 +- src/models/registrationEnforcement.ts | 2 +- src/models/reminder.ts | 8 +- ...moteAssistancePartnerCollectionResponse.ts | 2 +- .../remoteDesktopSecurityConfiguration.ts | 6 +- src/models/remoteItem.ts | 24 +-- src/models/reportRoot.ts | 12 +- src/models/request.ts | 2 +- src/models/requestSchedule.ts | 4 +- src/models/requiredResourceAccess.ts | 2 +- .../resourceOperationCollectionResponse.ts | 2 +- ...ecificPermissionGrantCollectionResponse.ts | 2 +- src/models/richLongRunningOperation.ts | 2 +- ...hLongRunningOperationCollectionResponse.ts | 2 +- src/models/riskDetection.ts | 2 +- src/models/riskDetectionCollectionResponse.ts | 2 +- src/models/riskyServicePrincipal.ts | 5 +- ...riskyServicePrincipalCollectionResponse.ts | 2 +- .../riskyServicePrincipalHistoryItem.ts | 2 +- ...ePrincipalHistoryItemCollectionResponse.ts | 2 +- src/models/riskyUser.ts | 5 +- src/models/riskyUserCollectionResponse.ts | 2 +- src/models/riskyUserHistoryItem.ts | 2 +- .../riskyUserHistoryItemCollectionResponse.ts | 2 +- src/models/roleAssignment.ts | 2 +- .../roleAssignmentCollectionResponse.ts | 2 +- src/models/roleDefinition.ts | 4 +- .../roleDefinitionCollectionResponse.ts | 2 +- src/models/roleManagement.ts | 4 +- src/models/rolePermission.ts | 2 +- src/models/roomCollectionResponse.ts | 2 +- src/models/roomList.ts | 2 +- src/models/roomListCollectionResponse.ts | 2 +- src/models/rubricCriterion.ts | 2 +- src/models/rubricLevel.ts | 4 +- src/models/rubricQuality.ts | 4 +- src/models/rubricQualityFeedbackModel.ts | 2 +- .../samlOrWsFedExternalDomainFederation.ts | 2 +- src/models/schedule.ts | 18 +- src/models/scheduleInformation.ts | 6 +- src/models/scheduleItem.ts | 4 +- .../schedulingGroupCollectionResponse.ts | 2 +- src/models/schemaExtension.ts | 2 +- .../schemaExtensionCollectionResponse.ts | 2 +- src/models/scopedRoleMembership.ts | 2 +- .../scopedRoleMembershipCollectionResponse.ts | 2 +- src/models/searchAggregation.ts | 2 +- src/models/searchAlteration.ts | 2 +- src/models/searchHit.ts | 2 +- src/models/searchHitsContainer.ts | 4 +- src/models/searchRequest.ts | 14 +- src/models/searchResponse.ts | 6 +- src/models/sectionGroup.ts | 8 +- src/models/sectionGroupCollectionResponse.ts | 2 +- src/models/sectionLinks.ts | 4 +- src/models/secureScore.ts | 6 +- src/models/secureScoreCollectionResponse.ts | 2 +- src/models/secureScoreControlProfile.ts | 6 +- ...reScoreControlProfileCollectionResponse.ts | 2 +- src/models/security.ts | 22 +- src/models/security/alert.ts | 4 +- .../security/alertCollectionResponse.ts | 2 +- .../security/analyzedMessageEvidence.ts | 4 +- src/models/security/article.ts | 6 +- .../security/articleCollectionResponse.ts | 2 +- .../articleIndicatorCollectionResponse.ts | 2 +- src/models/security/blobContainerEvidence.ts | 2 +- src/models/security/blobEvidence.ts | 4 +- src/models/security/caseEscaped.ts | 2 +- src/models/security/caseOperation.ts | 4 +- .../caseOperationCollectionResponse.ts | 2 +- src/models/security/casesRoot.ts | 2 +- src/models/security/containerEvidence.ts | 4 +- src/models/security/containerImageEvidence.ts | 4 +- src/models/security/dataSet.ts | 2 +- src/models/security/dataSource.ts | 2 +- .../security/dataSourceCollectionResponse.ts | 2 +- src/models/security/detectionSource.ts | 11 + src/models/security/deviceEvidence.ts | 4 +- .../ediscoveryAddToReviewSetOperation.ts | 4 +- src/models/security/ediscoveryCase.ts | 16 +- .../ediscoveryCaseCollectionResponse.ts | 2 +- src/models/security/ediscoveryCaseSettings.ts | 6 +- src/models/security/ediscoveryCustodian.ts | 8 +- .../ediscoveryCustodianCollectionResponse.ts | 2 +- .../security/ediscoveryEstimateOperation.ts | 2 +- .../security/ediscoveryExportOperation.ts | 6 +- .../ediscoveryNoncustodialDataSource.ts | 4 +- ...oncustodialDataSourceCollectionResponse.ts | 2 +- src/models/security/ediscoveryReviewSet.ts | 2 +- .../ediscoveryReviewSetCollectionResponse.ts | 2 +- ...scoveryReviewSetQueryCollectionResponse.ts | 2 +- src/models/security/ediscoveryReviewTag.ts | 4 +- .../ediscoveryReviewTagCollectionResponse.ts | 2 +- src/models/security/ediscoverySearch.ts | 10 +- .../ediscoverySearchCollectionResponse.ts | 2 +- src/models/security/fileEvidence.ts | 2 +- src/models/security/host.ts | 31 +-- src/models/security/hostCollectionResponse.ts | 2 +- src/models/security/hostComponent.ts | 2 +- .../hostComponentCollectionResponse.ts | 2 +- src/models/security/hostCookie.ts | 2 +- .../security/hostCookieCollectionResponse.ts | 2 +- src/models/security/hostPair.ts | 4 +- .../security/hostPairCollectionResponse.ts | 2 +- src/models/security/hostPort.ts | 94 +++++++++ src/models/security/hostPortBanner.ts | 60 ++++++ .../security/hostPortCollectionResponse.ts | 29 +++ src/models/security/hostPortComponent.ts | 55 +++++ src/models/security/hostPortProtocol.ts | 7 + src/models/security/hostPortStatus.ts | 8 + src/models/security/hostReputation.ts | 2 +- src/models/security/hostSslCertificate.ts | 6 +- .../hostSslCertificateCollectionResponse.ts | 2 +- src/models/security/hostTracker.ts | 2 +- .../security/hostTrackerCollectionResponse.ts | 2 +- src/models/security/huntingQueryResults.ts | 4 +- src/models/security/incident.ts | 4 +- .../security/incidentCollectionResponse.ts | 2 +- src/models/security/index.ts | 6 + src/models/security/indicator.ts | 2 +- src/models/security/intelligenceProfile.ts | 10 +- .../intelligenceProfileCollectionResponse.ts | 2 +- ...genceProfileIndicatorCollectionResponse.ts | 2 +- src/models/security/ipAddress.ts | 2 +- .../security/kubernetesClusterEvidence.ts | 2 +- .../security/kubernetesControllerEvidence.ts | 4 +- .../security/kubernetesNamespaceEvidence.ts | 4 +- src/models/security/kubernetesPodEvidence.ts | 16 +- .../security/kubernetesSecretEvidence.ts | 2 +- .../kubernetesServiceAccountEvidence.ts | 2 +- .../security/kubernetesServiceEvidence.ts | 12 +- src/models/security/mailboxEvidence.ts | 2 +- src/models/security/passiveDnsRecord.ts | 4 +- .../passiveDnsRecordCollectionResponse.ts | 2 +- src/models/security/processEvidence.ts | 6 +- src/models/security/retentionEvent.ts | 12 +- .../retentionEventCollectionResponse.ts | 2 +- src/models/security/retentionEventStatus.ts | 2 +- src/models/security/retentionEventType.ts | 4 +- .../retentionEventTypeCollectionResponse.ts | 2 +- src/models/security/search.ts | 4 +- src/models/security/siteSource.ts | 2 +- .../security/siteSourceCollectionResponse.ts | 2 +- src/models/security/sslCertificate.ts | 6 +- .../sslCertificateCollectionResponse.ts | 2 +- src/models/security/sslCertificateEntity.ts | 2 +- src/models/security/subdomain.ts | 2 +- .../security/subdomainCollectionResponse.ts | 2 +- src/models/security/tag.ts | 2 +- src/models/security/threatIntelligence.ts | 39 ++-- src/models/security/triggerTypesRoot.ts | 2 +- src/models/security/triggersRoot.ts | 2 +- src/models/security/unifiedGroupSource.ts | 2 +- .../unifiedGroupSourceCollectionResponse.ts | 2 +- src/models/security/userEvidence.ts | 2 +- .../security/userSourceCollectionResponse.ts | 2 +- src/models/security/vulnerability.ts | 16 +- .../vulnerabilityCollectionResponse.ts | 2 +- ...ulnerabilityComponentCollectionResponse.ts | 2 +- src/models/security/whoisBaseRecord.ts | 20 +- src/models/security/whoisContact.ts | 2 +- .../whoisHistoryRecordCollectionResponse.ts | 2 +- src/models/security/whoisNameserver.ts | 2 +- src/models/security/whoisRecord.ts | 2 +- .../security/whoisRecordCollectionResponse.ts | 2 +- src/models/serviceAnnouncement.ts | 6 +- ...nnouncementAttachmentCollectionResponse.ts | 2 +- src/models/serviceAnnouncementBase.ts | 2 +- src/models/serviceHealth.ts | 2 +- src/models/serviceHealthCollectionResponse.ts | 2 +- src/models/serviceHealthIssue.ts | 2 +- .../serviceHealthIssueCollectionResponse.ts | 2 +- src/models/serviceHealthIssuePost.ts | 2 +- src/models/serviceHostedMediaConfig.ts | 2 +- src/models/servicePrincipal.ts | 58 +++--- .../servicePrincipalCollectionResponse.ts | 2 +- src/models/servicePrincipalRiskDetection.ts | 2 +- ...rincipalRiskDetectionCollectionResponse.ts | 2 +- ...viceProvisioningErrorCollectionResponse.ts | 2 +- src/models/serviceUpdateMessage.ts | 6 +- .../serviceUpdateMessageCollectionResponse.ts | 2 +- ...ingStateDeviceSummaryCollectionResponse.ts | 2 +- src/models/sharePointIdentitySet.ts | 6 +- src/models/shared.ts | 4 +- src/models/sharedDriveItem.ts | 16 +- .../sharedDriveItemCollectionResponse.ts | 2 +- src/models/sharedInsight.ts | 8 +- src/models/sharedInsightCollectionResponse.ts | 2 +- src/models/sharedPCConfiguration.ts | 2 +- src/models/sharedWithChannelTeamInfo.ts | 2 +- ...edWithChannelTeamInfoCollectionResponse.ts | 2 +- src/models/sharepoint.ts | 2 +- src/models/sharepointSettings.ts | 2 +- src/models/sharingDetail.ts | 2 +- src/models/sharingInvitation.ts | 2 +- src/models/sharingLink.ts | 2 +- src/models/shift.ts | 4 +- src/models/shiftAvailability.ts | 4 +- src/models/shiftCollectionResponse.ts | 2 +- src/models/shiftItem.ts | 2 +- src/models/shiftPreferences.ts | 2 +- src/models/signIn.ts | 10 +- src/models/signInCollectionResponse.ts | 2 +- src/models/signInLocation.ts | 2 +- src/models/simulation.ts | 42 ++-- src/models/simulationAutomation.ts | 6 +- .../simulationAutomationCollectionResponse.ts | 2 +- ...mulationAutomationRunCollectionResponse.ts | 2 +- src/models/simulationCollectionResponse.ts | 2 +- src/models/simulationEventsContent.ts | 2 +- src/models/simulationNotification.ts | 2 +- src/models/simulationReport.ts | 4 +- src/models/simulationReportOverview.ts | 6 +- src/models/site.ts | 36 ++-- src/models/siteCollection.ts | 2 +- src/models/siteCollectionResponse.ts | 2 +- .../smsAuthenticationMethodConfiguration.ts | 2 +- ...hAuthenticationMethodCollectionResponse.ts | 2 +- ...reOathAuthenticationMethodConfiguration.ts | 2 +- src/models/solutionsRoot.ts | 4 +- src/models/staffAvailabilityItem.ts | 2 +- ...tringKeyAttributeMappingSourceValuePair.ts | 2 +- src/models/stsPolicy.ts | 2 +- src/models/subjectRightsRequest.ts | 26 +-- .../subjectRightsRequestCollectionResponse.ts | 2 +- src/models/subjectRightsRequestDetail.ts | 4 +- src/models/subjectRightsRequestHistory.ts | 2 +- src/models/subjectRightsRequestStageDetail.ts | 2 +- src/models/subscribedSku.ts | 4 +- src/models/subscribedSkuCollectionResponse.ts | 2 +- src/models/subscriptionCollectionResponse.ts | 2 +- ...apShiftsChangeRequestCollectionResponse.ts | 2 +- src/models/synchronization.ts | 6 +- src/models/synchronizationJob.ts | 8 +- ...synchronizationJobApplicationParameters.ts | 2 +- .../synchronizationJobCollectionResponse.ts | 2 +- src/models/synchronizationJobSubject.ts | 2 +- src/models/synchronizationLinkedObjects.ts | 6 +- src/models/synchronizationQuarantine.ts | 2 +- src/models/synchronizationRule.ts | 8 +- src/models/synchronizationSchema.ts | 4 +- src/models/synchronizationStatus.ts | 12 +- src/models/synchronizationTaskExecution.ts | 2 +- src/models/synchronizationTemplate.ts | 4 +- ...nchronizationTemplateCollectionResponse.ts | 2 +- src/models/tabUpdatedEventMessageDetail.ts | 2 +- src/models/targetDeviceGroup.ts | 2 +- .../targetDeviceGroupCollectionResponse.ts | 2 +- src/models/targetResource.ts | 2 +- src/models/targetedManagedAppConfiguration.ts | 6 +- ...nagedAppConfigurationCollectionResponse.ts | 2 +- .../targetedManagedAppPolicyAssignment.ts | 2 +- ...edAppPolicyAssignmentCollectionResponse.ts | 2 +- src/models/targetedManagedAppProtection.ts | 2 +- src/models/team.ts | 36 ++-- src/models/teamArchivedEventMessageDetail.ts | 2 +- src/models/teamCollectionResponse.ts | 2 +- src/models/teamCreatedEventMessageDetail.ts | 2 +- ...eamDescriptionUpdatedEventMessageDetail.ts | 2 +- src/models/teamInfo.ts | 2 +- .../teamJoiningDisabledEventMessageDetail.ts | 2 +- .../teamJoiningEnabledEventMessageDetail.ts | 2 +- src/models/teamRenamedEventMessageDetail.ts | 2 +- .../teamUnarchivedEventMessageDetail.ts | 2 +- src/models/teamsApp.ts | 2 +- src/models/teamsAppAuthorization.ts | 2 +- src/models/teamsAppCollectionResponse.ts | 2 +- src/models/teamsAppDefinition.ts | 6 +- .../teamsAppDefinitionCollectionResponse.ts | 2 +- src/models/teamsAppInstallation.ts | 6 +- .../teamsAppInstallationCollectionResponse.ts | 2 +- .../teamsAppInstalledEventMessageDetail.ts | 2 +- src/models/teamsAppPermissionSet.ts | 2 +- .../teamsAppRemovedEventMessageDetail.ts | 2 +- .../teamsAppUpgradedEventMessageDetail.ts | 2 +- src/models/teamsAsyncOperation.ts | 2 +- .../teamsAsyncOperationCollectionResponse.ts | 2 +- src/models/teamsTab.ts | 4 +- src/models/teamsTabCollectionResponse.ts | 2 +- src/models/teamsTemplateCollectionResponse.ts | 2 +- src/models/teamwork.ts | 6 +- src/models/teamworkOnlineMeetingInfo.ts | 2 +- src/models/teamworkTag.ts | 2 +- src/models/teamworkTagCollectionResponse.ts | 2 +- .../teamworkTagMemberCollectionResponse.ts | 2 +- ...enseManagementPartnerCollectionResponse.ts | 2 +- src/models/teleconferenceDeviceQuality.ts | 2 +- ...sAuthenticationMethodCollectionResponse.ts | 2 +- ...ssPassAuthenticationMethodConfiguration.ts | 2 +- src/models/tenantAppManagementPolicy.ts | 4 +- src/models/tenantRelationship.ts | 4 +- src/models/termColumn.ts | 4 +- src/models/termStore/group.ts | 2 +- .../termStore/groupCollectionResponse.ts | 2 +- src/models/termStore/relation.ts | 6 +- .../termStore/relationCollectionResponse.ts | 2 +- src/models/termStore/set.ts | 12 +- src/models/termStore/setCollectionResponse.ts | 2 +- src/models/termStore/store.ts | 4 +- .../termStore/storeCollectionResponse.ts | 2 +- src/models/termStore/term.ts | 12 +- .../termStore/termCollectionResponse.ts | 2 +- src/models/termsAndConditions.ts | 4 +- .../termsAndConditionsAcceptanceStatus.ts | 2 +- ...tionsAcceptanceStatusCollectionResponse.ts | 2 +- src/models/termsAndConditionsAssignment.ts | 2 +- ...dConditionsAssignmentCollectionResponse.ts | 2 +- .../termsAndConditionsCollectionResponse.ts | 2 +- src/models/termsOfUseContainer.ts | 4 +- src/models/threatAssessmentRequest.ts | 4 +- ...reatAssessmentRequestCollectionResponse.ts | 2 +- ...hreatAssessmentResultCollectionResponse.ts | 2 +- src/models/thumbnailSet.ts | 8 +- src/models/thumbnailSetCollectionResponse.ts | 2 +- src/models/timeConstraint.ts | 2 +- src/models/timeOff.ts | 4 +- src/models/timeOffCollectionResponse.ts | 2 +- src/models/timeOffReasonCollectionResponse.ts | 2 +- .../timeOffRequestCollectionResponse.ts | 2 +- src/models/timeSlot.ts | 4 +- src/models/todo.ts | 2 +- src/models/todoTask.ts | 22 +- src/models/todoTaskCollectionResponse.ts | 2 +- src/models/todoTaskList.ts | 4 +- src/models/todoTaskListCollectionResponse.ts | 2 +- .../tokenIssuancePolicyCollectionResponse.ts | 2 +- .../tokenLifetimePolicyCollectionResponse.ts | 2 +- src/models/training.ts | 34 ++-- src/models/trainingCollectionResponse.ts | 2 +- src/models/trainingEventsContent.ts | 2 +- src/models/trainingLanguageDetail.ts | 22 +- ...rainingLanguageDetailCollectionResponse.ts | 2 +- src/models/trainingNotificationSetting.ts | 8 +- src/models/trainingReminderNotification.ts | 2 +- src/models/trainingSetting.ts | 2 +- src/models/trending.ts | 2 +- src/models/trendingCollectionResponse.ts | 2 +- src/models/unifiedApprovalStage.ts | 4 +- ...iedRbacResourceActionCollectionResponse.ts | 2 +- src/models/unifiedRbacResourceNamespace.ts | 2 +- ...RbacResourceNamespaceCollectionResponse.ts | 2 +- src/models/unifiedRoleAssignment.ts | 8 +- ...unifiedRoleAssignmentCollectionResponse.ts | 2 +- src/models/unifiedRoleAssignmentSchedule.ts | 4 +- ...oleAssignmentScheduleCollectionResponse.ts | 2 +- .../unifiedRoleAssignmentScheduleInstance.ts | 2 +- ...nmentScheduleInstanceCollectionResponse.ts | 2 +- .../unifiedRoleAssignmentScheduleRequest.ts | 16 +- ...gnmentScheduleRequestCollectionResponse.ts | 2 +- src/models/unifiedRoleDefinition.ts | 4 +- ...unifiedRoleDefinitionCollectionResponse.ts | 2 +- src/models/unifiedRoleEligibilitySchedule.ts | 2 +- ...leEligibilityScheduleCollectionResponse.ts | 2 +- ...ilityScheduleInstanceCollectionResponse.ts | 2 +- .../unifiedRoleEligibilityScheduleRequest.ts | 14 +- ...bilityScheduleRequestCollectionResponse.ts | 2 +- src/models/unifiedRoleManagementPolicy.ts | 6 +- ...unifiedRoleManagementPolicyApprovalRule.ts | 2 +- .../unifiedRoleManagementPolicyAssignment.ts | 2 +- ...ementPolicyAssignmentCollectionResponse.ts | 2 +- ...dRoleManagementPolicyCollectionResponse.ts | 2 +- src/models/unifiedRoleManagementPolicyRule.ts | 2 +- ...eManagementPolicyRuleCollectionResponse.ts | 2 +- .../unifiedRoleManagementPolicyRuleTarget.ts | 2 +- src/models/unifiedRoleScheduleBase.ts | 8 +- src/models/unifiedRoleScheduleInstanceBase.ts | 8 +- ...dateWindowsDeviceAccountActionParameter.ts | 2 +- src/models/usedInsight.ts | 4 +- src/models/usedInsightCollectionResponse.ts | 2 +- src/models/user.ts | 124 ++++++------ src/models/userActivity.ts | 6 +- src/models/userActivityCollectionResponse.ts | 2 +- src/models/userCollectionResponse.ts | 2 +- src/models/userConsentRequest.ts | 2 +- .../userConsentRequestCollectionResponse.ts | 2 +- ...ceByAppVersionDetailsCollectionResponse.ts | 2 +- ...eByAppVersionDeviceIdCollectionResponse.ts | 2 +- ...erformanceByOSVersionCollectionResponse.ts | 2 +- ...pplicationPerformanceCollectionResponse.ts | 2 +- ...eviceModelPerformanceCollectionResponse.ts | 2 +- ...althDevicePerformanceCollectionResponse.ts | 2 +- ...icePerformanceDetailsCollectionResponse.ts | 2 +- ...hOSVersionPerformanceCollectionResponse.ts | 2 +- src/models/userExperienceAnalyticsBaseline.ts | 14 +- ...enceAnalyticsBaselineCollectionResponse.ts | 2 +- src/models/userExperienceAnalyticsCategory.ts | 4 +- ...enceAnalyticsCategoryCollectionResponse.ts | 2 +- ...ticsDevicePerformanceCollectionResponse.ts | 2 +- ...AnalyticsDeviceScoresCollectionResponse.ts | 2 +- ...sDeviceStartupHistoryCollectionResponse.ts | 2 +- ...sDeviceStartupProcessCollectionResponse.ts | 2 +- ...tupProcessPerformanceCollectionResponse.ts | 2 +- src/models/userExperienceAnalyticsInsight.ts | 2 +- ...rienceAnalyticsMetricCollectionResponse.ts | 2 +- ...nalyticsMetricHistoryCollectionResponse.ts | 2 +- ...eAnalyticsModelScoresCollectionResponse.ts | 2 +- src/models/userExperienceAnalyticsOverview.ts | 2 +- ...AnalyticsScoreHistoryCollectionResponse.ts | 2 +- ...orkFromAnywhereDeviceCollectionResponse.ts | 2 +- ...AnalyticsWorkFromAnywhereDevicesSummary.ts | 8 +- ...perienceAnalyticsWorkFromAnywhereMetric.ts | 2 +- ...orkFromAnywhereMetricCollectionResponse.ts | 2 +- ...whereModelPerformanceCollectionResponse.ts | 2 +- .../userFlowApiConnectorConfiguration.ts | 4 +- src/models/userFlowLanguageConfiguration.ts | 4 +- ...LanguageConfigurationCollectionResponse.ts | 2 +- .../userFlowLanguagePageCollectionResponse.ts | 2 +- src/models/userInstallStateSummary.ts | 2 +- ...erInstallStateSummaryCollectionResponse.ts | 2 +- src/models/userPrint.ts | 2 +- ...erRegistrationDetailsCollectionResponse.ts | 2 +- src/models/userRegistrationFeatureSummary.ts | 2 +- src/models/userRegistrationMethodSummary.ts | 2 +- src/models/userScopeTeamsAppInstallation.ts | 2 +- ...eTeamsAppInstallationCollectionResponse.ts | 2 +- src/models/userSettings.ts | 2 +- src/models/userSimulationDetails.ts | 6 +- src/models/userTeamwork.ts | 4 +- src/models/userTrainingEventInfo.ts | 6 +- src/models/visualInfo.ts | 4 +- .../voiceAuthenticationMethodConfiguration.ts | 2 +- src/models/vppTokenCollectionResponse.ts | 2 +- src/models/webApplication.ts | 4 +- src/models/win32LobApp.ts | 8 +- src/models/win32LobAppAssignmentSettings.ts | 4 +- src/models/win32LobAppCollectionResponse.ts | 2 +- src/models/windows10CustomConfiguration.ts | 2 +- ...indows10EndpointProtectionConfiguration.ts | 8 +- src/models/windows10GeneralConfiguration.ts | 6 +- src/models/windowsAppX.ts | 2 +- src/models/windowsAppXCollectionResponse.ts | 2 +- ...topilotDeviceIdentityCollectionResponse.ts | 2 +- ...owsDeviceMalwareStateCollectionResponse.ts | 2 +- ...owsHelloForBusinessAuthenticationMethod.ts | 2 +- ...sAuthenticationMethodCollectionResponse.ts | 2 +- src/models/windowsInformationProtection.ts | 28 +-- ...ionAppLearningSummaryCollectionResponse.ts | 2 +- ...otectionAppLockerFileCollectionResponse.ts | 2 +- ...sInformationProtectionIPRangeCollection.ts | 2 +- ...etworkLearningSummaryCollectionResponse.ts | 2 +- ...ationProtectionPolicyCollectionResponse.ts | 2 +- ...mationProtectionProxiedDomainCollection.ts | 2 +- src/models/windowsMalwareInformation.ts | 2 +- ...owsMalwareInformationCollectionResponse.ts | 2 +- src/models/windowsMalwareOverview.ts | 12 +- .../windowsMobileMSICollectionResponse.ts | 2 +- .../windowsPhone81CustomConfiguration.ts | 2 +- .../windowsPhone81GeneralConfiguration.ts | 2 +- src/models/windowsProtectionState.ts | 2 +- src/models/windowsUniversalAppX.ts | 4 +- .../windowsUniversalAppXCollectionResponse.ts | 2 +- .../windowsUpdateForBusinessConfiguration.ts | 2 +- src/models/windowsWebAppCollectionResponse.ts | 2 +- src/models/workbook.ts | 14 +- src/models/workbookChart.ts | 14 +- src/models/workbookChartAreaFormat.ts | 4 +- src/models/workbookChartAxes.ts | 6 +- src/models/workbookChartAxis.ts | 16 +- src/models/workbookChartAxisFormat.ts | 4 +- src/models/workbookChartAxisTitle.ts | 2 +- src/models/workbookChartAxisTitleFormat.ts | 2 +- src/models/workbookChartCollectionResponse.ts | 2 +- src/models/workbookChartDataLabelFormat.ts | 4 +- src/models/workbookChartDataLabels.ts | 2 +- src/models/workbookChartGridlines.ts | 2 +- src/models/workbookChartGridlinesFormat.ts | 2 +- src/models/workbookChartLegend.ts | 2 +- src/models/workbookChartLegendFormat.ts | 4 +- src/models/workbookChartPoint.ts | 4 +- .../workbookChartPointCollectionResponse.ts | 2 +- src/models/workbookChartPointFormat.ts | 2 +- src/models/workbookChartSeries.ts | 4 +- .../workbookChartSeriesCollectionResponse.ts | 2 +- src/models/workbookChartSeriesFormat.ts | 4 +- src/models/workbookChartTitle.ts | 2 +- src/models/workbookChartTitleFormat.ts | 4 +- src/models/workbookComment.ts | 2 +- .../workbookCommentCollectionResponse.ts | 2 +- .../workbookCommentReplyCollectionResponse.ts | 2 +- src/models/workbookFilter.ts | 2 +- src/models/workbookFilterCriteria.ts | 4 +- src/models/workbookFunctionResult.ts | 2 +- src/models/workbookNamedItem.ts | 4 +- .../workbookNamedItemCollectionResponse.ts | 2 +- src/models/workbookOperation.ts | 2 +- .../workbookOperationCollectionResponse.ts | 2 +- src/models/workbookOperationError.ts | 2 +- src/models/workbookPivotTable.ts | 2 +- .../workbookPivotTableCollectionResponse.ts | 2 +- src/models/workbookRange.ts | 20 +- src/models/workbookRangeFormat.ts | 8 +- src/models/workbookRangeView.ts | 18 +- src/models/workbookSortField.ts | 2 +- src/models/workbookTable.ts | 8 +- src/models/workbookTableCollectionResponse.ts | 2 +- src/models/workbookTableColumn.ts | 4 +- .../workbookTableColumnCollectionResponse.ts | 2 +- src/models/workbookTableRow.ts | 2 +- .../workbookTableRowCollectionResponse.ts | 2 +- src/models/workbookTableSort.ts | 2 +- src/models/workbookWorksheet.ts | 10 +- .../workbookWorksheetCollectionResponse.ts | 2 +- src/models/workbookWorksheetProtection.ts | 2 +- src/models/workforceIntegration.ts | 2 +- .../workforceIntegrationCollectionResponse.ts | 2 +- src/models/workingHours.ts | 2 +- ...ficateAuthenticationMethodConfiguration.ts | 6 +- ...tificateAuthenticationModeConfiguration.ts | 2 +- .../delta/deltaGetResponse.ts | 2 +- src/organization/delta/deltaGetResponse.ts | 2 +- ...vailableExtensionPropertiesPostResponse.ts | 2 +- .../getByIds/getByIdsPostResponse.ts | 2 +- .../backgroundImageRequestBuilder.ts | 10 +- .../bannerLogo/bannerLogoRequestBuilder.ts | 10 +- .../customCSS/customCSSRequestBuilder.ts | 10 +- .../branding/favicon/faviconRequestBuilder.ts | 10 +- .../headerLogo/headerLogoRequestBuilder.ts | 10 +- .../backgroundImageRequestBuilder.ts | 10 +- .../bannerLogo/bannerLogoRequestBuilder.ts | 10 +- .../item/customCSS/customCSSRequestBuilder.ts | 10 +- .../item/favicon/faviconRequestBuilder.ts | 10 +- .../headerLogo/headerLogoRequestBuilder.ts | 10 +- .../squareLogo/squareLogoRequestBuilder.ts | 10 +- .../squareLogoDarkRequestBuilder.ts | 10 +- .../squareLogo/squareLogoRequestBuilder.ts | 10 +- .../squareLogoDarkRequestBuilder.ts | 10 +- .../item/organizationItemRequestBuilder.ts | 6 +- .../organizationRequestBuilder.ts | 6 +- .../delta/deltaGetResponse.ts | 2 +- ...vailableExtensionPropertiesPostResponse.ts | 2 +- .../getByIds/getByIdsPostResponse.ts | 2 +- .../printers/create/createPostRequestBody.ts | 2 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/redirect/redirectPostRequestBody.ts | 2 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/redirect/redirectPostRequestBody.ts | 2 +- ...StartDateTimeWithEndDateTimeGetResponse.ts | 2 +- ...StartDateTimeWithEndDateTimeGetResponse.ts | 2 +- ...StartDateTimeWithEndDateTimeGetResponse.ts | 2 +- ...ackSimulationRepeatOffendersGetResponse.ts | 2 +- ...lationSimulationUserCoverageGetResponse.ts | 2 +- ...mulationTrainingUserCoverageGetResponse.ts | 2 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- .../filterByCurrentUserWithOnGetResponse.ts | 2 +- src/search/query/queryPostRequestBody.ts | 2 +- src/search/query/queryPostResponse.ts | 2 +- .../endUserNotificationsRequestBuilder.ts | 5 +- .../endUserNotificationItemRequestBuilder.ts | 4 +- .../item/details/detailsRequestBuilder.ts | 4 +- .../landingPageDetailItemRequestBuilder.ts | 4 +- .../item/landingPageItemRequestBuilder.ts | 4 +- .../landingPagesRequestBuilder.ts | 5 +- .../item/loginPageItemRequestBuilder.ts | 4 +- .../loginPages/loginPagesRequestBuilder.ts | 5 +- ...ckSimulationOperationItemRequestBuilder.ts | 5 +- .../operations/operationsRequestBuilder.ts | 4 +- .../item/payloadItemRequestBuilder.ts | 4 +- .../payloads/payloadsRequestBuilder.ts | 5 +- .../landingPage/landingPageRequestBuilder.ts | 4 +- .../item/loginPage/loginPageRequestBuilder.ts | 4 +- .../item/payload/payloadRequestBuilder.ts | 4 +- .../item/simulationItemRequestBuilder.ts | 10 +- .../simulations/simulationsRequestBuilder.ts | 5 +- ...rainingLanguageDetailItemRequestBuilder.ts | 4 +- .../languageDetailsRequestBuilder.ts | 4 +- .../item/trainingItemRequestBuilder.ts | 4 +- .../trainings/trainingsRequestBuilder.ts | 5 +- .../addToReviewSetPostRequestBody.ts | 2 +- .../applyTagsPostRequestBody.ts | 4 +- .../asHierarchyGetResponse.ts | 2 +- .../hostPorts}/count/countRequestBuilder.ts | 6 +- .../hostPorts}/count/index.ts | 0 .../hostPorts/hostPortsRequestBuilder.ts | 180 +++++++++++++++++ .../threatIntelligence/hostPorts/index.ts | 1 + .../hostPorts/item/host/hostRequestBuilder.ts | 90 +++++++++ .../hostPorts/item/host/index.ts | 1 + .../item/hostPortItemRequestBuilder.ts | 191 ++++++++++++++++++ .../hostPorts/item/index.ts | 1 + .../item/mostRecentSslCertificate/index.ts | 1 + .../mostRecentSslCertificateRequestBuilder.ts | 90 +++++++++ .../hosts/item/hostItemRequestBuilder.ts | 7 + .../item/ports}/count/countRequestBuilder.ts | 10 +- .../hosts/item/ports}/count/index.ts | 0 .../hosts/item/ports/index.ts | 1 + .../ports/item/hostPortItemRequestBuilder.ts | 90 +++++++++ .../hosts/item/ports/item/index.ts | 1 + .../hosts/item/ports/portsRequestBuilder.ts | 134 ++++++++++++ .../threatIntelligenceRequestBuilder.ts | 7 + .../delta/deltaGetResponse.ts | 2 +- ...vailableExtensionPropertiesPostResponse.ts | 2 +- .../getByIds/getByIdsPostResponse.ts | 2 +- .../item/addKey/addKeyPostRequestBody.ts | 4 +- .../addPassword/addPasswordPostRequestBody.ts | 2 +- ...ktopSecurityConfigurationRequestBuilder.ts | 15 +- .../targetDeviceGroupItemRequestBuilder.ts | 15 +- .../targetDeviceGroupsRequestBuilder.ts | 10 +- .../acquireAccessTokenPostRequestBody.ts | 2 +- .../provisionOnDemandPostRequestBody.ts | 2 +- .../item/restart/restartPostRequestBody.ts | 2 +- .../filterOperatorsGetResponse.ts | 2 +- .../schema/functions/functionsGetResponse.ts | 2 +- .../parseExpressionPostRequestBody.ts | 4 +- .../validateCredentialsPostRequestBody.ts | 2 +- .../validateCredentialsPostRequestBody.ts | 2 +- .../filterOperatorsGetResponse.ts | 2 +- .../schema/functions/functionsGetResponse.ts | 2 +- .../parseExpressionPostRequestBody.ts | 4 +- ...getCompatibleHubContentTypesGetResponse.ts | 2 +- ...ToDefaultContentLocationPostRequestBody.ts | 2 +- .../getActivitiesByIntervalGetResponse.ts | 2 +- ...eWithEndDateTimeWithIntervalGetResponse.ts | 2 +- .../permission/grant/grantPostRequestBody.ts | 2 +- .../permission/grant/grantPostResponse.ts | 2 +- src/sites/add/addPostRequestBody.ts | 2 +- src/sites/add/addPostResponse.ts | 2 +- src/sites/delta/deltaGetResponse.ts | 2 +- .../getAllSites/getAllSitesGetResponse.ts | 2 +- ...getCompatibleHubContentTypesGetResponse.ts | 2 +- ...ToDefaultContentLocationPostRequestBody.ts | 2 +- .../getActivitiesByIntervalGetResponse.ts | 2 +- ...eWithEndDateTimeWithIntervalGetResponse.ts | 2 +- ...ontentTypesForListWithListIdGetResponse.ts | 2 +- ...getCompatibleHubContentTypesGetResponse.ts | 2 +- ...ToDefaultContentLocationPostRequestBody.ts | 2 +- .../getActivitiesByIntervalGetResponse.ts | 2 +- ...eWithEndDateTimeWithIntervalGetResponse.ts | 2 +- ...WithIncludePersonalNotebooksGetResponse.ts | 2 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../item/grant/grantPostRequestBody.ts | 2 +- .../item/grant/grantPostResponse.ts | 2 +- src/sites/remove/removePostRequestBody.ts | 2 +- src/sites/remove/removePostResponse.ts | 2 +- src/sites/sitesRequestBuilder.ts | 6 +- .../getStaffAvailabilityPostRequestBody.ts | 4 +- .../getStaffAvailabilityPostResponse.ts | 2 +- .../getAllMessagesGetResponse.ts | 2 +- .../getAllMessagesGetResponse.ts | 2 +- .../item/members/add/addPostRequestBody.ts | 2 +- .../item/members/add/addPostResponse.ts | 2 +- .../conversationMemberItemRequestBuilder.ts | 6 +- .../item/messages/delta/deltaGetResponse.ts | 2 +- .../hostedContentsRequestBuilder.ts | 4 +- .../item/replies/delta/deltaGetResponse.ts | 2 +- .../hostedContentsRequestBuilder.ts | 4 +- .../item/replies/repliesRequestBuilder.ts | 6 +- .../item/messages/messagesRequestBuilder.ts | 6 +- .../item/upgrade/upgradePostRequestBody.ts | 2 +- .../item/members/add/addPostRequestBody.ts | 2 +- src/teams/item/members/add/addPostResponse.ts | 2 +- .../members/add/addPostRequestBody.ts | 2 +- .../members/add/addPostResponse.ts | 2 +- .../conversationMemberItemRequestBuilder.ts | 6 +- .../messages/delta/deltaGetResponse.ts | 2 +- .../hostedContentsRequestBuilder.ts | 4 +- .../item/replies/delta/deltaGetResponse.ts | 2 +- .../hostedContentsRequestBuilder.ts | 4 +- .../item/replies/repliesRequestBuilder.ts | 6 +- .../messages/messagesRequestBuilder.ts | 6 +- ...sendActivityNotificationPostRequestBody.ts | 8 +- .../getAllMessagesGetResponse.ts | 2 +- .../getAllMessagesGetResponse.ts | 2 +- .../item/members/add/addPostRequestBody.ts | 2 +- .../item/members/add/addPostResponse.ts | 2 +- .../conversationMemberItemRequestBuilder.ts | 6 +- .../item/messages/delta/deltaGetResponse.ts | 2 +- .../hostedContentsRequestBuilder.ts | 4 +- .../item/replies/delta/deltaGetResponse.ts | 2 +- .../hostedContentsRequestBuilder.ts | 4 +- .../item/replies/repliesRequestBuilder.ts | 6 +- .../item/messages/messagesRequestBuilder.ts | 6 +- ...NotificationToRecipientsPostRequestBody.ts | 8 +- ...atedAdminRelationshipItemRequestBuilder.ts | 4 +- src/users/delta/deltaGetResponse.ts | 2 +- ...vailableExtensionPropertiesPostResponse.ts | 2 +- src/users/getByIds/getByIdsPostResponse.ts | 2 +- .../activities/recent/recentGetResponse.ts | 2 +- .../assignLicensePostRequestBody.ts | 2 +- .../calendarView/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 6 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/instances/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 6 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../calendar/events/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 6 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/instances/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 6 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../getSchedule/getSchedulePostRequestBody.ts | 4 +- .../getSchedule/getSchedulePostResponse.ts | 2 +- .../calendarView/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 6 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/instances/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 6 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../item/events/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 6 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/instances/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 6 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../getSchedule/getSchedulePostRequestBody.ts | 4 +- .../getSchedule/getSchedulePostResponse.ts | 2 +- .../calendarView/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 6 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/instances/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 6 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../calendarView/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 6 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/instances/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 6 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../item/events/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 6 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/instances/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 6 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../getSchedule/getSchedulePostRequestBody.ts | 4 +- .../getSchedule/getSchedulePostResponse.ts | 2 +- .../getAllMessagesGetResponse.ts | 2 +- .../hideForUser/hideForUserPostRequestBody.ts | 2 +- .../item/upgrade/upgradePostRequestBody.ts | 2 +- .../markChatReadForUserPostRequestBody.ts | 2 +- .../markChatUnreadForUserPostRequestBody.ts | 2 +- .../item/members/add/addPostRequestBody.ts | 2 +- .../chats/item/members/add/addPostResponse.ts | 2 +- .../item/messages/delta/deltaGetResponse.ts | 2 +- .../hostedContentsRequestBuilder.ts | 4 +- .../item/replies/delta/deltaGetResponse.ts | 2 +- .../hostedContentsRequestBuilder.ts | 4 +- .../item/replies/repliesRequestBuilder.ts | 6 +- ...sendActivityNotificationPostRequestBody.ts | 8 +- .../unhideForUserPostRequestBody.ts | 2 +- .../contactFolders/delta/deltaGetResponse.ts | 2 +- .../childFolders/delta/deltaGetResponse.ts | 2 +- .../item/contacts/delta/deltaGetResponse.ts | 2 +- .../item/contacts/delta/deltaGetResponse.ts | 2 +- .../item/contacts/delta/deltaGetResponse.ts | 2 +- .../item/events/delta/deltaGetResponse.ts | 2 +- src/users/item/events/eventsRequestBuilder.ts | 6 +- .../attachments/attachmentsRequestBuilder.ts | 6 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../item/instances/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 6 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../item/decline/declinePostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../snoozeReminderPostRequestBody.ts | 2 +- .../tentativelyAcceptPostRequestBody.ts | 2 +- .../findMeetingTimesPostRequestBody.ts | 6 +- .../getMailTips/getMailTipsPostResponse.ts | 2 +- ...ManagedAppDiagnosticStatusesGetResponse.ts | 2 +- .../getManagedAppPoliciesGetResponse.ts | 2 +- .../getAllMessagesGetResponse.ts | 2 +- .../getAllMessagesGetResponse.ts | 2 +- .../item/members/add/addPostRequestBody.ts | 2 +- .../item/members/add/addPostResponse.ts | 2 +- .../conversationMemberItemRequestBuilder.ts | 6 +- .../item/messages/delta/deltaGetResponse.ts | 2 +- .../hostedContentsRequestBuilder.ts | 4 +- .../item/replies/delta/deltaGetResponse.ts | 2 +- .../hostedContentsRequestBuilder.ts | 4 +- .../item/replies/repliesRequestBuilder.ts | 6 +- .../item/messages/messagesRequestBuilder.ts | 6 +- .../item/upgrade/upgradePostRequestBody.ts | 2 +- .../item/members/add/addPostRequestBody.ts | 2 +- .../item/members/add/addPostResponse.ts | 2 +- .../members/add/addPostRequestBody.ts | 2 +- .../members/add/addPostResponse.ts | 2 +- .../conversationMemberItemRequestBuilder.ts | 6 +- .../messages/delta/deltaGetResponse.ts | 2 +- .../hostedContentsRequestBuilder.ts | 4 +- .../item/replies/delta/deltaGetResponse.ts | 2 +- .../hostedContentsRequestBuilder.ts | 4 +- .../item/replies/repliesRequestBuilder.ts | 6 +- .../messages/messagesRequestBuilder.ts | 6 +- ...sendActivityNotificationPostRequestBody.ts | 8 +- .../mailFolders/delta/deltaGetResponse.ts | 2 +- .../childFolders/delta/deltaGetResponse.ts | 2 +- .../item/messages/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 12 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createForwardPostRequestBody.ts | 4 +- .../createReply/createReplyPostRequestBody.ts | 2 +- .../createReplyAllPostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 4 +- .../item/reply/replyPostRequestBody.ts | 2 +- .../item/replyAll/replyAllPostRequestBody.ts | 2 +- .../item/messages/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 12 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createForwardPostRequestBody.ts | 4 +- .../createReply/createReplyPostRequestBody.ts | 2 +- .../createReplyAllPostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 4 +- .../item/reply/replyPostRequestBody.ts | 2 +- .../item/replyAll/replyAllPostRequestBody.ts | 2 +- ...dateWindowsDeviceAccountPostRequestBody.ts | 2 +- .../item/messages/delta/deltaGetResponse.ts | 2 +- .../attachments/attachmentsRequestBuilder.ts | 12 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../createForwardPostRequestBody.ts | 4 +- .../createReply/createReplyPostRequestBody.ts | 2 +- .../createReplyAllPostRequestBody.ts | 2 +- .../item/forward/forwardPostRequestBody.ts | 4 +- .../item/messageItemRequestBuilder.ts | 2 +- .../item/reply/replyPostRequestBody.ts | 2 +- .../item/replyAll/replyAllPostRequestBody.ts | 2 +- .../item/value/contentRequestBuilder.ts | 2 +- .../item/messages/messagesRequestBuilder.ts | 8 +- ...WithIncludePersonalNotebooksGetResponse.ts | 2 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../onenotePatchContentPostRequestBody.ts | 2 +- .../createOrGet/createOrGetPostRequestBody.ts | 4 +- .../supportedLanguagesGetResponse.ts | 2 +- .../supportedTimeZonesGetResponse.ts | 2 +- ...imeZonesWithTimeZoneStandardGetResponse.ts | 2 +- src/users/item/photos/photosRequestBuilder.ts | 13 +- .../item/presence/presenceRequestBuilder.ts | 6 +- .../setStatusMessagePostRequestBody.ts | 2 +- ...StartDateTimeWithEndDateTimeGetResponse.ts | 2 +- .../item/sendMail/sendMailPostRequestBody.ts | 2 +- ...sendActivityNotificationPostRequestBody.ts | 6 +- .../item/todo/lists/delta/deltaGetResponse.ts | 2 +- .../item/tasks/delta/deltaGetResponse.ts | 2 +- .../createUploadSessionPostRequestBody.ts | 2 +- .../translateExchangeIdsPostResponse.ts | 2 +- src/users/item/userItemRequestBuilder.ts | 14 +- src/users/usersRequestBuilder.ts | 8 +- 2688 files changed, 6952 insertions(+), 5277 deletions(-) rename src/{me/photos => directory/deviceLocalCredentials}/count/countRequestBuilder.ts (94%) rename src/{groups/item/photos => directory/deviceLocalCredentials}/count/index.ts (100%) create mode 100644 src/directory/deviceLocalCredentials/deviceLocalCredentialsRequestBuilder.ts create mode 100644 src/directory/deviceLocalCredentials/index.ts create mode 100644 src/directory/deviceLocalCredentials/item/deviceLocalCredentialInfoItemRequestBuilder.ts create mode 100644 src/directory/deviceLocalCredentials/item/index.ts create mode 100644 src/models/channelSummary.ts create mode 100644 src/models/deviceLocalCredential.ts create mode 100644 src/models/deviceLocalCredentialInfo.ts create mode 100644 src/models/deviceLocalCredentialInfoCollectionResponse.ts create mode 100644 src/models/security/hostPort.ts create mode 100644 src/models/security/hostPortBanner.ts create mode 100644 src/models/security/hostPortCollectionResponse.ts create mode 100644 src/models/security/hostPortComponent.ts create mode 100644 src/models/security/hostPortProtocol.ts create mode 100644 src/models/security/hostPortStatus.ts rename src/{groups/item/photos => security/threatIntelligence/hostPorts}/count/countRequestBuilder.ts (94%) rename src/{me/photos => security/threatIntelligence/hostPorts}/count/index.ts (100%) create mode 100644 src/security/threatIntelligence/hostPorts/hostPortsRequestBuilder.ts create mode 100644 src/security/threatIntelligence/hostPorts/index.ts create mode 100644 src/security/threatIntelligence/hostPorts/item/host/hostRequestBuilder.ts create mode 100644 src/security/threatIntelligence/hostPorts/item/host/index.ts create mode 100644 src/security/threatIntelligence/hostPorts/item/hostPortItemRequestBuilder.ts create mode 100644 src/security/threatIntelligence/hostPorts/item/index.ts create mode 100644 src/security/threatIntelligence/hostPorts/item/mostRecentSslCertificate/index.ts create mode 100644 src/security/threatIntelligence/hostPorts/item/mostRecentSslCertificate/mostRecentSslCertificateRequestBuilder.ts rename src/{users/item/photos => security/threatIntelligence/hosts/item/ports}/count/countRequestBuilder.ts (90%) rename src/{users/item/photos => security/threatIntelligence/hosts/item/ports}/count/index.ts (100%) create mode 100644 src/security/threatIntelligence/hosts/item/ports/index.ts create mode 100644 src/security/threatIntelligence/hosts/item/ports/item/hostPortItemRequestBuilder.ts create mode 100644 src/security/threatIntelligence/hosts/item/ports/item/index.ts create mode 100644 src/security/threatIntelligence/hosts/item/ports/portsRequestBuilder.ts diff --git a/src/admin/edge/internetExplorerMode/siteLists/item/publish/publishPostRequestBody.ts b/src/admin/edge/internetExplorerMode/siteLists/item/publish/publishPostRequestBody.ts index 1d3d8f6fd0c..34a1413318e 100644 --- a/src/admin/edge/internetExplorerMode/siteLists/item/publish/publishPostRequestBody.ts +++ b/src/admin/edge/internetExplorerMode/siteLists/item/publish/publishPostRequestBody.ts @@ -36,8 +36,8 @@ export interface PublishPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializePublishPostRequestBody(writer: SerializationWriter, publishPostRequestBody: PublishPostRequestBody | undefined = {} as PublishPostRequestBody) : void { writer.writeStringValue("revision", publishPostRequestBody.revision); - writer.writeCollectionOfObjectValues("sharedCookies", publishPostRequestBody.sharedCookies, ); - writer.writeCollectionOfObjectValues("sites", publishPostRequestBody.sites, ); + writer.writeCollectionOfObjectValues("sharedCookies", publishPostRequestBody.sharedCookies, serializeBrowserSharedCookie); + writer.writeCollectionOfObjectValues("sites", publishPostRequestBody.sites, serializeBrowserSite); writer.writeAdditionalData(publishPostRequestBody.additionalData); } // tslint:enable diff --git a/src/appCatalogs/teamsApps/item/teamsAppItemRequestBuilder.ts b/src/appCatalogs/teamsApps/item/teamsAppItemRequestBuilder.ts index ba65273acfb..38ffdf8837a 100644 --- a/src/appCatalogs/teamsApps/item/teamsAppItemRequestBuilder.ts +++ b/src/appCatalogs/teamsApps/item/teamsAppItemRequestBuilder.ts @@ -70,7 +70,7 @@ export class TeamsAppItemRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/appCatalogs/teamsApps/{teamsApp%2Did}{?%24select,%24expand}"); }; /** - * This API is available in the following national cloud deployments. + * Delete an app from an organization's app catalog (the tenant app catalog). To delete an app, the distributionMethod property for the app must be set to organization. You can also use this API to remove a submitted app from the review process. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @see {@link https://learn.microsoft.com/graph/api/teamsapp-delete?view=graph-rest-1.0|Find more info here} */ @@ -116,7 +116,7 @@ export class TeamsAppItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createTeamsAppFromDiscriminatorValue, errorMapping); }; /** - * This API is available in the following national cloud deployments. + * Delete an app from an organization's app catalog (the tenant app catalog). To delete an app, the distributionMethod property for the app must be set to organization. You can also use this API to remove a submitted app from the review process. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/applications/delta/deltaGetResponse.ts b/src/applications/delta/deltaGetResponse.ts index 262e86b6362..4c60f05df48 100644 --- a/src/applications/delta/deltaGetResponse.ts +++ b/src/applications/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeApplication); } // tslint:enable // eslint-enable diff --git a/src/applications/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts b/src/applications/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts index 22ee56f61fb..60953e2ee7f 100644 --- a/src/applications/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts +++ b/src/applications/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts @@ -23,7 +23,7 @@ export interface GetAvailableExtensionPropertiesPostResponse extends BaseCollect } export function serializeGetAvailableExtensionPropertiesPostResponse(writer: SerializationWriter, getAvailableExtensionPropertiesPostResponse: GetAvailableExtensionPropertiesPostResponse | undefined = {} as GetAvailableExtensionPropertiesPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getAvailableExtensionPropertiesPostResponse) - writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, serializeExtensionProperty); } // tslint:enable // eslint-enable diff --git a/src/applications/getByIds/getByIdsPostResponse.ts b/src/applications/getByIds/getByIdsPostResponse.ts index 2a3501e0206..c61951ae370 100644 --- a/src/applications/getByIds/getByIdsPostResponse.ts +++ b/src/applications/getByIds/getByIdsPostResponse.ts @@ -23,7 +23,7 @@ export interface GetByIdsPostResponse extends BaseCollectionPaginationCountRespo } export function serializeGetByIdsPostResponse(writer: SerializationWriter, getByIdsPostResponse: GetByIdsPostResponse | undefined = {} as GetByIdsPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getByIdsPostResponse) - writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, serializeDirectoryObject); } // tslint:enable // eslint-enable diff --git a/src/applications/item/addKey/addKeyPostRequestBody.ts b/src/applications/item/addKey/addKeyPostRequestBody.ts index 1a77fd375c5..d2cbc28f0af 100644 --- a/src/applications/item/addKey/addKeyPostRequestBody.ts +++ b/src/applications/item/addKey/addKeyPostRequestBody.ts @@ -35,8 +35,8 @@ export function deserializeIntoAddKeyPostRequestBody(addKeyPostRequestBody: AddK } } export function serializeAddKeyPostRequestBody(writer: SerializationWriter, addKeyPostRequestBody: AddKeyPostRequestBody | undefined = {} as AddKeyPostRequestBody) : void { - writer.writeObjectValue("keyCredential", addKeyPostRequestBody.keyCredential, ); - writer.writeObjectValue("passwordCredential", addKeyPostRequestBody.passwordCredential, ); + writer.writeObjectValue("keyCredential", addKeyPostRequestBody.keyCredential, serializeKeyCredential); + writer.writeObjectValue("passwordCredential", addKeyPostRequestBody.passwordCredential, serializePasswordCredential); writer.writeStringValue("proof", addKeyPostRequestBody.proof); writer.writeAdditionalData(addKeyPostRequestBody.additionalData); } diff --git a/src/applications/item/addPassword/addPasswordPostRequestBody.ts b/src/applications/item/addPassword/addPasswordPostRequestBody.ts index 8a377435b68..ebbd02d2cba 100644 --- a/src/applications/item/addPassword/addPasswordPostRequestBody.ts +++ b/src/applications/item/addPassword/addPasswordPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAddPasswordPostRequestBody(addPasswordPostRequest } } export function serializeAddPasswordPostRequestBody(writer: SerializationWriter, addPasswordPostRequestBody: AddPasswordPostRequestBody | undefined = {} as AddPasswordPostRequestBody) : void { - writer.writeObjectValue("passwordCredential", addPasswordPostRequestBody.passwordCredential, ); + writer.writeObjectValue("passwordCredential", addPasswordPostRequestBody.passwordCredential, serializePasswordCredential); writer.writeAdditionalData(addPasswordPostRequestBody.additionalData); } // tslint:enable diff --git a/src/applications/item/synchronization/acquireAccessToken/acquireAccessTokenPostRequestBody.ts b/src/applications/item/synchronization/acquireAccessToken/acquireAccessTokenPostRequestBody.ts index fbdfbd19387..25fb1db63c3 100644 --- a/src/applications/item/synchronization/acquireAccessToken/acquireAccessTokenPostRequestBody.ts +++ b/src/applications/item/synchronization/acquireAccessToken/acquireAccessTokenPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAcquireAccessTokenPostRequestBody(acquireAccessTo } } export function serializeAcquireAccessTokenPostRequestBody(writer: SerializationWriter, acquireAccessTokenPostRequestBody: AcquireAccessTokenPostRequestBody | undefined = {} as AcquireAccessTokenPostRequestBody) : void { - writer.writeCollectionOfObjectValues("credentials", acquireAccessTokenPostRequestBody.credentials, ); + writer.writeCollectionOfObjectValues("credentials", acquireAccessTokenPostRequestBody.credentials, serializeSynchronizationSecretKeyStringValuePair); writer.writeAdditionalData(acquireAccessTokenPostRequestBody.additionalData); } // tslint:enable diff --git a/src/applications/item/synchronization/jobs/item/provisionOnDemand/provisionOnDemandPostRequestBody.ts b/src/applications/item/synchronization/jobs/item/provisionOnDemand/provisionOnDemandPostRequestBody.ts index 9e5ae39f6fb..f10d9c5a5c7 100644 --- a/src/applications/item/synchronization/jobs/item/provisionOnDemand/provisionOnDemandPostRequestBody.ts +++ b/src/applications/item/synchronization/jobs/item/provisionOnDemand/provisionOnDemandPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ProvisionOnDemandPostRequestBody extends AdditionalDataHolder, parameters?: SynchronizationJobApplicationParameters[]; } export function serializeProvisionOnDemandPostRequestBody(writer: SerializationWriter, provisionOnDemandPostRequestBody: ProvisionOnDemandPostRequestBody | undefined = {} as ProvisionOnDemandPostRequestBody) : void { - writer.writeCollectionOfObjectValues("parameters", provisionOnDemandPostRequestBody.parameters, ); + writer.writeCollectionOfObjectValues("parameters", provisionOnDemandPostRequestBody.parameters, serializeSynchronizationJobApplicationParameters); writer.writeAdditionalData(provisionOnDemandPostRequestBody.additionalData); } // tslint:enable diff --git a/src/applications/item/synchronization/jobs/item/restart/restartPostRequestBody.ts b/src/applications/item/synchronization/jobs/item/restart/restartPostRequestBody.ts index b8bf79cd274..f94b41a94f5 100644 --- a/src/applications/item/synchronization/jobs/item/restart/restartPostRequestBody.ts +++ b/src/applications/item/synchronization/jobs/item/restart/restartPostRequestBody.ts @@ -24,7 +24,7 @@ export interface RestartPostRequestBody extends AdditionalDataHolder, Parsable { criteria?: SynchronizationJobRestartCriteria; } export function serializeRestartPostRequestBody(writer: SerializationWriter, restartPostRequestBody: RestartPostRequestBody | undefined = {} as RestartPostRequestBody) : void { - writer.writeObjectValue("criteria", restartPostRequestBody.criteria, ); + writer.writeObjectValue("criteria", restartPostRequestBody.criteria, serializeSynchronizationJobRestartCriteria); writer.writeAdditionalData(restartPostRequestBody.additionalData); } // tslint:enable diff --git a/src/applications/item/synchronization/jobs/item/schema/filterOperators/filterOperatorsGetResponse.ts b/src/applications/item/synchronization/jobs/item/schema/filterOperators/filterOperatorsGetResponse.ts index c7d78736f9d..8fa6eb116bf 100644 --- a/src/applications/item/synchronization/jobs/item/schema/filterOperators/filterOperatorsGetResponse.ts +++ b/src/applications/item/synchronization/jobs/item/schema/filterOperators/filterOperatorsGetResponse.ts @@ -23,7 +23,7 @@ export interface FilterOperatorsGetResponse extends BaseCollectionPaginationCoun } export function serializeFilterOperatorsGetResponse(writer: SerializationWriter, filterOperatorsGetResponse: FilterOperatorsGetResponse | undefined = {} as FilterOperatorsGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, filterOperatorsGetResponse) - writer.writeCollectionOfObjectValues("value", filterOperatorsGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", filterOperatorsGetResponse.value, serializeFilterOperatorSchema); } // tslint:enable // eslint-enable diff --git a/src/applications/item/synchronization/jobs/item/schema/functions/functionsGetResponse.ts b/src/applications/item/synchronization/jobs/item/schema/functions/functionsGetResponse.ts index ccd60c27e77..f148bbc6447 100644 --- a/src/applications/item/synchronization/jobs/item/schema/functions/functionsGetResponse.ts +++ b/src/applications/item/synchronization/jobs/item/schema/functions/functionsGetResponse.ts @@ -23,7 +23,7 @@ export interface FunctionsGetResponse extends BaseCollectionPaginationCountRespo } export function serializeFunctionsGetResponse(writer: SerializationWriter, functionsGetResponse: FunctionsGetResponse | undefined = {} as FunctionsGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, functionsGetResponse) - writer.writeCollectionOfObjectValues("value", functionsGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", functionsGetResponse.value, serializeAttributeMappingFunctionSchema); } // tslint:enable // eslint-enable diff --git a/src/applications/item/synchronization/jobs/item/schema/parseExpression/parseExpressionPostRequestBody.ts b/src/applications/item/synchronization/jobs/item/schema/parseExpression/parseExpressionPostRequestBody.ts index 4af41530919..c065d642bfc 100644 --- a/src/applications/item/synchronization/jobs/item/schema/parseExpression/parseExpressionPostRequestBody.ts +++ b/src/applications/item/synchronization/jobs/item/schema/parseExpression/parseExpressionPostRequestBody.ts @@ -36,8 +36,8 @@ export interface ParseExpressionPostRequestBody extends AdditionalDataHolder, Pa } export function serializeParseExpressionPostRequestBody(writer: SerializationWriter, parseExpressionPostRequestBody: ParseExpressionPostRequestBody | undefined = {} as ParseExpressionPostRequestBody) : void { writer.writeStringValue("expression", parseExpressionPostRequestBody.expression); - writer.writeObjectValue("targetAttributeDefinition", parseExpressionPostRequestBody.targetAttributeDefinition, ); - writer.writeObjectValue("testInputObject", parseExpressionPostRequestBody.testInputObject, ); + writer.writeObjectValue("targetAttributeDefinition", parseExpressionPostRequestBody.targetAttributeDefinition, serializeAttributeDefinition); + writer.writeObjectValue("testInputObject", parseExpressionPostRequestBody.testInputObject, serializeExpressionInputObject); writer.writeAdditionalData(parseExpressionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/applications/item/synchronization/jobs/item/validateCredentials/validateCredentialsPostRequestBody.ts b/src/applications/item/synchronization/jobs/item/validateCredentials/validateCredentialsPostRequestBody.ts index 8fc59079985..037bc031718 100644 --- a/src/applications/item/synchronization/jobs/item/validateCredentials/validateCredentialsPostRequestBody.ts +++ b/src/applications/item/synchronization/jobs/item/validateCredentials/validateCredentialsPostRequestBody.ts @@ -18,7 +18,7 @@ export function deserializeIntoValidateCredentialsPostRequestBody(validateCreden } export function serializeValidateCredentialsPostRequestBody(writer: SerializationWriter, validateCredentialsPostRequestBody: ValidateCredentialsPostRequestBody | undefined = {} as ValidateCredentialsPostRequestBody) : void { writer.writeStringValue("applicationIdentifier", validateCredentialsPostRequestBody.applicationIdentifier); - writer.writeCollectionOfObjectValues("credentials", validateCredentialsPostRequestBody.credentials, ); + writer.writeCollectionOfObjectValues("credentials", validateCredentialsPostRequestBody.credentials, serializeSynchronizationSecretKeyStringValuePair); writer.writeStringValue("templateId", validateCredentialsPostRequestBody.templateId); writer.writeBooleanValue("useSavedCredentials", validateCredentialsPostRequestBody.useSavedCredentials); writer.writeAdditionalData(validateCredentialsPostRequestBody.additionalData); diff --git a/src/applications/item/synchronization/jobs/validateCredentials/validateCredentialsPostRequestBody.ts b/src/applications/item/synchronization/jobs/validateCredentials/validateCredentialsPostRequestBody.ts index 4c009dc4b28..3234fbe4d03 100644 --- a/src/applications/item/synchronization/jobs/validateCredentials/validateCredentialsPostRequestBody.ts +++ b/src/applications/item/synchronization/jobs/validateCredentials/validateCredentialsPostRequestBody.ts @@ -18,7 +18,7 @@ export function deserializeIntoValidateCredentialsPostRequestBody(validateCreden } export function serializeValidateCredentialsPostRequestBody(writer: SerializationWriter, validateCredentialsPostRequestBody: ValidateCredentialsPostRequestBody | undefined = {} as ValidateCredentialsPostRequestBody) : void { writer.writeStringValue("applicationIdentifier", validateCredentialsPostRequestBody.applicationIdentifier); - writer.writeCollectionOfObjectValues("credentials", validateCredentialsPostRequestBody.credentials, ); + writer.writeCollectionOfObjectValues("credentials", validateCredentialsPostRequestBody.credentials, serializeSynchronizationSecretKeyStringValuePair); writer.writeStringValue("templateId", validateCredentialsPostRequestBody.templateId); writer.writeBooleanValue("useSavedCredentials", validateCredentialsPostRequestBody.useSavedCredentials); writer.writeAdditionalData(validateCredentialsPostRequestBody.additionalData); diff --git a/src/applications/item/synchronization/templates/item/schema/filterOperators/filterOperatorsGetResponse.ts b/src/applications/item/synchronization/templates/item/schema/filterOperators/filterOperatorsGetResponse.ts index c7d78736f9d..8fa6eb116bf 100644 --- a/src/applications/item/synchronization/templates/item/schema/filterOperators/filterOperatorsGetResponse.ts +++ b/src/applications/item/synchronization/templates/item/schema/filterOperators/filterOperatorsGetResponse.ts @@ -23,7 +23,7 @@ export interface FilterOperatorsGetResponse extends BaseCollectionPaginationCoun } export function serializeFilterOperatorsGetResponse(writer: SerializationWriter, filterOperatorsGetResponse: FilterOperatorsGetResponse | undefined = {} as FilterOperatorsGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, filterOperatorsGetResponse) - writer.writeCollectionOfObjectValues("value", filterOperatorsGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", filterOperatorsGetResponse.value, serializeFilterOperatorSchema); } // tslint:enable // eslint-enable diff --git a/src/applications/item/synchronization/templates/item/schema/functions/functionsGetResponse.ts b/src/applications/item/synchronization/templates/item/schema/functions/functionsGetResponse.ts index ccd60c27e77..f148bbc6447 100644 --- a/src/applications/item/synchronization/templates/item/schema/functions/functionsGetResponse.ts +++ b/src/applications/item/synchronization/templates/item/schema/functions/functionsGetResponse.ts @@ -23,7 +23,7 @@ export interface FunctionsGetResponse extends BaseCollectionPaginationCountRespo } export function serializeFunctionsGetResponse(writer: SerializationWriter, functionsGetResponse: FunctionsGetResponse | undefined = {} as FunctionsGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, functionsGetResponse) - writer.writeCollectionOfObjectValues("value", functionsGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", functionsGetResponse.value, serializeAttributeMappingFunctionSchema); } // tslint:enable // eslint-enable diff --git a/src/applications/item/synchronization/templates/item/schema/parseExpression/parseExpressionPostRequestBody.ts b/src/applications/item/synchronization/templates/item/schema/parseExpression/parseExpressionPostRequestBody.ts index 4af41530919..c065d642bfc 100644 --- a/src/applications/item/synchronization/templates/item/schema/parseExpression/parseExpressionPostRequestBody.ts +++ b/src/applications/item/synchronization/templates/item/schema/parseExpression/parseExpressionPostRequestBody.ts @@ -36,8 +36,8 @@ export interface ParseExpressionPostRequestBody extends AdditionalDataHolder, Pa } export function serializeParseExpressionPostRequestBody(writer: SerializationWriter, parseExpressionPostRequestBody: ParseExpressionPostRequestBody | undefined = {} as ParseExpressionPostRequestBody) : void { writer.writeStringValue("expression", parseExpressionPostRequestBody.expression); - writer.writeObjectValue("targetAttributeDefinition", parseExpressionPostRequestBody.targetAttributeDefinition, ); - writer.writeObjectValue("testInputObject", parseExpressionPostRequestBody.testInputObject, ); + writer.writeObjectValue("targetAttributeDefinition", parseExpressionPostRequestBody.targetAttributeDefinition, serializeAttributeDefinition); + writer.writeObjectValue("testInputObject", parseExpressionPostRequestBody.testInputObject, serializeExpressionInputObject); writer.writeAdditionalData(parseExpressionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/chats/getAllMessages/getAllMessagesGetResponse.ts b/src/chats/getAllMessages/getAllMessagesGetResponse.ts index 56174244437..69792178b8f 100644 --- a/src/chats/getAllMessages/getAllMessagesGetResponse.ts +++ b/src/chats/getAllMessages/getAllMessagesGetResponse.ts @@ -23,7 +23,7 @@ export interface GetAllMessagesGetResponse extends BaseCollectionPaginationCount } export function serializeGetAllMessagesGetResponse(writer: SerializationWriter, getAllMessagesGetResponse: GetAllMessagesGetResponse | undefined = {} as GetAllMessagesGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getAllMessagesGetResponse) - writer.writeCollectionOfObjectValues("value", getAllMessagesGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getAllMessagesGetResponse.value, serializeChatMessage); } // tslint:enable // eslint-enable diff --git a/src/chats/item/hideForUser/hideForUserPostRequestBody.ts b/src/chats/item/hideForUser/hideForUserPostRequestBody.ts index c38bdbd1377..596594190fe 100644 --- a/src/chats/item/hideForUser/hideForUserPostRequestBody.ts +++ b/src/chats/item/hideForUser/hideForUserPostRequestBody.ts @@ -24,7 +24,7 @@ export interface HideForUserPostRequestBody extends AdditionalDataHolder, Parsab user?: TeamworkUserIdentity; } export function serializeHideForUserPostRequestBody(writer: SerializationWriter, hideForUserPostRequestBody: HideForUserPostRequestBody | undefined = {} as HideForUserPostRequestBody) : void { - writer.writeObjectValue("user", hideForUserPostRequestBody.user, ); + writer.writeObjectValue("user", hideForUserPostRequestBody.user, serializeTeamworkUserIdentity); writer.writeAdditionalData(hideForUserPostRequestBody.additionalData); } // tslint:enable diff --git a/src/chats/item/installedApps/item/upgrade/upgradePostRequestBody.ts b/src/chats/item/installedApps/item/upgrade/upgradePostRequestBody.ts index c710821920d..b49752a10b1 100644 --- a/src/chats/item/installedApps/item/upgrade/upgradePostRequestBody.ts +++ b/src/chats/item/installedApps/item/upgrade/upgradePostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoUpgradePostRequestBody(upgradePostRequestBody: Up } } export function serializeUpgradePostRequestBody(writer: SerializationWriter, upgradePostRequestBody: UpgradePostRequestBody | undefined = {} as UpgradePostRequestBody) : void { - writer.writeObjectValue("consentedPermissionSet", upgradePostRequestBody.consentedPermissionSet, ); + writer.writeObjectValue("consentedPermissionSet", upgradePostRequestBody.consentedPermissionSet, serializeTeamsAppPermissionSet); writer.writeAdditionalData(upgradePostRequestBody.additionalData); } export interface UpgradePostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/chats/item/markChatReadForUser/markChatReadForUserPostRequestBody.ts b/src/chats/item/markChatReadForUser/markChatReadForUserPostRequestBody.ts index d626c641f04..052039c9ce4 100644 --- a/src/chats/item/markChatReadForUser/markChatReadForUserPostRequestBody.ts +++ b/src/chats/item/markChatReadForUser/markChatReadForUserPostRequestBody.ts @@ -24,7 +24,7 @@ export interface MarkChatReadForUserPostRequestBody extends AdditionalDataHolder user?: TeamworkUserIdentity; } export function serializeMarkChatReadForUserPostRequestBody(writer: SerializationWriter, markChatReadForUserPostRequestBody: MarkChatReadForUserPostRequestBody | undefined = {} as MarkChatReadForUserPostRequestBody) : void { - writer.writeObjectValue("user", markChatReadForUserPostRequestBody.user, ); + writer.writeObjectValue("user", markChatReadForUserPostRequestBody.user, serializeTeamworkUserIdentity); writer.writeAdditionalData(markChatReadForUserPostRequestBody.additionalData); } // tslint:enable diff --git a/src/chats/item/markChatUnreadForUser/markChatUnreadForUserPostRequestBody.ts b/src/chats/item/markChatUnreadForUser/markChatUnreadForUserPostRequestBody.ts index a1e9805c82d..a426c13dced 100644 --- a/src/chats/item/markChatUnreadForUser/markChatUnreadForUserPostRequestBody.ts +++ b/src/chats/item/markChatUnreadForUser/markChatUnreadForUserPostRequestBody.ts @@ -30,7 +30,7 @@ export interface MarkChatUnreadForUserPostRequestBody extends AdditionalDataHold } export function serializeMarkChatUnreadForUserPostRequestBody(writer: SerializationWriter, markChatUnreadForUserPostRequestBody: MarkChatUnreadForUserPostRequestBody | undefined = {} as MarkChatUnreadForUserPostRequestBody) : void { writer.writeDateValue("lastMessageReadDateTime", markChatUnreadForUserPostRequestBody.lastMessageReadDateTime); - writer.writeObjectValue("user", markChatUnreadForUserPostRequestBody.user, ); + writer.writeObjectValue("user", markChatUnreadForUserPostRequestBody.user, serializeTeamworkUserIdentity); writer.writeAdditionalData(markChatUnreadForUserPostRequestBody.additionalData); } // tslint:enable diff --git a/src/chats/item/members/add/addPostRequestBody.ts b/src/chats/item/members/add/addPostRequestBody.ts index 091a2011283..9050cdc6f64 100644 --- a/src/chats/item/members/add/addPostRequestBody.ts +++ b/src/chats/item/members/add/addPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAddPostRequestBody(addPostRequestBody: AddPostReq } } export function serializeAddPostRequestBody(writer: SerializationWriter, addPostRequestBody: AddPostRequestBody | undefined = {} as AddPostRequestBody) : void { - writer.writeCollectionOfObjectValues("values", addPostRequestBody.values, ); + writer.writeCollectionOfObjectValues("values", addPostRequestBody.values, serializeConversationMember); writer.writeAdditionalData(addPostRequestBody.additionalData); } // tslint:enable diff --git a/src/chats/item/members/add/addPostResponse.ts b/src/chats/item/members/add/addPostResponse.ts index 1d727a447fe..bdf1d7f33fb 100644 --- a/src/chats/item/members/add/addPostResponse.ts +++ b/src/chats/item/members/add/addPostResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAddPostResponse(addPostResponse: AddPostResponse } export function serializeAddPostResponse(writer: SerializationWriter, addPostResponse: AddPostResponse | undefined = {} as AddPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, addPostResponse) - writer.writeCollectionOfObjectValues("value", addPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", addPostResponse.value, serializeActionResultPart); } // tslint:enable // eslint-enable diff --git a/src/chats/item/messages/delta/deltaGetResponse.ts b/src/chats/item/messages/delta/deltaGetResponse.ts index 4d69d14c27b..7a8c7af670d 100644 --- a/src/chats/item/messages/delta/deltaGetResponse.ts +++ b/src/chats/item/messages/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeChatMessage); } // tslint:enable // eslint-enable diff --git a/src/chats/item/messages/item/hostedContents/hostedContentsRequestBuilder.ts b/src/chats/item/messages/item/hostedContents/hostedContentsRequestBuilder.ts index aab09cd6ae3..bbb549eb81f 100644 --- a/src/chats/item/messages/item/hostedContents/hostedContentsRequestBuilder.ts +++ b/src/chats/item/messages/item/hostedContents/hostedContentsRequestBuilder.ts @@ -98,7 +98,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/chats/{chat%2Did}/messages/{chatMessage%2Did}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessageHostedContentCollectionResponse * @see {@link https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0|Find more info here} @@ -130,7 +130,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageHostedContentFromDiscriminatorValue, errorMapping); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/chats/item/messages/item/replies/delta/deltaGetResponse.ts b/src/chats/item/messages/item/replies/delta/deltaGetResponse.ts index 74051011a19..6a0547b5229 100644 --- a/src/chats/item/messages/item/replies/delta/deltaGetResponse.ts +++ b/src/chats/item/messages/item/replies/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeChatMessage); } // tslint:enable // eslint-enable diff --git a/src/chats/item/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts b/src/chats/item/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts index 04446a7e867..6f9e1b8e2ad 100644 --- a/src/chats/item/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts +++ b/src/chats/item/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts @@ -98,7 +98,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessageHostedContentCollectionResponse * @see {@link https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0|Find more info here} @@ -130,7 +130,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageHostedContentFromDiscriminatorValue, errorMapping); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/chats/item/messages/item/replies/repliesRequestBuilder.ts b/src/chats/item/messages/item/replies/repliesRequestBuilder.ts index 8b079ce6b4c..876c8088b55 100644 --- a/src/chats/item/messages/item/replies/repliesRequestBuilder.ts +++ b/src/chats/item/messages/item/replies/repliesRequestBuilder.ts @@ -121,11 +121,11 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessage - * @see {@link https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0|Find more info here} */ public post(body: ChatMessage, requestConfiguration?: RepliesRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -156,7 +156,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/chats/item/sendActivityNotification/sendActivityNotificationPostRequestBody.ts b/src/chats/item/sendActivityNotification/sendActivityNotificationPostRequestBody.ts index 89bfe22bfdb..c9b4e2546ed 100644 --- a/src/chats/item/sendActivityNotification/sendActivityNotificationPostRequestBody.ts +++ b/src/chats/item/sendActivityNotification/sendActivityNotificationPostRequestBody.ts @@ -54,10 +54,10 @@ export interface SendActivityNotificationPostRequestBody extends AdditionalDataH export function serializeSendActivityNotificationPostRequestBody(writer: SerializationWriter, sendActivityNotificationPostRequestBody: SendActivityNotificationPostRequestBody | undefined = {} as SendActivityNotificationPostRequestBody) : void { writer.writeStringValue("activityType", sendActivityNotificationPostRequestBody.activityType); writer.writeNumberValue("chainId", sendActivityNotificationPostRequestBody.chainId); - writer.writeObjectValue("previewText", sendActivityNotificationPostRequestBody.previewText, ); - writer.writeObjectValue("recipient", sendActivityNotificationPostRequestBody.recipient, ); - writer.writeCollectionOfObjectValues("templateParameters", sendActivityNotificationPostRequestBody.templateParameters, ); - writer.writeObjectValue("topic", sendActivityNotificationPostRequestBody.topic, ); + writer.writeObjectValue("previewText", sendActivityNotificationPostRequestBody.previewText, serializeItemBody); + writer.writeObjectValue("recipient", sendActivityNotificationPostRequestBody.recipient, serializeTeamworkNotificationRecipient); + writer.writeCollectionOfObjectValues("templateParameters", sendActivityNotificationPostRequestBody.templateParameters, serializeKeyValuePair); + writer.writeObjectValue("topic", sendActivityNotificationPostRequestBody.topic, serializeTeamworkActivityTopic); writer.writeAdditionalData(sendActivityNotificationPostRequestBody.additionalData); } // tslint:enable diff --git a/src/chats/item/unhideForUser/unhideForUserPostRequestBody.ts b/src/chats/item/unhideForUser/unhideForUserPostRequestBody.ts index b11b47b3faa..48de4e40ee9 100644 --- a/src/chats/item/unhideForUser/unhideForUserPostRequestBody.ts +++ b/src/chats/item/unhideForUser/unhideForUserPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoUnhideForUserPostRequestBody(unhideForUserPostReq } } export function serializeUnhideForUserPostRequestBody(writer: SerializationWriter, unhideForUserPostRequestBody: UnhideForUserPostRequestBody | undefined = {} as UnhideForUserPostRequestBody) : void { - writer.writeObjectValue("user", unhideForUserPostRequestBody.user, ); + writer.writeObjectValue("user", unhideForUserPostRequestBody.user, serializeTeamworkUserIdentity); writer.writeAdditionalData(unhideForUserPostRequestBody.additionalData); } export interface UnhideForUserPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/communications/callRecords/microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/getDirectRoutingCallsWithFromDateTimeWithToDateTimeGetResponse.ts b/src/communications/callRecords/microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/getDirectRoutingCallsWithFromDateTimeWithToDateTimeGetResponse.ts index 676429e2384..d75749668cf 100644 --- a/src/communications/callRecords/microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/getDirectRoutingCallsWithFromDateTimeWithToDateTimeGetResponse.ts +++ b/src/communications/callRecords/microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/getDirectRoutingCallsWithFromDateTimeWithToDateTimeGetResponse.ts @@ -23,7 +23,7 @@ export interface GetDirectRoutingCallsWithFromDateTimeWithToDateTimeGetResponse } export function serializeGetDirectRoutingCallsWithFromDateTimeWithToDateTimeGetResponse(writer: SerializationWriter, getDirectRoutingCallsWithFromDateTimeWithToDateTimeGetResponse: GetDirectRoutingCallsWithFromDateTimeWithToDateTimeGetResponse | undefined = {} as GetDirectRoutingCallsWithFromDateTimeWithToDateTimeGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getDirectRoutingCallsWithFromDateTimeWithToDateTimeGetResponse) - writer.writeCollectionOfObjectValues("value", getDirectRoutingCallsWithFromDateTimeWithToDateTimeGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getDirectRoutingCallsWithFromDateTimeWithToDateTimeGetResponse.value, serializeDirectRoutingLogRow); } // tslint:enable // eslint-enable diff --git a/src/communications/callRecords/microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/getPstnCallsWithFromDateTimeWithToDateTimeGetResponse.ts b/src/communications/callRecords/microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/getPstnCallsWithFromDateTimeWithToDateTimeGetResponse.ts index 526490fc27a..ff7e3ec665d 100644 --- a/src/communications/callRecords/microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/getPstnCallsWithFromDateTimeWithToDateTimeGetResponse.ts +++ b/src/communications/callRecords/microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/getPstnCallsWithFromDateTimeWithToDateTimeGetResponse.ts @@ -23,7 +23,7 @@ export interface GetPstnCallsWithFromDateTimeWithToDateTimeGetResponse extends B } export function serializeGetPstnCallsWithFromDateTimeWithToDateTimeGetResponse(writer: SerializationWriter, getPstnCallsWithFromDateTimeWithToDateTimeGetResponse: GetPstnCallsWithFromDateTimeWithToDateTimeGetResponse | undefined = {} as GetPstnCallsWithFromDateTimeWithToDateTimeGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getPstnCallsWithFromDateTimeWithToDateTimeGetResponse) - writer.writeCollectionOfObjectValues("value", getPstnCallsWithFromDateTimeWithToDateTimeGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getPstnCallsWithFromDateTimeWithToDateTimeGetResponse.value, serializePstnCallLogRow); } // tslint:enable // eslint-enable diff --git a/src/communications/calls/item/answer/answerPostRequestBody.ts b/src/communications/calls/item/answer/answerPostRequestBody.ts index a0ad54cf536..a8a74cfae91 100644 --- a/src/communications/calls/item/answer/answerPostRequestBody.ts +++ b/src/communications/calls/item/answer/answerPostRequestBody.ts @@ -49,8 +49,8 @@ export function serializeAnswerPostRequestBody(writer: SerializationWriter, answ if(answerPostRequestBody.acceptedModalities) writer.writeEnumValue("acceptedModalities", ...answerPostRequestBody.acceptedModalities); writer.writeStringValue("callbackUri", answerPostRequestBody.callbackUri); - writer.writeObjectValue("callOptions", answerPostRequestBody.callOptions, ); - writer.writeObjectValue("mediaConfig", answerPostRequestBody.mediaConfig, ); + writer.writeObjectValue("callOptions", answerPostRequestBody.callOptions, serializeIncomingCallOptions); + writer.writeObjectValue("mediaConfig", answerPostRequestBody.mediaConfig, serializeMediaConfig); writer.writeNumberValue("participantCapacity", answerPostRequestBody.participantCapacity); writer.writeAdditionalData(answerPostRequestBody.additionalData); } diff --git a/src/communications/calls/item/participants/invite/invitePostRequestBody.ts b/src/communications/calls/item/participants/invite/invitePostRequestBody.ts index cfbbf758b6e..313c9bb8097 100644 --- a/src/communications/calls/item/participants/invite/invitePostRequestBody.ts +++ b/src/communications/calls/item/participants/invite/invitePostRequestBody.ts @@ -30,7 +30,7 @@ export interface InvitePostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeInvitePostRequestBody(writer: SerializationWriter, invitePostRequestBody: InvitePostRequestBody | undefined = {} as InvitePostRequestBody) : void { writer.writeStringValue("clientContext", invitePostRequestBody.clientContext); - writer.writeCollectionOfObjectValues("participants", invitePostRequestBody.participants, ); + writer.writeCollectionOfObjectValues("participants", invitePostRequestBody.participants, serializeInvitationParticipantInfo); writer.writeAdditionalData(invitePostRequestBody.additionalData); } // tslint:enable diff --git a/src/communications/calls/item/participants/invite/inviteRequestBuilder.ts b/src/communications/calls/item/participants/invite/inviteRequestBuilder.ts index 5460973e228..cd583d6a910 100644 --- a/src/communications/calls/item/participants/invite/inviteRequestBuilder.ts +++ b/src/communications/calls/item/participants/invite/inviteRequestBuilder.ts @@ -30,11 +30,11 @@ export class InviteRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/communications/calls/{call%2Did}/participants/invite"); }; /** - * Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. This API is available in the following national cloud deployments. + * Invite participants to the active call. For more information about how to handle operations, see commsOperation. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of InviteParticipantsOperation - * @see {@link https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-1.0|Find more info here} */ public post(body: InvitePostRequestBody, requestConfiguration?: InviteRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -47,7 +47,7 @@ export class InviteRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createInviteParticipantsOperationFromDiscriminatorValue, errorMapping); }; /** - * Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. This API is available in the following national cloud deployments. + * Invite participants to the active call. For more information about how to handle operations, see commsOperation. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/communications/calls/item/participants/item/startHoldMusic/startHoldMusicPostRequestBody.ts b/src/communications/calls/item/participants/item/startHoldMusic/startHoldMusicPostRequestBody.ts index 6328d45e9b2..52a920d8fa9 100644 --- a/src/communications/calls/item/participants/item/startHoldMusic/startHoldMusicPostRequestBody.ts +++ b/src/communications/calls/item/participants/item/startHoldMusic/startHoldMusicPostRequestBody.ts @@ -16,7 +16,7 @@ export function deserializeIntoStartHoldMusicPostRequestBody(startHoldMusicPostR } export function serializeStartHoldMusicPostRequestBody(writer: SerializationWriter, startHoldMusicPostRequestBody: StartHoldMusicPostRequestBody | undefined = {} as StartHoldMusicPostRequestBody) : void { writer.writeStringValue("clientContext", startHoldMusicPostRequestBody.clientContext); - writer.writeObjectValue("customPrompt", startHoldMusicPostRequestBody.customPrompt, ); + writer.writeObjectValue("customPrompt", startHoldMusicPostRequestBody.customPrompt, serializePrompt); writer.writeAdditionalData(startHoldMusicPostRequestBody.additionalData); } export interface StartHoldMusicPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/communications/calls/item/playPrompt/playPromptPostRequestBody.ts b/src/communications/calls/item/playPrompt/playPromptPostRequestBody.ts index 2b636076c1f..c863d1112a4 100644 --- a/src/communications/calls/item/playPrompt/playPromptPostRequestBody.ts +++ b/src/communications/calls/item/playPrompt/playPromptPostRequestBody.ts @@ -30,7 +30,7 @@ export interface PlayPromptPostRequestBody extends AdditionalDataHolder, Parsabl } export function serializePlayPromptPostRequestBody(writer: SerializationWriter, playPromptPostRequestBody: PlayPromptPostRequestBody | undefined = {} as PlayPromptPostRequestBody) : void { writer.writeStringValue("clientContext", playPromptPostRequestBody.clientContext); - writer.writeCollectionOfObjectValues("prompts", playPromptPostRequestBody.prompts, ); + writer.writeCollectionOfObjectValues("prompts", playPromptPostRequestBody.prompts, serializePrompt); writer.writeAdditionalData(playPromptPostRequestBody.additionalData); } // tslint:enable diff --git a/src/communications/calls/item/recordResponse/recordResponsePostRequestBody.ts b/src/communications/calls/item/recordResponse/recordResponsePostRequestBody.ts index aeed69f3ba7..0c95bc63fb4 100644 --- a/src/communications/calls/item/recordResponse/recordResponsePostRequestBody.ts +++ b/src/communications/calls/item/recordResponse/recordResponsePostRequestBody.ts @@ -65,7 +65,7 @@ export function serializeRecordResponsePostRequestBody(writer: SerializationWrit writer.writeNumberValue("maxRecordDurationInSeconds", recordResponsePostRequestBody.maxRecordDurationInSeconds); writer.writeNumberValue("maxSilenceTimeoutInSeconds", recordResponsePostRequestBody.maxSilenceTimeoutInSeconds); writer.writeBooleanValue("playBeep", recordResponsePostRequestBody.playBeep); - writer.writeCollectionOfObjectValues("prompts", recordResponsePostRequestBody.prompts, ); + writer.writeCollectionOfObjectValues("prompts", recordResponsePostRequestBody.prompts, serializePrompt); writer.writeCollectionOfPrimitiveValues("stopTones", recordResponsePostRequestBody.stopTones); writer.writeAdditionalData(recordResponsePostRequestBody.additionalData); } diff --git a/src/communications/calls/item/redirect/redirectPostRequestBody.ts b/src/communications/calls/item/redirect/redirectPostRequestBody.ts index 1e6c9f68f5d..d94fa88475a 100644 --- a/src/communications/calls/item/redirect/redirectPostRequestBody.ts +++ b/src/communications/calls/item/redirect/redirectPostRequestBody.ts @@ -35,7 +35,7 @@ export interface RedirectPostRequestBody extends AdditionalDataHolder, Parsable } export function serializeRedirectPostRequestBody(writer: SerializationWriter, redirectPostRequestBody: RedirectPostRequestBody | undefined = {} as RedirectPostRequestBody) : void { writer.writeStringValue("callbackUri", redirectPostRequestBody.callbackUri); - writer.writeCollectionOfObjectValues("targets", redirectPostRequestBody.targets, ); + writer.writeCollectionOfObjectValues("targets", redirectPostRequestBody.targets, serializeInvitationParticipantInfo); writer.writeNumberValue("timeout", redirectPostRequestBody.timeout); writer.writeAdditionalData(redirectPostRequestBody.additionalData); } diff --git a/src/communications/calls/item/transfer/transferPostRequestBody.ts b/src/communications/calls/item/transfer/transferPostRequestBody.ts index 532f3c03db0..4382eefa52c 100644 --- a/src/communications/calls/item/transfer/transferPostRequestBody.ts +++ b/src/communications/calls/item/transfer/transferPostRequestBody.ts @@ -16,8 +16,8 @@ export function deserializeIntoTransferPostRequestBody(transferPostRequestBody: } } export function serializeTransferPostRequestBody(writer: SerializationWriter, transferPostRequestBody: TransferPostRequestBody | undefined = {} as TransferPostRequestBody) : void { - writer.writeObjectValue("transferee", transferPostRequestBody.transferee, ); - writer.writeObjectValue("transferTarget", transferPostRequestBody.transferTarget, ); + writer.writeObjectValue("transferee", transferPostRequestBody.transferee, serializeParticipantInfo); + writer.writeObjectValue("transferTarget", transferPostRequestBody.transferTarget, serializeInvitationParticipantInfo); writer.writeAdditionalData(transferPostRequestBody.additionalData); } export interface TransferPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/communications/calls/logTeleconferenceDeviceQuality/logTeleconferenceDeviceQualityPostRequestBody.ts b/src/communications/calls/logTeleconferenceDeviceQuality/logTeleconferenceDeviceQualityPostRequestBody.ts index e4ef16cd5d8..e6a0fa12542 100644 --- a/src/communications/calls/logTeleconferenceDeviceQuality/logTeleconferenceDeviceQualityPostRequestBody.ts +++ b/src/communications/calls/logTeleconferenceDeviceQuality/logTeleconferenceDeviceQualityPostRequestBody.ts @@ -24,7 +24,7 @@ export interface LogTeleconferenceDeviceQualityPostRequestBody extends Additiona quality?: TeleconferenceDeviceQuality; } export function serializeLogTeleconferenceDeviceQualityPostRequestBody(writer: SerializationWriter, logTeleconferenceDeviceQualityPostRequestBody: LogTeleconferenceDeviceQualityPostRequestBody | undefined = {} as LogTeleconferenceDeviceQualityPostRequestBody) : void { - writer.writeObjectValue("quality", logTeleconferenceDeviceQualityPostRequestBody.quality, ); + writer.writeObjectValue("quality", logTeleconferenceDeviceQualityPostRequestBody.quality, serializeTeleconferenceDeviceQuality); writer.writeAdditionalData(logTeleconferenceDeviceQualityPostRequestBody.additionalData); } // tslint:enable diff --git a/src/communications/getPresencesByUserId/getPresencesByUserIdPostResponse.ts b/src/communications/getPresencesByUserId/getPresencesByUserIdPostResponse.ts index 2efffaf64ff..f580783e5b3 100644 --- a/src/communications/getPresencesByUserId/getPresencesByUserIdPostResponse.ts +++ b/src/communications/getPresencesByUserId/getPresencesByUserIdPostResponse.ts @@ -23,7 +23,7 @@ export interface GetPresencesByUserIdPostResponse extends BaseCollectionPaginati } export function serializeGetPresencesByUserIdPostResponse(writer: SerializationWriter, getPresencesByUserIdPostResponse: GetPresencesByUserIdPostResponse | undefined = {} as GetPresencesByUserIdPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getPresencesByUserIdPostResponse) - writer.writeCollectionOfObjectValues("value", getPresencesByUserIdPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getPresencesByUserIdPostResponse.value, serializePresence); } // tslint:enable // eslint-enable diff --git a/src/communications/onlineMeetings/createOrGet/createOrGetPostRequestBody.ts b/src/communications/onlineMeetings/createOrGet/createOrGetPostRequestBody.ts index 30c217d0931..bae27cce377 100644 --- a/src/communications/onlineMeetings/createOrGet/createOrGetPostRequestBody.ts +++ b/src/communications/onlineMeetings/createOrGet/createOrGetPostRequestBody.ts @@ -50,10 +50,10 @@ export function deserializeIntoCreateOrGetPostRequestBody(createOrGetPostRequest } } export function serializeCreateOrGetPostRequestBody(writer: SerializationWriter, createOrGetPostRequestBody: CreateOrGetPostRequestBody | undefined = {} as CreateOrGetPostRequestBody) : void { - writer.writeObjectValue("chatInfo", createOrGetPostRequestBody.chatInfo, ); + writer.writeObjectValue("chatInfo", createOrGetPostRequestBody.chatInfo, serializeChatInfo); writer.writeDateValue("endDateTime", createOrGetPostRequestBody.endDateTime); writer.writeStringValue("externalId", createOrGetPostRequestBody.externalId); - writer.writeObjectValue("participants", createOrGetPostRequestBody.participants, ); + writer.writeObjectValue("participants", createOrGetPostRequestBody.participants, serializeMeetingParticipants); writer.writeDateValue("startDateTime", createOrGetPostRequestBody.startDateTime); writer.writeStringValue("subject", createOrGetPostRequestBody.subject); writer.writeAdditionalData(createOrGetPostRequestBody.additionalData); diff --git a/src/communications/presences/item/setStatusMessage/setStatusMessagePostRequestBody.ts b/src/communications/presences/item/setStatusMessage/setStatusMessagePostRequestBody.ts index 919959ad5bc..be31d18df4e 100644 --- a/src/communications/presences/item/setStatusMessage/setStatusMessagePostRequestBody.ts +++ b/src/communications/presences/item/setStatusMessage/setStatusMessagePostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSetStatusMessagePostRequestBody(setStatusMessageP } } export function serializeSetStatusMessagePostRequestBody(writer: SerializationWriter, setStatusMessagePostRequestBody: SetStatusMessagePostRequestBody | undefined = {} as SetStatusMessagePostRequestBody) : void { - writer.writeObjectValue("statusMessage", setStatusMessagePostRequestBody.statusMessage, ); + writer.writeObjectValue("statusMessage", setStatusMessagePostRequestBody.statusMessage, serializePresenceStatusMessage); writer.writeAdditionalData(setStatusMessagePostRequestBody.additionalData); } export interface SetStatusMessagePostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/addActivitiesPostRequestBody.ts b/src/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/addActivitiesPostRequestBody.ts index 7f778baed04..97cbfcc666b 100644 --- a/src/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/addActivitiesPostRequestBody.ts +++ b/src/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/addActivitiesPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAddActivitiesPostRequestBody(addActivitiesPostReq } } export function serializeAddActivitiesPostRequestBody(writer: SerializationWriter, addActivitiesPostRequestBody: AddActivitiesPostRequestBody | undefined = {} as AddActivitiesPostRequestBody) : void { - writer.writeCollectionOfObjectValues("activities", addActivitiesPostRequestBody.activities, ); + writer.writeCollectionOfObjectValues("activities", addActivitiesPostRequestBody.activities, serializeExternalActivity); writer.writeAdditionalData(addActivitiesPostRequestBody.additionalData); } // tslint:enable diff --git a/src/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/addActivitiesPostResponse.ts b/src/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/addActivitiesPostResponse.ts index a55582b2e3f..6fd5a9a802b 100644 --- a/src/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/addActivitiesPostResponse.ts +++ b/src/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/addActivitiesPostResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAddActivitiesPostResponse(addActivitiesPostRespon } export function serializeAddActivitiesPostResponse(writer: SerializationWriter, addActivitiesPostResponse: AddActivitiesPostResponse | undefined = {} as AddActivitiesPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, addActivitiesPostResponse) - writer.writeCollectionOfObjectValues("value", addActivitiesPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", addActivitiesPostResponse.value, serializeExternalActivityResult); } // tslint:enable // eslint-enable diff --git a/src/contacts/delta/deltaGetResponse.ts b/src/contacts/delta/deltaGetResponse.ts index 472a834983c..2474e903f94 100644 --- a/src/contacts/delta/deltaGetResponse.ts +++ b/src/contacts/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeOrgContact); } // tslint:enable // eslint-enable diff --git a/src/contacts/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts b/src/contacts/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts index 22ee56f61fb..60953e2ee7f 100644 --- a/src/contacts/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts +++ b/src/contacts/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts @@ -23,7 +23,7 @@ export interface GetAvailableExtensionPropertiesPostResponse extends BaseCollect } export function serializeGetAvailableExtensionPropertiesPostResponse(writer: SerializationWriter, getAvailableExtensionPropertiesPostResponse: GetAvailableExtensionPropertiesPostResponse | undefined = {} as GetAvailableExtensionPropertiesPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getAvailableExtensionPropertiesPostResponse) - writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, serializeExtensionProperty); } // tslint:enable // eslint-enable diff --git a/src/contacts/getByIds/getByIdsPostResponse.ts b/src/contacts/getByIds/getByIdsPostResponse.ts index 2a3501e0206..c61951ae370 100644 --- a/src/contacts/getByIds/getByIdsPostResponse.ts +++ b/src/contacts/getByIds/getByIdsPostResponse.ts @@ -23,7 +23,7 @@ export interface GetByIdsPostResponse extends BaseCollectionPaginationCountRespo } export function serializeGetByIdsPostResponse(writer: SerializationWriter, getByIdsPostResponse: GetByIdsPostResponse | undefined = {} as GetByIdsPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getByIdsPostResponse) - writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, serializeDirectoryObject); } // tslint:enable // eslint-enable diff --git a/src/contracts/delta/deltaGetResponse.ts b/src/contracts/delta/deltaGetResponse.ts index ec86fa67901..499ce8a37ad 100644 --- a/src/contracts/delta/deltaGetResponse.ts +++ b/src/contracts/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeDirectoryObject); } // tslint:enable // eslint-enable diff --git a/src/contracts/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts b/src/contracts/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts index 22ee56f61fb..60953e2ee7f 100644 --- a/src/contracts/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts +++ b/src/contracts/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts @@ -23,7 +23,7 @@ export interface GetAvailableExtensionPropertiesPostResponse extends BaseCollect } export function serializeGetAvailableExtensionPropertiesPostResponse(writer: SerializationWriter, getAvailableExtensionPropertiesPostResponse: GetAvailableExtensionPropertiesPostResponse | undefined = {} as GetAvailableExtensionPropertiesPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getAvailableExtensionPropertiesPostResponse) - writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, serializeExtensionProperty); } // tslint:enable // eslint-enable diff --git a/src/contracts/getByIds/getByIdsPostResponse.ts b/src/contracts/getByIds/getByIdsPostResponse.ts index 2a3501e0206..c61951ae370 100644 --- a/src/contracts/getByIds/getByIdsPostResponse.ts +++ b/src/contracts/getByIds/getByIdsPostResponse.ts @@ -23,7 +23,7 @@ export interface GetByIdsPostResponse extends BaseCollectionPaginationCountRespo } export function serializeGetByIdsPostResponse(writer: SerializationWriter, getByIdsPostResponse: GetByIdsPostResponse | undefined = {} as GetByIdsPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getByIdsPostResponse) - writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, serializeDirectoryObject); } // tslint:enable // eslint-enable diff --git a/src/deviceAppManagement/deviceAppManagementRequestBuilder.ts b/src/deviceAppManagement/deviceAppManagementRequestBuilder.ts index 00893137d24..01b804f7804 100644 --- a/src/deviceAppManagement/deviceAppManagementRequestBuilder.ts +++ b/src/deviceAppManagement/deviceAppManagementRequestBuilder.ts @@ -161,7 +161,7 @@ export class DeviceAppManagementRequestBuilder extends BaseRequestBuilder { * Read properties and relationships of the deviceAppManagement object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DeviceAppManagement - * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-partnerintegration-deviceappmanagement-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: DeviceAppManagementRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -178,7 +178,7 @@ export class DeviceAppManagementRequestBuilder extends BaseRequestBuilder { * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DeviceAppManagement - * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-partnerintegration-deviceappmanagement-update?view=graph-rest-1.0|Find more info here} */ public patch(body: DeviceAppManagement, requestConfiguration?: DeviceAppManagementRequestBuilderPatchRequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( diff --git a/src/deviceAppManagement/managedAppPolicies/item/managedAppPolicyItemRequestBuilder.ts b/src/deviceAppManagement/managedAppPolicies/item/managedAppPolicyItemRequestBuilder.ts index a3c74f6504b..6f038ab3fbb 100644 --- a/src/deviceAppManagement/managedAppPolicies/item/managedAppPolicyItemRequestBuilder.ts +++ b/src/deviceAppManagement/managedAppPolicies/item/managedAppPolicyItemRequestBuilder.ts @@ -84,10 +84,10 @@ export class ManagedAppPolicyItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Read properties and relationships of the managedAppProtection object. + * Read properties and relationships of the targetedManagedAppProtection object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ManagedAppPolicy - * @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: ManagedAppPolicyItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -133,7 +133,7 @@ export class ManagedAppPolicyItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Read properties and relationships of the managedAppProtection object. + * Read properties and relationships of the targetedManagedAppProtection object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/deviceAppManagement/managedAppPolicies/item/targetApps/targetAppsPostRequestBody.ts b/src/deviceAppManagement/managedAppPolicies/item/targetApps/targetAppsPostRequestBody.ts index 11694928fb6..97e7d0fc468 100644 --- a/src/deviceAppManagement/managedAppPolicies/item/targetApps/targetAppsPostRequestBody.ts +++ b/src/deviceAppManagement/managedAppPolicies/item/targetApps/targetAppsPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoTargetAppsPostRequestBody(targetAppsPostRequestBo } } export function serializeTargetAppsPostRequestBody(writer: SerializationWriter, targetAppsPostRequestBody: TargetAppsPostRequestBody | undefined = {} as TargetAppsPostRequestBody) : void { - writer.writeCollectionOfObjectValues("apps", targetAppsPostRequestBody.apps, ); + writer.writeCollectionOfObjectValues("apps", targetAppsPostRequestBody.apps, serializeManagedMobileApp); writer.writeAdditionalData(targetAppsPostRequestBody.additionalData); } export interface TargetAppsPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/deviceAppManagement/managedAppPolicies/managedAppPoliciesRequestBuilder.ts b/src/deviceAppManagement/managedAppPolicies/managedAppPoliciesRequestBuilder.ts index 9bc82836e57..2aca8718df1 100644 --- a/src/deviceAppManagement/managedAppPolicies/managedAppPoliciesRequestBuilder.ts +++ b/src/deviceAppManagement/managedAppPolicies/managedAppPoliciesRequestBuilder.ts @@ -98,10 +98,10 @@ export class ManagedAppPoliciesRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/deviceAppManagement/managedAppPolicies{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * List properties and relationships of the windowsInformationProtection objects. + * List properties and relationships of the targetedManagedAppProtection objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ManagedAppPolicyCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotection-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: ManagedAppPoliciesRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -130,7 +130,7 @@ export class ManagedAppPoliciesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createManagedAppPolicyFromDiscriminatorValue, errorMapping); }; /** - * List properties and relationships of the windowsInformationProtection objects. + * List properties and relationships of the targetedManagedAppProtection objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/deviceAppManagement/managedAppRegistrations/item/appliedPolicies/item/targetApps/targetAppsPostRequestBody.ts b/src/deviceAppManagement/managedAppRegistrations/item/appliedPolicies/item/targetApps/targetAppsPostRequestBody.ts index e094d6f7c72..491b64653c8 100644 --- a/src/deviceAppManagement/managedAppRegistrations/item/appliedPolicies/item/targetApps/targetAppsPostRequestBody.ts +++ b/src/deviceAppManagement/managedAppRegistrations/item/appliedPolicies/item/targetApps/targetAppsPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoTargetAppsPostRequestBody(targetAppsPostRequestBo } } export function serializeTargetAppsPostRequestBody(writer: SerializationWriter, targetAppsPostRequestBody: TargetAppsPostRequestBody | undefined = {} as TargetAppsPostRequestBody) : void { - writer.writeCollectionOfObjectValues("apps", targetAppsPostRequestBody.apps, ); + writer.writeCollectionOfObjectValues("apps", targetAppsPostRequestBody.apps, serializeManagedMobileApp); writer.writeAdditionalData(targetAppsPostRequestBody.additionalData); } export interface TargetAppsPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/deviceAppManagement/managedAppRegistrations/item/intendedPolicies/item/targetApps/targetAppsPostRequestBody.ts b/src/deviceAppManagement/managedAppRegistrations/item/intendedPolicies/item/targetApps/targetAppsPostRequestBody.ts index e094d6f7c72..491b64653c8 100644 --- a/src/deviceAppManagement/managedAppRegistrations/item/intendedPolicies/item/targetApps/targetAppsPostRequestBody.ts +++ b/src/deviceAppManagement/managedAppRegistrations/item/intendedPolicies/item/targetApps/targetAppsPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoTargetAppsPostRequestBody(targetAppsPostRequestBo } } export function serializeTargetAppsPostRequestBody(writer: SerializationWriter, targetAppsPostRequestBody: TargetAppsPostRequestBody | undefined = {} as TargetAppsPostRequestBody) : void { - writer.writeCollectionOfObjectValues("apps", targetAppsPostRequestBody.apps, ); + writer.writeCollectionOfObjectValues("apps", targetAppsPostRequestBody.apps, serializeManagedMobileApp); writer.writeAdditionalData(targetAppsPostRequestBody.additionalData); } export interface TargetAppsPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/deviceAppManagement/managedAppRegistrations/item/managedAppRegistrationItemRequestBuilder.ts b/src/deviceAppManagement/managedAppRegistrations/item/managedAppRegistrationItemRequestBuilder.ts index 666cad5c959..adba6b3c693 100644 --- a/src/deviceAppManagement/managedAppRegistrations/item/managedAppRegistrationItemRequestBuilder.ts +++ b/src/deviceAppManagement/managedAppRegistrations/item/managedAppRegistrationItemRequestBuilder.ts @@ -98,10 +98,10 @@ export class ManagedAppRegistrationItemRequestBuilder extends BaseRequestBuilder return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Read properties and relationships of the iosManagedAppRegistration object. + * Read properties and relationships of the androidManagedAppRegistration object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ManagedAppRegistration - * @see {@link https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappregistration-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: ManagedAppRegistrationItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -147,7 +147,7 @@ export class ManagedAppRegistrationItemRequestBuilder extends BaseRequestBuilder return requestInfo; }; /** - * Read properties and relationships of the iosManagedAppRegistration object. + * Read properties and relationships of the androidManagedAppRegistration object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/deviceAppManagement/managedAppRegistrations/managedAppRegistrationsRequestBuilder.ts b/src/deviceAppManagement/managedAppRegistrations/managedAppRegistrationsRequestBuilder.ts index fa2f2d03922..a43f72aa8d2 100644 --- a/src/deviceAppManagement/managedAppRegistrations/managedAppRegistrationsRequestBuilder.ts +++ b/src/deviceAppManagement/managedAppRegistrations/managedAppRegistrationsRequestBuilder.ts @@ -105,10 +105,10 @@ export class ManagedAppRegistrationsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/deviceAppManagement/managedAppRegistrations{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * List properties and relationships of the managedAppRegistration objects. + * List properties and relationships of the androidManagedAppRegistration objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ManagedAppRegistrationCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedappregistration-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: ManagedAppRegistrationsRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -138,7 +138,7 @@ export class ManagedAppRegistrationsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createManagedAppRegistrationFromDiscriminatorValue, errorMapping); }; /** - * List properties and relationships of the managedAppRegistration objects. + * List properties and relationships of the androidManagedAppRegistration objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/deviceAppManagement/managedAppStatuses/item/managedAppStatusItemRequestBuilder.ts b/src/deviceAppManagement/managedAppStatuses/item/managedAppStatusItemRequestBuilder.ts index 0953578a9cf..ae2b65e7312 100644 --- a/src/deviceAppManagement/managedAppStatuses/item/managedAppStatusItemRequestBuilder.ts +++ b/src/deviceAppManagement/managedAppStatuses/item/managedAppStatusItemRequestBuilder.ts @@ -77,10 +77,10 @@ export class ManagedAppStatusItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Read properties and relationships of the managedAppStatusRaw object. + * Read properties and relationships of the managedAppStatus object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ManagedAppStatus - * @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedappstatus-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: ManagedAppStatusItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -126,7 +126,7 @@ export class ManagedAppStatusItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Read properties and relationships of the managedAppStatusRaw object. + * Read properties and relationships of the managedAppStatus object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/deviceAppManagement/managedEBooks/item/assign/assignPostRequestBody.ts b/src/deviceAppManagement/managedEBooks/item/assign/assignPostRequestBody.ts index b1968fa4aa3..e02d8555dca 100644 --- a/src/deviceAppManagement/managedEBooks/item/assign/assignPostRequestBody.ts +++ b/src/deviceAppManagement/managedEBooks/item/assign/assignPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAssignPostRequestBody(assignPostRequestBody: Assi } } export function serializeAssignPostRequestBody(writer: SerializationWriter, assignPostRequestBody: AssignPostRequestBody | undefined = {} as AssignPostRequestBody) : void { - writer.writeCollectionOfObjectValues("managedEBookAssignments", assignPostRequestBody.managedEBookAssignments, ); + writer.writeCollectionOfObjectValues("managedEBookAssignments", assignPostRequestBody.managedEBookAssignments, serializeManagedEBookAssignment); writer.writeAdditionalData(assignPostRequestBody.additionalData); } // tslint:enable diff --git a/src/deviceAppManagement/managedEBooks/item/assignments/assignmentsRequestBuilder.ts b/src/deviceAppManagement/managedEBooks/item/assignments/assignmentsRequestBuilder.ts index b3e612d790e..152e2928a14 100644 --- a/src/deviceAppManagement/managedEBooks/item/assignments/assignmentsRequestBuilder.ts +++ b/src/deviceAppManagement/managedEBooks/item/assignments/assignmentsRequestBuilder.ts @@ -98,10 +98,10 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/deviceAppManagement/managedEBooks/{managedEBook%2Did}/assignments{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * List properties and relationships of the iosVppEBookAssignment objects. + * List properties and relationships of the managedEBookAssignment objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ManagedEBookAssignmentCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: AssignmentsRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -131,7 +131,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createManagedEBookAssignmentFromDiscriminatorValue, errorMapping); }; /** - * List properties and relationships of the iosVppEBookAssignment objects. + * List properties and relationships of the managedEBookAssignment objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/deviceAppManagement/managedEBooks/item/assignments/item/managedEBookAssignmentItemRequestBuilder.ts b/src/deviceAppManagement/managedEBooks/item/assignments/item/managedEBookAssignmentItemRequestBuilder.ts index dfe4170b24e..dde316ac996 100644 --- a/src/deviceAppManagement/managedEBooks/item/assignments/item/managedEBookAssignmentItemRequestBuilder.ts +++ b/src/deviceAppManagement/managedEBooks/item/assignments/item/managedEBookAssignmentItemRequestBuilder.ts @@ -78,10 +78,10 @@ export class ManagedEBookAssignmentItemRequestBuilder extends BaseRequestBuilder return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Read properties and relationships of the managedEBookAssignment object. + * Read properties and relationships of the iosVppEBookAssignment object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ManagedEBookAssignment - * @see {@link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: ManagedEBookAssignmentItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -94,11 +94,11 @@ export class ManagedEBookAssignmentItemRequestBuilder extends BaseRequestBuilder return this.requestAdapter.sendAsync(requestInfo, createManagedEBookAssignmentFromDiscriminatorValue, errorMapping); }; /** - * Update the properties of a iosVppEBookAssignment object. + * Update the properties of a managedEBookAssignment object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ManagedEBookAssignment - * @see {@link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-update?view=graph-rest-1.0|Find more info here} */ public patch(body: ManagedEBookAssignment, requestConfiguration?: ManagedEBookAssignmentItemRequestBuilderPatchRequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -128,7 +128,7 @@ export class ManagedEBookAssignmentItemRequestBuilder extends BaseRequestBuilder return requestInfo; }; /** - * Read properties and relationships of the managedEBookAssignment object. + * Read properties and relationships of the iosVppEBookAssignment object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -146,7 +146,7 @@ export class ManagedEBookAssignmentItemRequestBuilder extends BaseRequestBuilder return requestInfo; }; /** - * Update the properties of a iosVppEBookAssignment object. + * Update the properties of a managedEBookAssignment object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/deviceAppManagement/managedEBooks/item/managedEBookItemRequestBuilder.ts b/src/deviceAppManagement/managedEBooks/item/managedEBookItemRequestBuilder.ts index 5fb5d3eea64..85ccc69ac75 100644 --- a/src/deviceAppManagement/managedEBooks/item/managedEBookItemRequestBuilder.ts +++ b/src/deviceAppManagement/managedEBooks/item/managedEBookItemRequestBuilder.ts @@ -113,10 +113,10 @@ export class ManagedEBookItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Read properties and relationships of the managedEBook object. + * Read properties and relationships of the iosVppEBook object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ManagedEBook - * @see {@link https://learn.microsoft.com/graph/api/intune-books-managedebook-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-books-iosvppebook-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: ManagedEBookItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -163,7 +163,7 @@ export class ManagedEBookItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Read properties and relationships of the managedEBook object. + * Read properties and relationships of the iosVppEBook object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/deviceAppManagement/mobileAppConfigurations/item/assign/assignPostRequestBody.ts b/src/deviceAppManagement/mobileAppConfigurations/item/assign/assignPostRequestBody.ts index 68789af547e..a6f9e37a9dc 100644 --- a/src/deviceAppManagement/mobileAppConfigurations/item/assign/assignPostRequestBody.ts +++ b/src/deviceAppManagement/mobileAppConfigurations/item/assign/assignPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAssignPostRequestBody(assignPostRequestBody: Assi } } export function serializeAssignPostRequestBody(writer: SerializationWriter, assignPostRequestBody: AssignPostRequestBody | undefined = {} as AssignPostRequestBody) : void { - writer.writeCollectionOfObjectValues("assignments", assignPostRequestBody.assignments, ); + writer.writeCollectionOfObjectValues("assignments", assignPostRequestBody.assignments, serializeManagedDeviceMobileAppConfigurationAssignment); writer.writeAdditionalData(assignPostRequestBody.additionalData); } // tslint:enable diff --git a/src/deviceAppManagement/mobileAppConfigurations/mobileAppConfigurationsRequestBuilder.ts b/src/deviceAppManagement/mobileAppConfigurations/mobileAppConfigurationsRequestBuilder.ts index 032b98472cb..3f38f619642 100644 --- a/src/deviceAppManagement/mobileAppConfigurations/mobileAppConfigurationsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileAppConfigurations/mobileAppConfigurationsRequestBuilder.ts @@ -98,10 +98,10 @@ export class MobileAppConfigurationsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/deviceAppManagement/mobileAppConfigurations{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * List properties and relationships of the iosMobileAppConfiguration objects. + * List properties and relationships of the managedDeviceMobileAppConfiguration objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ManagedDeviceMobileAppConfigurationCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/intune-apps-iosmobileappconfiguration-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfiguration-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: MobileAppConfigurationsRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -131,7 +131,7 @@ export class MobileAppConfigurationsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createManagedDeviceMobileAppConfigurationFromDiscriminatorValue, errorMapping); }; /** - * List properties and relationships of the iosMobileAppConfiguration objects. + * List properties and relationships of the managedDeviceMobileAppConfiguration objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/deviceAppManagement/mobileApps/item/assign/assignPostRequestBody.ts b/src/deviceAppManagement/mobileApps/item/assign/assignPostRequestBody.ts index bc3ac1203d4..e610d2f4f9a 100644 --- a/src/deviceAppManagement/mobileApps/item/assign/assignPostRequestBody.ts +++ b/src/deviceAppManagement/mobileApps/item/assign/assignPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAssignPostRequestBody(assignPostRequestBody: Assi } } export function serializeAssignPostRequestBody(writer: SerializationWriter, assignPostRequestBody: AssignPostRequestBody | undefined = {} as AssignPostRequestBody) : void { - writer.writeCollectionOfObjectValues("mobileAppAssignments", assignPostRequestBody.mobileAppAssignments, ); + writer.writeCollectionOfObjectValues("mobileAppAssignments", assignPostRequestBody.mobileAppAssignments, serializeMobileAppAssignment); writer.writeAdditionalData(assignPostRequestBody.additionalData); } // tslint:enable diff --git a/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts b/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts index f1ed0d687dd..d499f92f39c 100644 --- a/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts +++ b/src/deviceAppManagement/mobileApps/item/graphAndroidLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCommitPostRequestBody(commitPostRequestBody: Comm } } export function serializeCommitPostRequestBody(writer: SerializationWriter, commitPostRequestBody: CommitPostRequestBody | undefined = {} as CommitPostRequestBody) : void { - writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, ); + writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, serializeFileEncryptionInfo); writer.writeAdditionalData(commitPostRequestBody.additionalData); } // tslint:enable diff --git a/src/deviceAppManagement/mobileApps/item/graphIosLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts b/src/deviceAppManagement/mobileApps/item/graphIosLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts index f1ed0d687dd..d499f92f39c 100644 --- a/src/deviceAppManagement/mobileApps/item/graphIosLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts +++ b/src/deviceAppManagement/mobileApps/item/graphIosLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCommitPostRequestBody(commitPostRequestBody: Comm } } export function serializeCommitPostRequestBody(writer: SerializationWriter, commitPostRequestBody: CommitPostRequestBody | undefined = {} as CommitPostRequestBody) : void { - writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, ); + writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, serializeFileEncryptionInfo); writer.writeAdditionalData(commitPostRequestBody.additionalData); } // tslint:enable diff --git a/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts b/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts index f1ed0d687dd..d499f92f39c 100644 --- a/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts +++ b/src/deviceAppManagement/mobileApps/item/graphMacOSDmgApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCommitPostRequestBody(commitPostRequestBody: Comm } } export function serializeCommitPostRequestBody(writer: SerializationWriter, commitPostRequestBody: CommitPostRequestBody | undefined = {} as CommitPostRequestBody) : void { - writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, ); + writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, serializeFileEncryptionInfo); writer.writeAdditionalData(commitPostRequestBody.additionalData); } // tslint:enable diff --git a/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts b/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts index f1ed0d687dd..d499f92f39c 100644 --- a/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts +++ b/src/deviceAppManagement/mobileApps/item/graphMacOSLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCommitPostRequestBody(commitPostRequestBody: Comm } } export function serializeCommitPostRequestBody(writer: SerializationWriter, commitPostRequestBody: CommitPostRequestBody | undefined = {} as CommitPostRequestBody) : void { - writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, ); + writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, serializeFileEncryptionInfo); writer.writeAdditionalData(commitPostRequestBody.additionalData); } // tslint:enable diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts b/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts index f1ed0d687dd..d499f92f39c 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedAndroidLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCommitPostRequestBody(commitPostRequestBody: Comm } } export function serializeCommitPostRequestBody(writer: SerializationWriter, commitPostRequestBody: CommitPostRequestBody | undefined = {} as CommitPostRequestBody) : void { - writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, ); + writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, serializeFileEncryptionInfo); writer.writeAdditionalData(commitPostRequestBody.additionalData); } // tslint:enable diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts b/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts index f1ed0d687dd..d499f92f39c 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedIOSLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCommitPostRequestBody(commitPostRequestBody: Comm } } export function serializeCommitPostRequestBody(writer: SerializationWriter, commitPostRequestBody: CommitPostRequestBody | undefined = {} as CommitPostRequestBody) : void { - writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, ); + writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, serializeFileEncryptionInfo); writer.writeAdditionalData(commitPostRequestBody.additionalData); } // tslint:enable diff --git a/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts b/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts index f1ed0d687dd..d499f92f39c 100644 --- a/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts +++ b/src/deviceAppManagement/mobileApps/item/graphManagedMobileLobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCommitPostRequestBody(commitPostRequestBody: Comm } } export function serializeCommitPostRequestBody(writer: SerializationWriter, commitPostRequestBody: CommitPostRequestBody | undefined = {} as CommitPostRequestBody) : void { - writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, ); + writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, serializeFileEncryptionInfo); writer.writeAdditionalData(commitPostRequestBody.additionalData); } // tslint:enable diff --git a/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts b/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts index f1ed0d687dd..d499f92f39c 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWin32LobApp/contentVersions/item/files/item/commit/commitPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCommitPostRequestBody(commitPostRequestBody: Comm } } export function serializeCommitPostRequestBody(writer: SerializationWriter, commitPostRequestBody: CommitPostRequestBody | undefined = {} as CommitPostRequestBody) : void { - writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, ); + writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, serializeFileEncryptionInfo); writer.writeAdditionalData(commitPostRequestBody.additionalData); } // tslint:enable diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/contentVersions/item/files/item/commit/commitPostRequestBody.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/contentVersions/item/files/item/commit/commitPostRequestBody.ts index f1ed0d687dd..d499f92f39c 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/contentVersions/item/files/item/commit/commitPostRequestBody.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsAppX/contentVersions/item/files/item/commit/commitPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCommitPostRequestBody(commitPostRequestBody: Comm } } export function serializeCommitPostRequestBody(writer: SerializationWriter, commitPostRequestBody: CommitPostRequestBody | undefined = {} as CommitPostRequestBody) : void { - writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, ); + writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, serializeFileEncryptionInfo); writer.writeAdditionalData(commitPostRequestBody.additionalData); } // tslint:enable diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/contentVersions/item/files/item/commit/commitPostRequestBody.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/contentVersions/item/files/item/commit/commitPostRequestBody.ts index f1ed0d687dd..d499f92f39c 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/contentVersions/item/files/item/commit/commitPostRequestBody.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsMobileMSI/contentVersions/item/files/item/commit/commitPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCommitPostRequestBody(commitPostRequestBody: Comm } } export function serializeCommitPostRequestBody(writer: SerializationWriter, commitPostRequestBody: CommitPostRequestBody | undefined = {} as CommitPostRequestBody) : void { - writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, ); + writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, serializeFileEncryptionInfo); writer.writeAdditionalData(commitPostRequestBody.additionalData); } // tslint:enable diff --git a/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/contentVersions/item/files/item/commit/commitPostRequestBody.ts b/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/contentVersions/item/files/item/commit/commitPostRequestBody.ts index f1ed0d687dd..d499f92f39c 100644 --- a/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/contentVersions/item/files/item/commit/commitPostRequestBody.ts +++ b/src/deviceAppManagement/mobileApps/item/graphWindowsUniversalAppX/contentVersions/item/files/item/commit/commitPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCommitPostRequestBody(commitPostRequestBody: Comm } } export function serializeCommitPostRequestBody(writer: SerializationWriter, commitPostRequestBody: CommitPostRequestBody | undefined = {} as CommitPostRequestBody) : void { - writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, ); + writer.writeObjectValue("fileEncryptionInfo", commitPostRequestBody.fileEncryptionInfo, serializeFileEncryptionInfo); writer.writeAdditionalData(commitPostRequestBody.additionalData); } // tslint:enable diff --git a/src/deviceAppManagement/mobileApps/item/mobileAppItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/mobileAppItemRequestBuilder.ts index 11af7f6fa00..a6b13ceda08 100644 --- a/src/deviceAppManagement/mobileApps/item/mobileAppItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/mobileAppItemRequestBuilder.ts @@ -196,9 +196,9 @@ export class MobileAppItemRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}{?%24select,%24expand}"); }; /** - * Deletes a windowsMobileMSI. + * Deletes a windowsMicrosoftEdgeApp. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/intune-apps-windowsmobilemsi-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-apps-windowsmicrosoftedgeapp-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: MobileAppItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -211,10 +211,10 @@ export class MobileAppItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Read properties and relationships of the macOSOfficeSuiteApp object. + * Read properties and relationships of the win32LobApp object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of MobileApp - * @see {@link https://learn.microsoft.com/graph/api/intune-apps-macosofficesuiteapp-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-apps-win32lobapp-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: MobileAppItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -227,11 +227,11 @@ export class MobileAppItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createMobileAppFromDiscriminatorValue, errorMapping); }; /** - * Update the properties of a windowsMobileMSI object. + * Update the properties of a managedIOSStoreApp object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of MobileApp - * @see {@link https://learn.microsoft.com/graph/api/intune-apps-windowsmobilemsi-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-apps-managediosstoreapp-update?view=graph-rest-1.0|Find more info here} */ public patch(body: MobileApp, requestConfiguration?: MobileAppItemRequestBuilderPatchRequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -244,7 +244,7 @@ export class MobileAppItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createMobileAppFromDiscriminatorValue, errorMapping); }; /** - * Deletes a windowsMobileMSI. + * Deletes a windowsMicrosoftEdgeApp. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -261,7 +261,7 @@ export class MobileAppItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Read properties and relationships of the macOSOfficeSuiteApp object. + * Read properties and relationships of the win32LobApp object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -279,7 +279,7 @@ export class MobileAppItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Update the properties of a windowsMobileMSI object. + * Update the properties of a managedIOSStoreApp object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/deviceAppManagement/mobileApps/mobileAppsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/mobileAppsRequestBuilder.ts index 28fb25e16e0..585d38ffbb1 100644 --- a/src/deviceAppManagement/mobileApps/mobileAppsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/mobileAppsRequestBuilder.ts @@ -210,10 +210,10 @@ export class MobileAppsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * List properties and relationships of the iosiPadOSWebClip objects. + * List properties and relationships of the win32LobApp objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of MobileAppCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/intune-apps-iosipadoswebclip-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-apps-win32lobapp-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: MobileAppsRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -226,11 +226,11 @@ export class MobileAppsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createMobileAppCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Create a new iosLobApp object. + * Create a new managedIOSLobApp object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of MobileApp - * @see {@link https://learn.microsoft.com/graph/api/intune-apps-ioslobapp-create?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-apps-managedioslobapp-create?view=graph-rest-1.0|Find more info here} */ public post(body: MobileApp, requestConfiguration?: MobileAppsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -243,7 +243,7 @@ export class MobileAppsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createMobileAppFromDiscriminatorValue, errorMapping); }; /** - * List properties and relationships of the iosiPadOSWebClip objects. + * List properties and relationships of the win32LobApp objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -261,7 +261,7 @@ export class MobileAppsRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Create a new iosLobApp object. + * Create a new managedIOSLobApp object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/deviceAppManagement/targetedManagedAppConfigurations/item/assign/assignPostRequestBody.ts b/src/deviceAppManagement/targetedManagedAppConfigurations/item/assign/assignPostRequestBody.ts index 4a9a5236a0e..3f56b51ba8b 100644 --- a/src/deviceAppManagement/targetedManagedAppConfigurations/item/assign/assignPostRequestBody.ts +++ b/src/deviceAppManagement/targetedManagedAppConfigurations/item/assign/assignPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAssignPostRequestBody(assignPostRequestBody: Assi } } export function serializeAssignPostRequestBody(writer: SerializationWriter, assignPostRequestBody: AssignPostRequestBody | undefined = {} as AssignPostRequestBody) : void { - writer.writeCollectionOfObjectValues("assignments", assignPostRequestBody.assignments, ); + writer.writeCollectionOfObjectValues("assignments", assignPostRequestBody.assignments, serializeTargetedManagedAppPolicyAssignment); writer.writeAdditionalData(assignPostRequestBody.additionalData); } // tslint:enable diff --git a/src/deviceAppManagement/targetedManagedAppConfigurations/item/targetApps/targetAppsPostRequestBody.ts b/src/deviceAppManagement/targetedManagedAppConfigurations/item/targetApps/targetAppsPostRequestBody.ts index cf481da1a11..65a15a77f1f 100644 --- a/src/deviceAppManagement/targetedManagedAppConfigurations/item/targetApps/targetAppsPostRequestBody.ts +++ b/src/deviceAppManagement/targetedManagedAppConfigurations/item/targetApps/targetAppsPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTargetAppsPostRequestBody(targetAppsPostRequestBo } export function serializeTargetAppsPostRequestBody(writer: SerializationWriter, targetAppsPostRequestBody: TargetAppsPostRequestBody | undefined = {} as TargetAppsPostRequestBody) : void { writer.writeEnumValue("appGroupType", targetAppsPostRequestBody.appGroupType); - writer.writeCollectionOfObjectValues("apps", targetAppsPostRequestBody.apps, ); + writer.writeCollectionOfObjectValues("apps", targetAppsPostRequestBody.apps, serializeManagedMobileApp); writer.writeAdditionalData(targetAppsPostRequestBody.additionalData); } export interface TargetAppsPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/deviceManagement/deviceCompliancePolicies/deviceCompliancePoliciesRequestBuilder.ts b/src/deviceManagement/deviceCompliancePolicies/deviceCompliancePoliciesRequestBuilder.ts index 6f02bd8daf7..53b0d456ddb 100644 --- a/src/deviceManagement/deviceCompliancePolicies/deviceCompliancePoliciesRequestBuilder.ts +++ b/src/deviceManagement/deviceCompliancePolicies/deviceCompliancePoliciesRequestBuilder.ts @@ -114,11 +114,11 @@ export class DeviceCompliancePoliciesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createDeviceCompliancePolicyCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Create a new macOSCompliancePolicy object. + * Create a new windows10MobileCompliancePolicy object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DeviceCompliancePolicy - * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-macoscompliancepolicy-create?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10mobilecompliancepolicy-create?view=graph-rest-1.0|Find more info here} */ public post(body: DeviceCompliancePolicy, requestConfiguration?: DeviceCompliancePoliciesRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -149,7 +149,7 @@ export class DeviceCompliancePoliciesRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Create a new macOSCompliancePolicy object. + * Create a new windows10MobileCompliancePolicy object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/deviceManagement/deviceCompliancePolicies/item/assign/assignPostRequestBody.ts b/src/deviceManagement/deviceCompliancePolicies/item/assign/assignPostRequestBody.ts index ecb55c7719d..5b771d04f64 100644 --- a/src/deviceManagement/deviceCompliancePolicies/item/assign/assignPostRequestBody.ts +++ b/src/deviceManagement/deviceCompliancePolicies/item/assign/assignPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAssignPostRequestBody(assignPostRequestBody: Assi } } export function serializeAssignPostRequestBody(writer: SerializationWriter, assignPostRequestBody: AssignPostRequestBody | undefined = {} as AssignPostRequestBody) : void { - writer.writeCollectionOfObjectValues("assignments", assignPostRequestBody.assignments, ); + writer.writeCollectionOfObjectValues("assignments", assignPostRequestBody.assignments, serializeDeviceCompliancePolicyAssignment); writer.writeAdditionalData(assignPostRequestBody.additionalData); } // tslint:enable diff --git a/src/deviceManagement/deviceCompliancePolicies/item/assign/assignPostResponse.ts b/src/deviceManagement/deviceCompliancePolicies/item/assign/assignPostResponse.ts index e19bf8da886..0117bed2e51 100644 --- a/src/deviceManagement/deviceCompliancePolicies/item/assign/assignPostResponse.ts +++ b/src/deviceManagement/deviceCompliancePolicies/item/assign/assignPostResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAssignPostResponse(assignPostResponse: AssignPost } export function serializeAssignPostResponse(writer: SerializationWriter, assignPostResponse: AssignPostResponse | undefined = {} as AssignPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, assignPostResponse) - writer.writeCollectionOfObjectValues("value", assignPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", assignPostResponse.value, serializeDeviceCompliancePolicyAssignment); } // tslint:enable // eslint-enable diff --git a/src/deviceManagement/deviceCompliancePolicies/item/deviceCompliancePolicyItemRequestBuilder.ts b/src/deviceManagement/deviceCompliancePolicies/item/deviceCompliancePolicyItemRequestBuilder.ts index a11c99a7733..cb7b9c02ed3 100644 --- a/src/deviceManagement/deviceCompliancePolicies/item/deviceCompliancePolicyItemRequestBuilder.ts +++ b/src/deviceManagement/deviceCompliancePolicies/item/deviceCompliancePolicyItemRequestBuilder.ts @@ -126,9 +126,9 @@ export class DeviceCompliancePolicyItemRequestBuilder extends BaseRequestBuilder super(pathParameters, requestAdapter, "{+baseurl}/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicy%2Did}{?%24select,%24expand}"); }; /** - * Deletes a androidWorkProfileCompliancePolicy. + * Deletes a windows10MobileCompliancePolicy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecompliancepolicy-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10mobilecompliancepolicy-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -141,10 +141,10 @@ export class DeviceCompliancePolicyItemRequestBuilder extends BaseRequestBuilder return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Read properties and relationships of the androidWorkProfileCompliancePolicy object. + * Read properties and relationships of the macOSCompliancePolicy object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DeviceCompliancePolicy - * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecompliancepolicy-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-macoscompliancepolicy-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: DeviceCompliancePolicyItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -157,11 +157,11 @@ export class DeviceCompliancePolicyItemRequestBuilder extends BaseRequestBuilder return this.requestAdapter.sendAsync(requestInfo, createDeviceCompliancePolicyFromDiscriminatorValue, errorMapping); }; /** - * Update the properties of a androidWorkProfileCompliancePolicy object. + * Update the properties of a windows10MobileCompliancePolicy object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DeviceCompliancePolicy - * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecompliancepolicy-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10mobilecompliancepolicy-update?view=graph-rest-1.0|Find more info here} */ public patch(body: DeviceCompliancePolicy, requestConfiguration?: DeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -174,7 +174,7 @@ export class DeviceCompliancePolicyItemRequestBuilder extends BaseRequestBuilder return this.requestAdapter.sendAsync(requestInfo, createDeviceCompliancePolicyFromDiscriminatorValue, errorMapping); }; /** - * Deletes a androidWorkProfileCompliancePolicy. + * Deletes a windows10MobileCompliancePolicy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -191,7 +191,7 @@ export class DeviceCompliancePolicyItemRequestBuilder extends BaseRequestBuilder return requestInfo; }; /** - * Read properties and relationships of the androidWorkProfileCompliancePolicy object. + * Read properties and relationships of the macOSCompliancePolicy object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -209,7 +209,7 @@ export class DeviceCompliancePolicyItemRequestBuilder extends BaseRequestBuilder return requestInfo; }; /** - * Update the properties of a androidWorkProfileCompliancePolicy object. + * Update the properties of a windows10MobileCompliancePolicy object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/deviceManagement/deviceCompliancePolicies/item/scheduleActionsForRules/scheduleActionsForRulesPostRequestBody.ts b/src/deviceManagement/deviceCompliancePolicies/item/scheduleActionsForRules/scheduleActionsForRulesPostRequestBody.ts index 40e47e42b03..e97bb8bd3c9 100644 --- a/src/deviceManagement/deviceCompliancePolicies/item/scheduleActionsForRules/scheduleActionsForRulesPostRequestBody.ts +++ b/src/deviceManagement/deviceCompliancePolicies/item/scheduleActionsForRules/scheduleActionsForRulesPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ScheduleActionsForRulesPostRequestBody extends AdditionalDataHo deviceComplianceScheduledActionForRules?: DeviceComplianceScheduledActionForRule[]; } export function serializeScheduleActionsForRulesPostRequestBody(writer: SerializationWriter, scheduleActionsForRulesPostRequestBody: ScheduleActionsForRulesPostRequestBody | undefined = {} as ScheduleActionsForRulesPostRequestBody) : void { - writer.writeCollectionOfObjectValues("deviceComplianceScheduledActionForRules", scheduleActionsForRulesPostRequestBody.deviceComplianceScheduledActionForRules, ); + writer.writeCollectionOfObjectValues("deviceComplianceScheduledActionForRules", scheduleActionsForRulesPostRequestBody.deviceComplianceScheduledActionForRules, serializeDeviceComplianceScheduledActionForRule); writer.writeAdditionalData(scheduleActionsForRulesPostRequestBody.additionalData); } // tslint:enable diff --git a/src/deviceManagement/deviceConfigurations/deviceConfigurationsRequestBuilder.ts b/src/deviceManagement/deviceConfigurations/deviceConfigurationsRequestBuilder.ts index d3fae8c55b5..e4c232bdea5 100644 --- a/src/deviceManagement/deviceConfigurations/deviceConfigurationsRequestBuilder.ts +++ b/src/deviceManagement/deviceConfigurations/deviceConfigurationsRequestBuilder.ts @@ -98,10 +98,10 @@ export class DeviceConfigurationsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/deviceManagement/deviceConfigurations{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * List properties and relationships of the androidWorkProfileGeneralDeviceConfiguration objects. + * List properties and relationships of the iosGeneralDeviceConfiguration objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DeviceConfigurationCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilegeneraldeviceconfiguration-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-iosgeneraldeviceconfiguration-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: DeviceConfigurationsRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -114,11 +114,11 @@ export class DeviceConfigurationsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createDeviceConfigurationCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Create a new macOSGeneralDeviceConfiguration object. + * Create a new windows10SecureAssessmentConfiguration object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DeviceConfiguration - * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-macosgeneraldeviceconfiguration-create?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10secureassessmentconfiguration-create?view=graph-rest-1.0|Find more info here} */ public post(body: DeviceConfiguration, requestConfiguration?: DeviceConfigurationsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -131,7 +131,7 @@ export class DeviceConfigurationsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createDeviceConfigurationFromDiscriminatorValue, errorMapping); }; /** - * List properties and relationships of the androidWorkProfileGeneralDeviceConfiguration objects. + * List properties and relationships of the iosGeneralDeviceConfiguration objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -149,7 +149,7 @@ export class DeviceConfigurationsRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Create a new macOSGeneralDeviceConfiguration object. + * Create a new windows10SecureAssessmentConfiguration object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/deviceManagement/deviceConfigurations/item/assign/assignPostRequestBody.ts b/src/deviceManagement/deviceConfigurations/item/assign/assignPostRequestBody.ts index f22948b3325..0423ad1ad98 100644 --- a/src/deviceManagement/deviceConfigurations/item/assign/assignPostRequestBody.ts +++ b/src/deviceManagement/deviceConfigurations/item/assign/assignPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAssignPostRequestBody(assignPostRequestBody: Assi } } export function serializeAssignPostRequestBody(writer: SerializationWriter, assignPostRequestBody: AssignPostRequestBody | undefined = {} as AssignPostRequestBody) : void { - writer.writeCollectionOfObjectValues("assignments", assignPostRequestBody.assignments, ); + writer.writeCollectionOfObjectValues("assignments", assignPostRequestBody.assignments, serializeDeviceConfigurationAssignment); writer.writeAdditionalData(assignPostRequestBody.additionalData); } // tslint:enable diff --git a/src/deviceManagement/deviceConfigurations/item/assign/assignPostResponse.ts b/src/deviceManagement/deviceConfigurations/item/assign/assignPostResponse.ts index 034d8d6aeef..62ae8e8d48d 100644 --- a/src/deviceManagement/deviceConfigurations/item/assign/assignPostResponse.ts +++ b/src/deviceManagement/deviceConfigurations/item/assign/assignPostResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAssignPostResponse(assignPostResponse: AssignPost } export function serializeAssignPostResponse(writer: SerializationWriter, assignPostResponse: AssignPostResponse | undefined = {} as AssignPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, assignPostResponse) - writer.writeCollectionOfObjectValues("value", assignPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", assignPostResponse.value, serializeDeviceConfigurationAssignment); } // tslint:enable // eslint-enable diff --git a/src/deviceManagement/deviceConfigurations/item/deviceConfigurationItemRequestBuilder.ts b/src/deviceManagement/deviceConfigurations/item/deviceConfigurationItemRequestBuilder.ts index 08808675876..be4d856bc6b 100644 --- a/src/deviceManagement/deviceConfigurations/item/deviceConfigurationItemRequestBuilder.ts +++ b/src/deviceManagement/deviceConfigurations/item/deviceConfigurationItemRequestBuilder.ts @@ -113,9 +113,9 @@ export class DeviceConfigurationItemRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/deviceManagement/deviceConfigurations/{deviceConfiguration%2Did}{?%24select,%24expand}"); }; /** - * Deletes a windows81GeneralConfiguration. + * Deletes a windows10EnterpriseModernAppManagementConfiguration. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81generalconfiguration-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10enterprisemodernappmanagementconfiguration-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -128,10 +128,10 @@ export class DeviceConfigurationItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Read properties and relationships of the appleDeviceFeaturesConfigurationBase object. + * Read properties and relationships of the windowsPhone81GeneralConfiguration object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DeviceConfiguration - * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-appledevicefeaturesconfigurationbase-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81generalconfiguration-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: DeviceConfigurationItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -153,11 +153,11 @@ export class DeviceConfigurationItemRequestBuilder extends BaseRequestBuilder { return new GetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder(this.pathParameters, this.requestAdapter, secretReferenceValueId); }; /** - * Update the properties of a windowsPhone81CustomConfiguration object. + * Update the properties of a androidWorkProfileGeneralDeviceConfiguration object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DeviceConfiguration - * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81customconfiguration-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilegeneraldeviceconfiguration-update?view=graph-rest-1.0|Find more info here} */ public patch(body: DeviceConfiguration, requestConfiguration?: DeviceConfigurationItemRequestBuilderPatchRequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -170,7 +170,7 @@ export class DeviceConfigurationItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createDeviceConfigurationFromDiscriminatorValue, errorMapping); }; /** - * Deletes a windows81GeneralConfiguration. + * Deletes a windows10EnterpriseModernAppManagementConfiguration. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -187,7 +187,7 @@ export class DeviceConfigurationItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Read properties and relationships of the appleDeviceFeaturesConfigurationBase object. + * Read properties and relationships of the windowsPhone81GeneralConfiguration object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -205,7 +205,7 @@ export class DeviceConfigurationItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Update the properties of a windowsPhone81CustomConfiguration object. + * Update the properties of a androidWorkProfileGeneralDeviceConfiguration object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/deviceManagement/deviceEnrollmentConfigurations/deviceEnrollmentConfigurationsRequestBuilder.ts b/src/deviceManagement/deviceEnrollmentConfigurations/deviceEnrollmentConfigurationsRequestBuilder.ts index 44edb24d79f..342a7d14b3e 100644 --- a/src/deviceManagement/deviceEnrollmentConfigurations/deviceEnrollmentConfigurationsRequestBuilder.ts +++ b/src/deviceManagement/deviceEnrollmentConfigurations/deviceEnrollmentConfigurationsRequestBuilder.ts @@ -98,10 +98,10 @@ export class DeviceEnrollmentConfigurationsRequestBuilder extends BaseRequestBui super(pathParameters, requestAdapter, "{+baseurl}/deviceManagement/deviceEnrollmentConfigurations{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * List properties and relationships of the deviceEnrollmentConfiguration objects. + * List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DeviceEnrollmentConfigurationCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentconfiguration-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -131,7 +131,7 @@ export class DeviceEnrollmentConfigurationsRequestBuilder extends BaseRequestBui return this.requestAdapter.sendAsync(requestInfo, createDeviceEnrollmentConfigurationFromDiscriminatorValue, errorMapping); }; /** - * List properties and relationships of the deviceEnrollmentConfiguration objects. + * List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/deviceManagement/deviceEnrollmentConfigurations/item/assign/assignPostRequestBody.ts b/src/deviceManagement/deviceEnrollmentConfigurations/item/assign/assignPostRequestBody.ts index 445b6f5174f..c46f6036238 100644 --- a/src/deviceManagement/deviceEnrollmentConfigurations/item/assign/assignPostRequestBody.ts +++ b/src/deviceManagement/deviceEnrollmentConfigurations/item/assign/assignPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAssignPostRequestBody(assignPostRequestBody: Assi } } export function serializeAssignPostRequestBody(writer: SerializationWriter, assignPostRequestBody: AssignPostRequestBody | undefined = {} as AssignPostRequestBody) : void { - writer.writeCollectionOfObjectValues("enrollmentConfigurationAssignments", assignPostRequestBody.enrollmentConfigurationAssignments, ); + writer.writeCollectionOfObjectValues("enrollmentConfigurationAssignments", assignPostRequestBody.enrollmentConfigurationAssignments, serializeEnrollmentConfigurationAssignment); writer.writeAdditionalData(assignPostRequestBody.additionalData); } // tslint:enable diff --git a/src/deviceManagement/deviceEnrollmentConfigurations/item/deviceEnrollmentConfigurationItemRequestBuilder.ts b/src/deviceManagement/deviceEnrollmentConfigurations/item/deviceEnrollmentConfigurationItemRequestBuilder.ts index 8367cd644d5..92731932070 100644 --- a/src/deviceManagement/deviceEnrollmentConfigurations/item/deviceEnrollmentConfigurationItemRequestBuilder.ts +++ b/src/deviceManagement/deviceEnrollmentConfigurations/item/deviceEnrollmentConfigurationItemRequestBuilder.ts @@ -84,9 +84,9 @@ export class DeviceEnrollmentConfigurationItemRequestBuilder extends BaseRequest super(pathParameters, requestAdapter, "{+baseurl}/deviceManagement/deviceEnrollmentConfigurations/{deviceEnrollmentConfiguration%2Did}{?%24select,%24expand}"); }; /** - * Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. + * Deletes a deviceEnrollmentLimitConfiguration. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: DeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -99,10 +99,10 @@ export class DeviceEnrollmentConfigurationItemRequestBuilder extends BaseRequest return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Read properties and relationships of the deviceEnrollmentLimitConfiguration object. + * Read properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DeviceEnrollmentConfiguration - * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: DeviceEnrollmentConfigurationItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -132,7 +132,7 @@ export class DeviceEnrollmentConfigurationItemRequestBuilder extends BaseRequest return this.requestAdapter.sendAsync(requestInfo, createDeviceEnrollmentConfigurationFromDiscriminatorValue, errorMapping); }; /** - * Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. + * Deletes a deviceEnrollmentLimitConfiguration. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -149,7 +149,7 @@ export class DeviceEnrollmentConfigurationItemRequestBuilder extends BaseRequest return requestInfo; }; /** - * Read properties and relationships of the deviceEnrollmentLimitConfiguration object. + * Read properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/deviceManagement/deviceManagementRequestBuilder.ts b/src/deviceManagement/deviceManagementRequestBuilder.ts index 1fb08de3435..f17955e1aae 100644 --- a/src/deviceManagement/deviceManagementRequestBuilder.ts +++ b/src/deviceManagement/deviceManagementRequestBuilder.ts @@ -464,7 +464,7 @@ export class DeviceManagementRequestBuilder extends BaseRequestBuilder { * Read properties and relationships of the deviceManagement object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DeviceManagement - * @see {@link https://learn.microsoft.com/graph/api/intune-companyterms-devicemanagement-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-policyset-devicemanagement-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: DeviceManagementRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -490,7 +490,7 @@ export class DeviceManagementRequestBuilder extends BaseRequestBuilder { * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DeviceManagement - * @see {@link https://learn.microsoft.com/graph/api/intune-auditing-devicemanagement-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-enrollment-devicemanagement-update?view=graph-rest-1.0|Find more info here} */ public patch(body: DeviceManagement, requestConfiguration?: DeviceManagementRequestBuilderPatchRequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( diff --git a/src/deviceManagement/getEffectivePermissionsWithScope/getEffectivePermissionsWithScopeGetResponse.ts b/src/deviceManagement/getEffectivePermissionsWithScope/getEffectivePermissionsWithScopeGetResponse.ts index 5008321255a..dccb9b7dcbe 100644 --- a/src/deviceManagement/getEffectivePermissionsWithScope/getEffectivePermissionsWithScopeGetResponse.ts +++ b/src/deviceManagement/getEffectivePermissionsWithScope/getEffectivePermissionsWithScopeGetResponse.ts @@ -23,7 +23,7 @@ export interface GetEffectivePermissionsWithScopeGetResponse extends BaseCollect } export function serializeGetEffectivePermissionsWithScopeGetResponse(writer: SerializationWriter, getEffectivePermissionsWithScopeGetResponse: GetEffectivePermissionsWithScopeGetResponse | undefined = {} as GetEffectivePermissionsWithScopeGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getEffectivePermissionsWithScopeGetResponse) - writer.writeCollectionOfObjectValues("value", getEffectivePermissionsWithScopeGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getEffectivePermissionsWithScopeGetResponse.value, serializeRolePermission); } // tslint:enable // eslint-enable diff --git a/src/deviceManagement/importedWindowsAutopilotDeviceIdentities/importEscaped/importPostRequestBody.ts b/src/deviceManagement/importedWindowsAutopilotDeviceIdentities/importEscaped/importPostRequestBody.ts index 48299879d2b..64bfb51403c 100644 --- a/src/deviceManagement/importedWindowsAutopilotDeviceIdentities/importEscaped/importPostRequestBody.ts +++ b/src/deviceManagement/importedWindowsAutopilotDeviceIdentities/importEscaped/importPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImportPostRequestBody extends AdditionalDataHolder, Parsable { importedWindowsAutopilotDeviceIdentities?: ImportedWindowsAutopilotDeviceIdentity[]; } export function serializeImportPostRequestBody(writer: SerializationWriter, importPostRequestBody: ImportPostRequestBody | undefined = {} as ImportPostRequestBody) : void { - writer.writeCollectionOfObjectValues("importedWindowsAutopilotDeviceIdentities", importPostRequestBody.importedWindowsAutopilotDeviceIdentities, ); + writer.writeCollectionOfObjectValues("importedWindowsAutopilotDeviceIdentities", importPostRequestBody.importedWindowsAutopilotDeviceIdentities, serializeImportedWindowsAutopilotDeviceIdentity); writer.writeAdditionalData(importPostRequestBody.additionalData); } // tslint:enable diff --git a/src/deviceManagement/importedWindowsAutopilotDeviceIdentities/importEscaped/importPostResponse.ts b/src/deviceManagement/importedWindowsAutopilotDeviceIdentities/importEscaped/importPostResponse.ts index 6fd4d014cc9..fcc2b3b2cbf 100644 --- a/src/deviceManagement/importedWindowsAutopilotDeviceIdentities/importEscaped/importPostResponse.ts +++ b/src/deviceManagement/importedWindowsAutopilotDeviceIdentities/importEscaped/importPostResponse.ts @@ -23,7 +23,7 @@ export interface ImportPostResponse extends BaseCollectionPaginationCountRespons } export function serializeImportPostResponse(writer: SerializationWriter, importPostResponse: ImportPostResponse | undefined = {} as ImportPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, importPostResponse) - writer.writeCollectionOfObjectValues("value", importPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", importPostResponse.value, serializeImportedWindowsAutopilotDeviceIdentity); } // tslint:enable // eslint-enable diff --git a/src/deviceManagement/managedDevices/item/updateWindowsDeviceAccount/updateWindowsDeviceAccountPostRequestBody.ts b/src/deviceManagement/managedDevices/item/updateWindowsDeviceAccount/updateWindowsDeviceAccountPostRequestBody.ts index c88df63f52e..ca95c48edf4 100644 --- a/src/deviceManagement/managedDevices/item/updateWindowsDeviceAccount/updateWindowsDeviceAccountPostRequestBody.ts +++ b/src/deviceManagement/managedDevices/item/updateWindowsDeviceAccount/updateWindowsDeviceAccountPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoUpdateWindowsDeviceAccountPostRequestBody(updateW } } export function serializeUpdateWindowsDeviceAccountPostRequestBody(writer: SerializationWriter, updateWindowsDeviceAccountPostRequestBody: UpdateWindowsDeviceAccountPostRequestBody | undefined = {} as UpdateWindowsDeviceAccountPostRequestBody) : void { - writer.writeObjectValue("updateWindowsDeviceAccountActionParameter", updateWindowsDeviceAccountPostRequestBody.updateWindowsDeviceAccountActionParameter, ); + writer.writeObjectValue("updateWindowsDeviceAccountActionParameter", updateWindowsDeviceAccountPostRequestBody.updateWindowsDeviceAccountActionParameter, serializeUpdateWindowsDeviceAccountActionParameter); writer.writeAdditionalData(updateWindowsDeviceAccountPostRequestBody.additionalData); } export interface UpdateWindowsDeviceAccountPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/deviceManagement/roleDefinitions/item/roleDefinitionItemRequestBuilder.ts b/src/deviceManagement/roleDefinitions/item/roleDefinitionItemRequestBuilder.ts index a0c5f977911..a06b67420a8 100644 --- a/src/deviceManagement/roleDefinitions/item/roleDefinitionItemRequestBuilder.ts +++ b/src/deviceManagement/roleDefinitions/item/roleDefinitionItemRequestBuilder.ts @@ -70,9 +70,9 @@ export class RoleDefinitionItemRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/deviceManagement/roleDefinitions/{roleDefinition%2Did}{?%24select,%24expand}"); }; /** - * Deletes a deviceAndAppManagementRoleDefinition. + * Deletes a roleDefinition. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: RoleDefinitionItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -85,10 +85,10 @@ export class RoleDefinitionItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Read properties and relationships of the deviceAndAppManagementRoleDefinition object. + * Read properties and relationships of the roleDefinition object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of RoleDefinition - * @see {@link https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RoleDefinitionItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -101,11 +101,11 @@ export class RoleDefinitionItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createRoleDefinitionFromDiscriminatorValue, errorMapping); }; /** - * Update the properties of a deviceAndAppManagementRoleDefinition object. + * Update the properties of a roleDefinition object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of RoleDefinition - * @see {@link https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-update?view=graph-rest-1.0|Find more info here} */ public patch(body: RoleDefinition, requestConfiguration?: RoleDefinitionItemRequestBuilderPatchRequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -118,7 +118,7 @@ export class RoleDefinitionItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createRoleDefinitionFromDiscriminatorValue, errorMapping); }; /** - * Deletes a deviceAndAppManagementRoleDefinition. + * Deletes a roleDefinition. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -135,7 +135,7 @@ export class RoleDefinitionItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Read properties and relationships of the deviceAndAppManagementRoleDefinition object. + * Read properties and relationships of the roleDefinition object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -153,7 +153,7 @@ export class RoleDefinitionItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Update the properties of a deviceAndAppManagementRoleDefinition object. + * Update the properties of a roleDefinition object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/deviceManagement/roleDefinitions/roleDefinitionsRequestBuilder.ts b/src/deviceManagement/roleDefinitions/roleDefinitionsRequestBuilder.ts index 332a74f934d..25de152894a 100644 --- a/src/deviceManagement/roleDefinitions/roleDefinitionsRequestBuilder.ts +++ b/src/deviceManagement/roleDefinitions/roleDefinitionsRequestBuilder.ts @@ -114,11 +114,11 @@ export class RoleDefinitionsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createRoleDefinitionCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Create a new roleDefinition object. + * Create a new deviceAndAppManagementRoleDefinition object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of RoleDefinition - * @see {@link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-create?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-create?view=graph-rest-1.0|Find more info here} */ public post(body: RoleDefinition, requestConfiguration?: RoleDefinitionsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -149,7 +149,7 @@ export class RoleDefinitionsRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Create a new roleDefinition object. + * Create a new deviceAndAppManagementRoleDefinition object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/deviceManagement/userExperienceAnalyticsDevicePerformance/summarizeDevicePerformanceDevicesWithSummarizeBy/summarizeDevicePerformanceDevicesWithSummarizeByGetResponse.ts b/src/deviceManagement/userExperienceAnalyticsDevicePerformance/summarizeDevicePerformanceDevicesWithSummarizeBy/summarizeDevicePerformanceDevicesWithSummarizeByGetResponse.ts index f5a009c6c81..9ba116f0684 100644 --- a/src/deviceManagement/userExperienceAnalyticsDevicePerformance/summarizeDevicePerformanceDevicesWithSummarizeBy/summarizeDevicePerformanceDevicesWithSummarizeByGetResponse.ts +++ b/src/deviceManagement/userExperienceAnalyticsDevicePerformance/summarizeDevicePerformanceDevicesWithSummarizeBy/summarizeDevicePerformanceDevicesWithSummarizeByGetResponse.ts @@ -17,7 +17,7 @@ export function deserializeIntoSummarizeDevicePerformanceDevicesWithSummarizeByG } export function serializeSummarizeDevicePerformanceDevicesWithSummarizeByGetResponse(writer: SerializationWriter, summarizeDevicePerformanceDevicesWithSummarizeByGetResponse: SummarizeDevicePerformanceDevicesWithSummarizeByGetResponse | undefined = {} as SummarizeDevicePerformanceDevicesWithSummarizeByGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, summarizeDevicePerformanceDevicesWithSummarizeByGetResponse) - writer.writeCollectionOfObjectValues("value", summarizeDevicePerformanceDevicesWithSummarizeByGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", summarizeDevicePerformanceDevicesWithSummarizeByGetResponse.value, serializeUserExperienceAnalyticsDevicePerformance); } export interface SummarizeDevicePerformanceDevicesWithSummarizeByGetResponse extends BaseCollectionPaginationCountResponse, Parsable { /** diff --git a/src/devices/delta/deltaGetResponse.ts b/src/devices/delta/deltaGetResponse.ts index bc8d21569f6..8d8208e3e10 100644 --- a/src/devices/delta/deltaGetResponse.ts +++ b/src/devices/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeDevice); } // tslint:enable // eslint-enable diff --git a/src/devices/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts b/src/devices/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts index 22ee56f61fb..60953e2ee7f 100644 --- a/src/devices/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts +++ b/src/devices/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts @@ -23,7 +23,7 @@ export interface GetAvailableExtensionPropertiesPostResponse extends BaseCollect } export function serializeGetAvailableExtensionPropertiesPostResponse(writer: SerializationWriter, getAvailableExtensionPropertiesPostResponse: GetAvailableExtensionPropertiesPostResponse | undefined = {} as GetAvailableExtensionPropertiesPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getAvailableExtensionPropertiesPostResponse) - writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, serializeExtensionProperty); } // tslint:enable // eslint-enable diff --git a/src/devices/getByIds/getByIdsPostResponse.ts b/src/devices/getByIds/getByIdsPostResponse.ts index 2a3501e0206..c61951ae370 100644 --- a/src/devices/getByIds/getByIdsPostResponse.ts +++ b/src/devices/getByIds/getByIdsPostResponse.ts @@ -23,7 +23,7 @@ export interface GetByIdsPostResponse extends BaseCollectionPaginationCountRespo } export function serializeGetByIdsPostResponse(writer: SerializationWriter, getByIdsPostResponse: GetByIdsPostResponse | undefined = {} as GetByIdsPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getByIdsPostResponse) - writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, serializeDirectoryObject); } // tslint:enable // eslint-enable diff --git a/src/directory/administrativeUnits/delta/deltaGetResponse.ts b/src/directory/administrativeUnits/delta/deltaGetResponse.ts index 7f3b5faeec3..7e47b35503d 100644 --- a/src/directory/administrativeUnits/delta/deltaGetResponse.ts +++ b/src/directory/administrativeUnits/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeAdministrativeUnit); } // tslint:enable // eslint-enable diff --git a/src/directory/deletedItems/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts b/src/directory/deletedItems/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts index 02534e0694e..32780a798fe 100644 --- a/src/directory/deletedItems/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts +++ b/src/directory/deletedItems/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts @@ -23,7 +23,7 @@ export interface GetAvailableExtensionPropertiesPostResponse extends BaseCollect } export function serializeGetAvailableExtensionPropertiesPostResponse(writer: SerializationWriter, getAvailableExtensionPropertiesPostResponse: GetAvailableExtensionPropertiesPostResponse | undefined = {} as GetAvailableExtensionPropertiesPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getAvailableExtensionPropertiesPostResponse) - writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, serializeExtensionProperty); } // tslint:enable // eslint-enable diff --git a/src/directory/deletedItems/getByIds/getByIdsPostResponse.ts b/src/directory/deletedItems/getByIds/getByIdsPostResponse.ts index 5d642736992..e68b47caa89 100644 --- a/src/directory/deletedItems/getByIds/getByIdsPostResponse.ts +++ b/src/directory/deletedItems/getByIds/getByIdsPostResponse.ts @@ -23,7 +23,7 @@ export interface GetByIdsPostResponse extends BaseCollectionPaginationCountRespo } export function serializeGetByIdsPostResponse(writer: SerializationWriter, getByIdsPostResponse: GetByIdsPostResponse | undefined = {} as GetByIdsPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getByIdsPostResponse) - writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, serializeDirectoryObject); } // tslint:enable // eslint-enable diff --git a/src/me/photos/count/countRequestBuilder.ts b/src/directory/deviceLocalCredentials/count/countRequestBuilder.ts similarity index 94% rename from src/me/photos/count/countRequestBuilder.ts rename to src/directory/deviceLocalCredentials/count/countRequestBuilder.ts index 904c7066ae0..518612fe766 100644 --- a/src/me/photos/count/countRequestBuilder.ts +++ b/src/directory/deviceLocalCredentials/count/countRequestBuilder.ts @@ -10,6 +10,10 @@ export interface CountRequestBuilderGetQueryParameters { * Filter items by property values */ filter?: string; + /** + * Search items by search phrases + */ + search?: string; } export interface CountRequestBuilderGetRequestConfiguration { /** @@ -35,7 +39,7 @@ export class CountRequestBuilder extends BaseRequestBuilder { * @param requestAdapter The request adapter to use to execute the requests. */ public constructor(pathParameters: Record | string | undefined, requestAdapter: RequestAdapter) { - super(pathParameters, requestAdapter, "{+baseurl}/me/photos/$count{?%24filter}"); + super(pathParameters, requestAdapter, "{+baseurl}/directory/deviceLocalCredentials/$count{?%24search,%24filter}"); }; /** * Get the number of the resource diff --git a/src/groups/item/photos/count/index.ts b/src/directory/deviceLocalCredentials/count/index.ts similarity index 100% rename from src/groups/item/photos/count/index.ts rename to src/directory/deviceLocalCredentials/count/index.ts diff --git a/src/directory/deviceLocalCredentials/deviceLocalCredentialsRequestBuilder.ts b/src/directory/deviceLocalCredentials/deviceLocalCredentialsRequestBuilder.ts new file mode 100644 index 00000000000..1f039c9dbb5 --- /dev/null +++ b/src/directory/deviceLocalCredentials/deviceLocalCredentialsRequestBuilder.ts @@ -0,0 +1,173 @@ +// tslint:disable +// eslint-disable +// Generated by Microsoft Kiota +import { type DeviceLocalCredentialInfoCollectionResponse } from '../../models/'; +import { createDeviceLocalCredentialInfoFromDiscriminatorValue, deserializeIntoDeviceLocalCredentialInfo, serializeDeviceLocalCredentialInfo, type DeviceLocalCredentialInfo } from '../../models/deviceLocalCredentialInfo'; +import { createDeviceLocalCredentialInfoCollectionResponseFromDiscriminatorValue } from '../../models/deviceLocalCredentialInfoCollectionResponse'; +import { type ODataError } from '../../models/oDataErrors/'; +import { createODataErrorFromDiscriminatorValue, deserializeIntoODataError, serializeODataError } from '../../models/oDataErrors/oDataError'; +import { CountRequestBuilder } from './count/countRequestBuilder'; +import { DeviceLocalCredentialInfoItemRequestBuilder } from './item/deviceLocalCredentialInfoItemRequestBuilder'; +import { BaseRequestBuilder, getPathParameters, HttpMethod, RequestInformation, type Parsable, type ParsableFactory, type RequestAdapter, type RequestOption } from '@microsoft/kiota-abstractions'; + +export interface DeviceLocalCredentialsRequestBuilderGetQueryParameters { + /** + * Include count of items + */ + count?: boolean; + /** + * Filter items by property values + */ + filter?: string; + /** + * Order items by property values + */ + orderby?: string[]; + /** + * Search items by search phrases + */ + search?: string; + /** + * Select properties to be returned + */ + select?: string[]; + /** + * Show only the first n items + */ + top?: number; +} +export interface DeviceLocalCredentialsRequestBuilderGetRequestConfiguration { + /** + * Request headers + */ + headers?: Record; + /** + * Request options + */ + options?: RequestOption[]; + /** + * Request query parameters + */ + queryParameters?: DeviceLocalCredentialsRequestBuilderGetQueryParameters; +} +export interface DeviceLocalCredentialsRequestBuilderPostRequestConfiguration { + /** + * Request headers + */ + headers?: Record; + /** + * Request options + */ + options?: RequestOption[]; +} +/** + * Provides operations to manage the deviceLocalCredentials property of the microsoft.graph.directory entity. + */ +export class DeviceLocalCredentialsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + */ + public get count(): CountRequestBuilder { + return new CountRequestBuilder(this.pathParameters, this.requestAdapter); + } + /** + * Provides operations to manage the deviceLocalCredentials property of the microsoft.graph.directory entity. + * @param deviceLocalCredentialInfoId The unique identifier of deviceLocalCredentialInfo + * @returns a DeviceLocalCredentialInfoItemRequestBuilder + */ + public byDeviceLocalCredentialInfoId(deviceLocalCredentialInfoId: string) : DeviceLocalCredentialInfoItemRequestBuilder { + if(!deviceLocalCredentialInfoId) throw new Error("deviceLocalCredentialInfoId cannot be undefined"); + const urlTplParams = getPathParameters(this.pathParameters); + urlTplParams["deviceLocalCredentialInfo%2Did"] = deviceLocalCredentialInfoId + return new DeviceLocalCredentialInfoItemRequestBuilder(urlTplParams, this.requestAdapter); + }; + /** + * Instantiates a new DeviceLocalCredentialsRequestBuilder and sets the default values. + * @param pathParameters The raw url or the Url template parameters for the request. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public constructor(pathParameters: Record | string | undefined, requestAdapter: RequestAdapter) { + super(pathParameters, requestAdapter, "{+baseurl}/directory/deviceLocalCredentials{?%24top,%24search,%24filter,%24count,%24orderby,%24select}"); + }; + /** + * Get a list of the deviceLocalCredentialInfo objects and their properties, excluding the credentials property. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a Promise of DeviceLocalCredentialInfoCollectionResponse + * @see {@link https://learn.microsoft.com/graph/api/directory-list-devicelocalcredentials?view=graph-rest-1.0|Find more info here} + */ + public get(requestConfiguration?: DeviceLocalCredentialsRequestBuilderGetRequestConfiguration | undefined) : Promise { + const requestInfo = this.toGetRequestInformation( + requestConfiguration + ); + const errorMapping = { + "4XX": createODataErrorFromDiscriminatorValue, + "5XX": createODataErrorFromDiscriminatorValue, + } as Record>; + return this.requestAdapter.sendAsync(requestInfo, createDeviceLocalCredentialInfoCollectionResponseFromDiscriminatorValue, errorMapping); + }; + /** + * Create new navigation property to deviceLocalCredentials for directory + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a Promise of DeviceLocalCredentialInfo + */ + public post(body: DeviceLocalCredentialInfo, requestConfiguration?: DeviceLocalCredentialsRequestBuilderPostRequestConfiguration | undefined) : Promise { + const requestInfo = this.toPostRequestInformation( + body, requestConfiguration + ); + const errorMapping = { + "4XX": createODataErrorFromDiscriminatorValue, + "5XX": createODataErrorFromDiscriminatorValue, + } as Record>; + return this.requestAdapter.sendAsync(requestInfo, createDeviceLocalCredentialInfoFromDiscriminatorValue, errorMapping); + }; + /** + * Get a list of the deviceLocalCredentialInfo objects and their properties, excluding the credentials property. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a RequestInformation + */ + public toGetRequestInformation(requestConfiguration?: DeviceLocalCredentialsRequestBuilderGetRequestConfiguration | undefined) : RequestInformation { + const requestInfo = new RequestInformation(); + if (requestConfiguration) { + requestInfo.addRequestHeaders(requestConfiguration.headers); + requestInfo.setQueryStringParametersFromRawObject(requestConfiguration.queryParameters); + requestInfo.addRequestOptions(requestConfiguration.options); + } + requestInfo.urlTemplate = this.urlTemplate; + requestInfo.pathParameters = this.pathParameters; + requestInfo.httpMethod = HttpMethod.GET; + requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + return requestInfo; + }; + /** + * Create new navigation property to deviceLocalCredentials for directory + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a RequestInformation + */ + public toPostRequestInformation(body: DeviceLocalCredentialInfo, requestConfiguration?: DeviceLocalCredentialsRequestBuilderPostRequestConfiguration | undefined) : RequestInformation { + if(!body) throw new Error("body cannot be undefined"); + const requestInfo = new RequestInformation(); + if (requestConfiguration) { + requestInfo.addRequestHeaders(requestConfiguration.headers); + requestInfo.addRequestOptions(requestConfiguration.options); + } + requestInfo.urlTemplate = this.urlTemplate; + requestInfo.pathParameters = this.pathParameters; + requestInfo.httpMethod = HttpMethod.POST; + requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceLocalCredentialInfo); + return requestInfo; + }; + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @returns a deviceLocalCredentialsRequestBuilder + */ + public withUrl(rawUrl: string) : DeviceLocalCredentialsRequestBuilder { + if(!rawUrl) throw new Error("rawUrl cannot be undefined"); + return new DeviceLocalCredentialsRequestBuilder(rawUrl, this.requestAdapter); + }; +} +// tslint:enable +// eslint-enable diff --git a/src/directory/deviceLocalCredentials/index.ts b/src/directory/deviceLocalCredentials/index.ts new file mode 100644 index 00000000000..830f68dc220 --- /dev/null +++ b/src/directory/deviceLocalCredentials/index.ts @@ -0,0 +1 @@ +export * from './deviceLocalCredentialsRequestBuilder' diff --git a/src/directory/deviceLocalCredentials/item/deviceLocalCredentialInfoItemRequestBuilder.ts b/src/directory/deviceLocalCredentials/item/deviceLocalCredentialInfoItemRequestBuilder.ts new file mode 100644 index 00000000000..74b78134a57 --- /dev/null +++ b/src/directory/deviceLocalCredentials/item/deviceLocalCredentialInfoItemRequestBuilder.ts @@ -0,0 +1,173 @@ +// tslint:disable +// eslint-disable +// Generated by Microsoft Kiota +import { createDeviceLocalCredentialInfoFromDiscriminatorValue, deserializeIntoDeviceLocalCredentialInfo, serializeDeviceLocalCredentialInfo, type DeviceLocalCredentialInfo } from '../../../models/deviceLocalCredentialInfo'; +import { type ODataError } from '../../../models/oDataErrors/'; +import { createODataErrorFromDiscriminatorValue, deserializeIntoODataError, serializeODataError } from '../../../models/oDataErrors/oDataError'; +import { BaseRequestBuilder, HttpMethod, RequestInformation, type Parsable, type ParsableFactory, type RequestAdapter, type RequestOption } from '@microsoft/kiota-abstractions'; + +export interface DeviceLocalCredentialInfoItemRequestBuilderDeleteRequestConfiguration { + /** + * Request headers + */ + headers?: Record; + /** + * Request options + */ + options?: RequestOption[]; +} +export interface DeviceLocalCredentialInfoItemRequestBuilderGetQueryParameters { + /** + * Select properties to be returned + */ + select?: string[]; +} +export interface DeviceLocalCredentialInfoItemRequestBuilderGetRequestConfiguration { + /** + * Request headers + */ + headers?: Record; + /** + * Request options + */ + options?: RequestOption[]; + /** + * Request query parameters + */ + queryParameters?: DeviceLocalCredentialInfoItemRequestBuilderGetQueryParameters; +} +export interface DeviceLocalCredentialInfoItemRequestBuilderPatchRequestConfiguration { + /** + * Request headers + */ + headers?: Record; + /** + * Request options + */ + options?: RequestOption[]; +} +/** + * Provides operations to manage the deviceLocalCredentials property of the microsoft.graph.directory entity. + */ +export class DeviceLocalCredentialInfoItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new DeviceLocalCredentialInfoItemRequestBuilder and sets the default values. + * @param pathParameters The raw url or the Url template parameters for the request. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public constructor(pathParameters: Record | string | undefined, requestAdapter: RequestAdapter) { + super(pathParameters, requestAdapter, "{+baseurl}/directory/deviceLocalCredentials/{deviceLocalCredentialInfo%2Did}{?%24select}"); + }; + /** + * Delete navigation property deviceLocalCredentials for directory + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + */ + public delete(requestConfiguration?: DeviceLocalCredentialInfoItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { + const requestInfo = this.toDeleteRequestInformation( + requestConfiguration + ); + const errorMapping = { + "4XX": createODataErrorFromDiscriminatorValue, + "5XX": createODataErrorFromDiscriminatorValue, + } as Record>; + return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); + }; + /** + * Retrieve the properties of a deviceLocalCredentialInfo for a specified device object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a Promise of DeviceLocalCredentialInfo + * @see {@link https://learn.microsoft.com/graph/api/devicelocalcredentialinfo-get?view=graph-rest-1.0|Find more info here} + */ + public get(requestConfiguration?: DeviceLocalCredentialInfoItemRequestBuilderGetRequestConfiguration | undefined) : Promise { + const requestInfo = this.toGetRequestInformation( + requestConfiguration + ); + const errorMapping = { + "4XX": createODataErrorFromDiscriminatorValue, + "5XX": createODataErrorFromDiscriminatorValue, + } as Record>; + return this.requestAdapter.sendAsync(requestInfo, createDeviceLocalCredentialInfoFromDiscriminatorValue, errorMapping); + }; + /** + * Update the navigation property deviceLocalCredentials in directory + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a Promise of DeviceLocalCredentialInfo + */ + public patch(body: DeviceLocalCredentialInfo, requestConfiguration?: DeviceLocalCredentialInfoItemRequestBuilderPatchRequestConfiguration | undefined) : Promise { + const requestInfo = this.toPatchRequestInformation( + body, requestConfiguration + ); + const errorMapping = { + "4XX": createODataErrorFromDiscriminatorValue, + "5XX": createODataErrorFromDiscriminatorValue, + } as Record>; + return this.requestAdapter.sendAsync(requestInfo, createDeviceLocalCredentialInfoFromDiscriminatorValue, errorMapping); + }; + /** + * Delete navigation property deviceLocalCredentials for directory + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a RequestInformation + */ + public toDeleteRequestInformation(requestConfiguration?: DeviceLocalCredentialInfoItemRequestBuilderDeleteRequestConfiguration | undefined) : RequestInformation { + const requestInfo = new RequestInformation(); + if (requestConfiguration) { + requestInfo.addRequestHeaders(requestConfiguration.headers); + requestInfo.addRequestOptions(requestConfiguration.options); + } + requestInfo.urlTemplate = this.urlTemplate; + requestInfo.pathParameters = this.pathParameters; + requestInfo.httpMethod = HttpMethod.DELETE; + requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + return requestInfo; + }; + /** + * Retrieve the properties of a deviceLocalCredentialInfo for a specified device object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a RequestInformation + */ + public toGetRequestInformation(requestConfiguration?: DeviceLocalCredentialInfoItemRequestBuilderGetRequestConfiguration | undefined) : RequestInformation { + const requestInfo = new RequestInformation(); + if (requestConfiguration) { + requestInfo.addRequestHeaders(requestConfiguration.headers); + requestInfo.setQueryStringParametersFromRawObject(requestConfiguration.queryParameters); + requestInfo.addRequestOptions(requestConfiguration.options); + } + requestInfo.urlTemplate = this.urlTemplate; + requestInfo.pathParameters = this.pathParameters; + requestInfo.httpMethod = HttpMethod.GET; + requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + return requestInfo; + }; + /** + * Update the navigation property deviceLocalCredentials in directory + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a RequestInformation + */ + public toPatchRequestInformation(body: DeviceLocalCredentialInfo, requestConfiguration?: DeviceLocalCredentialInfoItemRequestBuilderPatchRequestConfiguration | undefined) : RequestInformation { + if(!body) throw new Error("body cannot be undefined"); + const requestInfo = new RequestInformation(); + if (requestConfiguration) { + requestInfo.addRequestHeaders(requestConfiguration.headers); + requestInfo.addRequestOptions(requestConfiguration.options); + } + requestInfo.urlTemplate = this.urlTemplate; + requestInfo.pathParameters = this.pathParameters; + requestInfo.httpMethod = HttpMethod.PATCH; + requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeDeviceLocalCredentialInfo); + return requestInfo; + }; + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @returns a DeviceLocalCredentialInfoItemRequestBuilder + */ + public withUrl(rawUrl: string) : DeviceLocalCredentialInfoItemRequestBuilder { + if(!rawUrl) throw new Error("rawUrl cannot be undefined"); + return new DeviceLocalCredentialInfoItemRequestBuilder(rawUrl, this.requestAdapter); + }; +} +// tslint:enable +// eslint-enable diff --git a/src/directory/deviceLocalCredentials/item/index.ts b/src/directory/deviceLocalCredentials/item/index.ts new file mode 100644 index 00000000000..ecf5c136a02 --- /dev/null +++ b/src/directory/deviceLocalCredentials/item/index.ts @@ -0,0 +1 @@ +export * from './deviceLocalCredentialInfoItemRequestBuilder' diff --git a/src/directory/directoryRequestBuilder.ts b/src/directory/directoryRequestBuilder.ts index 4f2a2eba6bd..c903567a7f3 100644 --- a/src/directory/directoryRequestBuilder.ts +++ b/src/directory/directoryRequestBuilder.ts @@ -8,6 +8,7 @@ import { AdministrativeUnitsRequestBuilder } from './administrativeUnits/adminis import { AttributeSetsRequestBuilder } from './attributeSets/attributeSetsRequestBuilder'; import { CustomSecurityAttributeDefinitionsRequestBuilder } from './customSecurityAttributeDefinitions/customSecurityAttributeDefinitionsRequestBuilder'; import { DeletedItemsRequestBuilder } from './deletedItems/deletedItemsRequestBuilder'; +import { DeviceLocalCredentialsRequestBuilder } from './deviceLocalCredentials/deviceLocalCredentialsRequestBuilder'; import { FederationConfigurationsRequestBuilder } from './federationConfigurations/federationConfigurationsRequestBuilder'; import { OnPremisesSynchronizationRequestBuilder } from './onPremisesSynchronization/onPremisesSynchronizationRequestBuilder'; import { BaseRequestBuilder, HttpMethod, RequestInformation, type Parsable, type ParsableFactory, type RequestAdapter, type RequestOption } from '@microsoft/kiota-abstractions'; @@ -74,6 +75,12 @@ export class DirectoryRequestBuilder extends BaseRequestBuilder { public get deletedItems(): DeletedItemsRequestBuilder { return new DeletedItemsRequestBuilder(this.pathParameters, this.requestAdapter); } + /** + * Provides operations to manage the deviceLocalCredentials property of the microsoft.graph.directory entity. + */ + public get deviceLocalCredentials(): DeviceLocalCredentialsRequestBuilder { + return new DeviceLocalCredentialsRequestBuilder(this.pathParameters, this.requestAdapter); + } /** * Provides operations to manage the federationConfigurations property of the microsoft.graph.directory entity. */ diff --git a/src/directoryObjects/delta/deltaGetResponse.ts b/src/directoryObjects/delta/deltaGetResponse.ts index ec86fa67901..499ce8a37ad 100644 --- a/src/directoryObjects/delta/deltaGetResponse.ts +++ b/src/directoryObjects/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeDirectoryObject); } // tslint:enable // eslint-enable diff --git a/src/directoryObjects/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts b/src/directoryObjects/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts index 22ee56f61fb..60953e2ee7f 100644 --- a/src/directoryObjects/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts +++ b/src/directoryObjects/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts @@ -23,7 +23,7 @@ export interface GetAvailableExtensionPropertiesPostResponse extends BaseCollect } export function serializeGetAvailableExtensionPropertiesPostResponse(writer: SerializationWriter, getAvailableExtensionPropertiesPostResponse: GetAvailableExtensionPropertiesPostResponse | undefined = {} as GetAvailableExtensionPropertiesPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getAvailableExtensionPropertiesPostResponse) - writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, serializeExtensionProperty); } // tslint:enable // eslint-enable diff --git a/src/directoryObjects/getByIds/getByIdsPostResponse.ts b/src/directoryObjects/getByIds/getByIdsPostResponse.ts index 2a3501e0206..c61951ae370 100644 --- a/src/directoryObjects/getByIds/getByIdsPostResponse.ts +++ b/src/directoryObjects/getByIds/getByIdsPostResponse.ts @@ -23,7 +23,7 @@ export interface GetByIdsPostResponse extends BaseCollectionPaginationCountRespo } export function serializeGetByIdsPostResponse(writer: SerializationWriter, getByIdsPostResponse: GetByIdsPostResponse | undefined = {} as GetByIdsPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getByIdsPostResponse) - writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, serializeDirectoryObject); } // tslint:enable // eslint-enable diff --git a/src/directoryRoleTemplates/delta/deltaGetResponse.ts b/src/directoryRoleTemplates/delta/deltaGetResponse.ts index ec86fa67901..499ce8a37ad 100644 --- a/src/directoryRoleTemplates/delta/deltaGetResponse.ts +++ b/src/directoryRoleTemplates/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeDirectoryObject); } // tslint:enable // eslint-enable diff --git a/src/directoryRoleTemplates/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts b/src/directoryRoleTemplates/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts index 22ee56f61fb..60953e2ee7f 100644 --- a/src/directoryRoleTemplates/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts +++ b/src/directoryRoleTemplates/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts @@ -23,7 +23,7 @@ export interface GetAvailableExtensionPropertiesPostResponse extends BaseCollect } export function serializeGetAvailableExtensionPropertiesPostResponse(writer: SerializationWriter, getAvailableExtensionPropertiesPostResponse: GetAvailableExtensionPropertiesPostResponse | undefined = {} as GetAvailableExtensionPropertiesPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getAvailableExtensionPropertiesPostResponse) - writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, serializeExtensionProperty); } // tslint:enable // eslint-enable diff --git a/src/directoryRoleTemplates/getByIds/getByIdsPostResponse.ts b/src/directoryRoleTemplates/getByIds/getByIdsPostResponse.ts index 2a3501e0206..c61951ae370 100644 --- a/src/directoryRoleTemplates/getByIds/getByIdsPostResponse.ts +++ b/src/directoryRoleTemplates/getByIds/getByIdsPostResponse.ts @@ -23,7 +23,7 @@ export interface GetByIdsPostResponse extends BaseCollectionPaginationCountRespo } export function serializeGetByIdsPostResponse(writer: SerializationWriter, getByIdsPostResponse: GetByIdsPostResponse | undefined = {} as GetByIdsPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getByIdsPostResponse) - writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, serializeDirectoryObject); } // tslint:enable // eslint-enable diff --git a/src/directoryRoles/delta/deltaGetResponse.ts b/src/directoryRoles/delta/deltaGetResponse.ts index 591b1a91ef3..ac7610ab7ca 100644 --- a/src/directoryRoles/delta/deltaGetResponse.ts +++ b/src/directoryRoles/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeDirectoryRole); } // tslint:enable // eslint-enable diff --git a/src/directoryRoles/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts b/src/directoryRoles/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts index 22ee56f61fb..60953e2ee7f 100644 --- a/src/directoryRoles/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts +++ b/src/directoryRoles/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts @@ -23,7 +23,7 @@ export interface GetAvailableExtensionPropertiesPostResponse extends BaseCollect } export function serializeGetAvailableExtensionPropertiesPostResponse(writer: SerializationWriter, getAvailableExtensionPropertiesPostResponse: GetAvailableExtensionPropertiesPostResponse | undefined = {} as GetAvailableExtensionPropertiesPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getAvailableExtensionPropertiesPostResponse) - writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, serializeExtensionProperty); } // tslint:enable // eslint-enable diff --git a/src/directoryRoles/getByIds/getByIdsPostResponse.ts b/src/directoryRoles/getByIds/getByIdsPostResponse.ts index 2a3501e0206..c61951ae370 100644 --- a/src/directoryRoles/getByIds/getByIdsPostResponse.ts +++ b/src/directoryRoles/getByIds/getByIdsPostResponse.ts @@ -23,7 +23,7 @@ export interface GetByIdsPostResponse extends BaseCollectionPaginationCountRespo } export function serializeGetByIdsPostResponse(writer: SerializationWriter, getByIdsPostResponse: GetByIdsPostResponse | undefined = {} as GetByIdsPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getByIdsPostResponse) - writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, serializeDirectoryObject); } // tslint:enable // eslint-enable diff --git a/src/domains/item/federationConfiguration/federationConfigurationRequestBuilder.ts b/src/domains/item/federationConfiguration/federationConfigurationRequestBuilder.ts index 7b2931f1659..c5b6f507205 100644 --- a/src/domains/item/federationConfiguration/federationConfigurationRequestBuilder.ts +++ b/src/domains/item/federationConfiguration/federationConfigurationRequestBuilder.ts @@ -98,9 +98,10 @@ export class FederationConfigurationRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/domains/{domain%2Did}/federationConfiguration{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Read the properties and relationships of an internalDomainFederation object. This API is available in the following national cloud deployments. + * Read the properties of the internalDomainFederation objects for the domain. This API returns only one object in the collection. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of InternalDomainFederationCollectionResponse + * @see {@link https://learn.microsoft.com/graph/api/domain-list-federationconfiguration?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: FederationConfigurationRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -130,7 +131,7 @@ export class FederationConfigurationRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createInternalDomainFederationFromDiscriminatorValue, errorMapping); }; /** - * Read the properties and relationships of an internalDomainFederation object. This API is available in the following national cloud deployments. + * Read the properties of the internalDomainFederation objects for the domain. This API returns only one object in the collection. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/drives/item/items/item/copy/copyPostRequestBody.ts b/src/drives/item/items/item/copy/copyPostRequestBody.ts index f87c6b388bf..54c0f9becfe 100644 --- a/src/drives/item/items/item/copy/copyPostRequestBody.ts +++ b/src/drives/item/items/item/copy/copyPostRequestBody.ts @@ -30,7 +30,7 @@ export function deserializeIntoCopyPostRequestBody(copyPostRequestBody: CopyPost } export function serializeCopyPostRequestBody(writer: SerializationWriter, copyPostRequestBody: CopyPostRequestBody | undefined = {} as CopyPostRequestBody) : void { writer.writeStringValue("name", copyPostRequestBody.name); - writer.writeObjectValue("parentReference", copyPostRequestBody.parentReference, ); + writer.writeObjectValue("parentReference", copyPostRequestBody.parentReference, serializeItemReference); writer.writeAdditionalData(copyPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/createUploadSession/createUploadSessionPostRequestBody.ts b/src/drives/item/items/item/createUploadSession/createUploadSessionPostRequestBody.ts index e939ea3d7b0..6fa07299476 100644 --- a/src/drives/item/items/item/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/drives/item/items/item/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("item", createUploadSessionPostRequestBody.item, ); + writer.writeObjectValue("item", createUploadSessionPostRequestBody.item, serializeDriveItemUploadableProperties); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/delta/deltaGetResponse.ts b/src/drives/item/items/item/delta/deltaGetResponse.ts index 4653cae0546..2872550e0b8 100644 --- a/src/drives/item/items/item/delta/deltaGetResponse.ts +++ b/src/drives/item/items/item/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeDriveItem); } // tslint:enable // eslint-enable diff --git a/src/drives/item/items/item/deltaWithToken/deltaWithTokenGetResponse.ts b/src/drives/item/items/item/deltaWithToken/deltaWithTokenGetResponse.ts index fd5a82a5f08..cc3b6ff172d 100644 --- a/src/drives/item/items/item/deltaWithToken/deltaWithTokenGetResponse.ts +++ b/src/drives/item/items/item/deltaWithToken/deltaWithTokenGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaWithTokenGetResponse(deltaWithTokenGetRespon } export function serializeDeltaWithTokenGetResponse(writer: SerializationWriter, deltaWithTokenGetResponse: DeltaWithTokenGetResponse | undefined = {} as DeltaWithTokenGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaWithTokenGetResponse) - writer.writeCollectionOfObjectValues("value", deltaWithTokenGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaWithTokenGetResponse.value, serializeDriveItem); } // tslint:enable // eslint-enable diff --git a/src/drives/item/items/item/driveItemItemRequestBuilder.ts b/src/drives/item/items/item/driveItemItemRequestBuilder.ts index 8203673e3f7..2535d68593e 100644 --- a/src/drives/item/items/item/driveItemItemRequestBuilder.ts +++ b/src/drives/item/items/item/driveItemItemRequestBuilder.ts @@ -307,11 +307,11 @@ export class DriveItemItemRequestBuilder extends BaseRequestBuilder { return new GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder(this.pathParameters, this.requestAdapter, endDateTime, interval, startDateTime); }; /** - * Update the metadata for a driveItem by ID or path. You can also use update to move an item to another parent by updating the item's parentReference property. This API is available in the following national cloud deployments. + * To move a DriveItem to a new parent item, your app requests to update the parentReference of the DriveItem to move. This is a special case of the Update method.Your app can combine moving an item to a new container and updating other properties of the item into a single request. Items cannot be moved between Drives using this request. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DriveItem - * @see {@link https://learn.microsoft.com/graph/api/driveitem-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/driveitem-move?view=graph-rest-1.0|Find more info here} */ public patch(body: DriveItem, requestConfiguration?: DriveItemItemRequestBuilderPatchRequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -368,7 +368,7 @@ export class DriveItemItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Update the metadata for a driveItem by ID or path. You can also use update to move an item to another parent by updating the item's parentReference property. This API is available in the following national cloud deployments. + * To move a DriveItem to a new parent item, your app requests to update the parentReference of the DriveItem to move. This is a special case of the Update method.Your app can combine moving an item to a new container and updating other properties of the item into a single request. Items cannot be moved between Drives using this request. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/drives/item/items/item/getActivitiesByInterval/getActivitiesByIntervalGetResponse.ts b/src/drives/item/items/item/getActivitiesByInterval/getActivitiesByIntervalGetResponse.ts index ba0c7ad0b27..7d1a17014e2 100644 --- a/src/drives/item/items/item/getActivitiesByInterval/getActivitiesByIntervalGetResponse.ts +++ b/src/drives/item/items/item/getActivitiesByInterval/getActivitiesByIntervalGetResponse.ts @@ -23,7 +23,7 @@ export interface GetActivitiesByIntervalGetResponse extends BaseCollectionPagina } export function serializeGetActivitiesByIntervalGetResponse(writer: SerializationWriter, getActivitiesByIntervalGetResponse: GetActivitiesByIntervalGetResponse | undefined = {} as GetActivitiesByIntervalGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getActivitiesByIntervalGetResponse) - writer.writeCollectionOfObjectValues("value", getActivitiesByIntervalGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getActivitiesByIntervalGetResponse.value, serializeItemActivityStat); } // tslint:enable // eslint-enable diff --git a/src/drives/item/items/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.ts b/src/drives/item/items/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.ts index 01ba5b733d0..24bc7773f13 100644 --- a/src/drives/item/items/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.ts +++ b/src/drives/item/items/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.ts @@ -23,7 +23,7 @@ export interface GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInte } export function serializeGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse(writer: SerializationWriter, getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse: GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse | undefined = {} as GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse) - writer.writeCollectionOfObjectValues("value", getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.value, serializeItemActivityStat); } // tslint:enable // eslint-enable diff --git a/src/drives/item/items/item/invite/invitePostRequestBody.ts b/src/drives/item/items/item/invite/invitePostRequestBody.ts index 1f19e35bde0..04922c05edd 100644 --- a/src/drives/item/items/item/invite/invitePostRequestBody.ts +++ b/src/drives/item/items/item/invite/invitePostRequestBody.ts @@ -62,7 +62,7 @@ export function serializeInvitePostRequestBody(writer: SerializationWriter, invi writer.writeStringValue("expirationDateTime", invitePostRequestBody.expirationDateTime); writer.writeStringValue("message", invitePostRequestBody.message); writer.writeStringValue("password", invitePostRequestBody.password); - writer.writeCollectionOfObjectValues("recipients", invitePostRequestBody.recipients, ); + writer.writeCollectionOfObjectValues("recipients", invitePostRequestBody.recipients, serializeDriveRecipient); writer.writeBooleanValue("requireSignIn", invitePostRequestBody.requireSignIn); writer.writeBooleanValue("retainInheritedPermissions", invitePostRequestBody.retainInheritedPermissions); writer.writeCollectionOfPrimitiveValues("roles", invitePostRequestBody.roles); diff --git a/src/drives/item/items/item/invite/invitePostResponse.ts b/src/drives/item/items/item/invite/invitePostResponse.ts index 01b6462e42a..c7e72cebba0 100644 --- a/src/drives/item/items/item/invite/invitePostResponse.ts +++ b/src/drives/item/items/item/invite/invitePostResponse.ts @@ -23,7 +23,7 @@ export interface InvitePostResponse extends BaseCollectionPaginationCountRespons } export function serializeInvitePostResponse(writer: SerializationWriter, invitePostResponse: InvitePostResponse | undefined = {} as InvitePostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, invitePostResponse) - writer.writeCollectionOfObjectValues("value", invitePostResponse.value, ); + writer.writeCollectionOfObjectValues("value", invitePostResponse.value, serializePermission); } // tslint:enable // eslint-enable diff --git a/src/drives/item/items/item/permissions/item/grant/grantPostRequestBody.ts b/src/drives/item/items/item/permissions/item/grant/grantPostRequestBody.ts index 294e5820bc9..a3cf499ea54 100644 --- a/src/drives/item/items/item/permissions/item/grant/grantPostRequestBody.ts +++ b/src/drives/item/items/item/permissions/item/grant/grantPostRequestBody.ts @@ -29,7 +29,7 @@ export interface GrantPostRequestBody extends AdditionalDataHolder, Parsable { roles?: string[]; } export function serializeGrantPostRequestBody(writer: SerializationWriter, grantPostRequestBody: GrantPostRequestBody | undefined = {} as GrantPostRequestBody) : void { - writer.writeCollectionOfObjectValues("recipients", grantPostRequestBody.recipients, ); + writer.writeCollectionOfObjectValues("recipients", grantPostRequestBody.recipients, serializeDriveRecipient); writer.writeCollectionOfPrimitiveValues("roles", grantPostRequestBody.roles); writer.writeAdditionalData(grantPostRequestBody.additionalData); } diff --git a/src/drives/item/items/item/permissions/item/grant/grantPostResponse.ts b/src/drives/item/items/item/permissions/item/grant/grantPostResponse.ts index fecbe0ca127..11a7b671f75 100644 --- a/src/drives/item/items/item/permissions/item/grant/grantPostResponse.ts +++ b/src/drives/item/items/item/permissions/item/grant/grantPostResponse.ts @@ -23,7 +23,7 @@ export interface GrantPostResponse extends BaseCollectionPaginationCountResponse } export function serializeGrantPostResponse(writer: SerializationWriter, grantPostResponse: GrantPostResponse | undefined = {} as GrantPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, grantPostResponse) - writer.writeCollectionOfObjectValues("value", grantPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", grantPostResponse.value, serializePermission); } // tslint:enable // eslint-enable diff --git a/src/drives/item/items/item/restore/restorePostRequestBody.ts b/src/drives/item/items/item/restore/restorePostRequestBody.ts index c15d4ca632f..3d401966f38 100644 --- a/src/drives/item/items/item/restore/restorePostRequestBody.ts +++ b/src/drives/item/items/item/restore/restorePostRequestBody.ts @@ -30,7 +30,7 @@ export interface RestorePostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeRestorePostRequestBody(writer: SerializationWriter, restorePostRequestBody: RestorePostRequestBody | undefined = {} as RestorePostRequestBody) : void { writer.writeStringValue("name", restorePostRequestBody.name); - writer.writeObjectValue("parentReference", restorePostRequestBody.parentReference, ); + writer.writeObjectValue("parentReference", restorePostRequestBody.parentReference, serializeItemReference); writer.writeAdditionalData(restorePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/searchWithQ/searchWithQGetResponse.ts b/src/drives/item/items/item/searchWithQ/searchWithQGetResponse.ts index b5f116fc20d..376e9a12b85 100644 --- a/src/drives/item/items/item/searchWithQ/searchWithQGetResponse.ts +++ b/src/drives/item/items/item/searchWithQ/searchWithQGetResponse.ts @@ -23,7 +23,7 @@ export interface SearchWithQGetResponse extends BaseCollectionPaginationCountRes } export function serializeSearchWithQGetResponse(writer: SerializationWriter, searchWithQGetResponse: SearchWithQGetResponse | undefined = {} as SearchWithQGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, searchWithQGetResponse) - writer.writeCollectionOfObjectValues("value", searchWithQGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", searchWithQGetResponse.value, serializeDriveItem); } // tslint:enable // eslint-enable diff --git a/src/drives/item/items/item/workbook/functions/abs/absPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/abs/absPostRequestBody.ts index 7adb17fe322..649a4c15157 100644 --- a/src/drives/item/items/item/workbook/functions/abs/absPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/abs/absPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAbsPostRequestBody(absPostRequestBody: AbsPostReq } } export function serializeAbsPostRequestBody(writer: SerializationWriter, absPostRequestBody: AbsPostRequestBody | undefined = {} as AbsPostRequestBody) : void { - writer.writeObjectValue("number", absPostRequestBody.number, ); + writer.writeObjectValue("number", absPostRequestBody.number, serializeJson); writer.writeAdditionalData(absPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/accrInt/accrIntPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/accrInt/accrIntPostRequestBody.ts index 285f687ad23..9b4b1bf9933 100644 --- a/src/drives/item/items/item/workbook/functions/accrInt/accrIntPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/accrInt/accrIntPostRequestBody.ts @@ -59,14 +59,14 @@ export function deserializeIntoAccrIntPostRequestBody(accrIntPostRequestBody: Ac } } export function serializeAccrIntPostRequestBody(writer: SerializationWriter, accrIntPostRequestBody: AccrIntPostRequestBody | undefined = {} as AccrIntPostRequestBody) : void { - writer.writeObjectValue("basis", accrIntPostRequestBody.basis, ); - writer.writeObjectValue("calcMethod", accrIntPostRequestBody.calcMethod, ); - writer.writeObjectValue("firstInterest", accrIntPostRequestBody.firstInterest, ); - writer.writeObjectValue("frequency", accrIntPostRequestBody.frequency, ); - writer.writeObjectValue("issue", accrIntPostRequestBody.issue, ); - writer.writeObjectValue("par", accrIntPostRequestBody.par, ); - writer.writeObjectValue("rate", accrIntPostRequestBody.rate, ); - writer.writeObjectValue("settlement", accrIntPostRequestBody.settlement, ); + writer.writeObjectValue("basis", accrIntPostRequestBody.basis, serializeJson); + writer.writeObjectValue("calcMethod", accrIntPostRequestBody.calcMethod, serializeJson); + writer.writeObjectValue("firstInterest", accrIntPostRequestBody.firstInterest, serializeJson); + writer.writeObjectValue("frequency", accrIntPostRequestBody.frequency, serializeJson); + writer.writeObjectValue("issue", accrIntPostRequestBody.issue, serializeJson); + writer.writeObjectValue("par", accrIntPostRequestBody.par, serializeJson); + writer.writeObjectValue("rate", accrIntPostRequestBody.rate, serializeJson); + writer.writeObjectValue("settlement", accrIntPostRequestBody.settlement, serializeJson); writer.writeAdditionalData(accrIntPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/accrIntM/accrIntMPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/accrIntM/accrIntMPostRequestBody.ts index d1d133775f4..55b7080d618 100644 --- a/src/drives/item/items/item/workbook/functions/accrIntM/accrIntMPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/accrIntM/accrIntMPostRequestBody.ts @@ -44,11 +44,11 @@ export function deserializeIntoAccrIntMPostRequestBody(accrIntMPostRequestBody: } } export function serializeAccrIntMPostRequestBody(writer: SerializationWriter, accrIntMPostRequestBody: AccrIntMPostRequestBody | undefined = {} as AccrIntMPostRequestBody) : void { - writer.writeObjectValue("basis", accrIntMPostRequestBody.basis, ); - writer.writeObjectValue("issue", accrIntMPostRequestBody.issue, ); - writer.writeObjectValue("par", accrIntMPostRequestBody.par, ); - writer.writeObjectValue("rate", accrIntMPostRequestBody.rate, ); - writer.writeObjectValue("settlement", accrIntMPostRequestBody.settlement, ); + writer.writeObjectValue("basis", accrIntMPostRequestBody.basis, serializeJson); + writer.writeObjectValue("issue", accrIntMPostRequestBody.issue, serializeJson); + writer.writeObjectValue("par", accrIntMPostRequestBody.par, serializeJson); + writer.writeObjectValue("rate", accrIntMPostRequestBody.rate, serializeJson); + writer.writeObjectValue("settlement", accrIntMPostRequestBody.settlement, serializeJson); writer.writeAdditionalData(accrIntMPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/acos/acosPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/acos/acosPostRequestBody.ts index dfb34154692..ec7368f46a8 100644 --- a/src/drives/item/items/item/workbook/functions/acos/acosPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/acos/acosPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAcosPostRequestBody(acosPostRequestBody: AcosPost } } export function serializeAcosPostRequestBody(writer: SerializationWriter, acosPostRequestBody: AcosPostRequestBody | undefined = {} as AcosPostRequestBody) : void { - writer.writeObjectValue("number", acosPostRequestBody.number, ); + writer.writeObjectValue("number", acosPostRequestBody.number, serializeJson); writer.writeAdditionalData(acosPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/acosh/acoshPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/acosh/acoshPostRequestBody.ts index 3ddfa590878..801715f70c8 100644 --- a/src/drives/item/items/item/workbook/functions/acosh/acoshPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/acosh/acoshPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAcoshPostRequestBody(acoshPostRequestBody: AcoshP } } export function serializeAcoshPostRequestBody(writer: SerializationWriter, acoshPostRequestBody: AcoshPostRequestBody | undefined = {} as AcoshPostRequestBody) : void { - writer.writeObjectValue("number", acoshPostRequestBody.number, ); + writer.writeObjectValue("number", acoshPostRequestBody.number, serializeJson); writer.writeAdditionalData(acoshPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/acot/acotPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/acot/acotPostRequestBody.ts index ece34ba599a..c3ed7998ebd 100644 --- a/src/drives/item/items/item/workbook/functions/acot/acotPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/acot/acotPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAcotPostRequestBody(acotPostRequestBody: AcotPost } } export function serializeAcotPostRequestBody(writer: SerializationWriter, acotPostRequestBody: AcotPostRequestBody | undefined = {} as AcotPostRequestBody) : void { - writer.writeObjectValue("number", acotPostRequestBody.number, ); + writer.writeObjectValue("number", acotPostRequestBody.number, serializeJson); writer.writeAdditionalData(acotPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/acoth/acothPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/acoth/acothPostRequestBody.ts index 00c88aa3ebf..a4b2ae9b6e7 100644 --- a/src/drives/item/items/item/workbook/functions/acoth/acothPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/acoth/acothPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAcothPostRequestBody(acothPostRequestBody: AcothP } } export function serializeAcothPostRequestBody(writer: SerializationWriter, acothPostRequestBody: AcothPostRequestBody | undefined = {} as AcothPostRequestBody) : void { - writer.writeObjectValue("number", acothPostRequestBody.number, ); + writer.writeObjectValue("number", acothPostRequestBody.number, serializeJson); writer.writeAdditionalData(acothPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/amorDegrc/amorDegrcPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/amorDegrc/amorDegrcPostRequestBody.ts index 499e0625256..cf521cde717 100644 --- a/src/drives/item/items/item/workbook/functions/amorDegrc/amorDegrcPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/amorDegrc/amorDegrcPostRequestBody.ts @@ -54,13 +54,13 @@ export function deserializeIntoAmorDegrcPostRequestBody(amorDegrcPostRequestBody } } export function serializeAmorDegrcPostRequestBody(writer: SerializationWriter, amorDegrcPostRequestBody: AmorDegrcPostRequestBody | undefined = {} as AmorDegrcPostRequestBody) : void { - writer.writeObjectValue("basis", amorDegrcPostRequestBody.basis, ); - writer.writeObjectValue("cost", amorDegrcPostRequestBody.cost, ); - writer.writeObjectValue("datePurchased", amorDegrcPostRequestBody.datePurchased, ); - writer.writeObjectValue("firstPeriod", amorDegrcPostRequestBody.firstPeriod, ); - writer.writeObjectValue("period", amorDegrcPostRequestBody.period, ); - writer.writeObjectValue("rate", amorDegrcPostRequestBody.rate, ); - writer.writeObjectValue("salvage", amorDegrcPostRequestBody.salvage, ); + writer.writeObjectValue("basis", amorDegrcPostRequestBody.basis, serializeJson); + writer.writeObjectValue("cost", amorDegrcPostRequestBody.cost, serializeJson); + writer.writeObjectValue("datePurchased", amorDegrcPostRequestBody.datePurchased, serializeJson); + writer.writeObjectValue("firstPeriod", amorDegrcPostRequestBody.firstPeriod, serializeJson); + writer.writeObjectValue("period", amorDegrcPostRequestBody.period, serializeJson); + writer.writeObjectValue("rate", amorDegrcPostRequestBody.rate, serializeJson); + writer.writeObjectValue("salvage", amorDegrcPostRequestBody.salvage, serializeJson); writer.writeAdditionalData(amorDegrcPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/amorLinc/amorLincPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/amorLinc/amorLincPostRequestBody.ts index 629fdb5fa11..8daba764b8c 100644 --- a/src/drives/item/items/item/workbook/functions/amorLinc/amorLincPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/amorLinc/amorLincPostRequestBody.ts @@ -54,13 +54,13 @@ export function deserializeIntoAmorLincPostRequestBody(amorLincPostRequestBody: } } export function serializeAmorLincPostRequestBody(writer: SerializationWriter, amorLincPostRequestBody: AmorLincPostRequestBody | undefined = {} as AmorLincPostRequestBody) : void { - writer.writeObjectValue("basis", amorLincPostRequestBody.basis, ); - writer.writeObjectValue("cost", amorLincPostRequestBody.cost, ); - writer.writeObjectValue("datePurchased", amorLincPostRequestBody.datePurchased, ); - writer.writeObjectValue("firstPeriod", amorLincPostRequestBody.firstPeriod, ); - writer.writeObjectValue("period", amorLincPostRequestBody.period, ); - writer.writeObjectValue("rate", amorLincPostRequestBody.rate, ); - writer.writeObjectValue("salvage", amorLincPostRequestBody.salvage, ); + writer.writeObjectValue("basis", amorLincPostRequestBody.basis, serializeJson); + writer.writeObjectValue("cost", amorLincPostRequestBody.cost, serializeJson); + writer.writeObjectValue("datePurchased", amorLincPostRequestBody.datePurchased, serializeJson); + writer.writeObjectValue("firstPeriod", amorLincPostRequestBody.firstPeriod, serializeJson); + writer.writeObjectValue("period", amorLincPostRequestBody.period, serializeJson); + writer.writeObjectValue("rate", amorLincPostRequestBody.rate, serializeJson); + writer.writeObjectValue("salvage", amorLincPostRequestBody.salvage, serializeJson); writer.writeAdditionalData(amorLincPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/and/andPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/and/andPostRequestBody.ts index de1a6767bed..01a26ca8552 100644 --- a/src/drives/item/items/item/workbook/functions/and/andPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/and/andPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAndPostRequestBody(andPostRequestBody: AndPostReq } } export function serializeAndPostRequestBody(writer: SerializationWriter, andPostRequestBody: AndPostRequestBody | undefined = {} as AndPostRequestBody) : void { - writer.writeObjectValue("values", andPostRequestBody.values, ); + writer.writeObjectValue("values", andPostRequestBody.values, serializeJson); writer.writeAdditionalData(andPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/arabic/arabicPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/arabic/arabicPostRequestBody.ts index 94a0bc6da71..c0b4413d350 100644 --- a/src/drives/item/items/item/workbook/functions/arabic/arabicPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/arabic/arabicPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoArabicPostRequestBody(arabicPostRequestBody: Arab } } export function serializeArabicPostRequestBody(writer: SerializationWriter, arabicPostRequestBody: ArabicPostRequestBody | undefined = {} as ArabicPostRequestBody) : void { - writer.writeObjectValue("text", arabicPostRequestBody.text, ); + writer.writeObjectValue("text", arabicPostRequestBody.text, serializeJson); writer.writeAdditionalData(arabicPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/areas/areasPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/areas/areasPostRequestBody.ts index 37bd3920802..452e6c62725 100644 --- a/src/drives/item/items/item/workbook/functions/areas/areasPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/areas/areasPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAreasPostRequestBody(areasPostRequestBody: AreasP } } export function serializeAreasPostRequestBody(writer: SerializationWriter, areasPostRequestBody: AreasPostRequestBody | undefined = {} as AreasPostRequestBody) : void { - writer.writeObjectValue("reference", areasPostRequestBody.reference, ); + writer.writeObjectValue("reference", areasPostRequestBody.reference, serializeJson); writer.writeAdditionalData(areasPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/asc/ascPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/asc/ascPostRequestBody.ts index 881a7e3470a..48d0dd1991b 100644 --- a/src/drives/item/items/item/workbook/functions/asc/ascPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/asc/ascPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAscPostRequestBody(ascPostRequestBody: AscPostReq } } export function serializeAscPostRequestBody(writer: SerializationWriter, ascPostRequestBody: AscPostRequestBody | undefined = {} as AscPostRequestBody) : void { - writer.writeObjectValue("text", ascPostRequestBody.text, ); + writer.writeObjectValue("text", ascPostRequestBody.text, serializeJson); writer.writeAdditionalData(ascPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/asin/asinPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/asin/asinPostRequestBody.ts index a89d689acc1..613220f223f 100644 --- a/src/drives/item/items/item/workbook/functions/asin/asinPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/asin/asinPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAsinPostRequestBody(asinPostRequestBody: AsinPost } } export function serializeAsinPostRequestBody(writer: SerializationWriter, asinPostRequestBody: AsinPostRequestBody | undefined = {} as AsinPostRequestBody) : void { - writer.writeObjectValue("number", asinPostRequestBody.number, ); + writer.writeObjectValue("number", asinPostRequestBody.number, serializeJson); writer.writeAdditionalData(asinPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/asinh/asinhPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/asinh/asinhPostRequestBody.ts index e72a5f0b46d..ae8495422f0 100644 --- a/src/drives/item/items/item/workbook/functions/asinh/asinhPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/asinh/asinhPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAsinhPostRequestBody(asinhPostRequestBody: AsinhP } } export function serializeAsinhPostRequestBody(writer: SerializationWriter, asinhPostRequestBody: AsinhPostRequestBody | undefined = {} as AsinhPostRequestBody) : void { - writer.writeObjectValue("number", asinhPostRequestBody.number, ); + writer.writeObjectValue("number", asinhPostRequestBody.number, serializeJson); writer.writeAdditionalData(asinhPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/atan/atanPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/atan/atanPostRequestBody.ts index b2a496428bd..10acc49a753 100644 --- a/src/drives/item/items/item/workbook/functions/atan/atanPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/atan/atanPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAtanPostRequestBody(atanPostRequestBody: AtanPost } } export function serializeAtanPostRequestBody(writer: SerializationWriter, atanPostRequestBody: AtanPostRequestBody | undefined = {} as AtanPostRequestBody) : void { - writer.writeObjectValue("number", atanPostRequestBody.number, ); + writer.writeObjectValue("number", atanPostRequestBody.number, serializeJson); writer.writeAdditionalData(atanPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/atan2/atan2PostRequestBody.ts b/src/drives/item/items/item/workbook/functions/atan2/atan2PostRequestBody.ts index d05f854c49c..02a6a7fd8cd 100644 --- a/src/drives/item/items/item/workbook/functions/atan2/atan2PostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/atan2/atan2PostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoAtan2PostRequestBody(atan2PostRequestBody: Atan2P } } export function serializeAtan2PostRequestBody(writer: SerializationWriter, atan2PostRequestBody: Atan2PostRequestBody | undefined = {} as Atan2PostRequestBody) : void { - writer.writeObjectValue("xNum", atan2PostRequestBody.xNum, ); - writer.writeObjectValue("yNum", atan2PostRequestBody.yNum, ); + writer.writeObjectValue("xNum", atan2PostRequestBody.xNum, serializeJson); + writer.writeObjectValue("yNum", atan2PostRequestBody.yNum, serializeJson); writer.writeAdditionalData(atan2PostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/atanh/atanhPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/atanh/atanhPostRequestBody.ts index 2e0b1699fd8..e5ef0c53fe9 100644 --- a/src/drives/item/items/item/workbook/functions/atanh/atanhPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/atanh/atanhPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAtanhPostRequestBody(atanhPostRequestBody: AtanhP } } export function serializeAtanhPostRequestBody(writer: SerializationWriter, atanhPostRequestBody: AtanhPostRequestBody | undefined = {} as AtanhPostRequestBody) : void { - writer.writeObjectValue("number", atanhPostRequestBody.number, ); + writer.writeObjectValue("number", atanhPostRequestBody.number, serializeJson); writer.writeAdditionalData(atanhPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/aveDev/aveDevPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/aveDev/aveDevPostRequestBody.ts index 7fd9be3d87d..457153f2009 100644 --- a/src/drives/item/items/item/workbook/functions/aveDev/aveDevPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/aveDev/aveDevPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAveDevPostRequestBody(aveDevPostRequestBody: AveD } } export function serializeAveDevPostRequestBody(writer: SerializationWriter, aveDevPostRequestBody: AveDevPostRequestBody | undefined = {} as AveDevPostRequestBody) : void { - writer.writeObjectValue("values", aveDevPostRequestBody.values, ); + writer.writeObjectValue("values", aveDevPostRequestBody.values, serializeJson); writer.writeAdditionalData(aveDevPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/average/averagePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/average/averagePostRequestBody.ts index c2a4aa8d1b4..13171de5ad7 100644 --- a/src/drives/item/items/item/workbook/functions/average/averagePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/average/averagePostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAveragePostRequestBody(averagePostRequestBody: Av } } export function serializeAveragePostRequestBody(writer: SerializationWriter, averagePostRequestBody: AveragePostRequestBody | undefined = {} as AveragePostRequestBody) : void { - writer.writeObjectValue("values", averagePostRequestBody.values, ); + writer.writeObjectValue("values", averagePostRequestBody.values, serializeJson); writer.writeAdditionalData(averagePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/averageA/averageAPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/averageA/averageAPostRequestBody.ts index 469bb6725db..993131a14c6 100644 --- a/src/drives/item/items/item/workbook/functions/averageA/averageAPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/averageA/averageAPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAverageAPostRequestBody(averageAPostRequestBody: } } export function serializeAverageAPostRequestBody(writer: SerializationWriter, averageAPostRequestBody: AverageAPostRequestBody | undefined = {} as AverageAPostRequestBody) : void { - writer.writeObjectValue("values", averageAPostRequestBody.values, ); + writer.writeObjectValue("values", averageAPostRequestBody.values, serializeJson); writer.writeAdditionalData(averageAPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/averageIf/averageIfPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/averageIf/averageIfPostRequestBody.ts index 3b16b49e3ad..aaa117534fb 100644 --- a/src/drives/item/items/item/workbook/functions/averageIf/averageIfPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/averageIf/averageIfPostRequestBody.ts @@ -34,9 +34,9 @@ export function deserializeIntoAverageIfPostRequestBody(averageIfPostRequestBody } } export function serializeAverageIfPostRequestBody(writer: SerializationWriter, averageIfPostRequestBody: AverageIfPostRequestBody | undefined = {} as AverageIfPostRequestBody) : void { - writer.writeObjectValue("averageRange", averageIfPostRequestBody.averageRange, ); - writer.writeObjectValue("criteria", averageIfPostRequestBody.criteria, ); - writer.writeObjectValue("range", averageIfPostRequestBody.range, ); + writer.writeObjectValue("averageRange", averageIfPostRequestBody.averageRange, serializeJson); + writer.writeObjectValue("criteria", averageIfPostRequestBody.criteria, serializeJson); + writer.writeObjectValue("range", averageIfPostRequestBody.range, serializeJson); writer.writeAdditionalData(averageIfPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/averageIfs/averageIfsPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/averageIfs/averageIfsPostRequestBody.ts index 6f089958711..c08ce4620f2 100644 --- a/src/drives/item/items/item/workbook/functions/averageIfs/averageIfsPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/averageIfs/averageIfsPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoAverageIfsPostRequestBody(averageIfsPostRequestBo } } export function serializeAverageIfsPostRequestBody(writer: SerializationWriter, averageIfsPostRequestBody: AverageIfsPostRequestBody | undefined = {} as AverageIfsPostRequestBody) : void { - writer.writeObjectValue("averageRange", averageIfsPostRequestBody.averageRange, ); - writer.writeObjectValue("values", averageIfsPostRequestBody.values, ); + writer.writeObjectValue("averageRange", averageIfsPostRequestBody.averageRange, serializeJson); + writer.writeObjectValue("values", averageIfsPostRequestBody.values, serializeJson); writer.writeAdditionalData(averageIfsPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/bahtText/bahtTextPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/bahtText/bahtTextPostRequestBody.ts index 9ea9132ca7a..ce3fe48de7d 100644 --- a/src/drives/item/items/item/workbook/functions/bahtText/bahtTextPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/bahtText/bahtTextPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoBahtTextPostRequestBody(bahtTextPostRequestBody: } } export function serializeBahtTextPostRequestBody(writer: SerializationWriter, bahtTextPostRequestBody: BahtTextPostRequestBody | undefined = {} as BahtTextPostRequestBody) : void { - writer.writeObjectValue("number", bahtTextPostRequestBody.number, ); + writer.writeObjectValue("number", bahtTextPostRequestBody.number, serializeJson); writer.writeAdditionalData(bahtTextPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/base/basePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/base/basePostRequestBody.ts index 2a401a4b463..f913de7685c 100644 --- a/src/drives/item/items/item/workbook/functions/base/basePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/base/basePostRequestBody.ts @@ -34,9 +34,9 @@ export function deserializeIntoBasePostRequestBody(basePostRequestBody: BasePost } } export function serializeBasePostRequestBody(writer: SerializationWriter, basePostRequestBody: BasePostRequestBody | undefined = {} as BasePostRequestBody) : void { - writer.writeObjectValue("minLength", basePostRequestBody.minLength, ); - writer.writeObjectValue("number", basePostRequestBody.number, ); - writer.writeObjectValue("radix", basePostRequestBody.radix, ); + writer.writeObjectValue("minLength", basePostRequestBody.minLength, serializeJson); + writer.writeObjectValue("number", basePostRequestBody.number, serializeJson); + writer.writeObjectValue("radix", basePostRequestBody.radix, serializeJson); writer.writeAdditionalData(basePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/besselI/besselIPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/besselI/besselIPostRequestBody.ts index 6a2a8d89b31..0c8a2c3d061 100644 --- a/src/drives/item/items/item/workbook/functions/besselI/besselIPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/besselI/besselIPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoBesselIPostRequestBody(besselIPostRequestBody: Be } } export function serializeBesselIPostRequestBody(writer: SerializationWriter, besselIPostRequestBody: BesselIPostRequestBody | undefined = {} as BesselIPostRequestBody) : void { - writer.writeObjectValue("n", besselIPostRequestBody.n, ); - writer.writeObjectValue("x", besselIPostRequestBody.x, ); + writer.writeObjectValue("n", besselIPostRequestBody.n, serializeJson); + writer.writeObjectValue("x", besselIPostRequestBody.x, serializeJson); writer.writeAdditionalData(besselIPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/besselJ/besselJPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/besselJ/besselJPostRequestBody.ts index eb6f3506cc7..f6bd6286ea0 100644 --- a/src/drives/item/items/item/workbook/functions/besselJ/besselJPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/besselJ/besselJPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoBesselJPostRequestBody(besselJPostRequestBody: Be } } export function serializeBesselJPostRequestBody(writer: SerializationWriter, besselJPostRequestBody: BesselJPostRequestBody | undefined = {} as BesselJPostRequestBody) : void { - writer.writeObjectValue("n", besselJPostRequestBody.n, ); - writer.writeObjectValue("x", besselJPostRequestBody.x, ); + writer.writeObjectValue("n", besselJPostRequestBody.n, serializeJson); + writer.writeObjectValue("x", besselJPostRequestBody.x, serializeJson); writer.writeAdditionalData(besselJPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/besselK/besselKPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/besselK/besselKPostRequestBody.ts index e32e24c25c3..77cc8c13712 100644 --- a/src/drives/item/items/item/workbook/functions/besselK/besselKPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/besselK/besselKPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoBesselKPostRequestBody(besselKPostRequestBody: Be } } export function serializeBesselKPostRequestBody(writer: SerializationWriter, besselKPostRequestBody: BesselKPostRequestBody | undefined = {} as BesselKPostRequestBody) : void { - writer.writeObjectValue("n", besselKPostRequestBody.n, ); - writer.writeObjectValue("x", besselKPostRequestBody.x, ); + writer.writeObjectValue("n", besselKPostRequestBody.n, serializeJson); + writer.writeObjectValue("x", besselKPostRequestBody.x, serializeJson); writer.writeAdditionalData(besselKPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/besselY/besselYPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/besselY/besselYPostRequestBody.ts index 14985e2bf58..dfa437d8f50 100644 --- a/src/drives/item/items/item/workbook/functions/besselY/besselYPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/besselY/besselYPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoBesselYPostRequestBody(besselYPostRequestBody: Be } } export function serializeBesselYPostRequestBody(writer: SerializationWriter, besselYPostRequestBody: BesselYPostRequestBody | undefined = {} as BesselYPostRequestBody) : void { - writer.writeObjectValue("n", besselYPostRequestBody.n, ); - writer.writeObjectValue("x", besselYPostRequestBody.x, ); + writer.writeObjectValue("n", besselYPostRequestBody.n, serializeJson); + writer.writeObjectValue("x", besselYPostRequestBody.x, serializeJson); writer.writeAdditionalData(besselYPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/beta_Dist/beta_DistPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/beta_Dist/beta_DistPostRequestBody.ts index f69bc522e96..82abbe33fe1 100644 --- a/src/drives/item/items/item/workbook/functions/beta_Dist/beta_DistPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/beta_Dist/beta_DistPostRequestBody.ts @@ -49,12 +49,12 @@ export function deserializeIntoBeta_DistPostRequestBody(beta_DistPostRequestBody } } export function serializeBeta_DistPostRequestBody(writer: SerializationWriter, beta_DistPostRequestBody: Beta_DistPostRequestBody | undefined = {} as Beta_DistPostRequestBody) : void { - writer.writeObjectValue("A", beta_DistPostRequestBody.a, ); - writer.writeObjectValue("alpha", beta_DistPostRequestBody.alpha, ); - writer.writeObjectValue("B", beta_DistPostRequestBody.b, ); - writer.writeObjectValue("beta", beta_DistPostRequestBody.beta, ); - writer.writeObjectValue("cumulative", beta_DistPostRequestBody.cumulative, ); - writer.writeObjectValue("x", beta_DistPostRequestBody.x, ); + writer.writeObjectValue("A", beta_DistPostRequestBody.a, serializeJson); + writer.writeObjectValue("alpha", beta_DistPostRequestBody.alpha, serializeJson); + writer.writeObjectValue("B", beta_DistPostRequestBody.b, serializeJson); + writer.writeObjectValue("beta", beta_DistPostRequestBody.beta, serializeJson); + writer.writeObjectValue("cumulative", beta_DistPostRequestBody.cumulative, serializeJson); + writer.writeObjectValue("x", beta_DistPostRequestBody.x, serializeJson); writer.writeAdditionalData(beta_DistPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/beta_Inv/beta_InvPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/beta_Inv/beta_InvPostRequestBody.ts index 4b26b636c40..e0bf6d0693e 100644 --- a/src/drives/item/items/item/workbook/functions/beta_Inv/beta_InvPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/beta_Inv/beta_InvPostRequestBody.ts @@ -44,11 +44,11 @@ export function deserializeIntoBeta_InvPostRequestBody(beta_InvPostRequestBody: } } export function serializeBeta_InvPostRequestBody(writer: SerializationWriter, beta_InvPostRequestBody: Beta_InvPostRequestBody | undefined = {} as Beta_InvPostRequestBody) : void { - writer.writeObjectValue("A", beta_InvPostRequestBody.a, ); - writer.writeObjectValue("alpha", beta_InvPostRequestBody.alpha, ); - writer.writeObjectValue("B", beta_InvPostRequestBody.b, ); - writer.writeObjectValue("beta", beta_InvPostRequestBody.beta, ); - writer.writeObjectValue("probability", beta_InvPostRequestBody.probability, ); + writer.writeObjectValue("A", beta_InvPostRequestBody.a, serializeJson); + writer.writeObjectValue("alpha", beta_InvPostRequestBody.alpha, serializeJson); + writer.writeObjectValue("B", beta_InvPostRequestBody.b, serializeJson); + writer.writeObjectValue("beta", beta_InvPostRequestBody.beta, serializeJson); + writer.writeObjectValue("probability", beta_InvPostRequestBody.probability, serializeJson); writer.writeAdditionalData(beta_InvPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/bin2Dec/bin2DecPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/bin2Dec/bin2DecPostRequestBody.ts index 2cf276dc774..42f4318bf53 100644 --- a/src/drives/item/items/item/workbook/functions/bin2Dec/bin2DecPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/bin2Dec/bin2DecPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoBin2DecPostRequestBody(bin2DecPostRequestBody: Bi } } export function serializeBin2DecPostRequestBody(writer: SerializationWriter, bin2DecPostRequestBody: Bin2DecPostRequestBody | undefined = {} as Bin2DecPostRequestBody) : void { - writer.writeObjectValue("number", bin2DecPostRequestBody.number, ); + writer.writeObjectValue("number", bin2DecPostRequestBody.number, serializeJson); writer.writeAdditionalData(bin2DecPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/bin2Hex/bin2HexPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/bin2Hex/bin2HexPostRequestBody.ts index bb840673f1a..51abebe005f 100644 --- a/src/drives/item/items/item/workbook/functions/bin2Hex/bin2HexPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/bin2Hex/bin2HexPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoBin2HexPostRequestBody(bin2HexPostRequestBody: Bi } } export function serializeBin2HexPostRequestBody(writer: SerializationWriter, bin2HexPostRequestBody: Bin2HexPostRequestBody | undefined = {} as Bin2HexPostRequestBody) : void { - writer.writeObjectValue("number", bin2HexPostRequestBody.number, ); - writer.writeObjectValue("places", bin2HexPostRequestBody.places, ); + writer.writeObjectValue("number", bin2HexPostRequestBody.number, serializeJson); + writer.writeObjectValue("places", bin2HexPostRequestBody.places, serializeJson); writer.writeAdditionalData(bin2HexPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/bin2Oct/bin2OctPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/bin2Oct/bin2OctPostRequestBody.ts index 5e532a36c37..f0ffbf53c4d 100644 --- a/src/drives/item/items/item/workbook/functions/bin2Oct/bin2OctPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/bin2Oct/bin2OctPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoBin2OctPostRequestBody(bin2OctPostRequestBody: Bi } } export function serializeBin2OctPostRequestBody(writer: SerializationWriter, bin2OctPostRequestBody: Bin2OctPostRequestBody | undefined = {} as Bin2OctPostRequestBody) : void { - writer.writeObjectValue("number", bin2OctPostRequestBody.number, ); - writer.writeObjectValue("places", bin2OctPostRequestBody.places, ); + writer.writeObjectValue("number", bin2OctPostRequestBody.number, serializeJson); + writer.writeObjectValue("places", bin2OctPostRequestBody.places, serializeJson); writer.writeAdditionalData(bin2OctPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/binom_Dist/binom_DistPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/binom_Dist/binom_DistPostRequestBody.ts index 4d74d6de66c..de627288958 100644 --- a/src/drives/item/items/item/workbook/functions/binom_Dist/binom_DistPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/binom_Dist/binom_DistPostRequestBody.ts @@ -39,10 +39,10 @@ export function deserializeIntoBinom_DistPostRequestBody(binom_DistPostRequestBo } } export function serializeBinom_DistPostRequestBody(writer: SerializationWriter, binom_DistPostRequestBody: Binom_DistPostRequestBody | undefined = {} as Binom_DistPostRequestBody) : void { - writer.writeObjectValue("cumulative", binom_DistPostRequestBody.cumulative, ); - writer.writeObjectValue("numberS", binom_DistPostRequestBody.numberS, ); - writer.writeObjectValue("probabilityS", binom_DistPostRequestBody.probabilityS, ); - writer.writeObjectValue("trials", binom_DistPostRequestBody.trials, ); + writer.writeObjectValue("cumulative", binom_DistPostRequestBody.cumulative, serializeJson); + writer.writeObjectValue("numberS", binom_DistPostRequestBody.numberS, serializeJson); + writer.writeObjectValue("probabilityS", binom_DistPostRequestBody.probabilityS, serializeJson); + writer.writeObjectValue("trials", binom_DistPostRequestBody.trials, serializeJson); writer.writeAdditionalData(binom_DistPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/binom_Dist_Range/binom_Dist_RangePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/binom_Dist_Range/binom_Dist_RangePostRequestBody.ts index ddb05159b40..d277689baba 100644 --- a/src/drives/item/items/item/workbook/functions/binom_Dist_Range/binom_Dist_RangePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/binom_Dist_Range/binom_Dist_RangePostRequestBody.ts @@ -39,10 +39,10 @@ export function deserializeIntoBinom_Dist_RangePostRequestBody(binom_Dist_RangeP } } export function serializeBinom_Dist_RangePostRequestBody(writer: SerializationWriter, binom_Dist_RangePostRequestBody: Binom_Dist_RangePostRequestBody | undefined = {} as Binom_Dist_RangePostRequestBody) : void { - writer.writeObjectValue("numberS", binom_Dist_RangePostRequestBody.numberS, ); - writer.writeObjectValue("numberS2", binom_Dist_RangePostRequestBody.numberS2, ); - writer.writeObjectValue("probabilityS", binom_Dist_RangePostRequestBody.probabilityS, ); - writer.writeObjectValue("trials", binom_Dist_RangePostRequestBody.trials, ); + writer.writeObjectValue("numberS", binom_Dist_RangePostRequestBody.numberS, serializeJson); + writer.writeObjectValue("numberS2", binom_Dist_RangePostRequestBody.numberS2, serializeJson); + writer.writeObjectValue("probabilityS", binom_Dist_RangePostRequestBody.probabilityS, serializeJson); + writer.writeObjectValue("trials", binom_Dist_RangePostRequestBody.trials, serializeJson); writer.writeAdditionalData(binom_Dist_RangePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/binom_Inv/binom_InvPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/binom_Inv/binom_InvPostRequestBody.ts index 607591a3987..2285247dc91 100644 --- a/src/drives/item/items/item/workbook/functions/binom_Inv/binom_InvPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/binom_Inv/binom_InvPostRequestBody.ts @@ -34,9 +34,9 @@ export function deserializeIntoBinom_InvPostRequestBody(binom_InvPostRequestBody } } export function serializeBinom_InvPostRequestBody(writer: SerializationWriter, binom_InvPostRequestBody: Binom_InvPostRequestBody | undefined = {} as Binom_InvPostRequestBody) : void { - writer.writeObjectValue("alpha", binom_InvPostRequestBody.alpha, ); - writer.writeObjectValue("probabilityS", binom_InvPostRequestBody.probabilityS, ); - writer.writeObjectValue("trials", binom_InvPostRequestBody.trials, ); + writer.writeObjectValue("alpha", binom_InvPostRequestBody.alpha, serializeJson); + writer.writeObjectValue("probabilityS", binom_InvPostRequestBody.probabilityS, serializeJson); + writer.writeObjectValue("trials", binom_InvPostRequestBody.trials, serializeJson); writer.writeAdditionalData(binom_InvPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/bitand/bitandPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/bitand/bitandPostRequestBody.ts index c5326e01c0e..f3d6aba82c5 100644 --- a/src/drives/item/items/item/workbook/functions/bitand/bitandPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/bitand/bitandPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoBitandPostRequestBody(bitandPostRequestBody: Bita } } export function serializeBitandPostRequestBody(writer: SerializationWriter, bitandPostRequestBody: BitandPostRequestBody | undefined = {} as BitandPostRequestBody) : void { - writer.writeObjectValue("number1", bitandPostRequestBody.number1, ); - writer.writeObjectValue("number2", bitandPostRequestBody.number2, ); + writer.writeObjectValue("number1", bitandPostRequestBody.number1, serializeJson); + writer.writeObjectValue("number2", bitandPostRequestBody.number2, serializeJson); writer.writeAdditionalData(bitandPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/bitlshift/bitlshiftPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/bitlshift/bitlshiftPostRequestBody.ts index 5ed523fb320..2a1a42d1e71 100644 --- a/src/drives/item/items/item/workbook/functions/bitlshift/bitlshiftPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/bitlshift/bitlshiftPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoBitlshiftPostRequestBody(bitlshiftPostRequestBody } } export function serializeBitlshiftPostRequestBody(writer: SerializationWriter, bitlshiftPostRequestBody: BitlshiftPostRequestBody | undefined = {} as BitlshiftPostRequestBody) : void { - writer.writeObjectValue("number", bitlshiftPostRequestBody.number, ); - writer.writeObjectValue("shiftAmount", bitlshiftPostRequestBody.shiftAmount, ); + writer.writeObjectValue("number", bitlshiftPostRequestBody.number, serializeJson); + writer.writeObjectValue("shiftAmount", bitlshiftPostRequestBody.shiftAmount, serializeJson); writer.writeAdditionalData(bitlshiftPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/bitor/bitorPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/bitor/bitorPostRequestBody.ts index e6761adedd5..d392429e4a8 100644 --- a/src/drives/item/items/item/workbook/functions/bitor/bitorPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/bitor/bitorPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoBitorPostRequestBody(bitorPostRequestBody: BitorP } } export function serializeBitorPostRequestBody(writer: SerializationWriter, bitorPostRequestBody: BitorPostRequestBody | undefined = {} as BitorPostRequestBody) : void { - writer.writeObjectValue("number1", bitorPostRequestBody.number1, ); - writer.writeObjectValue("number2", bitorPostRequestBody.number2, ); + writer.writeObjectValue("number1", bitorPostRequestBody.number1, serializeJson); + writer.writeObjectValue("number2", bitorPostRequestBody.number2, serializeJson); writer.writeAdditionalData(bitorPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/bitrshift/bitrshiftPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/bitrshift/bitrshiftPostRequestBody.ts index 3e0827562f5..c9a37bfb462 100644 --- a/src/drives/item/items/item/workbook/functions/bitrshift/bitrshiftPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/bitrshift/bitrshiftPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoBitrshiftPostRequestBody(bitrshiftPostRequestBody } } export function serializeBitrshiftPostRequestBody(writer: SerializationWriter, bitrshiftPostRequestBody: BitrshiftPostRequestBody | undefined = {} as BitrshiftPostRequestBody) : void { - writer.writeObjectValue("number", bitrshiftPostRequestBody.number, ); - writer.writeObjectValue("shiftAmount", bitrshiftPostRequestBody.shiftAmount, ); + writer.writeObjectValue("number", bitrshiftPostRequestBody.number, serializeJson); + writer.writeObjectValue("shiftAmount", bitrshiftPostRequestBody.shiftAmount, serializeJson); writer.writeAdditionalData(bitrshiftPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/bitxor/bitxorPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/bitxor/bitxorPostRequestBody.ts index c41faa5373f..7f5cfbdf818 100644 --- a/src/drives/item/items/item/workbook/functions/bitxor/bitxorPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/bitxor/bitxorPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoBitxorPostRequestBody(bitxorPostRequestBody: Bitx } } export function serializeBitxorPostRequestBody(writer: SerializationWriter, bitxorPostRequestBody: BitxorPostRequestBody | undefined = {} as BitxorPostRequestBody) : void { - writer.writeObjectValue("number1", bitxorPostRequestBody.number1, ); - writer.writeObjectValue("number2", bitxorPostRequestBody.number2, ); + writer.writeObjectValue("number1", bitxorPostRequestBody.number1, serializeJson); + writer.writeObjectValue("number2", bitxorPostRequestBody.number2, serializeJson); writer.writeAdditionalData(bitxorPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/ceiling_Math/ceiling_MathPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/ceiling_Math/ceiling_MathPostRequestBody.ts index 7df37f3a6c2..4b25a5a3756 100644 --- a/src/drives/item/items/item/workbook/functions/ceiling_Math/ceiling_MathPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/ceiling_Math/ceiling_MathPostRequestBody.ts @@ -34,9 +34,9 @@ export function deserializeIntoCeiling_MathPostRequestBody(ceiling_MathPostReque } } export function serializeCeiling_MathPostRequestBody(writer: SerializationWriter, ceiling_MathPostRequestBody: Ceiling_MathPostRequestBody | undefined = {} as Ceiling_MathPostRequestBody) : void { - writer.writeObjectValue("mode", ceiling_MathPostRequestBody.mode, ); - writer.writeObjectValue("number", ceiling_MathPostRequestBody.number, ); - writer.writeObjectValue("significance", ceiling_MathPostRequestBody.significance, ); + writer.writeObjectValue("mode", ceiling_MathPostRequestBody.mode, serializeJson); + writer.writeObjectValue("number", ceiling_MathPostRequestBody.number, serializeJson); + writer.writeObjectValue("significance", ceiling_MathPostRequestBody.significance, serializeJson); writer.writeAdditionalData(ceiling_MathPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/ceiling_Precise/ceiling_PrecisePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/ceiling_Precise/ceiling_PrecisePostRequestBody.ts index d65ad4785cd..de5af47b482 100644 --- a/src/drives/item/items/item/workbook/functions/ceiling_Precise/ceiling_PrecisePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/ceiling_Precise/ceiling_PrecisePostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoCeiling_PrecisePostRequestBody(ceiling_PrecisePos } } export function serializeCeiling_PrecisePostRequestBody(writer: SerializationWriter, ceiling_PrecisePostRequestBody: Ceiling_PrecisePostRequestBody | undefined = {} as Ceiling_PrecisePostRequestBody) : void { - writer.writeObjectValue("number", ceiling_PrecisePostRequestBody.number, ); - writer.writeObjectValue("significance", ceiling_PrecisePostRequestBody.significance, ); + writer.writeObjectValue("number", ceiling_PrecisePostRequestBody.number, serializeJson); + writer.writeObjectValue("significance", ceiling_PrecisePostRequestBody.significance, serializeJson); writer.writeAdditionalData(ceiling_PrecisePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/char/charPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/char/charPostRequestBody.ts index 0520a72f964..465c00badbe 100644 --- a/src/drives/item/items/item/workbook/functions/char/charPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/char/charPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCharPostRequestBody(charPostRequestBody: CharPost } } export function serializeCharPostRequestBody(writer: SerializationWriter, charPostRequestBody: CharPostRequestBody | undefined = {} as CharPostRequestBody) : void { - writer.writeObjectValue("number", charPostRequestBody.number, ); + writer.writeObjectValue("number", charPostRequestBody.number, serializeJson); writer.writeAdditionalData(charPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/chiSq_Dist/chiSq_DistPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/chiSq_Dist/chiSq_DistPostRequestBody.ts index ba319d2463a..dd11822b169 100644 --- a/src/drives/item/items/item/workbook/functions/chiSq_Dist/chiSq_DistPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/chiSq_Dist/chiSq_DistPostRequestBody.ts @@ -34,9 +34,9 @@ export function deserializeIntoChiSq_DistPostRequestBody(chiSq_DistPostRequestBo } } export function serializeChiSq_DistPostRequestBody(writer: SerializationWriter, chiSq_DistPostRequestBody: ChiSq_DistPostRequestBody | undefined = {} as ChiSq_DistPostRequestBody) : void { - writer.writeObjectValue("cumulative", chiSq_DistPostRequestBody.cumulative, ); - writer.writeObjectValue("degFreedom", chiSq_DistPostRequestBody.degFreedom, ); - writer.writeObjectValue("x", chiSq_DistPostRequestBody.x, ); + writer.writeObjectValue("cumulative", chiSq_DistPostRequestBody.cumulative, serializeJson); + writer.writeObjectValue("degFreedom", chiSq_DistPostRequestBody.degFreedom, serializeJson); + writer.writeObjectValue("x", chiSq_DistPostRequestBody.x, serializeJson); writer.writeAdditionalData(chiSq_DistPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/chiSq_Dist_RT/chiSq_Dist_RTPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/chiSq_Dist_RT/chiSq_Dist_RTPostRequestBody.ts index 542d6d05849..a536e9d80dc 100644 --- a/src/drives/item/items/item/workbook/functions/chiSq_Dist_RT/chiSq_Dist_RTPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/chiSq_Dist_RT/chiSq_Dist_RTPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoChiSq_Dist_RTPostRequestBody(chiSq_Dist_RTPostReq } } export function serializeChiSq_Dist_RTPostRequestBody(writer: SerializationWriter, chiSq_Dist_RTPostRequestBody: ChiSq_Dist_RTPostRequestBody | undefined = {} as ChiSq_Dist_RTPostRequestBody) : void { - writer.writeObjectValue("degFreedom", chiSq_Dist_RTPostRequestBody.degFreedom, ); - writer.writeObjectValue("x", chiSq_Dist_RTPostRequestBody.x, ); + writer.writeObjectValue("degFreedom", chiSq_Dist_RTPostRequestBody.degFreedom, serializeJson); + writer.writeObjectValue("x", chiSq_Dist_RTPostRequestBody.x, serializeJson); writer.writeAdditionalData(chiSq_Dist_RTPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/chiSq_Inv/chiSq_InvPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/chiSq_Inv/chiSq_InvPostRequestBody.ts index e705fb1016a..c067bc77d52 100644 --- a/src/drives/item/items/item/workbook/functions/chiSq_Inv/chiSq_InvPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/chiSq_Inv/chiSq_InvPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoChiSq_InvPostRequestBody(chiSq_InvPostRequestBody } } export function serializeChiSq_InvPostRequestBody(writer: SerializationWriter, chiSq_InvPostRequestBody: ChiSq_InvPostRequestBody | undefined = {} as ChiSq_InvPostRequestBody) : void { - writer.writeObjectValue("degFreedom", chiSq_InvPostRequestBody.degFreedom, ); - writer.writeObjectValue("probability", chiSq_InvPostRequestBody.probability, ); + writer.writeObjectValue("degFreedom", chiSq_InvPostRequestBody.degFreedom, serializeJson); + writer.writeObjectValue("probability", chiSq_InvPostRequestBody.probability, serializeJson); writer.writeAdditionalData(chiSq_InvPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/chiSq_Inv_RT/chiSq_Inv_RTPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/chiSq_Inv_RT/chiSq_Inv_RTPostRequestBody.ts index 36a937f352a..2244d5c9910 100644 --- a/src/drives/item/items/item/workbook/functions/chiSq_Inv_RT/chiSq_Inv_RTPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/chiSq_Inv_RT/chiSq_Inv_RTPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoChiSq_Inv_RTPostRequestBody(chiSq_Inv_RTPostReque } } export function serializeChiSq_Inv_RTPostRequestBody(writer: SerializationWriter, chiSq_Inv_RTPostRequestBody: ChiSq_Inv_RTPostRequestBody | undefined = {} as ChiSq_Inv_RTPostRequestBody) : void { - writer.writeObjectValue("degFreedom", chiSq_Inv_RTPostRequestBody.degFreedom, ); - writer.writeObjectValue("probability", chiSq_Inv_RTPostRequestBody.probability, ); + writer.writeObjectValue("degFreedom", chiSq_Inv_RTPostRequestBody.degFreedom, serializeJson); + writer.writeObjectValue("probability", chiSq_Inv_RTPostRequestBody.probability, serializeJson); writer.writeAdditionalData(chiSq_Inv_RTPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/choose/choosePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/choose/choosePostRequestBody.ts index efa3c093617..dd267ad0b3a 100644 --- a/src/drives/item/items/item/workbook/functions/choose/choosePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/choose/choosePostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoChoosePostRequestBody(choosePostRequestBody: Choo } } export function serializeChoosePostRequestBody(writer: SerializationWriter, choosePostRequestBody: ChoosePostRequestBody | undefined = {} as ChoosePostRequestBody) : void { - writer.writeObjectValue("indexNum", choosePostRequestBody.indexNum, ); - writer.writeObjectValue("values", choosePostRequestBody.values, ); + writer.writeObjectValue("indexNum", choosePostRequestBody.indexNum, serializeJson); + writer.writeObjectValue("values", choosePostRequestBody.values, serializeJson); writer.writeAdditionalData(choosePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/clean/cleanPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/clean/cleanPostRequestBody.ts index 80a38d44b01..2770b4710ca 100644 --- a/src/drives/item/items/item/workbook/functions/clean/cleanPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/clean/cleanPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCleanPostRequestBody(cleanPostRequestBody: CleanP } } export function serializeCleanPostRequestBody(writer: SerializationWriter, cleanPostRequestBody: CleanPostRequestBody | undefined = {} as CleanPostRequestBody) : void { - writer.writeObjectValue("text", cleanPostRequestBody.text, ); + writer.writeObjectValue("text", cleanPostRequestBody.text, serializeJson); writer.writeAdditionalData(cleanPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/code/codePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/code/codePostRequestBody.ts index 98d5bc184c6..b8eca91e11f 100644 --- a/src/drives/item/items/item/workbook/functions/code/codePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/code/codePostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCodePostRequestBody(codePostRequestBody: CodePost } } export function serializeCodePostRequestBody(writer: SerializationWriter, codePostRequestBody: CodePostRequestBody | undefined = {} as CodePostRequestBody) : void { - writer.writeObjectValue("text", codePostRequestBody.text, ); + writer.writeObjectValue("text", codePostRequestBody.text, serializeJson); writer.writeAdditionalData(codePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/columns/columnsPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/columns/columnsPostRequestBody.ts index c4503a750a4..bce48477376 100644 --- a/src/drives/item/items/item/workbook/functions/columns/columnsPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/columns/columnsPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoColumnsPostRequestBody(columnsPostRequestBody: Co } } export function serializeColumnsPostRequestBody(writer: SerializationWriter, columnsPostRequestBody: ColumnsPostRequestBody | undefined = {} as ColumnsPostRequestBody) : void { - writer.writeObjectValue("array", columnsPostRequestBody.array, ); + writer.writeObjectValue("array", columnsPostRequestBody.array, serializeJson); writer.writeAdditionalData(columnsPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/combin/combinPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/combin/combinPostRequestBody.ts index 5a274a99486..baa87ab471d 100644 --- a/src/drives/item/items/item/workbook/functions/combin/combinPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/combin/combinPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoCombinPostRequestBody(combinPostRequestBody: Comb } } export function serializeCombinPostRequestBody(writer: SerializationWriter, combinPostRequestBody: CombinPostRequestBody | undefined = {} as CombinPostRequestBody) : void { - writer.writeObjectValue("number", combinPostRequestBody.number, ); - writer.writeObjectValue("numberChosen", combinPostRequestBody.numberChosen, ); + writer.writeObjectValue("number", combinPostRequestBody.number, serializeJson); + writer.writeObjectValue("numberChosen", combinPostRequestBody.numberChosen, serializeJson); writer.writeAdditionalData(combinPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/combina/combinaPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/combina/combinaPostRequestBody.ts index 13aae6972b0..f70e2312f43 100644 --- a/src/drives/item/items/item/workbook/functions/combina/combinaPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/combina/combinaPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoCombinaPostRequestBody(combinaPostRequestBody: Co } } export function serializeCombinaPostRequestBody(writer: SerializationWriter, combinaPostRequestBody: CombinaPostRequestBody | undefined = {} as CombinaPostRequestBody) : void { - writer.writeObjectValue("number", combinaPostRequestBody.number, ); - writer.writeObjectValue("numberChosen", combinaPostRequestBody.numberChosen, ); + writer.writeObjectValue("number", combinaPostRequestBody.number, serializeJson); + writer.writeObjectValue("numberChosen", combinaPostRequestBody.numberChosen, serializeJson); writer.writeAdditionalData(combinaPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/complex/complexPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/complex/complexPostRequestBody.ts index b0bb325bcf9..1f1d118aa62 100644 --- a/src/drives/item/items/item/workbook/functions/complex/complexPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/complex/complexPostRequestBody.ts @@ -34,9 +34,9 @@ export function deserializeIntoComplexPostRequestBody(complexPostRequestBody: Co } } export function serializeComplexPostRequestBody(writer: SerializationWriter, complexPostRequestBody: ComplexPostRequestBody | undefined = {} as ComplexPostRequestBody) : void { - writer.writeObjectValue("iNum", complexPostRequestBody.iNum, ); - writer.writeObjectValue("realNum", complexPostRequestBody.realNum, ); - writer.writeObjectValue("suffix", complexPostRequestBody.suffix, ); + writer.writeObjectValue("iNum", complexPostRequestBody.iNum, serializeJson); + writer.writeObjectValue("realNum", complexPostRequestBody.realNum, serializeJson); + writer.writeObjectValue("suffix", complexPostRequestBody.suffix, serializeJson); writer.writeAdditionalData(complexPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/concatenate/concatenatePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/concatenate/concatenatePostRequestBody.ts index 15e60c4d423..ade36e5c694 100644 --- a/src/drives/item/items/item/workbook/functions/concatenate/concatenatePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/concatenate/concatenatePostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoConcatenatePostRequestBody(concatenatePostRequest } } export function serializeConcatenatePostRequestBody(writer: SerializationWriter, concatenatePostRequestBody: ConcatenatePostRequestBody | undefined = {} as ConcatenatePostRequestBody) : void { - writer.writeObjectValue("values", concatenatePostRequestBody.values, ); + writer.writeObjectValue("values", concatenatePostRequestBody.values, serializeJson); writer.writeAdditionalData(concatenatePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/confidence_Norm/confidence_NormPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/confidence_Norm/confidence_NormPostRequestBody.ts index 79421b0a7f8..61237ce0361 100644 --- a/src/drives/item/items/item/workbook/functions/confidence_Norm/confidence_NormPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/confidence_Norm/confidence_NormPostRequestBody.ts @@ -34,9 +34,9 @@ export function deserializeIntoConfidence_NormPostRequestBody(confidence_NormPos } } export function serializeConfidence_NormPostRequestBody(writer: SerializationWriter, confidence_NormPostRequestBody: Confidence_NormPostRequestBody | undefined = {} as Confidence_NormPostRequestBody) : void { - writer.writeObjectValue("alpha", confidence_NormPostRequestBody.alpha, ); - writer.writeObjectValue("size", confidence_NormPostRequestBody.size, ); - writer.writeObjectValue("standardDev", confidence_NormPostRequestBody.standardDev, ); + writer.writeObjectValue("alpha", confidence_NormPostRequestBody.alpha, serializeJson); + writer.writeObjectValue("size", confidence_NormPostRequestBody.size, serializeJson); + writer.writeObjectValue("standardDev", confidence_NormPostRequestBody.standardDev, serializeJson); writer.writeAdditionalData(confidence_NormPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/confidence_T/confidence_TPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/confidence_T/confidence_TPostRequestBody.ts index 4c8f1762dd3..824cd76e63b 100644 --- a/src/drives/item/items/item/workbook/functions/confidence_T/confidence_TPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/confidence_T/confidence_TPostRequestBody.ts @@ -34,9 +34,9 @@ export function deserializeIntoConfidence_TPostRequestBody(confidence_TPostReque } } export function serializeConfidence_TPostRequestBody(writer: SerializationWriter, confidence_TPostRequestBody: Confidence_TPostRequestBody | undefined = {} as Confidence_TPostRequestBody) : void { - writer.writeObjectValue("alpha", confidence_TPostRequestBody.alpha, ); - writer.writeObjectValue("size", confidence_TPostRequestBody.size, ); - writer.writeObjectValue("standardDev", confidence_TPostRequestBody.standardDev, ); + writer.writeObjectValue("alpha", confidence_TPostRequestBody.alpha, serializeJson); + writer.writeObjectValue("size", confidence_TPostRequestBody.size, serializeJson); + writer.writeObjectValue("standardDev", confidence_TPostRequestBody.standardDev, serializeJson); writer.writeAdditionalData(confidence_TPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/convert/convertPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/convert/convertPostRequestBody.ts index 2031adfd197..a6dca1c502b 100644 --- a/src/drives/item/items/item/workbook/functions/convert/convertPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/convert/convertPostRequestBody.ts @@ -34,9 +34,9 @@ export function deserializeIntoConvertPostRequestBody(convertPostRequestBody: Co } } export function serializeConvertPostRequestBody(writer: SerializationWriter, convertPostRequestBody: ConvertPostRequestBody | undefined = {} as ConvertPostRequestBody) : void { - writer.writeObjectValue("fromUnit", convertPostRequestBody.fromUnit, ); - writer.writeObjectValue("number", convertPostRequestBody.number, ); - writer.writeObjectValue("toUnit", convertPostRequestBody.toUnit, ); + writer.writeObjectValue("fromUnit", convertPostRequestBody.fromUnit, serializeJson); + writer.writeObjectValue("number", convertPostRequestBody.number, serializeJson); + writer.writeObjectValue("toUnit", convertPostRequestBody.toUnit, serializeJson); writer.writeAdditionalData(convertPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/cos/cosPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/cos/cosPostRequestBody.ts index 4467c601767..419edd74ea6 100644 --- a/src/drives/item/items/item/workbook/functions/cos/cosPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/cos/cosPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCosPostRequestBody(cosPostRequestBody: CosPostReq } } export function serializeCosPostRequestBody(writer: SerializationWriter, cosPostRequestBody: CosPostRequestBody | undefined = {} as CosPostRequestBody) : void { - writer.writeObjectValue("number", cosPostRequestBody.number, ); + writer.writeObjectValue("number", cosPostRequestBody.number, serializeJson); writer.writeAdditionalData(cosPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/cosh/coshPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/cosh/coshPostRequestBody.ts index 1da4c379f6f..785fd09eb36 100644 --- a/src/drives/item/items/item/workbook/functions/cosh/coshPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/cosh/coshPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCoshPostRequestBody(coshPostRequestBody: CoshPost } } export function serializeCoshPostRequestBody(writer: SerializationWriter, coshPostRequestBody: CoshPostRequestBody | undefined = {} as CoshPostRequestBody) : void { - writer.writeObjectValue("number", coshPostRequestBody.number, ); + writer.writeObjectValue("number", coshPostRequestBody.number, serializeJson); writer.writeAdditionalData(coshPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/cot/cotPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/cot/cotPostRequestBody.ts index b3b0cd7dd2c..c3e40772cef 100644 --- a/src/drives/item/items/item/workbook/functions/cot/cotPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/cot/cotPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCotPostRequestBody(cotPostRequestBody: CotPostReq } } export function serializeCotPostRequestBody(writer: SerializationWriter, cotPostRequestBody: CotPostRequestBody | undefined = {} as CotPostRequestBody) : void { - writer.writeObjectValue("number", cotPostRequestBody.number, ); + writer.writeObjectValue("number", cotPostRequestBody.number, serializeJson); writer.writeAdditionalData(cotPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/coth/cothPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/coth/cothPostRequestBody.ts index e420249c36a..85a45f3024c 100644 --- a/src/drives/item/items/item/workbook/functions/coth/cothPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/coth/cothPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCothPostRequestBody(cothPostRequestBody: CothPost } } export function serializeCothPostRequestBody(writer: SerializationWriter, cothPostRequestBody: CothPostRequestBody | undefined = {} as CothPostRequestBody) : void { - writer.writeObjectValue("number", cothPostRequestBody.number, ); + writer.writeObjectValue("number", cothPostRequestBody.number, serializeJson); writer.writeAdditionalData(cothPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/count/countPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/count/countPostRequestBody.ts index 1d40d25f4a2..3afcc760686 100644 --- a/src/drives/item/items/item/workbook/functions/count/countPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/count/countPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCountPostRequestBody(countPostRequestBody: CountP } } export function serializeCountPostRequestBody(writer: SerializationWriter, countPostRequestBody: CountPostRequestBody | undefined = {} as CountPostRequestBody) : void { - writer.writeObjectValue("values", countPostRequestBody.values, ); + writer.writeObjectValue("values", countPostRequestBody.values, serializeJson); writer.writeAdditionalData(countPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/countA/countAPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/countA/countAPostRequestBody.ts index 53f513d9165..108c37eb626 100644 --- a/src/drives/item/items/item/workbook/functions/countA/countAPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/countA/countAPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCountAPostRequestBody(countAPostRequestBody: Coun } } export function serializeCountAPostRequestBody(writer: SerializationWriter, countAPostRequestBody: CountAPostRequestBody | undefined = {} as CountAPostRequestBody) : void { - writer.writeObjectValue("values", countAPostRequestBody.values, ); + writer.writeObjectValue("values", countAPostRequestBody.values, serializeJson); writer.writeAdditionalData(countAPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/countBlank/countBlankPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/countBlank/countBlankPostRequestBody.ts index 6f62e739494..cead190737c 100644 --- a/src/drives/item/items/item/workbook/functions/countBlank/countBlankPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/countBlank/countBlankPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCountBlankPostRequestBody(countBlankPostRequestBo } } export function serializeCountBlankPostRequestBody(writer: SerializationWriter, countBlankPostRequestBody: CountBlankPostRequestBody | undefined = {} as CountBlankPostRequestBody) : void { - writer.writeObjectValue("range", countBlankPostRequestBody.range, ); + writer.writeObjectValue("range", countBlankPostRequestBody.range, serializeJson); writer.writeAdditionalData(countBlankPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/countIf/countIfPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/countIf/countIfPostRequestBody.ts index a81316b4aff..2bac792e238 100644 --- a/src/drives/item/items/item/workbook/functions/countIf/countIfPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/countIf/countIfPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoCountIfPostRequestBody(countIfPostRequestBody: Co } } export function serializeCountIfPostRequestBody(writer: SerializationWriter, countIfPostRequestBody: CountIfPostRequestBody | undefined = {} as CountIfPostRequestBody) : void { - writer.writeObjectValue("criteria", countIfPostRequestBody.criteria, ); - writer.writeObjectValue("range", countIfPostRequestBody.range, ); + writer.writeObjectValue("criteria", countIfPostRequestBody.criteria, serializeJson); + writer.writeObjectValue("range", countIfPostRequestBody.range, serializeJson); writer.writeAdditionalData(countIfPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/countIfs/countIfsPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/countIfs/countIfsPostRequestBody.ts index 5357f932760..09b7ce74b46 100644 --- a/src/drives/item/items/item/workbook/functions/countIfs/countIfsPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/countIfs/countIfsPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCountIfsPostRequestBody(countIfsPostRequestBody: } } export function serializeCountIfsPostRequestBody(writer: SerializationWriter, countIfsPostRequestBody: CountIfsPostRequestBody | undefined = {} as CountIfsPostRequestBody) : void { - writer.writeObjectValue("values", countIfsPostRequestBody.values, ); + writer.writeObjectValue("values", countIfsPostRequestBody.values, serializeJson); writer.writeAdditionalData(countIfsPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/coupDayBs/coupDayBsPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/coupDayBs/coupDayBsPostRequestBody.ts index c6bfbd3ae51..0c71d9cdc6d 100644 --- a/src/drives/item/items/item/workbook/functions/coupDayBs/coupDayBsPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/coupDayBs/coupDayBsPostRequestBody.ts @@ -39,10 +39,10 @@ export function deserializeIntoCoupDayBsPostRequestBody(coupDayBsPostRequestBody } } export function serializeCoupDayBsPostRequestBody(writer: SerializationWriter, coupDayBsPostRequestBody: CoupDayBsPostRequestBody | undefined = {} as CoupDayBsPostRequestBody) : void { - writer.writeObjectValue("basis", coupDayBsPostRequestBody.basis, ); - writer.writeObjectValue("frequency", coupDayBsPostRequestBody.frequency, ); - writer.writeObjectValue("maturity", coupDayBsPostRequestBody.maturity, ); - writer.writeObjectValue("settlement", coupDayBsPostRequestBody.settlement, ); + writer.writeObjectValue("basis", coupDayBsPostRequestBody.basis, serializeJson); + writer.writeObjectValue("frequency", coupDayBsPostRequestBody.frequency, serializeJson); + writer.writeObjectValue("maturity", coupDayBsPostRequestBody.maturity, serializeJson); + writer.writeObjectValue("settlement", coupDayBsPostRequestBody.settlement, serializeJson); writer.writeAdditionalData(coupDayBsPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/coupDays/coupDaysPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/coupDays/coupDaysPostRequestBody.ts index fcf705319e2..f0ec467bedd 100644 --- a/src/drives/item/items/item/workbook/functions/coupDays/coupDaysPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/coupDays/coupDaysPostRequestBody.ts @@ -39,10 +39,10 @@ export function deserializeIntoCoupDaysPostRequestBody(coupDaysPostRequestBody: } } export function serializeCoupDaysPostRequestBody(writer: SerializationWriter, coupDaysPostRequestBody: CoupDaysPostRequestBody | undefined = {} as CoupDaysPostRequestBody) : void { - writer.writeObjectValue("basis", coupDaysPostRequestBody.basis, ); - writer.writeObjectValue("frequency", coupDaysPostRequestBody.frequency, ); - writer.writeObjectValue("maturity", coupDaysPostRequestBody.maturity, ); - writer.writeObjectValue("settlement", coupDaysPostRequestBody.settlement, ); + writer.writeObjectValue("basis", coupDaysPostRequestBody.basis, serializeJson); + writer.writeObjectValue("frequency", coupDaysPostRequestBody.frequency, serializeJson); + writer.writeObjectValue("maturity", coupDaysPostRequestBody.maturity, serializeJson); + writer.writeObjectValue("settlement", coupDaysPostRequestBody.settlement, serializeJson); writer.writeAdditionalData(coupDaysPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/coupDaysNc/coupDaysNcPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/coupDaysNc/coupDaysNcPostRequestBody.ts index 849a556b97f..1e69e39e28d 100644 --- a/src/drives/item/items/item/workbook/functions/coupDaysNc/coupDaysNcPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/coupDaysNc/coupDaysNcPostRequestBody.ts @@ -39,10 +39,10 @@ export function deserializeIntoCoupDaysNcPostRequestBody(coupDaysNcPostRequestBo } } export function serializeCoupDaysNcPostRequestBody(writer: SerializationWriter, coupDaysNcPostRequestBody: CoupDaysNcPostRequestBody | undefined = {} as CoupDaysNcPostRequestBody) : void { - writer.writeObjectValue("basis", coupDaysNcPostRequestBody.basis, ); - writer.writeObjectValue("frequency", coupDaysNcPostRequestBody.frequency, ); - writer.writeObjectValue("maturity", coupDaysNcPostRequestBody.maturity, ); - writer.writeObjectValue("settlement", coupDaysNcPostRequestBody.settlement, ); + writer.writeObjectValue("basis", coupDaysNcPostRequestBody.basis, serializeJson); + writer.writeObjectValue("frequency", coupDaysNcPostRequestBody.frequency, serializeJson); + writer.writeObjectValue("maturity", coupDaysNcPostRequestBody.maturity, serializeJson); + writer.writeObjectValue("settlement", coupDaysNcPostRequestBody.settlement, serializeJson); writer.writeAdditionalData(coupDaysNcPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/coupNcd/coupNcdPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/coupNcd/coupNcdPostRequestBody.ts index f05256a8389..6732dccd0fb 100644 --- a/src/drives/item/items/item/workbook/functions/coupNcd/coupNcdPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/coupNcd/coupNcdPostRequestBody.ts @@ -39,10 +39,10 @@ export function deserializeIntoCoupNcdPostRequestBody(coupNcdPostRequestBody: Co } } export function serializeCoupNcdPostRequestBody(writer: SerializationWriter, coupNcdPostRequestBody: CoupNcdPostRequestBody | undefined = {} as CoupNcdPostRequestBody) : void { - writer.writeObjectValue("basis", coupNcdPostRequestBody.basis, ); - writer.writeObjectValue("frequency", coupNcdPostRequestBody.frequency, ); - writer.writeObjectValue("maturity", coupNcdPostRequestBody.maturity, ); - writer.writeObjectValue("settlement", coupNcdPostRequestBody.settlement, ); + writer.writeObjectValue("basis", coupNcdPostRequestBody.basis, serializeJson); + writer.writeObjectValue("frequency", coupNcdPostRequestBody.frequency, serializeJson); + writer.writeObjectValue("maturity", coupNcdPostRequestBody.maturity, serializeJson); + writer.writeObjectValue("settlement", coupNcdPostRequestBody.settlement, serializeJson); writer.writeAdditionalData(coupNcdPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/coupNum/coupNumPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/coupNum/coupNumPostRequestBody.ts index 67ec7ed48d5..0925a65e1ed 100644 --- a/src/drives/item/items/item/workbook/functions/coupNum/coupNumPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/coupNum/coupNumPostRequestBody.ts @@ -39,10 +39,10 @@ export function deserializeIntoCoupNumPostRequestBody(coupNumPostRequestBody: Co } } export function serializeCoupNumPostRequestBody(writer: SerializationWriter, coupNumPostRequestBody: CoupNumPostRequestBody | undefined = {} as CoupNumPostRequestBody) : void { - writer.writeObjectValue("basis", coupNumPostRequestBody.basis, ); - writer.writeObjectValue("frequency", coupNumPostRequestBody.frequency, ); - writer.writeObjectValue("maturity", coupNumPostRequestBody.maturity, ); - writer.writeObjectValue("settlement", coupNumPostRequestBody.settlement, ); + writer.writeObjectValue("basis", coupNumPostRequestBody.basis, serializeJson); + writer.writeObjectValue("frequency", coupNumPostRequestBody.frequency, serializeJson); + writer.writeObjectValue("maturity", coupNumPostRequestBody.maturity, serializeJson); + writer.writeObjectValue("settlement", coupNumPostRequestBody.settlement, serializeJson); writer.writeAdditionalData(coupNumPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/coupPcd/coupPcdPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/coupPcd/coupPcdPostRequestBody.ts index c6249d9c7f4..0f8c1123444 100644 --- a/src/drives/item/items/item/workbook/functions/coupPcd/coupPcdPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/coupPcd/coupPcdPostRequestBody.ts @@ -39,10 +39,10 @@ export function deserializeIntoCoupPcdPostRequestBody(coupPcdPostRequestBody: Co } } export function serializeCoupPcdPostRequestBody(writer: SerializationWriter, coupPcdPostRequestBody: CoupPcdPostRequestBody | undefined = {} as CoupPcdPostRequestBody) : void { - writer.writeObjectValue("basis", coupPcdPostRequestBody.basis, ); - writer.writeObjectValue("frequency", coupPcdPostRequestBody.frequency, ); - writer.writeObjectValue("maturity", coupPcdPostRequestBody.maturity, ); - writer.writeObjectValue("settlement", coupPcdPostRequestBody.settlement, ); + writer.writeObjectValue("basis", coupPcdPostRequestBody.basis, serializeJson); + writer.writeObjectValue("frequency", coupPcdPostRequestBody.frequency, serializeJson); + writer.writeObjectValue("maturity", coupPcdPostRequestBody.maturity, serializeJson); + writer.writeObjectValue("settlement", coupPcdPostRequestBody.settlement, serializeJson); writer.writeAdditionalData(coupPcdPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/csc/cscPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/csc/cscPostRequestBody.ts index 4733067b22f..a52ecf0717f 100644 --- a/src/drives/item/items/item/workbook/functions/csc/cscPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/csc/cscPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCscPostRequestBody(cscPostRequestBody: CscPostReq } } export function serializeCscPostRequestBody(writer: SerializationWriter, cscPostRequestBody: CscPostRequestBody | undefined = {} as CscPostRequestBody) : void { - writer.writeObjectValue("number", cscPostRequestBody.number, ); + writer.writeObjectValue("number", cscPostRequestBody.number, serializeJson); writer.writeAdditionalData(cscPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/csch/cschPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/csch/cschPostRequestBody.ts index 7ff26fd7498..7bcdfb8db59 100644 --- a/src/drives/item/items/item/workbook/functions/csch/cschPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/csch/cschPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCschPostRequestBody(cschPostRequestBody: CschPost } } export function serializeCschPostRequestBody(writer: SerializationWriter, cschPostRequestBody: CschPostRequestBody | undefined = {} as CschPostRequestBody) : void { - writer.writeObjectValue("number", cschPostRequestBody.number, ); + writer.writeObjectValue("number", cschPostRequestBody.number, serializeJson); writer.writeAdditionalData(cschPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/cumIPmt/cumIPmtPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/cumIPmt/cumIPmtPostRequestBody.ts index 99a8ba57718..dee418ef668 100644 --- a/src/drives/item/items/item/workbook/functions/cumIPmt/cumIPmtPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/cumIPmt/cumIPmtPostRequestBody.ts @@ -49,12 +49,12 @@ export function deserializeIntoCumIPmtPostRequestBody(cumIPmtPostRequestBody: Cu } } export function serializeCumIPmtPostRequestBody(writer: SerializationWriter, cumIPmtPostRequestBody: CumIPmtPostRequestBody | undefined = {} as CumIPmtPostRequestBody) : void { - writer.writeObjectValue("endPeriod", cumIPmtPostRequestBody.endPeriod, ); - writer.writeObjectValue("nper", cumIPmtPostRequestBody.nper, ); - writer.writeObjectValue("pv", cumIPmtPostRequestBody.pv, ); - writer.writeObjectValue("rate", cumIPmtPostRequestBody.rate, ); - writer.writeObjectValue("startPeriod", cumIPmtPostRequestBody.startPeriod, ); - writer.writeObjectValue("type", cumIPmtPostRequestBody.type, ); + writer.writeObjectValue("endPeriod", cumIPmtPostRequestBody.endPeriod, serializeJson); + writer.writeObjectValue("nper", cumIPmtPostRequestBody.nper, serializeJson); + writer.writeObjectValue("pv", cumIPmtPostRequestBody.pv, serializeJson); + writer.writeObjectValue("rate", cumIPmtPostRequestBody.rate, serializeJson); + writer.writeObjectValue("startPeriod", cumIPmtPostRequestBody.startPeriod, serializeJson); + writer.writeObjectValue("type", cumIPmtPostRequestBody.type, serializeJson); writer.writeAdditionalData(cumIPmtPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/cumPrinc/cumPrincPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/cumPrinc/cumPrincPostRequestBody.ts index cda6a5d5282..eed96fec791 100644 --- a/src/drives/item/items/item/workbook/functions/cumPrinc/cumPrincPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/cumPrinc/cumPrincPostRequestBody.ts @@ -49,12 +49,12 @@ export function deserializeIntoCumPrincPostRequestBody(cumPrincPostRequestBody: } } export function serializeCumPrincPostRequestBody(writer: SerializationWriter, cumPrincPostRequestBody: CumPrincPostRequestBody | undefined = {} as CumPrincPostRequestBody) : void { - writer.writeObjectValue("endPeriod", cumPrincPostRequestBody.endPeriod, ); - writer.writeObjectValue("nper", cumPrincPostRequestBody.nper, ); - writer.writeObjectValue("pv", cumPrincPostRequestBody.pv, ); - writer.writeObjectValue("rate", cumPrincPostRequestBody.rate, ); - writer.writeObjectValue("startPeriod", cumPrincPostRequestBody.startPeriod, ); - writer.writeObjectValue("type", cumPrincPostRequestBody.type, ); + writer.writeObjectValue("endPeriod", cumPrincPostRequestBody.endPeriod, serializeJson); + writer.writeObjectValue("nper", cumPrincPostRequestBody.nper, serializeJson); + writer.writeObjectValue("pv", cumPrincPostRequestBody.pv, serializeJson); + writer.writeObjectValue("rate", cumPrincPostRequestBody.rate, serializeJson); + writer.writeObjectValue("startPeriod", cumPrincPostRequestBody.startPeriod, serializeJson); + writer.writeObjectValue("type", cumPrincPostRequestBody.type, serializeJson); writer.writeAdditionalData(cumPrincPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/date/datePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/date/datePostRequestBody.ts index a5e269a1e54..7b12c7885e3 100644 --- a/src/drives/item/items/item/workbook/functions/date/datePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/date/datePostRequestBody.ts @@ -34,9 +34,9 @@ export function deserializeIntoDatePostRequestBody(datePostRequestBody: DatePost } } export function serializeDatePostRequestBody(writer: SerializationWriter, datePostRequestBody: DatePostRequestBody | undefined = {} as DatePostRequestBody) : void { - writer.writeObjectValue("day", datePostRequestBody.day, ); - writer.writeObjectValue("month", datePostRequestBody.month, ); - writer.writeObjectValue("year", datePostRequestBody.year, ); + writer.writeObjectValue("day", datePostRequestBody.day, serializeJson); + writer.writeObjectValue("month", datePostRequestBody.month, serializeJson); + writer.writeObjectValue("year", datePostRequestBody.year, serializeJson); writer.writeAdditionalData(datePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/datevalue/datevaluePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/datevalue/datevaluePostRequestBody.ts index 28b47aaf476..d4502e1483a 100644 --- a/src/drives/item/items/item/workbook/functions/datevalue/datevaluePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/datevalue/datevaluePostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoDatevaluePostRequestBody(datevaluePostRequestBody } } export function serializeDatevaluePostRequestBody(writer: SerializationWriter, datevaluePostRequestBody: DatevaluePostRequestBody | undefined = {} as DatevaluePostRequestBody) : void { - writer.writeObjectValue("dateText", datevaluePostRequestBody.dateText, ); + writer.writeObjectValue("dateText", datevaluePostRequestBody.dateText, serializeJson); writer.writeAdditionalData(datevaluePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/daverage/daveragePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/daverage/daveragePostRequestBody.ts index 6138095125a..1fc42d27cbf 100644 --- a/src/drives/item/items/item/workbook/functions/daverage/daveragePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/daverage/daveragePostRequestBody.ts @@ -34,9 +34,9 @@ export function deserializeIntoDaveragePostRequestBody(daveragePostRequestBody: } } export function serializeDaveragePostRequestBody(writer: SerializationWriter, daveragePostRequestBody: DaveragePostRequestBody | undefined = {} as DaveragePostRequestBody) : void { - writer.writeObjectValue("criteria", daveragePostRequestBody.criteria, ); - writer.writeObjectValue("database", daveragePostRequestBody.database, ); - writer.writeObjectValue("field", daveragePostRequestBody.field, ); + writer.writeObjectValue("criteria", daveragePostRequestBody.criteria, serializeJson); + writer.writeObjectValue("database", daveragePostRequestBody.database, serializeJson); + writer.writeObjectValue("field", daveragePostRequestBody.field, serializeJson); writer.writeAdditionalData(daveragePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/day/dayPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/day/dayPostRequestBody.ts index e33ea43e93a..24fa41f450b 100644 --- a/src/drives/item/items/item/workbook/functions/day/dayPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/day/dayPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoDayPostRequestBody(dayPostRequestBody: DayPostReq } } export function serializeDayPostRequestBody(writer: SerializationWriter, dayPostRequestBody: DayPostRequestBody | undefined = {} as DayPostRequestBody) : void { - writer.writeObjectValue("serialNumber", dayPostRequestBody.serialNumber, ); + writer.writeObjectValue("serialNumber", dayPostRequestBody.serialNumber, serializeJson); writer.writeAdditionalData(dayPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/days/daysPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/days/daysPostRequestBody.ts index 88687668998..736035123b8 100644 --- a/src/drives/item/items/item/workbook/functions/days/daysPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/days/daysPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoDaysPostRequestBody(daysPostRequestBody: DaysPost } } export function serializeDaysPostRequestBody(writer: SerializationWriter, daysPostRequestBody: DaysPostRequestBody | undefined = {} as DaysPostRequestBody) : void { - writer.writeObjectValue("endDate", daysPostRequestBody.endDate, ); - writer.writeObjectValue("startDate", daysPostRequestBody.startDate, ); + writer.writeObjectValue("endDate", daysPostRequestBody.endDate, serializeJson); + writer.writeObjectValue("startDate", daysPostRequestBody.startDate, serializeJson); writer.writeAdditionalData(daysPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/days360/days360PostRequestBody.ts b/src/drives/item/items/item/workbook/functions/days360/days360PostRequestBody.ts index 2fc5b612f0f..319fa2af66e 100644 --- a/src/drives/item/items/item/workbook/functions/days360/days360PostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/days360/days360PostRequestBody.ts @@ -34,9 +34,9 @@ export function deserializeIntoDays360PostRequestBody(days360PostRequestBody: Da } } export function serializeDays360PostRequestBody(writer: SerializationWriter, days360PostRequestBody: Days360PostRequestBody | undefined = {} as Days360PostRequestBody) : void { - writer.writeObjectValue("endDate", days360PostRequestBody.endDate, ); - writer.writeObjectValue("method", days360PostRequestBody.method, ); - writer.writeObjectValue("startDate", days360PostRequestBody.startDate, ); + writer.writeObjectValue("endDate", days360PostRequestBody.endDate, serializeJson); + writer.writeObjectValue("method", days360PostRequestBody.method, serializeJson); + writer.writeObjectValue("startDate", days360PostRequestBody.startDate, serializeJson); writer.writeAdditionalData(days360PostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/db/dbPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/db/dbPostRequestBody.ts index 9f9209279dc..f1e49d57c5b 100644 --- a/src/drives/item/items/item/workbook/functions/db/dbPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/db/dbPostRequestBody.ts @@ -44,11 +44,11 @@ export function deserializeIntoDbPostRequestBody(dbPostRequestBody: DbPostReques } } export function serializeDbPostRequestBody(writer: SerializationWriter, dbPostRequestBody: DbPostRequestBody | undefined = {} as DbPostRequestBody) : void { - writer.writeObjectValue("cost", dbPostRequestBody.cost, ); - writer.writeObjectValue("life", dbPostRequestBody.life, ); - writer.writeObjectValue("month", dbPostRequestBody.month, ); - writer.writeObjectValue("period", dbPostRequestBody.period, ); - writer.writeObjectValue("salvage", dbPostRequestBody.salvage, ); + writer.writeObjectValue("cost", dbPostRequestBody.cost, serializeJson); + writer.writeObjectValue("life", dbPostRequestBody.life, serializeJson); + writer.writeObjectValue("month", dbPostRequestBody.month, serializeJson); + writer.writeObjectValue("period", dbPostRequestBody.period, serializeJson); + writer.writeObjectValue("salvage", dbPostRequestBody.salvage, serializeJson); writer.writeAdditionalData(dbPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/dbcs/dbcsPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/dbcs/dbcsPostRequestBody.ts index 7a8fcf1f213..94501d3674e 100644 --- a/src/drives/item/items/item/workbook/functions/dbcs/dbcsPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/dbcs/dbcsPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoDbcsPostRequestBody(dbcsPostRequestBody: DbcsPost } } export function serializeDbcsPostRequestBody(writer: SerializationWriter, dbcsPostRequestBody: DbcsPostRequestBody | undefined = {} as DbcsPostRequestBody) : void { - writer.writeObjectValue("text", dbcsPostRequestBody.text, ); + writer.writeObjectValue("text", dbcsPostRequestBody.text, serializeJson); writer.writeAdditionalData(dbcsPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/dcount/dcountPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/dcount/dcountPostRequestBody.ts index 5f1714d0106..032a339c5a5 100644 --- a/src/drives/item/items/item/workbook/functions/dcount/dcountPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/dcount/dcountPostRequestBody.ts @@ -34,9 +34,9 @@ export function deserializeIntoDcountPostRequestBody(dcountPostRequestBody: Dcou } } export function serializeDcountPostRequestBody(writer: SerializationWriter, dcountPostRequestBody: DcountPostRequestBody | undefined = {} as DcountPostRequestBody) : void { - writer.writeObjectValue("criteria", dcountPostRequestBody.criteria, ); - writer.writeObjectValue("database", dcountPostRequestBody.database, ); - writer.writeObjectValue("field", dcountPostRequestBody.field, ); + writer.writeObjectValue("criteria", dcountPostRequestBody.criteria, serializeJson); + writer.writeObjectValue("database", dcountPostRequestBody.database, serializeJson); + writer.writeObjectValue("field", dcountPostRequestBody.field, serializeJson); writer.writeAdditionalData(dcountPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/dcountA/dcountAPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/dcountA/dcountAPostRequestBody.ts index 0f165dbcd91..9705c6efb89 100644 --- a/src/drives/item/items/item/workbook/functions/dcountA/dcountAPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/dcountA/dcountAPostRequestBody.ts @@ -34,9 +34,9 @@ export function deserializeIntoDcountAPostRequestBody(dcountAPostRequestBody: Dc } } export function serializeDcountAPostRequestBody(writer: SerializationWriter, dcountAPostRequestBody: DcountAPostRequestBody | undefined = {} as DcountAPostRequestBody) : void { - writer.writeObjectValue("criteria", dcountAPostRequestBody.criteria, ); - writer.writeObjectValue("database", dcountAPostRequestBody.database, ); - writer.writeObjectValue("field", dcountAPostRequestBody.field, ); + writer.writeObjectValue("criteria", dcountAPostRequestBody.criteria, serializeJson); + writer.writeObjectValue("database", dcountAPostRequestBody.database, serializeJson); + writer.writeObjectValue("field", dcountAPostRequestBody.field, serializeJson); writer.writeAdditionalData(dcountAPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/ddb/ddbPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/ddb/ddbPostRequestBody.ts index 3dac5f788ef..4e4b8a16b23 100644 --- a/src/drives/item/items/item/workbook/functions/ddb/ddbPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/ddb/ddbPostRequestBody.ts @@ -44,11 +44,11 @@ export function deserializeIntoDdbPostRequestBody(ddbPostRequestBody: DdbPostReq } } export function serializeDdbPostRequestBody(writer: SerializationWriter, ddbPostRequestBody: DdbPostRequestBody | undefined = {} as DdbPostRequestBody) : void { - writer.writeObjectValue("cost", ddbPostRequestBody.cost, ); - writer.writeObjectValue("factor", ddbPostRequestBody.factor, ); - writer.writeObjectValue("life", ddbPostRequestBody.life, ); - writer.writeObjectValue("period", ddbPostRequestBody.period, ); - writer.writeObjectValue("salvage", ddbPostRequestBody.salvage, ); + writer.writeObjectValue("cost", ddbPostRequestBody.cost, serializeJson); + writer.writeObjectValue("factor", ddbPostRequestBody.factor, serializeJson); + writer.writeObjectValue("life", ddbPostRequestBody.life, serializeJson); + writer.writeObjectValue("period", ddbPostRequestBody.period, serializeJson); + writer.writeObjectValue("salvage", ddbPostRequestBody.salvage, serializeJson); writer.writeAdditionalData(ddbPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/dec2Bin/dec2BinPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/dec2Bin/dec2BinPostRequestBody.ts index 1183687925b..3391fb39d95 100644 --- a/src/drives/item/items/item/workbook/functions/dec2Bin/dec2BinPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/dec2Bin/dec2BinPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoDec2BinPostRequestBody(dec2BinPostRequestBody: De } } export function serializeDec2BinPostRequestBody(writer: SerializationWriter, dec2BinPostRequestBody: Dec2BinPostRequestBody | undefined = {} as Dec2BinPostRequestBody) : void { - writer.writeObjectValue("number", dec2BinPostRequestBody.number, ); - writer.writeObjectValue("places", dec2BinPostRequestBody.places, ); + writer.writeObjectValue("number", dec2BinPostRequestBody.number, serializeJson); + writer.writeObjectValue("places", dec2BinPostRequestBody.places, serializeJson); writer.writeAdditionalData(dec2BinPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/dec2Hex/dec2HexPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/dec2Hex/dec2HexPostRequestBody.ts index 43cfd34339e..41549eb23c9 100644 --- a/src/drives/item/items/item/workbook/functions/dec2Hex/dec2HexPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/dec2Hex/dec2HexPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoDec2HexPostRequestBody(dec2HexPostRequestBody: De } } export function serializeDec2HexPostRequestBody(writer: SerializationWriter, dec2HexPostRequestBody: Dec2HexPostRequestBody | undefined = {} as Dec2HexPostRequestBody) : void { - writer.writeObjectValue("number", dec2HexPostRequestBody.number, ); - writer.writeObjectValue("places", dec2HexPostRequestBody.places, ); + writer.writeObjectValue("number", dec2HexPostRequestBody.number, serializeJson); + writer.writeObjectValue("places", dec2HexPostRequestBody.places, serializeJson); writer.writeAdditionalData(dec2HexPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/dec2Oct/dec2OctPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/dec2Oct/dec2OctPostRequestBody.ts index 33b6945ae12..3b0c0cbed97 100644 --- a/src/drives/item/items/item/workbook/functions/dec2Oct/dec2OctPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/dec2Oct/dec2OctPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoDec2OctPostRequestBody(dec2OctPostRequestBody: De } } export function serializeDec2OctPostRequestBody(writer: SerializationWriter, dec2OctPostRequestBody: Dec2OctPostRequestBody | undefined = {} as Dec2OctPostRequestBody) : void { - writer.writeObjectValue("number", dec2OctPostRequestBody.number, ); - writer.writeObjectValue("places", dec2OctPostRequestBody.places, ); + writer.writeObjectValue("number", dec2OctPostRequestBody.number, serializeJson); + writer.writeObjectValue("places", dec2OctPostRequestBody.places, serializeJson); writer.writeAdditionalData(dec2OctPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/decimal/decimalPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/decimal/decimalPostRequestBody.ts index 4fb58627ca8..1aff307b179 100644 --- a/src/drives/item/items/item/workbook/functions/decimal/decimalPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/decimal/decimalPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoDecimalPostRequestBody(decimalPostRequestBody: De } } export function serializeDecimalPostRequestBody(writer: SerializationWriter, decimalPostRequestBody: DecimalPostRequestBody | undefined = {} as DecimalPostRequestBody) : void { - writer.writeObjectValue("number", decimalPostRequestBody.number, ); - writer.writeObjectValue("radix", decimalPostRequestBody.radix, ); + writer.writeObjectValue("number", decimalPostRequestBody.number, serializeJson); + writer.writeObjectValue("radix", decimalPostRequestBody.radix, serializeJson); writer.writeAdditionalData(decimalPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/degrees/degreesPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/degrees/degreesPostRequestBody.ts index 388462dda48..04889e1064c 100644 --- a/src/drives/item/items/item/workbook/functions/degrees/degreesPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/degrees/degreesPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoDegreesPostRequestBody(degreesPostRequestBody: De } } export function serializeDegreesPostRequestBody(writer: SerializationWriter, degreesPostRequestBody: DegreesPostRequestBody | undefined = {} as DegreesPostRequestBody) : void { - writer.writeObjectValue("angle", degreesPostRequestBody.angle, ); + writer.writeObjectValue("angle", degreesPostRequestBody.angle, serializeJson); writer.writeAdditionalData(degreesPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/delta/deltaPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/delta/deltaPostRequestBody.ts index 0b3c486c770..cad4ef0b8a9 100644 --- a/src/drives/item/items/item/workbook/functions/delta/deltaPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/delta/deltaPostRequestBody.ts @@ -29,8 +29,8 @@ export function deserializeIntoDeltaPostRequestBody(deltaPostRequestBody: DeltaP } } export function serializeDeltaPostRequestBody(writer: SerializationWriter, deltaPostRequestBody: DeltaPostRequestBody | undefined = {} as DeltaPostRequestBody) : void { - writer.writeObjectValue("number1", deltaPostRequestBody.number1, ); - writer.writeObjectValue("number2", deltaPostRequestBody.number2, ); + writer.writeObjectValue("number1", deltaPostRequestBody.number1, serializeJson); + writer.writeObjectValue("number2", deltaPostRequestBody.number2, serializeJson); writer.writeAdditionalData(deltaPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/devSq/devSqPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/devSq/devSqPostRequestBody.ts index 92e7fff045c..1f32ca2eaa2 100644 --- a/src/drives/item/items/item/workbook/functions/devSq/devSqPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/devSq/devSqPostRequestBody.ts @@ -24,7 +24,7 @@ export interface DevSqPostRequestBody extends AdditionalDataHolder, Parsable { values?: Json; } export function serializeDevSqPostRequestBody(writer: SerializationWriter, devSqPostRequestBody: DevSqPostRequestBody | undefined = {} as DevSqPostRequestBody) : void { - writer.writeObjectValue("values", devSqPostRequestBody.values, ); + writer.writeObjectValue("values", devSqPostRequestBody.values, serializeJson); writer.writeAdditionalData(devSqPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/dget/dgetPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/dget/dgetPostRequestBody.ts index ddd1e129f1f..7888ae168c7 100644 --- a/src/drives/item/items/item/workbook/functions/dget/dgetPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/dget/dgetPostRequestBody.ts @@ -34,9 +34,9 @@ export interface DgetPostRequestBody extends AdditionalDataHolder, Parsable { field?: Json; } export function serializeDgetPostRequestBody(writer: SerializationWriter, dgetPostRequestBody: DgetPostRequestBody | undefined = {} as DgetPostRequestBody) : void { - writer.writeObjectValue("criteria", dgetPostRequestBody.criteria, ); - writer.writeObjectValue("database", dgetPostRequestBody.database, ); - writer.writeObjectValue("field", dgetPostRequestBody.field, ); + writer.writeObjectValue("criteria", dgetPostRequestBody.criteria, serializeJson); + writer.writeObjectValue("database", dgetPostRequestBody.database, serializeJson); + writer.writeObjectValue("field", dgetPostRequestBody.field, serializeJson); writer.writeAdditionalData(dgetPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/disc/discPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/disc/discPostRequestBody.ts index a9584a9c6ba..60e0f34a5aa 100644 --- a/src/drives/item/items/item/workbook/functions/disc/discPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/disc/discPostRequestBody.ts @@ -44,11 +44,11 @@ export interface DiscPostRequestBody extends AdditionalDataHolder, Parsable { settlement?: Json; } export function serializeDiscPostRequestBody(writer: SerializationWriter, discPostRequestBody: DiscPostRequestBody | undefined = {} as DiscPostRequestBody) : void { - writer.writeObjectValue("basis", discPostRequestBody.basis, ); - writer.writeObjectValue("maturity", discPostRequestBody.maturity, ); - writer.writeObjectValue("pr", discPostRequestBody.pr, ); - writer.writeObjectValue("redemption", discPostRequestBody.redemption, ); - writer.writeObjectValue("settlement", discPostRequestBody.settlement, ); + writer.writeObjectValue("basis", discPostRequestBody.basis, serializeJson); + writer.writeObjectValue("maturity", discPostRequestBody.maturity, serializeJson); + writer.writeObjectValue("pr", discPostRequestBody.pr, serializeJson); + writer.writeObjectValue("redemption", discPostRequestBody.redemption, serializeJson); + writer.writeObjectValue("settlement", discPostRequestBody.settlement, serializeJson); writer.writeAdditionalData(discPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/dmax/dmaxPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/dmax/dmaxPostRequestBody.ts index 440b39b4ddf..4d8cef86daf 100644 --- a/src/drives/item/items/item/workbook/functions/dmax/dmaxPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/dmax/dmaxPostRequestBody.ts @@ -34,9 +34,9 @@ export interface DmaxPostRequestBody extends AdditionalDataHolder, Parsable { field?: Json; } export function serializeDmaxPostRequestBody(writer: SerializationWriter, dmaxPostRequestBody: DmaxPostRequestBody | undefined = {} as DmaxPostRequestBody) : void { - writer.writeObjectValue("criteria", dmaxPostRequestBody.criteria, ); - writer.writeObjectValue("database", dmaxPostRequestBody.database, ); - writer.writeObjectValue("field", dmaxPostRequestBody.field, ); + writer.writeObjectValue("criteria", dmaxPostRequestBody.criteria, serializeJson); + writer.writeObjectValue("database", dmaxPostRequestBody.database, serializeJson); + writer.writeObjectValue("field", dmaxPostRequestBody.field, serializeJson); writer.writeAdditionalData(dmaxPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/dmin/dminPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/dmin/dminPostRequestBody.ts index faecbe7514e..38dc90dd935 100644 --- a/src/drives/item/items/item/workbook/functions/dmin/dminPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/dmin/dminPostRequestBody.ts @@ -34,9 +34,9 @@ export interface DminPostRequestBody extends AdditionalDataHolder, Parsable { field?: Json; } export function serializeDminPostRequestBody(writer: SerializationWriter, dminPostRequestBody: DminPostRequestBody | undefined = {} as DminPostRequestBody) : void { - writer.writeObjectValue("criteria", dminPostRequestBody.criteria, ); - writer.writeObjectValue("database", dminPostRequestBody.database, ); - writer.writeObjectValue("field", dminPostRequestBody.field, ); + writer.writeObjectValue("criteria", dminPostRequestBody.criteria, serializeJson); + writer.writeObjectValue("database", dminPostRequestBody.database, serializeJson); + writer.writeObjectValue("field", dminPostRequestBody.field, serializeJson); writer.writeAdditionalData(dminPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/dollar/dollarPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/dollar/dollarPostRequestBody.ts index c7098e3e56f..1460683965e 100644 --- a/src/drives/item/items/item/workbook/functions/dollar/dollarPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/dollar/dollarPostRequestBody.ts @@ -29,8 +29,8 @@ export interface DollarPostRequestBody extends AdditionalDataHolder, Parsable { number?: Json; } export function serializeDollarPostRequestBody(writer: SerializationWriter, dollarPostRequestBody: DollarPostRequestBody | undefined = {} as DollarPostRequestBody) : void { - writer.writeObjectValue("decimals", dollarPostRequestBody.decimals, ); - writer.writeObjectValue("number", dollarPostRequestBody.number, ); + writer.writeObjectValue("decimals", dollarPostRequestBody.decimals, serializeJson); + writer.writeObjectValue("number", dollarPostRequestBody.number, serializeJson); writer.writeAdditionalData(dollarPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/dollarDe/dollarDePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/dollarDe/dollarDePostRequestBody.ts index a1765d7dff8..6aa7570eb4e 100644 --- a/src/drives/item/items/item/workbook/functions/dollarDe/dollarDePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/dollarDe/dollarDePostRequestBody.ts @@ -29,8 +29,8 @@ export interface DollarDePostRequestBody extends AdditionalDataHolder, Parsable fractionalDollar?: Json; } export function serializeDollarDePostRequestBody(writer: SerializationWriter, dollarDePostRequestBody: DollarDePostRequestBody | undefined = {} as DollarDePostRequestBody) : void { - writer.writeObjectValue("fraction", dollarDePostRequestBody.fraction, ); - writer.writeObjectValue("fractionalDollar", dollarDePostRequestBody.fractionalDollar, ); + writer.writeObjectValue("fraction", dollarDePostRequestBody.fraction, serializeJson); + writer.writeObjectValue("fractionalDollar", dollarDePostRequestBody.fractionalDollar, serializeJson); writer.writeAdditionalData(dollarDePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/dollarFr/dollarFrPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/dollarFr/dollarFrPostRequestBody.ts index 1d0a29f66cd..5a9ff2d6cde 100644 --- a/src/drives/item/items/item/workbook/functions/dollarFr/dollarFrPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/dollarFr/dollarFrPostRequestBody.ts @@ -29,8 +29,8 @@ export interface DollarFrPostRequestBody extends AdditionalDataHolder, Parsable fraction?: Json; } export function serializeDollarFrPostRequestBody(writer: SerializationWriter, dollarFrPostRequestBody: DollarFrPostRequestBody | undefined = {} as DollarFrPostRequestBody) : void { - writer.writeObjectValue("decimalDollar", dollarFrPostRequestBody.decimalDollar, ); - writer.writeObjectValue("fraction", dollarFrPostRequestBody.fraction, ); + writer.writeObjectValue("decimalDollar", dollarFrPostRequestBody.decimalDollar, serializeJson); + writer.writeObjectValue("fraction", dollarFrPostRequestBody.fraction, serializeJson); writer.writeAdditionalData(dollarFrPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/dproduct/dproductPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/dproduct/dproductPostRequestBody.ts index cb4bc171383..2cd92df80e7 100644 --- a/src/drives/item/items/item/workbook/functions/dproduct/dproductPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/dproduct/dproductPostRequestBody.ts @@ -34,9 +34,9 @@ export interface DproductPostRequestBody extends AdditionalDataHolder, Parsable field?: Json; } export function serializeDproductPostRequestBody(writer: SerializationWriter, dproductPostRequestBody: DproductPostRequestBody | undefined = {} as DproductPostRequestBody) : void { - writer.writeObjectValue("criteria", dproductPostRequestBody.criteria, ); - writer.writeObjectValue("database", dproductPostRequestBody.database, ); - writer.writeObjectValue("field", dproductPostRequestBody.field, ); + writer.writeObjectValue("criteria", dproductPostRequestBody.criteria, serializeJson); + writer.writeObjectValue("database", dproductPostRequestBody.database, serializeJson); + writer.writeObjectValue("field", dproductPostRequestBody.field, serializeJson); writer.writeAdditionalData(dproductPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/dstDev/dstDevPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/dstDev/dstDevPostRequestBody.ts index 3f2911e5f2b..c3b5390efcd 100644 --- a/src/drives/item/items/item/workbook/functions/dstDev/dstDevPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/dstDev/dstDevPostRequestBody.ts @@ -34,9 +34,9 @@ export interface DstDevPostRequestBody extends AdditionalDataHolder, Parsable { field?: Json; } export function serializeDstDevPostRequestBody(writer: SerializationWriter, dstDevPostRequestBody: DstDevPostRequestBody | undefined = {} as DstDevPostRequestBody) : void { - writer.writeObjectValue("criteria", dstDevPostRequestBody.criteria, ); - writer.writeObjectValue("database", dstDevPostRequestBody.database, ); - writer.writeObjectValue("field", dstDevPostRequestBody.field, ); + writer.writeObjectValue("criteria", dstDevPostRequestBody.criteria, serializeJson); + writer.writeObjectValue("database", dstDevPostRequestBody.database, serializeJson); + writer.writeObjectValue("field", dstDevPostRequestBody.field, serializeJson); writer.writeAdditionalData(dstDevPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/dstDevP/dstDevPPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/dstDevP/dstDevPPostRequestBody.ts index ae4cc6a81ad..8d43a9e7046 100644 --- a/src/drives/item/items/item/workbook/functions/dstDevP/dstDevPPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/dstDevP/dstDevPPostRequestBody.ts @@ -34,9 +34,9 @@ export interface DstDevPPostRequestBody extends AdditionalDataHolder, Parsable { field?: Json; } export function serializeDstDevPPostRequestBody(writer: SerializationWriter, dstDevPPostRequestBody: DstDevPPostRequestBody | undefined = {} as DstDevPPostRequestBody) : void { - writer.writeObjectValue("criteria", dstDevPPostRequestBody.criteria, ); - writer.writeObjectValue("database", dstDevPPostRequestBody.database, ); - writer.writeObjectValue("field", dstDevPPostRequestBody.field, ); + writer.writeObjectValue("criteria", dstDevPPostRequestBody.criteria, serializeJson); + writer.writeObjectValue("database", dstDevPPostRequestBody.database, serializeJson); + writer.writeObjectValue("field", dstDevPPostRequestBody.field, serializeJson); writer.writeAdditionalData(dstDevPPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/dsum/dsumPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/dsum/dsumPostRequestBody.ts index e7622bc3736..18d6848a23f 100644 --- a/src/drives/item/items/item/workbook/functions/dsum/dsumPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/dsum/dsumPostRequestBody.ts @@ -34,9 +34,9 @@ export interface DsumPostRequestBody extends AdditionalDataHolder, Parsable { field?: Json; } export function serializeDsumPostRequestBody(writer: SerializationWriter, dsumPostRequestBody: DsumPostRequestBody | undefined = {} as DsumPostRequestBody) : void { - writer.writeObjectValue("criteria", dsumPostRequestBody.criteria, ); - writer.writeObjectValue("database", dsumPostRequestBody.database, ); - writer.writeObjectValue("field", dsumPostRequestBody.field, ); + writer.writeObjectValue("criteria", dsumPostRequestBody.criteria, serializeJson); + writer.writeObjectValue("database", dsumPostRequestBody.database, serializeJson); + writer.writeObjectValue("field", dsumPostRequestBody.field, serializeJson); writer.writeAdditionalData(dsumPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/duration/durationPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/duration/durationPostRequestBody.ts index 80e9ca9c460..a316ad6e5fd 100644 --- a/src/drives/item/items/item/workbook/functions/duration/durationPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/duration/durationPostRequestBody.ts @@ -49,12 +49,12 @@ export interface DurationPostRequestBody extends AdditionalDataHolder, Parsable yld?: Json; } export function serializeDurationPostRequestBody(writer: SerializationWriter, durationPostRequestBody: DurationPostRequestBody | undefined = {} as DurationPostRequestBody) : void { - writer.writeObjectValue("basis", durationPostRequestBody.basis, ); - writer.writeObjectValue("coupon", durationPostRequestBody.coupon, ); - writer.writeObjectValue("frequency", durationPostRequestBody.frequency, ); - writer.writeObjectValue("maturity", durationPostRequestBody.maturity, ); - writer.writeObjectValue("settlement", durationPostRequestBody.settlement, ); - writer.writeObjectValue("yld", durationPostRequestBody.yld, ); + writer.writeObjectValue("basis", durationPostRequestBody.basis, serializeJson); + writer.writeObjectValue("coupon", durationPostRequestBody.coupon, serializeJson); + writer.writeObjectValue("frequency", durationPostRequestBody.frequency, serializeJson); + writer.writeObjectValue("maturity", durationPostRequestBody.maturity, serializeJson); + writer.writeObjectValue("settlement", durationPostRequestBody.settlement, serializeJson); + writer.writeObjectValue("yld", durationPostRequestBody.yld, serializeJson); writer.writeAdditionalData(durationPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/dvar/dvarPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/dvar/dvarPostRequestBody.ts index bb2001d2daf..b0631917929 100644 --- a/src/drives/item/items/item/workbook/functions/dvar/dvarPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/dvar/dvarPostRequestBody.ts @@ -34,9 +34,9 @@ export interface DvarPostRequestBody extends AdditionalDataHolder, Parsable { field?: Json; } export function serializeDvarPostRequestBody(writer: SerializationWriter, dvarPostRequestBody: DvarPostRequestBody | undefined = {} as DvarPostRequestBody) : void { - writer.writeObjectValue("criteria", dvarPostRequestBody.criteria, ); - writer.writeObjectValue("database", dvarPostRequestBody.database, ); - writer.writeObjectValue("field", dvarPostRequestBody.field, ); + writer.writeObjectValue("criteria", dvarPostRequestBody.criteria, serializeJson); + writer.writeObjectValue("database", dvarPostRequestBody.database, serializeJson); + writer.writeObjectValue("field", dvarPostRequestBody.field, serializeJson); writer.writeAdditionalData(dvarPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/dvarP/dvarPPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/dvarP/dvarPPostRequestBody.ts index 91227d84d13..08cd86ebd2c 100644 --- a/src/drives/item/items/item/workbook/functions/dvarP/dvarPPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/dvarP/dvarPPostRequestBody.ts @@ -34,9 +34,9 @@ export interface DvarPPostRequestBody extends AdditionalDataHolder, Parsable { field?: Json; } export function serializeDvarPPostRequestBody(writer: SerializationWriter, dvarPPostRequestBody: DvarPPostRequestBody | undefined = {} as DvarPPostRequestBody) : void { - writer.writeObjectValue("criteria", dvarPPostRequestBody.criteria, ); - writer.writeObjectValue("database", dvarPPostRequestBody.database, ); - writer.writeObjectValue("field", dvarPPostRequestBody.field, ); + writer.writeObjectValue("criteria", dvarPPostRequestBody.criteria, serializeJson); + writer.writeObjectValue("database", dvarPPostRequestBody.database, serializeJson); + writer.writeObjectValue("field", dvarPPostRequestBody.field, serializeJson); writer.writeAdditionalData(dvarPPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/ecma_Ceiling/ecma_CeilingPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/ecma_Ceiling/ecma_CeilingPostRequestBody.ts index ed884438b4c..313f9eaf136 100644 --- a/src/drives/item/items/item/workbook/functions/ecma_Ceiling/ecma_CeilingPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/ecma_Ceiling/ecma_CeilingPostRequestBody.ts @@ -29,8 +29,8 @@ export interface Ecma_CeilingPostRequestBody extends AdditionalDataHolder, Parsa significance?: Json; } export function serializeEcma_CeilingPostRequestBody(writer: SerializationWriter, ecma_CeilingPostRequestBody: Ecma_CeilingPostRequestBody | undefined = {} as Ecma_CeilingPostRequestBody) : void { - writer.writeObjectValue("number", ecma_CeilingPostRequestBody.number, ); - writer.writeObjectValue("significance", ecma_CeilingPostRequestBody.significance, ); + writer.writeObjectValue("number", ecma_CeilingPostRequestBody.number, serializeJson); + writer.writeObjectValue("significance", ecma_CeilingPostRequestBody.significance, serializeJson); writer.writeAdditionalData(ecma_CeilingPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/edate/edatePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/edate/edatePostRequestBody.ts index 82ba21cf00f..3d6d7132a2e 100644 --- a/src/drives/item/items/item/workbook/functions/edate/edatePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/edate/edatePostRequestBody.ts @@ -29,8 +29,8 @@ export interface EdatePostRequestBody extends AdditionalDataHolder, Parsable { startDate?: Json; } export function serializeEdatePostRequestBody(writer: SerializationWriter, edatePostRequestBody: EdatePostRequestBody | undefined = {} as EdatePostRequestBody) : void { - writer.writeObjectValue("months", edatePostRequestBody.months, ); - writer.writeObjectValue("startDate", edatePostRequestBody.startDate, ); + writer.writeObjectValue("months", edatePostRequestBody.months, serializeJson); + writer.writeObjectValue("startDate", edatePostRequestBody.startDate, serializeJson); writer.writeAdditionalData(edatePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/effect/effectPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/effect/effectPostRequestBody.ts index 37da8c1e8f3..015f448e85f 100644 --- a/src/drives/item/items/item/workbook/functions/effect/effectPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/effect/effectPostRequestBody.ts @@ -29,8 +29,8 @@ export interface EffectPostRequestBody extends AdditionalDataHolder, Parsable { npery?: Json; } export function serializeEffectPostRequestBody(writer: SerializationWriter, effectPostRequestBody: EffectPostRequestBody | undefined = {} as EffectPostRequestBody) : void { - writer.writeObjectValue("nominalRate", effectPostRequestBody.nominalRate, ); - writer.writeObjectValue("npery", effectPostRequestBody.npery, ); + writer.writeObjectValue("nominalRate", effectPostRequestBody.nominalRate, serializeJson); + writer.writeObjectValue("npery", effectPostRequestBody.npery, serializeJson); writer.writeAdditionalData(effectPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/eoMonth/eoMonthPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/eoMonth/eoMonthPostRequestBody.ts index 5b72b42c7c9..a5b95171c2e 100644 --- a/src/drives/item/items/item/workbook/functions/eoMonth/eoMonthPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/eoMonth/eoMonthPostRequestBody.ts @@ -29,8 +29,8 @@ export interface EoMonthPostRequestBody extends AdditionalDataHolder, Parsable { startDate?: Json; } export function serializeEoMonthPostRequestBody(writer: SerializationWriter, eoMonthPostRequestBody: EoMonthPostRequestBody | undefined = {} as EoMonthPostRequestBody) : void { - writer.writeObjectValue("months", eoMonthPostRequestBody.months, ); - writer.writeObjectValue("startDate", eoMonthPostRequestBody.startDate, ); + writer.writeObjectValue("months", eoMonthPostRequestBody.months, serializeJson); + writer.writeObjectValue("startDate", eoMonthPostRequestBody.startDate, serializeJson); writer.writeAdditionalData(eoMonthPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/erf/erfPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/erf/erfPostRequestBody.ts index fad0562086b..31250c40bcf 100644 --- a/src/drives/item/items/item/workbook/functions/erf/erfPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/erf/erfPostRequestBody.ts @@ -29,8 +29,8 @@ export interface ErfPostRequestBody extends AdditionalDataHolder, Parsable { upperLimit?: Json; } export function serializeErfPostRequestBody(writer: SerializationWriter, erfPostRequestBody: ErfPostRequestBody | undefined = {} as ErfPostRequestBody) : void { - writer.writeObjectValue("lowerLimit", erfPostRequestBody.lowerLimit, ); - writer.writeObjectValue("upperLimit", erfPostRequestBody.upperLimit, ); + writer.writeObjectValue("lowerLimit", erfPostRequestBody.lowerLimit, serializeJson); + writer.writeObjectValue("upperLimit", erfPostRequestBody.upperLimit, serializeJson); writer.writeAdditionalData(erfPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/erfC/erfCPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/erfC/erfCPostRequestBody.ts index f365e986ee1..3236f05b914 100644 --- a/src/drives/item/items/item/workbook/functions/erfC/erfCPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/erfC/erfCPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ErfCPostRequestBody extends AdditionalDataHolder, Parsable { x?: Json; } export function serializeErfCPostRequestBody(writer: SerializationWriter, erfCPostRequestBody: ErfCPostRequestBody | undefined = {} as ErfCPostRequestBody) : void { - writer.writeObjectValue("x", erfCPostRequestBody.x, ); + writer.writeObjectValue("x", erfCPostRequestBody.x, serializeJson); writer.writeAdditionalData(erfCPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/erfC_Precise/erfC_PrecisePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/erfC_Precise/erfC_PrecisePostRequestBody.ts index 6e70547fa27..cddc1cbb742 100644 --- a/src/drives/item/items/item/workbook/functions/erfC_Precise/erfC_PrecisePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/erfC_Precise/erfC_PrecisePostRequestBody.ts @@ -24,7 +24,7 @@ export interface ErfC_PrecisePostRequestBody extends AdditionalDataHolder, Parsa x?: Json; } export function serializeErfC_PrecisePostRequestBody(writer: SerializationWriter, erfC_PrecisePostRequestBody: ErfC_PrecisePostRequestBody | undefined = {} as ErfC_PrecisePostRequestBody) : void { - writer.writeObjectValue("X", erfC_PrecisePostRequestBody.x, ); + writer.writeObjectValue("X", erfC_PrecisePostRequestBody.x, serializeJson); writer.writeAdditionalData(erfC_PrecisePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/erf_Precise/erf_PrecisePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/erf_Precise/erf_PrecisePostRequestBody.ts index 00cc14151c4..ee6fbb75c33 100644 --- a/src/drives/item/items/item/workbook/functions/erf_Precise/erf_PrecisePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/erf_Precise/erf_PrecisePostRequestBody.ts @@ -24,7 +24,7 @@ export interface Erf_PrecisePostRequestBody extends AdditionalDataHolder, Parsab x?: Json; } export function serializeErf_PrecisePostRequestBody(writer: SerializationWriter, erf_PrecisePostRequestBody: Erf_PrecisePostRequestBody | undefined = {} as Erf_PrecisePostRequestBody) : void { - writer.writeObjectValue("X", erf_PrecisePostRequestBody.x, ); + writer.writeObjectValue("X", erf_PrecisePostRequestBody.x, serializeJson); writer.writeAdditionalData(erf_PrecisePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/error_Type/error_TypePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/error_Type/error_TypePostRequestBody.ts index 9ca33d9e0e7..54863a50ee5 100644 --- a/src/drives/item/items/item/workbook/functions/error_Type/error_TypePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/error_Type/error_TypePostRequestBody.ts @@ -24,7 +24,7 @@ export interface Error_TypePostRequestBody extends AdditionalDataHolder, Parsabl errorVal?: Json; } export function serializeError_TypePostRequestBody(writer: SerializationWriter, error_TypePostRequestBody: Error_TypePostRequestBody | undefined = {} as Error_TypePostRequestBody) : void { - writer.writeObjectValue("errorVal", error_TypePostRequestBody.errorVal, ); + writer.writeObjectValue("errorVal", error_TypePostRequestBody.errorVal, serializeJson); writer.writeAdditionalData(error_TypePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/even/evenPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/even/evenPostRequestBody.ts index c648404c971..2e6c6f9354d 100644 --- a/src/drives/item/items/item/workbook/functions/even/evenPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/even/evenPostRequestBody.ts @@ -24,7 +24,7 @@ export interface EvenPostRequestBody extends AdditionalDataHolder, Parsable { number?: Json; } export function serializeEvenPostRequestBody(writer: SerializationWriter, evenPostRequestBody: EvenPostRequestBody | undefined = {} as EvenPostRequestBody) : void { - writer.writeObjectValue("number", evenPostRequestBody.number, ); + writer.writeObjectValue("number", evenPostRequestBody.number, serializeJson); writer.writeAdditionalData(evenPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/exact/exactPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/exact/exactPostRequestBody.ts index b6d3f4576f5..f6f9fbe656f 100644 --- a/src/drives/item/items/item/workbook/functions/exact/exactPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/exact/exactPostRequestBody.ts @@ -29,8 +29,8 @@ export interface ExactPostRequestBody extends AdditionalDataHolder, Parsable { text2?: Json; } export function serializeExactPostRequestBody(writer: SerializationWriter, exactPostRequestBody: ExactPostRequestBody | undefined = {} as ExactPostRequestBody) : void { - writer.writeObjectValue("text1", exactPostRequestBody.text1, ); - writer.writeObjectValue("text2", exactPostRequestBody.text2, ); + writer.writeObjectValue("text1", exactPostRequestBody.text1, serializeJson); + writer.writeObjectValue("text2", exactPostRequestBody.text2, serializeJson); writer.writeAdditionalData(exactPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/exp/expPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/exp/expPostRequestBody.ts index 917292d735c..7ca01c4db5a 100644 --- a/src/drives/item/items/item/workbook/functions/exp/expPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/exp/expPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ExpPostRequestBody extends AdditionalDataHolder, Parsable { number?: Json; } export function serializeExpPostRequestBody(writer: SerializationWriter, expPostRequestBody: ExpPostRequestBody | undefined = {} as ExpPostRequestBody) : void { - writer.writeObjectValue("number", expPostRequestBody.number, ); + writer.writeObjectValue("number", expPostRequestBody.number, serializeJson); writer.writeAdditionalData(expPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/expon_Dist/expon_DistPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/expon_Dist/expon_DistPostRequestBody.ts index f9945203296..2fbdba9b9eb 100644 --- a/src/drives/item/items/item/workbook/functions/expon_Dist/expon_DistPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/expon_Dist/expon_DistPostRequestBody.ts @@ -34,9 +34,9 @@ export interface Expon_DistPostRequestBody extends AdditionalDataHolder, Parsabl x?: Json; } export function serializeExpon_DistPostRequestBody(writer: SerializationWriter, expon_DistPostRequestBody: Expon_DistPostRequestBody | undefined = {} as Expon_DistPostRequestBody) : void { - writer.writeObjectValue("cumulative", expon_DistPostRequestBody.cumulative, ); - writer.writeObjectValue("lambda", expon_DistPostRequestBody.lambda, ); - writer.writeObjectValue("x", expon_DistPostRequestBody.x, ); + writer.writeObjectValue("cumulative", expon_DistPostRequestBody.cumulative, serializeJson); + writer.writeObjectValue("lambda", expon_DistPostRequestBody.lambda, serializeJson); + writer.writeObjectValue("x", expon_DistPostRequestBody.x, serializeJson); writer.writeAdditionalData(expon_DistPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/f_Dist/f_DistPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/f_Dist/f_DistPostRequestBody.ts index 62184b6b2a5..f0706f21220 100644 --- a/src/drives/item/items/item/workbook/functions/f_Dist/f_DistPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/f_Dist/f_DistPostRequestBody.ts @@ -39,10 +39,10 @@ export interface F_DistPostRequestBody extends AdditionalDataHolder, Parsable { x?: Json; } export function serializeF_DistPostRequestBody(writer: SerializationWriter, f_DistPostRequestBody: F_DistPostRequestBody | undefined = {} as F_DistPostRequestBody) : void { - writer.writeObjectValue("cumulative", f_DistPostRequestBody.cumulative, ); - writer.writeObjectValue("degFreedom1", f_DistPostRequestBody.degFreedom1, ); - writer.writeObjectValue("degFreedom2", f_DistPostRequestBody.degFreedom2, ); - writer.writeObjectValue("x", f_DistPostRequestBody.x, ); + writer.writeObjectValue("cumulative", f_DistPostRequestBody.cumulative, serializeJson); + writer.writeObjectValue("degFreedom1", f_DistPostRequestBody.degFreedom1, serializeJson); + writer.writeObjectValue("degFreedom2", f_DistPostRequestBody.degFreedom2, serializeJson); + writer.writeObjectValue("x", f_DistPostRequestBody.x, serializeJson); writer.writeAdditionalData(f_DistPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/f_Dist_RT/f_Dist_RTPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/f_Dist_RT/f_Dist_RTPostRequestBody.ts index 53bdd571cbb..4018544ec3e 100644 --- a/src/drives/item/items/item/workbook/functions/f_Dist_RT/f_Dist_RTPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/f_Dist_RT/f_Dist_RTPostRequestBody.ts @@ -34,9 +34,9 @@ export interface F_Dist_RTPostRequestBody extends AdditionalDataHolder, Parsable x?: Json; } export function serializeF_Dist_RTPostRequestBody(writer: SerializationWriter, f_Dist_RTPostRequestBody: F_Dist_RTPostRequestBody | undefined = {} as F_Dist_RTPostRequestBody) : void { - writer.writeObjectValue("degFreedom1", f_Dist_RTPostRequestBody.degFreedom1, ); - writer.writeObjectValue("degFreedom2", f_Dist_RTPostRequestBody.degFreedom2, ); - writer.writeObjectValue("x", f_Dist_RTPostRequestBody.x, ); + writer.writeObjectValue("degFreedom1", f_Dist_RTPostRequestBody.degFreedom1, serializeJson); + writer.writeObjectValue("degFreedom2", f_Dist_RTPostRequestBody.degFreedom2, serializeJson); + writer.writeObjectValue("x", f_Dist_RTPostRequestBody.x, serializeJson); writer.writeAdditionalData(f_Dist_RTPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/f_Inv/f_InvPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/f_Inv/f_InvPostRequestBody.ts index b08c114ed09..9b288f2f2e3 100644 --- a/src/drives/item/items/item/workbook/functions/f_Inv/f_InvPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/f_Inv/f_InvPostRequestBody.ts @@ -34,9 +34,9 @@ export interface F_InvPostRequestBody extends AdditionalDataHolder, Parsable { probability?: Json; } export function serializeF_InvPostRequestBody(writer: SerializationWriter, f_InvPostRequestBody: F_InvPostRequestBody | undefined = {} as F_InvPostRequestBody) : void { - writer.writeObjectValue("degFreedom1", f_InvPostRequestBody.degFreedom1, ); - writer.writeObjectValue("degFreedom2", f_InvPostRequestBody.degFreedom2, ); - writer.writeObjectValue("probability", f_InvPostRequestBody.probability, ); + writer.writeObjectValue("degFreedom1", f_InvPostRequestBody.degFreedom1, serializeJson); + writer.writeObjectValue("degFreedom2", f_InvPostRequestBody.degFreedom2, serializeJson); + writer.writeObjectValue("probability", f_InvPostRequestBody.probability, serializeJson); writer.writeAdditionalData(f_InvPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/f_Inv_RT/f_Inv_RTPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/f_Inv_RT/f_Inv_RTPostRequestBody.ts index 7555691387e..36af91412de 100644 --- a/src/drives/item/items/item/workbook/functions/f_Inv_RT/f_Inv_RTPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/f_Inv_RT/f_Inv_RTPostRequestBody.ts @@ -34,9 +34,9 @@ export interface F_Inv_RTPostRequestBody extends AdditionalDataHolder, Parsable probability?: Json; } export function serializeF_Inv_RTPostRequestBody(writer: SerializationWriter, f_Inv_RTPostRequestBody: F_Inv_RTPostRequestBody | undefined = {} as F_Inv_RTPostRequestBody) : void { - writer.writeObjectValue("degFreedom1", f_Inv_RTPostRequestBody.degFreedom1, ); - writer.writeObjectValue("degFreedom2", f_Inv_RTPostRequestBody.degFreedom2, ); - writer.writeObjectValue("probability", f_Inv_RTPostRequestBody.probability, ); + writer.writeObjectValue("degFreedom1", f_Inv_RTPostRequestBody.degFreedom1, serializeJson); + writer.writeObjectValue("degFreedom2", f_Inv_RTPostRequestBody.degFreedom2, serializeJson); + writer.writeObjectValue("probability", f_Inv_RTPostRequestBody.probability, serializeJson); writer.writeAdditionalData(f_Inv_RTPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/fact/factPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/fact/factPostRequestBody.ts index 9714f0d31cb..85abda0d783 100644 --- a/src/drives/item/items/item/workbook/functions/fact/factPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/fact/factPostRequestBody.ts @@ -24,7 +24,7 @@ export interface FactPostRequestBody extends AdditionalDataHolder, Parsable { number?: Json; } export function serializeFactPostRequestBody(writer: SerializationWriter, factPostRequestBody: FactPostRequestBody | undefined = {} as FactPostRequestBody) : void { - writer.writeObjectValue("number", factPostRequestBody.number, ); + writer.writeObjectValue("number", factPostRequestBody.number, serializeJson); writer.writeAdditionalData(factPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/factDouble/factDoublePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/factDouble/factDoublePostRequestBody.ts index b8d5079f690..ce7c6fbf9c7 100644 --- a/src/drives/item/items/item/workbook/functions/factDouble/factDoublePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/factDouble/factDoublePostRequestBody.ts @@ -24,7 +24,7 @@ export interface FactDoublePostRequestBody extends AdditionalDataHolder, Parsabl number?: Json; } export function serializeFactDoublePostRequestBody(writer: SerializationWriter, factDoublePostRequestBody: FactDoublePostRequestBody | undefined = {} as FactDoublePostRequestBody) : void { - writer.writeObjectValue("number", factDoublePostRequestBody.number, ); + writer.writeObjectValue("number", factDoublePostRequestBody.number, serializeJson); writer.writeAdditionalData(factDoublePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/find/findPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/find/findPostRequestBody.ts index 976f0466ff9..f1a8a51fddf 100644 --- a/src/drives/item/items/item/workbook/functions/find/findPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/find/findPostRequestBody.ts @@ -34,9 +34,9 @@ export interface FindPostRequestBody extends AdditionalDataHolder, Parsable { withinText?: Json; } export function serializeFindPostRequestBody(writer: SerializationWriter, findPostRequestBody: FindPostRequestBody | undefined = {} as FindPostRequestBody) : void { - writer.writeObjectValue("findText", findPostRequestBody.findText, ); - writer.writeObjectValue("startNum", findPostRequestBody.startNum, ); - writer.writeObjectValue("withinText", findPostRequestBody.withinText, ); + writer.writeObjectValue("findText", findPostRequestBody.findText, serializeJson); + writer.writeObjectValue("startNum", findPostRequestBody.startNum, serializeJson); + writer.writeObjectValue("withinText", findPostRequestBody.withinText, serializeJson); writer.writeAdditionalData(findPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/findB/findBPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/findB/findBPostRequestBody.ts index 2324422cfa0..0cec70456cf 100644 --- a/src/drives/item/items/item/workbook/functions/findB/findBPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/findB/findBPostRequestBody.ts @@ -34,9 +34,9 @@ export interface FindBPostRequestBody extends AdditionalDataHolder, Parsable { withinText?: Json; } export function serializeFindBPostRequestBody(writer: SerializationWriter, findBPostRequestBody: FindBPostRequestBody | undefined = {} as FindBPostRequestBody) : void { - writer.writeObjectValue("findText", findBPostRequestBody.findText, ); - writer.writeObjectValue("startNum", findBPostRequestBody.startNum, ); - writer.writeObjectValue("withinText", findBPostRequestBody.withinText, ); + writer.writeObjectValue("findText", findBPostRequestBody.findText, serializeJson); + writer.writeObjectValue("startNum", findBPostRequestBody.startNum, serializeJson); + writer.writeObjectValue("withinText", findBPostRequestBody.withinText, serializeJson); writer.writeAdditionalData(findBPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/fisher/fisherPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/fisher/fisherPostRequestBody.ts index a5be030f6df..01468968e41 100644 --- a/src/drives/item/items/item/workbook/functions/fisher/fisherPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/fisher/fisherPostRequestBody.ts @@ -24,7 +24,7 @@ export interface FisherPostRequestBody extends AdditionalDataHolder, Parsable { x?: Json; } export function serializeFisherPostRequestBody(writer: SerializationWriter, fisherPostRequestBody: FisherPostRequestBody | undefined = {} as FisherPostRequestBody) : void { - writer.writeObjectValue("x", fisherPostRequestBody.x, ); + writer.writeObjectValue("x", fisherPostRequestBody.x, serializeJson); writer.writeAdditionalData(fisherPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/fisherInv/fisherInvPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/fisherInv/fisherInvPostRequestBody.ts index 1c3d54d0305..6c3959793c9 100644 --- a/src/drives/item/items/item/workbook/functions/fisherInv/fisherInvPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/fisherInv/fisherInvPostRequestBody.ts @@ -24,7 +24,7 @@ export interface FisherInvPostRequestBody extends AdditionalDataHolder, Parsable y?: Json; } export function serializeFisherInvPostRequestBody(writer: SerializationWriter, fisherInvPostRequestBody: FisherInvPostRequestBody | undefined = {} as FisherInvPostRequestBody) : void { - writer.writeObjectValue("y", fisherInvPostRequestBody.y, ); + writer.writeObjectValue("y", fisherInvPostRequestBody.y, serializeJson); writer.writeAdditionalData(fisherInvPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/fixed/fixedPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/fixed/fixedPostRequestBody.ts index cdb2bb2d242..4c112505af1 100644 --- a/src/drives/item/items/item/workbook/functions/fixed/fixedPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/fixed/fixedPostRequestBody.ts @@ -34,9 +34,9 @@ export interface FixedPostRequestBody extends AdditionalDataHolder, Parsable { number?: Json; } export function serializeFixedPostRequestBody(writer: SerializationWriter, fixedPostRequestBody: FixedPostRequestBody | undefined = {} as FixedPostRequestBody) : void { - writer.writeObjectValue("decimals", fixedPostRequestBody.decimals, ); - writer.writeObjectValue("noCommas", fixedPostRequestBody.noCommas, ); - writer.writeObjectValue("number", fixedPostRequestBody.number, ); + writer.writeObjectValue("decimals", fixedPostRequestBody.decimals, serializeJson); + writer.writeObjectValue("noCommas", fixedPostRequestBody.noCommas, serializeJson); + writer.writeObjectValue("number", fixedPostRequestBody.number, serializeJson); writer.writeAdditionalData(fixedPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/floor_Math/floor_MathPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/floor_Math/floor_MathPostRequestBody.ts index b05d7717fc6..0323cfe2df6 100644 --- a/src/drives/item/items/item/workbook/functions/floor_Math/floor_MathPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/floor_Math/floor_MathPostRequestBody.ts @@ -34,9 +34,9 @@ export interface Floor_MathPostRequestBody extends AdditionalDataHolder, Parsabl significance?: Json; } export function serializeFloor_MathPostRequestBody(writer: SerializationWriter, floor_MathPostRequestBody: Floor_MathPostRequestBody | undefined = {} as Floor_MathPostRequestBody) : void { - writer.writeObjectValue("mode", floor_MathPostRequestBody.mode, ); - writer.writeObjectValue("number", floor_MathPostRequestBody.number, ); - writer.writeObjectValue("significance", floor_MathPostRequestBody.significance, ); + writer.writeObjectValue("mode", floor_MathPostRequestBody.mode, serializeJson); + writer.writeObjectValue("number", floor_MathPostRequestBody.number, serializeJson); + writer.writeObjectValue("significance", floor_MathPostRequestBody.significance, serializeJson); writer.writeAdditionalData(floor_MathPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/floor_Precise/floor_PrecisePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/floor_Precise/floor_PrecisePostRequestBody.ts index 3f31e547cee..c819d3a42ed 100644 --- a/src/drives/item/items/item/workbook/functions/floor_Precise/floor_PrecisePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/floor_Precise/floor_PrecisePostRequestBody.ts @@ -29,8 +29,8 @@ export interface Floor_PrecisePostRequestBody extends AdditionalDataHolder, Pars significance?: Json; } export function serializeFloor_PrecisePostRequestBody(writer: SerializationWriter, floor_PrecisePostRequestBody: Floor_PrecisePostRequestBody | undefined = {} as Floor_PrecisePostRequestBody) : void { - writer.writeObjectValue("number", floor_PrecisePostRequestBody.number, ); - writer.writeObjectValue("significance", floor_PrecisePostRequestBody.significance, ); + writer.writeObjectValue("number", floor_PrecisePostRequestBody.number, serializeJson); + writer.writeObjectValue("significance", floor_PrecisePostRequestBody.significance, serializeJson); writer.writeAdditionalData(floor_PrecisePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/fv/fvPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/fv/fvPostRequestBody.ts index 9e2238d3ea8..051ef41437c 100644 --- a/src/drives/item/items/item/workbook/functions/fv/fvPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/fv/fvPostRequestBody.ts @@ -44,11 +44,11 @@ export interface FvPostRequestBody extends AdditionalDataHolder, Parsable { type?: Json; } export function serializeFvPostRequestBody(writer: SerializationWriter, fvPostRequestBody: FvPostRequestBody | undefined = {} as FvPostRequestBody) : void { - writer.writeObjectValue("nper", fvPostRequestBody.nper, ); - writer.writeObjectValue("pmt", fvPostRequestBody.pmt, ); - writer.writeObjectValue("pv", fvPostRequestBody.pv, ); - writer.writeObjectValue("rate", fvPostRequestBody.rate, ); - writer.writeObjectValue("type", fvPostRequestBody.type, ); + writer.writeObjectValue("nper", fvPostRequestBody.nper, serializeJson); + writer.writeObjectValue("pmt", fvPostRequestBody.pmt, serializeJson); + writer.writeObjectValue("pv", fvPostRequestBody.pv, serializeJson); + writer.writeObjectValue("rate", fvPostRequestBody.rate, serializeJson); + writer.writeObjectValue("type", fvPostRequestBody.type, serializeJson); writer.writeAdditionalData(fvPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/fvschedule/fvschedulePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/fvschedule/fvschedulePostRequestBody.ts index a858f15ded5..04495e20c13 100644 --- a/src/drives/item/items/item/workbook/functions/fvschedule/fvschedulePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/fvschedule/fvschedulePostRequestBody.ts @@ -29,8 +29,8 @@ export interface FvschedulePostRequestBody extends AdditionalDataHolder, Parsabl schedule?: Json; } export function serializeFvschedulePostRequestBody(writer: SerializationWriter, fvschedulePostRequestBody: FvschedulePostRequestBody | undefined = {} as FvschedulePostRequestBody) : void { - writer.writeObjectValue("principal", fvschedulePostRequestBody.principal, ); - writer.writeObjectValue("schedule", fvschedulePostRequestBody.schedule, ); + writer.writeObjectValue("principal", fvschedulePostRequestBody.principal, serializeJson); + writer.writeObjectValue("schedule", fvschedulePostRequestBody.schedule, serializeJson); writer.writeAdditionalData(fvschedulePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/gamma/gammaPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/gamma/gammaPostRequestBody.ts index e9733b1fa9b..f106410096e 100644 --- a/src/drives/item/items/item/workbook/functions/gamma/gammaPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/gamma/gammaPostRequestBody.ts @@ -24,7 +24,7 @@ export interface GammaPostRequestBody extends AdditionalDataHolder, Parsable { x?: Json; } export function serializeGammaPostRequestBody(writer: SerializationWriter, gammaPostRequestBody: GammaPostRequestBody | undefined = {} as GammaPostRequestBody) : void { - writer.writeObjectValue("x", gammaPostRequestBody.x, ); + writer.writeObjectValue("x", gammaPostRequestBody.x, serializeJson); writer.writeAdditionalData(gammaPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/gammaLn/gammaLnPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/gammaLn/gammaLnPostRequestBody.ts index 2978a5e1059..f00c2b7071d 100644 --- a/src/drives/item/items/item/workbook/functions/gammaLn/gammaLnPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/gammaLn/gammaLnPostRequestBody.ts @@ -24,7 +24,7 @@ export interface GammaLnPostRequestBody extends AdditionalDataHolder, Parsable { x?: Json; } export function serializeGammaLnPostRequestBody(writer: SerializationWriter, gammaLnPostRequestBody: GammaLnPostRequestBody | undefined = {} as GammaLnPostRequestBody) : void { - writer.writeObjectValue("x", gammaLnPostRequestBody.x, ); + writer.writeObjectValue("x", gammaLnPostRequestBody.x, serializeJson); writer.writeAdditionalData(gammaLnPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/gammaLn_Precise/gammaLn_PrecisePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/gammaLn_Precise/gammaLn_PrecisePostRequestBody.ts index 5c1006087c8..03c80b4afcb 100644 --- a/src/drives/item/items/item/workbook/functions/gammaLn_Precise/gammaLn_PrecisePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/gammaLn_Precise/gammaLn_PrecisePostRequestBody.ts @@ -24,7 +24,7 @@ export interface GammaLn_PrecisePostRequestBody extends AdditionalDataHolder, Pa x?: Json; } export function serializeGammaLn_PrecisePostRequestBody(writer: SerializationWriter, gammaLn_PrecisePostRequestBody: GammaLn_PrecisePostRequestBody | undefined = {} as GammaLn_PrecisePostRequestBody) : void { - writer.writeObjectValue("x", gammaLn_PrecisePostRequestBody.x, ); + writer.writeObjectValue("x", gammaLn_PrecisePostRequestBody.x, serializeJson); writer.writeAdditionalData(gammaLn_PrecisePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/gamma_Dist/gamma_DistPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/gamma_Dist/gamma_DistPostRequestBody.ts index 26a41b4d29c..c171ebcb32a 100644 --- a/src/drives/item/items/item/workbook/functions/gamma_Dist/gamma_DistPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/gamma_Dist/gamma_DistPostRequestBody.ts @@ -39,10 +39,10 @@ export interface Gamma_DistPostRequestBody extends AdditionalDataHolder, Parsabl x?: Json; } export function serializeGamma_DistPostRequestBody(writer: SerializationWriter, gamma_DistPostRequestBody: Gamma_DistPostRequestBody | undefined = {} as Gamma_DistPostRequestBody) : void { - writer.writeObjectValue("alpha", gamma_DistPostRequestBody.alpha, ); - writer.writeObjectValue("beta", gamma_DistPostRequestBody.beta, ); - writer.writeObjectValue("cumulative", gamma_DistPostRequestBody.cumulative, ); - writer.writeObjectValue("x", gamma_DistPostRequestBody.x, ); + writer.writeObjectValue("alpha", gamma_DistPostRequestBody.alpha, serializeJson); + writer.writeObjectValue("beta", gamma_DistPostRequestBody.beta, serializeJson); + writer.writeObjectValue("cumulative", gamma_DistPostRequestBody.cumulative, serializeJson); + writer.writeObjectValue("x", gamma_DistPostRequestBody.x, serializeJson); writer.writeAdditionalData(gamma_DistPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/gamma_Inv/gamma_InvPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/gamma_Inv/gamma_InvPostRequestBody.ts index f96ca7ef10f..1e75f807f07 100644 --- a/src/drives/item/items/item/workbook/functions/gamma_Inv/gamma_InvPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/gamma_Inv/gamma_InvPostRequestBody.ts @@ -34,9 +34,9 @@ export interface Gamma_InvPostRequestBody extends AdditionalDataHolder, Parsable probability?: Json; } export function serializeGamma_InvPostRequestBody(writer: SerializationWriter, gamma_InvPostRequestBody: Gamma_InvPostRequestBody | undefined = {} as Gamma_InvPostRequestBody) : void { - writer.writeObjectValue("alpha", gamma_InvPostRequestBody.alpha, ); - writer.writeObjectValue("beta", gamma_InvPostRequestBody.beta, ); - writer.writeObjectValue("probability", gamma_InvPostRequestBody.probability, ); + writer.writeObjectValue("alpha", gamma_InvPostRequestBody.alpha, serializeJson); + writer.writeObjectValue("beta", gamma_InvPostRequestBody.beta, serializeJson); + writer.writeObjectValue("probability", gamma_InvPostRequestBody.probability, serializeJson); writer.writeAdditionalData(gamma_InvPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/gauss/gaussPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/gauss/gaussPostRequestBody.ts index 05744d9dc84..d2b63d7d852 100644 --- a/src/drives/item/items/item/workbook/functions/gauss/gaussPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/gauss/gaussPostRequestBody.ts @@ -24,7 +24,7 @@ export interface GaussPostRequestBody extends AdditionalDataHolder, Parsable { x?: Json; } export function serializeGaussPostRequestBody(writer: SerializationWriter, gaussPostRequestBody: GaussPostRequestBody | undefined = {} as GaussPostRequestBody) : void { - writer.writeObjectValue("x", gaussPostRequestBody.x, ); + writer.writeObjectValue("x", gaussPostRequestBody.x, serializeJson); writer.writeAdditionalData(gaussPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/gcd/gcdPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/gcd/gcdPostRequestBody.ts index 91c0a5df345..2c5a8dc1a2e 100644 --- a/src/drives/item/items/item/workbook/functions/gcd/gcdPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/gcd/gcdPostRequestBody.ts @@ -24,7 +24,7 @@ export interface GcdPostRequestBody extends AdditionalDataHolder, Parsable { values?: Json; } export function serializeGcdPostRequestBody(writer: SerializationWriter, gcdPostRequestBody: GcdPostRequestBody | undefined = {} as GcdPostRequestBody) : void { - writer.writeObjectValue("values", gcdPostRequestBody.values, ); + writer.writeObjectValue("values", gcdPostRequestBody.values, serializeJson); writer.writeAdditionalData(gcdPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/geStep/geStepPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/geStep/geStepPostRequestBody.ts index bbc97942b37..af18a429a00 100644 --- a/src/drives/item/items/item/workbook/functions/geStep/geStepPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/geStep/geStepPostRequestBody.ts @@ -29,8 +29,8 @@ export interface GeStepPostRequestBody extends AdditionalDataHolder, Parsable { step?: Json; } export function serializeGeStepPostRequestBody(writer: SerializationWriter, geStepPostRequestBody: GeStepPostRequestBody | undefined = {} as GeStepPostRequestBody) : void { - writer.writeObjectValue("number", geStepPostRequestBody.number, ); - writer.writeObjectValue("step", geStepPostRequestBody.step, ); + writer.writeObjectValue("number", geStepPostRequestBody.number, serializeJson); + writer.writeObjectValue("step", geStepPostRequestBody.step, serializeJson); writer.writeAdditionalData(geStepPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/geoMean/geoMeanPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/geoMean/geoMeanPostRequestBody.ts index ef1fa416a24..7a15e75f33e 100644 --- a/src/drives/item/items/item/workbook/functions/geoMean/geoMeanPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/geoMean/geoMeanPostRequestBody.ts @@ -24,7 +24,7 @@ export interface GeoMeanPostRequestBody extends AdditionalDataHolder, Parsable { values?: Json; } export function serializeGeoMeanPostRequestBody(writer: SerializationWriter, geoMeanPostRequestBody: GeoMeanPostRequestBody | undefined = {} as GeoMeanPostRequestBody) : void { - writer.writeObjectValue("values", geoMeanPostRequestBody.values, ); + writer.writeObjectValue("values", geoMeanPostRequestBody.values, serializeJson); writer.writeAdditionalData(geoMeanPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/harMean/harMeanPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/harMean/harMeanPostRequestBody.ts index 0b56976738e..6a8a0e6d6b8 100644 --- a/src/drives/item/items/item/workbook/functions/harMean/harMeanPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/harMean/harMeanPostRequestBody.ts @@ -24,7 +24,7 @@ export interface HarMeanPostRequestBody extends AdditionalDataHolder, Parsable { values?: Json; } export function serializeHarMeanPostRequestBody(writer: SerializationWriter, harMeanPostRequestBody: HarMeanPostRequestBody | undefined = {} as HarMeanPostRequestBody) : void { - writer.writeObjectValue("values", harMeanPostRequestBody.values, ); + writer.writeObjectValue("values", harMeanPostRequestBody.values, serializeJson); writer.writeAdditionalData(harMeanPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/hex2Bin/hex2BinPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/hex2Bin/hex2BinPostRequestBody.ts index 9c502d4f91c..a079042bb5e 100644 --- a/src/drives/item/items/item/workbook/functions/hex2Bin/hex2BinPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/hex2Bin/hex2BinPostRequestBody.ts @@ -29,8 +29,8 @@ export interface Hex2BinPostRequestBody extends AdditionalDataHolder, Parsable { places?: Json; } export function serializeHex2BinPostRequestBody(writer: SerializationWriter, hex2BinPostRequestBody: Hex2BinPostRequestBody | undefined = {} as Hex2BinPostRequestBody) : void { - writer.writeObjectValue("number", hex2BinPostRequestBody.number, ); - writer.writeObjectValue("places", hex2BinPostRequestBody.places, ); + writer.writeObjectValue("number", hex2BinPostRequestBody.number, serializeJson); + writer.writeObjectValue("places", hex2BinPostRequestBody.places, serializeJson); writer.writeAdditionalData(hex2BinPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/hex2Dec/hex2DecPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/hex2Dec/hex2DecPostRequestBody.ts index c535b936dee..7fe3eb13a66 100644 --- a/src/drives/item/items/item/workbook/functions/hex2Dec/hex2DecPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/hex2Dec/hex2DecPostRequestBody.ts @@ -24,7 +24,7 @@ export interface Hex2DecPostRequestBody extends AdditionalDataHolder, Parsable { number?: Json; } export function serializeHex2DecPostRequestBody(writer: SerializationWriter, hex2DecPostRequestBody: Hex2DecPostRequestBody | undefined = {} as Hex2DecPostRequestBody) : void { - writer.writeObjectValue("number", hex2DecPostRequestBody.number, ); + writer.writeObjectValue("number", hex2DecPostRequestBody.number, serializeJson); writer.writeAdditionalData(hex2DecPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/hex2Oct/hex2OctPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/hex2Oct/hex2OctPostRequestBody.ts index 258676ac10b..711f421f3a1 100644 --- a/src/drives/item/items/item/workbook/functions/hex2Oct/hex2OctPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/hex2Oct/hex2OctPostRequestBody.ts @@ -29,8 +29,8 @@ export interface Hex2OctPostRequestBody extends AdditionalDataHolder, Parsable { places?: Json; } export function serializeHex2OctPostRequestBody(writer: SerializationWriter, hex2OctPostRequestBody: Hex2OctPostRequestBody | undefined = {} as Hex2OctPostRequestBody) : void { - writer.writeObjectValue("number", hex2OctPostRequestBody.number, ); - writer.writeObjectValue("places", hex2OctPostRequestBody.places, ); + writer.writeObjectValue("number", hex2OctPostRequestBody.number, serializeJson); + writer.writeObjectValue("places", hex2OctPostRequestBody.places, serializeJson); writer.writeAdditionalData(hex2OctPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/hlookup/hlookupPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/hlookup/hlookupPostRequestBody.ts index a4c0371a6e6..1182f897221 100644 --- a/src/drives/item/items/item/workbook/functions/hlookup/hlookupPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/hlookup/hlookupPostRequestBody.ts @@ -39,10 +39,10 @@ export interface HlookupPostRequestBody extends AdditionalDataHolder, Parsable { tableArray?: Json; } export function serializeHlookupPostRequestBody(writer: SerializationWriter, hlookupPostRequestBody: HlookupPostRequestBody | undefined = {} as HlookupPostRequestBody) : void { - writer.writeObjectValue("lookupValue", hlookupPostRequestBody.lookupValue, ); - writer.writeObjectValue("rangeLookup", hlookupPostRequestBody.rangeLookup, ); - writer.writeObjectValue("rowIndexNum", hlookupPostRequestBody.rowIndexNum, ); - writer.writeObjectValue("tableArray", hlookupPostRequestBody.tableArray, ); + writer.writeObjectValue("lookupValue", hlookupPostRequestBody.lookupValue, serializeJson); + writer.writeObjectValue("rangeLookup", hlookupPostRequestBody.rangeLookup, serializeJson); + writer.writeObjectValue("rowIndexNum", hlookupPostRequestBody.rowIndexNum, serializeJson); + writer.writeObjectValue("tableArray", hlookupPostRequestBody.tableArray, serializeJson); writer.writeAdditionalData(hlookupPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/hour/hourPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/hour/hourPostRequestBody.ts index 500b66b2a1f..5a9b836a716 100644 --- a/src/drives/item/items/item/workbook/functions/hour/hourPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/hour/hourPostRequestBody.ts @@ -24,7 +24,7 @@ export interface HourPostRequestBody extends AdditionalDataHolder, Parsable { serialNumber?: Json; } export function serializeHourPostRequestBody(writer: SerializationWriter, hourPostRequestBody: HourPostRequestBody | undefined = {} as HourPostRequestBody) : void { - writer.writeObjectValue("serialNumber", hourPostRequestBody.serialNumber, ); + writer.writeObjectValue("serialNumber", hourPostRequestBody.serialNumber, serializeJson); writer.writeAdditionalData(hourPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/hypGeom_Dist/hypGeom_DistPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/hypGeom_Dist/hypGeom_DistPostRequestBody.ts index 59c6bb42b2f..2de7db174bb 100644 --- a/src/drives/item/items/item/workbook/functions/hypGeom_Dist/hypGeom_DistPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/hypGeom_Dist/hypGeom_DistPostRequestBody.ts @@ -44,11 +44,11 @@ export interface HypGeom_DistPostRequestBody extends AdditionalDataHolder, Parsa sampleS?: Json; } export function serializeHypGeom_DistPostRequestBody(writer: SerializationWriter, hypGeom_DistPostRequestBody: HypGeom_DistPostRequestBody | undefined = {} as HypGeom_DistPostRequestBody) : void { - writer.writeObjectValue("cumulative", hypGeom_DistPostRequestBody.cumulative, ); - writer.writeObjectValue("numberPop", hypGeom_DistPostRequestBody.numberPop, ); - writer.writeObjectValue("numberSample", hypGeom_DistPostRequestBody.numberSample, ); - writer.writeObjectValue("populationS", hypGeom_DistPostRequestBody.populationS, ); - writer.writeObjectValue("sampleS", hypGeom_DistPostRequestBody.sampleS, ); + writer.writeObjectValue("cumulative", hypGeom_DistPostRequestBody.cumulative, serializeJson); + writer.writeObjectValue("numberPop", hypGeom_DistPostRequestBody.numberPop, serializeJson); + writer.writeObjectValue("numberSample", hypGeom_DistPostRequestBody.numberSample, serializeJson); + writer.writeObjectValue("populationS", hypGeom_DistPostRequestBody.populationS, serializeJson); + writer.writeObjectValue("sampleS", hypGeom_DistPostRequestBody.sampleS, serializeJson); writer.writeAdditionalData(hypGeom_DistPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/hyperlink/hyperlinkPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/hyperlink/hyperlinkPostRequestBody.ts index 77806b89f05..4c979e1e2bc 100644 --- a/src/drives/item/items/item/workbook/functions/hyperlink/hyperlinkPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/hyperlink/hyperlinkPostRequestBody.ts @@ -29,8 +29,8 @@ export interface HyperlinkPostRequestBody extends AdditionalDataHolder, Parsable linkLocation?: Json; } export function serializeHyperlinkPostRequestBody(writer: SerializationWriter, hyperlinkPostRequestBody: HyperlinkPostRequestBody | undefined = {} as HyperlinkPostRequestBody) : void { - writer.writeObjectValue("friendlyName", hyperlinkPostRequestBody.friendlyName, ); - writer.writeObjectValue("linkLocation", hyperlinkPostRequestBody.linkLocation, ); + writer.writeObjectValue("friendlyName", hyperlinkPostRequestBody.friendlyName, serializeJson); + writer.writeObjectValue("linkLocation", hyperlinkPostRequestBody.linkLocation, serializeJson); writer.writeAdditionalData(hyperlinkPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/ifEscaped/ifPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/ifEscaped/ifPostRequestBody.ts index 7f5f3d8f2b5..3094347a066 100644 --- a/src/drives/item/items/item/workbook/functions/ifEscaped/ifPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/ifEscaped/ifPostRequestBody.ts @@ -34,9 +34,9 @@ export interface IfPostRequestBody extends AdditionalDataHolder, Parsable { valueIfTrue?: Json; } export function serializeIfPostRequestBody(writer: SerializationWriter, ifPostRequestBody: IfPostRequestBody | undefined = {} as IfPostRequestBody) : void { - writer.writeObjectValue("logicalTest", ifPostRequestBody.logicalTest, ); - writer.writeObjectValue("valueIfFalse", ifPostRequestBody.valueIfFalse, ); - writer.writeObjectValue("valueIfTrue", ifPostRequestBody.valueIfTrue, ); + writer.writeObjectValue("logicalTest", ifPostRequestBody.logicalTest, serializeJson); + writer.writeObjectValue("valueIfFalse", ifPostRequestBody.valueIfFalse, serializeJson); + writer.writeObjectValue("valueIfTrue", ifPostRequestBody.valueIfTrue, serializeJson); writer.writeAdditionalData(ifPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imAbs/imAbsPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imAbs/imAbsPostRequestBody.ts index b913384b355..0b905e2fe1f 100644 --- a/src/drives/item/items/item/workbook/functions/imAbs/imAbsPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imAbs/imAbsPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImAbsPostRequestBody extends AdditionalDataHolder, Parsable { inumber?: Json; } export function serializeImAbsPostRequestBody(writer: SerializationWriter, imAbsPostRequestBody: ImAbsPostRequestBody | undefined = {} as ImAbsPostRequestBody) : void { - writer.writeObjectValue("inumber", imAbsPostRequestBody.inumber, ); + writer.writeObjectValue("inumber", imAbsPostRequestBody.inumber, serializeJson); writer.writeAdditionalData(imAbsPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imArgument/imArgumentPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imArgument/imArgumentPostRequestBody.ts index 24b66e98ec2..226af89a745 100644 --- a/src/drives/item/items/item/workbook/functions/imArgument/imArgumentPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imArgument/imArgumentPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImArgumentPostRequestBody extends AdditionalDataHolder, Parsabl inumber?: Json; } export function serializeImArgumentPostRequestBody(writer: SerializationWriter, imArgumentPostRequestBody: ImArgumentPostRequestBody | undefined = {} as ImArgumentPostRequestBody) : void { - writer.writeObjectValue("inumber", imArgumentPostRequestBody.inumber, ); + writer.writeObjectValue("inumber", imArgumentPostRequestBody.inumber, serializeJson); writer.writeAdditionalData(imArgumentPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imConjugate/imConjugatePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imConjugate/imConjugatePostRequestBody.ts index f46547628cc..950b28787b9 100644 --- a/src/drives/item/items/item/workbook/functions/imConjugate/imConjugatePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imConjugate/imConjugatePostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImConjugatePostRequestBody extends AdditionalDataHolder, Parsab inumber?: Json; } export function serializeImConjugatePostRequestBody(writer: SerializationWriter, imConjugatePostRequestBody: ImConjugatePostRequestBody | undefined = {} as ImConjugatePostRequestBody) : void { - writer.writeObjectValue("inumber", imConjugatePostRequestBody.inumber, ); + writer.writeObjectValue("inumber", imConjugatePostRequestBody.inumber, serializeJson); writer.writeAdditionalData(imConjugatePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imCos/imCosPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imCos/imCosPostRequestBody.ts index 08350d1ccc3..cfeb573376f 100644 --- a/src/drives/item/items/item/workbook/functions/imCos/imCosPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imCos/imCosPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImCosPostRequestBody extends AdditionalDataHolder, Parsable { inumber?: Json; } export function serializeImCosPostRequestBody(writer: SerializationWriter, imCosPostRequestBody: ImCosPostRequestBody | undefined = {} as ImCosPostRequestBody) : void { - writer.writeObjectValue("inumber", imCosPostRequestBody.inumber, ); + writer.writeObjectValue("inumber", imCosPostRequestBody.inumber, serializeJson); writer.writeAdditionalData(imCosPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imCosh/imCoshPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imCosh/imCoshPostRequestBody.ts index ab3bc75a41e..6aa752425b2 100644 --- a/src/drives/item/items/item/workbook/functions/imCosh/imCoshPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imCosh/imCoshPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImCoshPostRequestBody extends AdditionalDataHolder, Parsable { inumber?: Json; } export function serializeImCoshPostRequestBody(writer: SerializationWriter, imCoshPostRequestBody: ImCoshPostRequestBody | undefined = {} as ImCoshPostRequestBody) : void { - writer.writeObjectValue("inumber", imCoshPostRequestBody.inumber, ); + writer.writeObjectValue("inumber", imCoshPostRequestBody.inumber, serializeJson); writer.writeAdditionalData(imCoshPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imCot/imCotPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imCot/imCotPostRequestBody.ts index 9ff4a4d40c7..42aa36a4164 100644 --- a/src/drives/item/items/item/workbook/functions/imCot/imCotPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imCot/imCotPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImCotPostRequestBody extends AdditionalDataHolder, Parsable { inumber?: Json; } export function serializeImCotPostRequestBody(writer: SerializationWriter, imCotPostRequestBody: ImCotPostRequestBody | undefined = {} as ImCotPostRequestBody) : void { - writer.writeObjectValue("inumber", imCotPostRequestBody.inumber, ); + writer.writeObjectValue("inumber", imCotPostRequestBody.inumber, serializeJson); writer.writeAdditionalData(imCotPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imCsc/imCscPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imCsc/imCscPostRequestBody.ts index e7e58279ac0..6b0df965e49 100644 --- a/src/drives/item/items/item/workbook/functions/imCsc/imCscPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imCsc/imCscPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImCscPostRequestBody extends AdditionalDataHolder, Parsable { inumber?: Json; } export function serializeImCscPostRequestBody(writer: SerializationWriter, imCscPostRequestBody: ImCscPostRequestBody | undefined = {} as ImCscPostRequestBody) : void { - writer.writeObjectValue("inumber", imCscPostRequestBody.inumber, ); + writer.writeObjectValue("inumber", imCscPostRequestBody.inumber, serializeJson); writer.writeAdditionalData(imCscPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imCsch/imCschPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imCsch/imCschPostRequestBody.ts index 67d56cb4258..e7d6a65206a 100644 --- a/src/drives/item/items/item/workbook/functions/imCsch/imCschPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imCsch/imCschPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImCschPostRequestBody extends AdditionalDataHolder, Parsable { inumber?: Json; } export function serializeImCschPostRequestBody(writer: SerializationWriter, imCschPostRequestBody: ImCschPostRequestBody | undefined = {} as ImCschPostRequestBody) : void { - writer.writeObjectValue("inumber", imCschPostRequestBody.inumber, ); + writer.writeObjectValue("inumber", imCschPostRequestBody.inumber, serializeJson); writer.writeAdditionalData(imCschPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imDiv/imDivPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imDiv/imDivPostRequestBody.ts index 23e35c4f910..a9436ba211a 100644 --- a/src/drives/item/items/item/workbook/functions/imDiv/imDivPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imDiv/imDivPostRequestBody.ts @@ -29,8 +29,8 @@ export interface ImDivPostRequestBody extends AdditionalDataHolder, Parsable { inumber2?: Json; } export function serializeImDivPostRequestBody(writer: SerializationWriter, imDivPostRequestBody: ImDivPostRequestBody | undefined = {} as ImDivPostRequestBody) : void { - writer.writeObjectValue("inumber1", imDivPostRequestBody.inumber1, ); - writer.writeObjectValue("inumber2", imDivPostRequestBody.inumber2, ); + writer.writeObjectValue("inumber1", imDivPostRequestBody.inumber1, serializeJson); + writer.writeObjectValue("inumber2", imDivPostRequestBody.inumber2, serializeJson); writer.writeAdditionalData(imDivPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imExp/imExpPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imExp/imExpPostRequestBody.ts index e9b40a1c110..ef2b54a915c 100644 --- a/src/drives/item/items/item/workbook/functions/imExp/imExpPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imExp/imExpPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImExpPostRequestBody extends AdditionalDataHolder, Parsable { inumber?: Json; } export function serializeImExpPostRequestBody(writer: SerializationWriter, imExpPostRequestBody: ImExpPostRequestBody | undefined = {} as ImExpPostRequestBody) : void { - writer.writeObjectValue("inumber", imExpPostRequestBody.inumber, ); + writer.writeObjectValue("inumber", imExpPostRequestBody.inumber, serializeJson); writer.writeAdditionalData(imExpPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imLn/imLnPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imLn/imLnPostRequestBody.ts index 4bdc0da24ab..c0f7ac2e71f 100644 --- a/src/drives/item/items/item/workbook/functions/imLn/imLnPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imLn/imLnPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImLnPostRequestBody extends AdditionalDataHolder, Parsable { inumber?: Json; } export function serializeImLnPostRequestBody(writer: SerializationWriter, imLnPostRequestBody: ImLnPostRequestBody | undefined = {} as ImLnPostRequestBody) : void { - writer.writeObjectValue("inumber", imLnPostRequestBody.inumber, ); + writer.writeObjectValue("inumber", imLnPostRequestBody.inumber, serializeJson); writer.writeAdditionalData(imLnPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imLog10/imLog10PostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imLog10/imLog10PostRequestBody.ts index 5b0737f3b7e..fab349af10f 100644 --- a/src/drives/item/items/item/workbook/functions/imLog10/imLog10PostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imLog10/imLog10PostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImLog10PostRequestBody extends AdditionalDataHolder, Parsable { inumber?: Json; } export function serializeImLog10PostRequestBody(writer: SerializationWriter, imLog10PostRequestBody: ImLog10PostRequestBody | undefined = {} as ImLog10PostRequestBody) : void { - writer.writeObjectValue("inumber", imLog10PostRequestBody.inumber, ); + writer.writeObjectValue("inumber", imLog10PostRequestBody.inumber, serializeJson); writer.writeAdditionalData(imLog10PostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imLog2/imLog2PostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imLog2/imLog2PostRequestBody.ts index 3980e5601fe..0e4ef3bb0e9 100644 --- a/src/drives/item/items/item/workbook/functions/imLog2/imLog2PostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imLog2/imLog2PostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImLog2PostRequestBody extends AdditionalDataHolder, Parsable { inumber?: Json; } export function serializeImLog2PostRequestBody(writer: SerializationWriter, imLog2PostRequestBody: ImLog2PostRequestBody | undefined = {} as ImLog2PostRequestBody) : void { - writer.writeObjectValue("inumber", imLog2PostRequestBody.inumber, ); + writer.writeObjectValue("inumber", imLog2PostRequestBody.inumber, serializeJson); writer.writeAdditionalData(imLog2PostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imPower/imPowerPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imPower/imPowerPostRequestBody.ts index 2323b72f34f..e57b9e53fab 100644 --- a/src/drives/item/items/item/workbook/functions/imPower/imPowerPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imPower/imPowerPostRequestBody.ts @@ -29,8 +29,8 @@ export interface ImPowerPostRequestBody extends AdditionalDataHolder, Parsable { number?: Json; } export function serializeImPowerPostRequestBody(writer: SerializationWriter, imPowerPostRequestBody: ImPowerPostRequestBody | undefined = {} as ImPowerPostRequestBody) : void { - writer.writeObjectValue("inumber", imPowerPostRequestBody.inumber, ); - writer.writeObjectValue("number", imPowerPostRequestBody.number, ); + writer.writeObjectValue("inumber", imPowerPostRequestBody.inumber, serializeJson); + writer.writeObjectValue("number", imPowerPostRequestBody.number, serializeJson); writer.writeAdditionalData(imPowerPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imProduct/imProductPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imProduct/imProductPostRequestBody.ts index 8f81ac4952c..a3bf76a212c 100644 --- a/src/drives/item/items/item/workbook/functions/imProduct/imProductPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imProduct/imProductPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImProductPostRequestBody extends AdditionalDataHolder, Parsable values?: Json; } export function serializeImProductPostRequestBody(writer: SerializationWriter, imProductPostRequestBody: ImProductPostRequestBody | undefined = {} as ImProductPostRequestBody) : void { - writer.writeObjectValue("values", imProductPostRequestBody.values, ); + writer.writeObjectValue("values", imProductPostRequestBody.values, serializeJson); writer.writeAdditionalData(imProductPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imReal/imRealPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imReal/imRealPostRequestBody.ts index 4ef3d5dfb31..06711ac344a 100644 --- a/src/drives/item/items/item/workbook/functions/imReal/imRealPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imReal/imRealPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImRealPostRequestBody extends AdditionalDataHolder, Parsable { inumber?: Json; } export function serializeImRealPostRequestBody(writer: SerializationWriter, imRealPostRequestBody: ImRealPostRequestBody | undefined = {} as ImRealPostRequestBody) : void { - writer.writeObjectValue("inumber", imRealPostRequestBody.inumber, ); + writer.writeObjectValue("inumber", imRealPostRequestBody.inumber, serializeJson); writer.writeAdditionalData(imRealPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imSec/imSecPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imSec/imSecPostRequestBody.ts index 3bc94734fbb..8db6b16607f 100644 --- a/src/drives/item/items/item/workbook/functions/imSec/imSecPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imSec/imSecPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImSecPostRequestBody extends AdditionalDataHolder, Parsable { inumber?: Json; } export function serializeImSecPostRequestBody(writer: SerializationWriter, imSecPostRequestBody: ImSecPostRequestBody | undefined = {} as ImSecPostRequestBody) : void { - writer.writeObjectValue("inumber", imSecPostRequestBody.inumber, ); + writer.writeObjectValue("inumber", imSecPostRequestBody.inumber, serializeJson); writer.writeAdditionalData(imSecPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imSech/imSechPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imSech/imSechPostRequestBody.ts index a499003ed8a..e27c42bdd89 100644 --- a/src/drives/item/items/item/workbook/functions/imSech/imSechPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imSech/imSechPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImSechPostRequestBody extends AdditionalDataHolder, Parsable { inumber?: Json; } export function serializeImSechPostRequestBody(writer: SerializationWriter, imSechPostRequestBody: ImSechPostRequestBody | undefined = {} as ImSechPostRequestBody) : void { - writer.writeObjectValue("inumber", imSechPostRequestBody.inumber, ); + writer.writeObjectValue("inumber", imSechPostRequestBody.inumber, serializeJson); writer.writeAdditionalData(imSechPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imSin/imSinPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imSin/imSinPostRequestBody.ts index ffeb390bdc5..5a293ccc0ec 100644 --- a/src/drives/item/items/item/workbook/functions/imSin/imSinPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imSin/imSinPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImSinPostRequestBody extends AdditionalDataHolder, Parsable { inumber?: Json; } export function serializeImSinPostRequestBody(writer: SerializationWriter, imSinPostRequestBody: ImSinPostRequestBody | undefined = {} as ImSinPostRequestBody) : void { - writer.writeObjectValue("inumber", imSinPostRequestBody.inumber, ); + writer.writeObjectValue("inumber", imSinPostRequestBody.inumber, serializeJson); writer.writeAdditionalData(imSinPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imSinh/imSinhPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imSinh/imSinhPostRequestBody.ts index f2a19e33826..f184a026c0b 100644 --- a/src/drives/item/items/item/workbook/functions/imSinh/imSinhPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imSinh/imSinhPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImSinhPostRequestBody extends AdditionalDataHolder, Parsable { inumber?: Json; } export function serializeImSinhPostRequestBody(writer: SerializationWriter, imSinhPostRequestBody: ImSinhPostRequestBody | undefined = {} as ImSinhPostRequestBody) : void { - writer.writeObjectValue("inumber", imSinhPostRequestBody.inumber, ); + writer.writeObjectValue("inumber", imSinhPostRequestBody.inumber, serializeJson); writer.writeAdditionalData(imSinhPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imSqrt/imSqrtPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imSqrt/imSqrtPostRequestBody.ts index 2089e1917a9..87bd351c79f 100644 --- a/src/drives/item/items/item/workbook/functions/imSqrt/imSqrtPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imSqrt/imSqrtPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImSqrtPostRequestBody extends AdditionalDataHolder, Parsable { inumber?: Json; } export function serializeImSqrtPostRequestBody(writer: SerializationWriter, imSqrtPostRequestBody: ImSqrtPostRequestBody | undefined = {} as ImSqrtPostRequestBody) : void { - writer.writeObjectValue("inumber", imSqrtPostRequestBody.inumber, ); + writer.writeObjectValue("inumber", imSqrtPostRequestBody.inumber, serializeJson); writer.writeAdditionalData(imSqrtPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imSub/imSubPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imSub/imSubPostRequestBody.ts index 4c1ca9645f3..00cfa91a238 100644 --- a/src/drives/item/items/item/workbook/functions/imSub/imSubPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imSub/imSubPostRequestBody.ts @@ -29,8 +29,8 @@ export interface ImSubPostRequestBody extends AdditionalDataHolder, Parsable { inumber2?: Json; } export function serializeImSubPostRequestBody(writer: SerializationWriter, imSubPostRequestBody: ImSubPostRequestBody | undefined = {} as ImSubPostRequestBody) : void { - writer.writeObjectValue("inumber1", imSubPostRequestBody.inumber1, ); - writer.writeObjectValue("inumber2", imSubPostRequestBody.inumber2, ); + writer.writeObjectValue("inumber1", imSubPostRequestBody.inumber1, serializeJson); + writer.writeObjectValue("inumber2", imSubPostRequestBody.inumber2, serializeJson); writer.writeAdditionalData(imSubPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imSum/imSumPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imSum/imSumPostRequestBody.ts index b2b5eb7b4cc..5c9c0005701 100644 --- a/src/drives/item/items/item/workbook/functions/imSum/imSumPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imSum/imSumPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImSumPostRequestBody extends AdditionalDataHolder, Parsable { values?: Json; } export function serializeImSumPostRequestBody(writer: SerializationWriter, imSumPostRequestBody: ImSumPostRequestBody | undefined = {} as ImSumPostRequestBody) : void { - writer.writeObjectValue("values", imSumPostRequestBody.values, ); + writer.writeObjectValue("values", imSumPostRequestBody.values, serializeJson); writer.writeAdditionalData(imSumPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imTan/imTanPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imTan/imTanPostRequestBody.ts index cf7a213ecb4..c60e595bdc7 100644 --- a/src/drives/item/items/item/workbook/functions/imTan/imTanPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imTan/imTanPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImTanPostRequestBody extends AdditionalDataHolder, Parsable { inumber?: Json; } export function serializeImTanPostRequestBody(writer: SerializationWriter, imTanPostRequestBody: ImTanPostRequestBody | undefined = {} as ImTanPostRequestBody) : void { - writer.writeObjectValue("inumber", imTanPostRequestBody.inumber, ); + writer.writeObjectValue("inumber", imTanPostRequestBody.inumber, serializeJson); writer.writeAdditionalData(imTanPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/imaginary/imaginaryPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/imaginary/imaginaryPostRequestBody.ts index 5d8bc35a947..eaae7c2fa3f 100644 --- a/src/drives/item/items/item/workbook/functions/imaginary/imaginaryPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/imaginary/imaginaryPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ImaginaryPostRequestBody extends AdditionalDataHolder, Parsable inumber?: Json; } export function serializeImaginaryPostRequestBody(writer: SerializationWriter, imaginaryPostRequestBody: ImaginaryPostRequestBody | undefined = {} as ImaginaryPostRequestBody) : void { - writer.writeObjectValue("inumber", imaginaryPostRequestBody.inumber, ); + writer.writeObjectValue("inumber", imaginaryPostRequestBody.inumber, serializeJson); writer.writeAdditionalData(imaginaryPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/int/intPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/int/intPostRequestBody.ts index 8017ed2dd19..6c27793d7e0 100644 --- a/src/drives/item/items/item/workbook/functions/int/intPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/int/intPostRequestBody.ts @@ -24,7 +24,7 @@ export interface IntPostRequestBody extends AdditionalDataHolder, Parsable { number?: Json; } export function serializeIntPostRequestBody(writer: SerializationWriter, intPostRequestBody: IntPostRequestBody | undefined = {} as IntPostRequestBody) : void { - writer.writeObjectValue("number", intPostRequestBody.number, ); + writer.writeObjectValue("number", intPostRequestBody.number, serializeJson); writer.writeAdditionalData(intPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/intRate/intRatePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/intRate/intRatePostRequestBody.ts index f713d68d3f7..1dd2df3dbcc 100644 --- a/src/drives/item/items/item/workbook/functions/intRate/intRatePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/intRate/intRatePostRequestBody.ts @@ -44,11 +44,11 @@ export interface IntRatePostRequestBody extends AdditionalDataHolder, Parsable { settlement?: Json; } export function serializeIntRatePostRequestBody(writer: SerializationWriter, intRatePostRequestBody: IntRatePostRequestBody | undefined = {} as IntRatePostRequestBody) : void { - writer.writeObjectValue("basis", intRatePostRequestBody.basis, ); - writer.writeObjectValue("investment", intRatePostRequestBody.investment, ); - writer.writeObjectValue("maturity", intRatePostRequestBody.maturity, ); - writer.writeObjectValue("redemption", intRatePostRequestBody.redemption, ); - writer.writeObjectValue("settlement", intRatePostRequestBody.settlement, ); + writer.writeObjectValue("basis", intRatePostRequestBody.basis, serializeJson); + writer.writeObjectValue("investment", intRatePostRequestBody.investment, serializeJson); + writer.writeObjectValue("maturity", intRatePostRequestBody.maturity, serializeJson); + writer.writeObjectValue("redemption", intRatePostRequestBody.redemption, serializeJson); + writer.writeObjectValue("settlement", intRatePostRequestBody.settlement, serializeJson); writer.writeAdditionalData(intRatePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/ipmt/ipmtPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/ipmt/ipmtPostRequestBody.ts index 6ab0613698b..b6ad7c2228a 100644 --- a/src/drives/item/items/item/workbook/functions/ipmt/ipmtPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/ipmt/ipmtPostRequestBody.ts @@ -49,12 +49,12 @@ export interface IpmtPostRequestBody extends AdditionalDataHolder, Parsable { type?: Json; } export function serializeIpmtPostRequestBody(writer: SerializationWriter, ipmtPostRequestBody: IpmtPostRequestBody | undefined = {} as IpmtPostRequestBody) : void { - writer.writeObjectValue("fv", ipmtPostRequestBody.fv, ); - writer.writeObjectValue("nper", ipmtPostRequestBody.nper, ); - writer.writeObjectValue("per", ipmtPostRequestBody.per, ); - writer.writeObjectValue("pv", ipmtPostRequestBody.pv, ); - writer.writeObjectValue("rate", ipmtPostRequestBody.rate, ); - writer.writeObjectValue("type", ipmtPostRequestBody.type, ); + writer.writeObjectValue("fv", ipmtPostRequestBody.fv, serializeJson); + writer.writeObjectValue("nper", ipmtPostRequestBody.nper, serializeJson); + writer.writeObjectValue("per", ipmtPostRequestBody.per, serializeJson); + writer.writeObjectValue("pv", ipmtPostRequestBody.pv, serializeJson); + writer.writeObjectValue("rate", ipmtPostRequestBody.rate, serializeJson); + writer.writeObjectValue("type", ipmtPostRequestBody.type, serializeJson); writer.writeAdditionalData(ipmtPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/irr/irrPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/irr/irrPostRequestBody.ts index 89c1b5e69bd..75227815de4 100644 --- a/src/drives/item/items/item/workbook/functions/irr/irrPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/irr/irrPostRequestBody.ts @@ -29,8 +29,8 @@ export interface IrrPostRequestBody extends AdditionalDataHolder, Parsable { values?: Json; } export function serializeIrrPostRequestBody(writer: SerializationWriter, irrPostRequestBody: IrrPostRequestBody | undefined = {} as IrrPostRequestBody) : void { - writer.writeObjectValue("guess", irrPostRequestBody.guess, ); - writer.writeObjectValue("values", irrPostRequestBody.values, ); + writer.writeObjectValue("guess", irrPostRequestBody.guess, serializeJson); + writer.writeObjectValue("values", irrPostRequestBody.values, serializeJson); writer.writeAdditionalData(irrPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/isErr/isErrPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/isErr/isErrPostRequestBody.ts index 014c6f6b2c2..d5238535bdf 100644 --- a/src/drives/item/items/item/workbook/functions/isErr/isErrPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/isErr/isErrPostRequestBody.ts @@ -24,7 +24,7 @@ export interface IsErrPostRequestBody extends AdditionalDataHolder, Parsable { value?: Json; } export function serializeIsErrPostRequestBody(writer: SerializationWriter, isErrPostRequestBody: IsErrPostRequestBody | undefined = {} as IsErrPostRequestBody) : void { - writer.writeObjectValue("value", isErrPostRequestBody.value, ); + writer.writeObjectValue("value", isErrPostRequestBody.value, serializeJson); writer.writeAdditionalData(isErrPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/isError/isErrorPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/isError/isErrorPostRequestBody.ts index e8095e809b5..660e9fc44fe 100644 --- a/src/drives/item/items/item/workbook/functions/isError/isErrorPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/isError/isErrorPostRequestBody.ts @@ -24,7 +24,7 @@ export interface IsErrorPostRequestBody extends AdditionalDataHolder, Parsable { value?: Json; } export function serializeIsErrorPostRequestBody(writer: SerializationWriter, isErrorPostRequestBody: IsErrorPostRequestBody | undefined = {} as IsErrorPostRequestBody) : void { - writer.writeObjectValue("value", isErrorPostRequestBody.value, ); + writer.writeObjectValue("value", isErrorPostRequestBody.value, serializeJson); writer.writeAdditionalData(isErrorPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/isEven/isEvenPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/isEven/isEvenPostRequestBody.ts index 0096a4a8624..3347848f112 100644 --- a/src/drives/item/items/item/workbook/functions/isEven/isEvenPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/isEven/isEvenPostRequestBody.ts @@ -24,7 +24,7 @@ export interface IsEvenPostRequestBody extends AdditionalDataHolder, Parsable { number?: Json; } export function serializeIsEvenPostRequestBody(writer: SerializationWriter, isEvenPostRequestBody: IsEvenPostRequestBody | undefined = {} as IsEvenPostRequestBody) : void { - writer.writeObjectValue("number", isEvenPostRequestBody.number, ); + writer.writeObjectValue("number", isEvenPostRequestBody.number, serializeJson); writer.writeAdditionalData(isEvenPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/isFormula/isFormulaPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/isFormula/isFormulaPostRequestBody.ts index e73bca8e027..fc32a0fc848 100644 --- a/src/drives/item/items/item/workbook/functions/isFormula/isFormulaPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/isFormula/isFormulaPostRequestBody.ts @@ -24,7 +24,7 @@ export interface IsFormulaPostRequestBody extends AdditionalDataHolder, Parsable reference?: Json; } export function serializeIsFormulaPostRequestBody(writer: SerializationWriter, isFormulaPostRequestBody: IsFormulaPostRequestBody | undefined = {} as IsFormulaPostRequestBody) : void { - writer.writeObjectValue("reference", isFormulaPostRequestBody.reference, ); + writer.writeObjectValue("reference", isFormulaPostRequestBody.reference, serializeJson); writer.writeAdditionalData(isFormulaPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/isLogical/isLogicalPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/isLogical/isLogicalPostRequestBody.ts index 1fe121e040c..524c32bc52d 100644 --- a/src/drives/item/items/item/workbook/functions/isLogical/isLogicalPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/isLogical/isLogicalPostRequestBody.ts @@ -24,7 +24,7 @@ export interface IsLogicalPostRequestBody extends AdditionalDataHolder, Parsable value?: Json; } export function serializeIsLogicalPostRequestBody(writer: SerializationWriter, isLogicalPostRequestBody: IsLogicalPostRequestBody | undefined = {} as IsLogicalPostRequestBody) : void { - writer.writeObjectValue("value", isLogicalPostRequestBody.value, ); + writer.writeObjectValue("value", isLogicalPostRequestBody.value, serializeJson); writer.writeAdditionalData(isLogicalPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/isNA/isNAPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/isNA/isNAPostRequestBody.ts index 3a392e19c21..2f006995ae8 100644 --- a/src/drives/item/items/item/workbook/functions/isNA/isNAPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/isNA/isNAPostRequestBody.ts @@ -24,7 +24,7 @@ export interface IsNAPostRequestBody extends AdditionalDataHolder, Parsable { value?: Json; } export function serializeIsNAPostRequestBody(writer: SerializationWriter, isNAPostRequestBody: IsNAPostRequestBody | undefined = {} as IsNAPostRequestBody) : void { - writer.writeObjectValue("value", isNAPostRequestBody.value, ); + writer.writeObjectValue("value", isNAPostRequestBody.value, serializeJson); writer.writeAdditionalData(isNAPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/isNonText/isNonTextPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/isNonText/isNonTextPostRequestBody.ts index eacc2cacc53..293cfb1f36c 100644 --- a/src/drives/item/items/item/workbook/functions/isNonText/isNonTextPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/isNonText/isNonTextPostRequestBody.ts @@ -24,7 +24,7 @@ export interface IsNonTextPostRequestBody extends AdditionalDataHolder, Parsable value?: Json; } export function serializeIsNonTextPostRequestBody(writer: SerializationWriter, isNonTextPostRequestBody: IsNonTextPostRequestBody | undefined = {} as IsNonTextPostRequestBody) : void { - writer.writeObjectValue("value", isNonTextPostRequestBody.value, ); + writer.writeObjectValue("value", isNonTextPostRequestBody.value, serializeJson); writer.writeAdditionalData(isNonTextPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/isNumber/isNumberPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/isNumber/isNumberPostRequestBody.ts index 2217bab988f..789e12b5e48 100644 --- a/src/drives/item/items/item/workbook/functions/isNumber/isNumberPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/isNumber/isNumberPostRequestBody.ts @@ -24,7 +24,7 @@ export interface IsNumberPostRequestBody extends AdditionalDataHolder, Parsable value?: Json; } export function serializeIsNumberPostRequestBody(writer: SerializationWriter, isNumberPostRequestBody: IsNumberPostRequestBody | undefined = {} as IsNumberPostRequestBody) : void { - writer.writeObjectValue("value", isNumberPostRequestBody.value, ); + writer.writeObjectValue("value", isNumberPostRequestBody.value, serializeJson); writer.writeAdditionalData(isNumberPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/isOdd/isOddPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/isOdd/isOddPostRequestBody.ts index 96567629c5a..46429d87188 100644 --- a/src/drives/item/items/item/workbook/functions/isOdd/isOddPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/isOdd/isOddPostRequestBody.ts @@ -24,7 +24,7 @@ export interface IsOddPostRequestBody extends AdditionalDataHolder, Parsable { number?: Json; } export function serializeIsOddPostRequestBody(writer: SerializationWriter, isOddPostRequestBody: IsOddPostRequestBody | undefined = {} as IsOddPostRequestBody) : void { - writer.writeObjectValue("number", isOddPostRequestBody.number, ); + writer.writeObjectValue("number", isOddPostRequestBody.number, serializeJson); writer.writeAdditionalData(isOddPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/isText/isTextPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/isText/isTextPostRequestBody.ts index 4b6cbc87931..648bd02a46d 100644 --- a/src/drives/item/items/item/workbook/functions/isText/isTextPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/isText/isTextPostRequestBody.ts @@ -24,7 +24,7 @@ export interface IsTextPostRequestBody extends AdditionalDataHolder, Parsable { value?: Json; } export function serializeIsTextPostRequestBody(writer: SerializationWriter, isTextPostRequestBody: IsTextPostRequestBody | undefined = {} as IsTextPostRequestBody) : void { - writer.writeObjectValue("value", isTextPostRequestBody.value, ); + writer.writeObjectValue("value", isTextPostRequestBody.value, serializeJson); writer.writeAdditionalData(isTextPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/isoWeekNum/isoWeekNumPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/isoWeekNum/isoWeekNumPostRequestBody.ts index 0c153c7c013..af636a38061 100644 --- a/src/drives/item/items/item/workbook/functions/isoWeekNum/isoWeekNumPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/isoWeekNum/isoWeekNumPostRequestBody.ts @@ -24,7 +24,7 @@ export interface IsoWeekNumPostRequestBody extends AdditionalDataHolder, Parsabl date?: Json; } export function serializeIsoWeekNumPostRequestBody(writer: SerializationWriter, isoWeekNumPostRequestBody: IsoWeekNumPostRequestBody | undefined = {} as IsoWeekNumPostRequestBody) : void { - writer.writeObjectValue("date", isoWeekNumPostRequestBody.date, ); + writer.writeObjectValue("date", isoWeekNumPostRequestBody.date, serializeJson); writer.writeAdditionalData(isoWeekNumPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/iso_Ceiling/iso_CeilingPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/iso_Ceiling/iso_CeilingPostRequestBody.ts index ce8c1ef5278..9f5e7c03e23 100644 --- a/src/drives/item/items/item/workbook/functions/iso_Ceiling/iso_CeilingPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/iso_Ceiling/iso_CeilingPostRequestBody.ts @@ -29,8 +29,8 @@ export interface Iso_CeilingPostRequestBody extends AdditionalDataHolder, Parsab significance?: Json; } export function serializeIso_CeilingPostRequestBody(writer: SerializationWriter, iso_CeilingPostRequestBody: Iso_CeilingPostRequestBody | undefined = {} as Iso_CeilingPostRequestBody) : void { - writer.writeObjectValue("number", iso_CeilingPostRequestBody.number, ); - writer.writeObjectValue("significance", iso_CeilingPostRequestBody.significance, ); + writer.writeObjectValue("number", iso_CeilingPostRequestBody.number, serializeJson); + writer.writeObjectValue("significance", iso_CeilingPostRequestBody.significance, serializeJson); writer.writeAdditionalData(iso_CeilingPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/ispmt/ispmtPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/ispmt/ispmtPostRequestBody.ts index 93dcb7f92c2..a7bf24be287 100644 --- a/src/drives/item/items/item/workbook/functions/ispmt/ispmtPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/ispmt/ispmtPostRequestBody.ts @@ -39,10 +39,10 @@ export interface IspmtPostRequestBody extends AdditionalDataHolder, Parsable { rate?: Json; } export function serializeIspmtPostRequestBody(writer: SerializationWriter, ispmtPostRequestBody: IspmtPostRequestBody | undefined = {} as IspmtPostRequestBody) : void { - writer.writeObjectValue("nper", ispmtPostRequestBody.nper, ); - writer.writeObjectValue("per", ispmtPostRequestBody.per, ); - writer.writeObjectValue("pv", ispmtPostRequestBody.pv, ); - writer.writeObjectValue("rate", ispmtPostRequestBody.rate, ); + writer.writeObjectValue("nper", ispmtPostRequestBody.nper, serializeJson); + writer.writeObjectValue("per", ispmtPostRequestBody.per, serializeJson); + writer.writeObjectValue("pv", ispmtPostRequestBody.pv, serializeJson); + writer.writeObjectValue("rate", ispmtPostRequestBody.rate, serializeJson); writer.writeAdditionalData(ispmtPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/isref/isrefPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/isref/isrefPostRequestBody.ts index 05a0b80e84a..bc52eb69a73 100644 --- a/src/drives/item/items/item/workbook/functions/isref/isrefPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/isref/isrefPostRequestBody.ts @@ -24,7 +24,7 @@ export interface IsrefPostRequestBody extends AdditionalDataHolder, Parsable { value?: Json; } export function serializeIsrefPostRequestBody(writer: SerializationWriter, isrefPostRequestBody: IsrefPostRequestBody | undefined = {} as IsrefPostRequestBody) : void { - writer.writeObjectValue("value", isrefPostRequestBody.value, ); + writer.writeObjectValue("value", isrefPostRequestBody.value, serializeJson); writer.writeAdditionalData(isrefPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/kurt/kurtPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/kurt/kurtPostRequestBody.ts index b3abe27eff4..9d9ba0dc299 100644 --- a/src/drives/item/items/item/workbook/functions/kurt/kurtPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/kurt/kurtPostRequestBody.ts @@ -24,7 +24,7 @@ export interface KurtPostRequestBody extends AdditionalDataHolder, Parsable { values?: Json; } export function serializeKurtPostRequestBody(writer: SerializationWriter, kurtPostRequestBody: KurtPostRequestBody | undefined = {} as KurtPostRequestBody) : void { - writer.writeObjectValue("values", kurtPostRequestBody.values, ); + writer.writeObjectValue("values", kurtPostRequestBody.values, serializeJson); writer.writeAdditionalData(kurtPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/large/largePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/large/largePostRequestBody.ts index 3097065c253..b055fa86e3e 100644 --- a/src/drives/item/items/item/workbook/functions/large/largePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/large/largePostRequestBody.ts @@ -29,8 +29,8 @@ export interface LargePostRequestBody extends AdditionalDataHolder, Parsable { k?: Json; } export function serializeLargePostRequestBody(writer: SerializationWriter, largePostRequestBody: LargePostRequestBody | undefined = {} as LargePostRequestBody) : void { - writer.writeObjectValue("array", largePostRequestBody.array, ); - writer.writeObjectValue("k", largePostRequestBody.k, ); + writer.writeObjectValue("array", largePostRequestBody.array, serializeJson); + writer.writeObjectValue("k", largePostRequestBody.k, serializeJson); writer.writeAdditionalData(largePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/lcm/lcmPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/lcm/lcmPostRequestBody.ts index ce20fd7e63f..97536449651 100644 --- a/src/drives/item/items/item/workbook/functions/lcm/lcmPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/lcm/lcmPostRequestBody.ts @@ -24,7 +24,7 @@ export interface LcmPostRequestBody extends AdditionalDataHolder, Parsable { values?: Json; } export function serializeLcmPostRequestBody(writer: SerializationWriter, lcmPostRequestBody: LcmPostRequestBody | undefined = {} as LcmPostRequestBody) : void { - writer.writeObjectValue("values", lcmPostRequestBody.values, ); + writer.writeObjectValue("values", lcmPostRequestBody.values, serializeJson); writer.writeAdditionalData(lcmPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/left/leftPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/left/leftPostRequestBody.ts index 89788f85f7f..1299e47e63f 100644 --- a/src/drives/item/items/item/workbook/functions/left/leftPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/left/leftPostRequestBody.ts @@ -29,8 +29,8 @@ export interface LeftPostRequestBody extends AdditionalDataHolder, Parsable { text?: Json; } export function serializeLeftPostRequestBody(writer: SerializationWriter, leftPostRequestBody: LeftPostRequestBody | undefined = {} as LeftPostRequestBody) : void { - writer.writeObjectValue("numChars", leftPostRequestBody.numChars, ); - writer.writeObjectValue("text", leftPostRequestBody.text, ); + writer.writeObjectValue("numChars", leftPostRequestBody.numChars, serializeJson); + writer.writeObjectValue("text", leftPostRequestBody.text, serializeJson); writer.writeAdditionalData(leftPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/leftb/leftbPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/leftb/leftbPostRequestBody.ts index ab754f650ea..3e20f673455 100644 --- a/src/drives/item/items/item/workbook/functions/leftb/leftbPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/leftb/leftbPostRequestBody.ts @@ -29,8 +29,8 @@ export interface LeftbPostRequestBody extends AdditionalDataHolder, Parsable { text?: Json; } export function serializeLeftbPostRequestBody(writer: SerializationWriter, leftbPostRequestBody: LeftbPostRequestBody | undefined = {} as LeftbPostRequestBody) : void { - writer.writeObjectValue("numBytes", leftbPostRequestBody.numBytes, ); - writer.writeObjectValue("text", leftbPostRequestBody.text, ); + writer.writeObjectValue("numBytes", leftbPostRequestBody.numBytes, serializeJson); + writer.writeObjectValue("text", leftbPostRequestBody.text, serializeJson); writer.writeAdditionalData(leftbPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/len/lenPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/len/lenPostRequestBody.ts index a90bc88bb2b..e3623f76496 100644 --- a/src/drives/item/items/item/workbook/functions/len/lenPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/len/lenPostRequestBody.ts @@ -24,7 +24,7 @@ export interface LenPostRequestBody extends AdditionalDataHolder, Parsable { text?: Json; } export function serializeLenPostRequestBody(writer: SerializationWriter, lenPostRequestBody: LenPostRequestBody | undefined = {} as LenPostRequestBody) : void { - writer.writeObjectValue("text", lenPostRequestBody.text, ); + writer.writeObjectValue("text", lenPostRequestBody.text, serializeJson); writer.writeAdditionalData(lenPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/lenb/lenbPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/lenb/lenbPostRequestBody.ts index 2f0279923e6..c79dfb4aa0a 100644 --- a/src/drives/item/items/item/workbook/functions/lenb/lenbPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/lenb/lenbPostRequestBody.ts @@ -24,7 +24,7 @@ export interface LenbPostRequestBody extends AdditionalDataHolder, Parsable { text?: Json; } export function serializeLenbPostRequestBody(writer: SerializationWriter, lenbPostRequestBody: LenbPostRequestBody | undefined = {} as LenbPostRequestBody) : void { - writer.writeObjectValue("text", lenbPostRequestBody.text, ); + writer.writeObjectValue("text", lenbPostRequestBody.text, serializeJson); writer.writeAdditionalData(lenbPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/ln/lnPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/ln/lnPostRequestBody.ts index 60965084621..59583e69a29 100644 --- a/src/drives/item/items/item/workbook/functions/ln/lnPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/ln/lnPostRequestBody.ts @@ -24,7 +24,7 @@ export interface LnPostRequestBody extends AdditionalDataHolder, Parsable { number?: Json; } export function serializeLnPostRequestBody(writer: SerializationWriter, lnPostRequestBody: LnPostRequestBody | undefined = {} as LnPostRequestBody) : void { - writer.writeObjectValue("number", lnPostRequestBody.number, ); + writer.writeObjectValue("number", lnPostRequestBody.number, serializeJson); writer.writeAdditionalData(lnPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/log/logPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/log/logPostRequestBody.ts index a515c3375dd..140bd1e6de2 100644 --- a/src/drives/item/items/item/workbook/functions/log/logPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/log/logPostRequestBody.ts @@ -29,8 +29,8 @@ export interface LogPostRequestBody extends AdditionalDataHolder, Parsable { number?: Json; } export function serializeLogPostRequestBody(writer: SerializationWriter, logPostRequestBody: LogPostRequestBody | undefined = {} as LogPostRequestBody) : void { - writer.writeObjectValue("base", logPostRequestBody.base, ); - writer.writeObjectValue("number", logPostRequestBody.number, ); + writer.writeObjectValue("base", logPostRequestBody.base, serializeJson); + writer.writeObjectValue("number", logPostRequestBody.number, serializeJson); writer.writeAdditionalData(logPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/log10/log10PostRequestBody.ts b/src/drives/item/items/item/workbook/functions/log10/log10PostRequestBody.ts index e6825f6bcbe..044ffd911b4 100644 --- a/src/drives/item/items/item/workbook/functions/log10/log10PostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/log10/log10PostRequestBody.ts @@ -24,7 +24,7 @@ export interface Log10PostRequestBody extends AdditionalDataHolder, Parsable { number?: Json; } export function serializeLog10PostRequestBody(writer: SerializationWriter, log10PostRequestBody: Log10PostRequestBody | undefined = {} as Log10PostRequestBody) : void { - writer.writeObjectValue("number", log10PostRequestBody.number, ); + writer.writeObjectValue("number", log10PostRequestBody.number, serializeJson); writer.writeAdditionalData(log10PostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/logNorm_Dist/logNorm_DistPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/logNorm_Dist/logNorm_DistPostRequestBody.ts index cb384e59a96..6eeacfb8acd 100644 --- a/src/drives/item/items/item/workbook/functions/logNorm_Dist/logNorm_DistPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/logNorm_Dist/logNorm_DistPostRequestBody.ts @@ -39,10 +39,10 @@ export interface LogNorm_DistPostRequestBody extends AdditionalDataHolder, Parsa x?: Json; } export function serializeLogNorm_DistPostRequestBody(writer: SerializationWriter, logNorm_DistPostRequestBody: LogNorm_DistPostRequestBody | undefined = {} as LogNorm_DistPostRequestBody) : void { - writer.writeObjectValue("cumulative", logNorm_DistPostRequestBody.cumulative, ); - writer.writeObjectValue("mean", logNorm_DistPostRequestBody.mean, ); - writer.writeObjectValue("standardDev", logNorm_DistPostRequestBody.standardDev, ); - writer.writeObjectValue("x", logNorm_DistPostRequestBody.x, ); + writer.writeObjectValue("cumulative", logNorm_DistPostRequestBody.cumulative, serializeJson); + writer.writeObjectValue("mean", logNorm_DistPostRequestBody.mean, serializeJson); + writer.writeObjectValue("standardDev", logNorm_DistPostRequestBody.standardDev, serializeJson); + writer.writeObjectValue("x", logNorm_DistPostRequestBody.x, serializeJson); writer.writeAdditionalData(logNorm_DistPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/logNorm_Inv/logNorm_InvPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/logNorm_Inv/logNorm_InvPostRequestBody.ts index 08552bbb467..7254bdc971c 100644 --- a/src/drives/item/items/item/workbook/functions/logNorm_Inv/logNorm_InvPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/logNorm_Inv/logNorm_InvPostRequestBody.ts @@ -34,9 +34,9 @@ export interface LogNorm_InvPostRequestBody extends AdditionalDataHolder, Parsab standardDev?: Json; } export function serializeLogNorm_InvPostRequestBody(writer: SerializationWriter, logNorm_InvPostRequestBody: LogNorm_InvPostRequestBody | undefined = {} as LogNorm_InvPostRequestBody) : void { - writer.writeObjectValue("mean", logNorm_InvPostRequestBody.mean, ); - writer.writeObjectValue("probability", logNorm_InvPostRequestBody.probability, ); - writer.writeObjectValue("standardDev", logNorm_InvPostRequestBody.standardDev, ); + writer.writeObjectValue("mean", logNorm_InvPostRequestBody.mean, serializeJson); + writer.writeObjectValue("probability", logNorm_InvPostRequestBody.probability, serializeJson); + writer.writeObjectValue("standardDev", logNorm_InvPostRequestBody.standardDev, serializeJson); writer.writeAdditionalData(logNorm_InvPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/lookup/lookupPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/lookup/lookupPostRequestBody.ts index 3626377193d..83c7cd307fa 100644 --- a/src/drives/item/items/item/workbook/functions/lookup/lookupPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/lookup/lookupPostRequestBody.ts @@ -34,9 +34,9 @@ export interface LookupPostRequestBody extends AdditionalDataHolder, Parsable { resultVector?: Json; } export function serializeLookupPostRequestBody(writer: SerializationWriter, lookupPostRequestBody: LookupPostRequestBody | undefined = {} as LookupPostRequestBody) : void { - writer.writeObjectValue("lookupValue", lookupPostRequestBody.lookupValue, ); - writer.writeObjectValue("lookupVector", lookupPostRequestBody.lookupVector, ); - writer.writeObjectValue("resultVector", lookupPostRequestBody.resultVector, ); + writer.writeObjectValue("lookupValue", lookupPostRequestBody.lookupValue, serializeJson); + writer.writeObjectValue("lookupVector", lookupPostRequestBody.lookupVector, serializeJson); + writer.writeObjectValue("resultVector", lookupPostRequestBody.resultVector, serializeJson); writer.writeAdditionalData(lookupPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/lower/lowerPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/lower/lowerPostRequestBody.ts index 4912e858b8d..6f355618552 100644 --- a/src/drives/item/items/item/workbook/functions/lower/lowerPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/lower/lowerPostRequestBody.ts @@ -24,7 +24,7 @@ export interface LowerPostRequestBody extends AdditionalDataHolder, Parsable { text?: Json; } export function serializeLowerPostRequestBody(writer: SerializationWriter, lowerPostRequestBody: LowerPostRequestBody | undefined = {} as LowerPostRequestBody) : void { - writer.writeObjectValue("text", lowerPostRequestBody.text, ); + writer.writeObjectValue("text", lowerPostRequestBody.text, serializeJson); writer.writeAdditionalData(lowerPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/match/matchPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/match/matchPostRequestBody.ts index cbccf3c570c..23cf96b7120 100644 --- a/src/drives/item/items/item/workbook/functions/match/matchPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/match/matchPostRequestBody.ts @@ -34,9 +34,9 @@ export interface MatchPostRequestBody extends AdditionalDataHolder, Parsable { matchType?: Json; } export function serializeMatchPostRequestBody(writer: SerializationWriter, matchPostRequestBody: MatchPostRequestBody | undefined = {} as MatchPostRequestBody) : void { - writer.writeObjectValue("lookupArray", matchPostRequestBody.lookupArray, ); - writer.writeObjectValue("lookupValue", matchPostRequestBody.lookupValue, ); - writer.writeObjectValue("matchType", matchPostRequestBody.matchType, ); + writer.writeObjectValue("lookupArray", matchPostRequestBody.lookupArray, serializeJson); + writer.writeObjectValue("lookupValue", matchPostRequestBody.lookupValue, serializeJson); + writer.writeObjectValue("matchType", matchPostRequestBody.matchType, serializeJson); writer.writeAdditionalData(matchPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/max/maxPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/max/maxPostRequestBody.ts index ba28bc33d8b..9cdd3ad7a84 100644 --- a/src/drives/item/items/item/workbook/functions/max/maxPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/max/maxPostRequestBody.ts @@ -24,7 +24,7 @@ export interface MaxPostRequestBody extends AdditionalDataHolder, Parsable { values?: Json; } export function serializeMaxPostRequestBody(writer: SerializationWriter, maxPostRequestBody: MaxPostRequestBody | undefined = {} as MaxPostRequestBody) : void { - writer.writeObjectValue("values", maxPostRequestBody.values, ); + writer.writeObjectValue("values", maxPostRequestBody.values, serializeJson); writer.writeAdditionalData(maxPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/maxA/maxAPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/maxA/maxAPostRequestBody.ts index 68e23677be2..0e4eec28bb0 100644 --- a/src/drives/item/items/item/workbook/functions/maxA/maxAPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/maxA/maxAPostRequestBody.ts @@ -24,7 +24,7 @@ export interface MaxAPostRequestBody extends AdditionalDataHolder, Parsable { values?: Json; } export function serializeMaxAPostRequestBody(writer: SerializationWriter, maxAPostRequestBody: MaxAPostRequestBody | undefined = {} as MaxAPostRequestBody) : void { - writer.writeObjectValue("values", maxAPostRequestBody.values, ); + writer.writeObjectValue("values", maxAPostRequestBody.values, serializeJson); writer.writeAdditionalData(maxAPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/mduration/mdurationPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/mduration/mdurationPostRequestBody.ts index 4275f7a94a8..71cf90878a1 100644 --- a/src/drives/item/items/item/workbook/functions/mduration/mdurationPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/mduration/mdurationPostRequestBody.ts @@ -49,12 +49,12 @@ export interface MdurationPostRequestBody extends AdditionalDataHolder, Parsable yld?: Json; } export function serializeMdurationPostRequestBody(writer: SerializationWriter, mdurationPostRequestBody: MdurationPostRequestBody | undefined = {} as MdurationPostRequestBody) : void { - writer.writeObjectValue("basis", mdurationPostRequestBody.basis, ); - writer.writeObjectValue("coupon", mdurationPostRequestBody.coupon, ); - writer.writeObjectValue("frequency", mdurationPostRequestBody.frequency, ); - writer.writeObjectValue("maturity", mdurationPostRequestBody.maturity, ); - writer.writeObjectValue("settlement", mdurationPostRequestBody.settlement, ); - writer.writeObjectValue("yld", mdurationPostRequestBody.yld, ); + writer.writeObjectValue("basis", mdurationPostRequestBody.basis, serializeJson); + writer.writeObjectValue("coupon", mdurationPostRequestBody.coupon, serializeJson); + writer.writeObjectValue("frequency", mdurationPostRequestBody.frequency, serializeJson); + writer.writeObjectValue("maturity", mdurationPostRequestBody.maturity, serializeJson); + writer.writeObjectValue("settlement", mdurationPostRequestBody.settlement, serializeJson); + writer.writeObjectValue("yld", mdurationPostRequestBody.yld, serializeJson); writer.writeAdditionalData(mdurationPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/median/medianPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/median/medianPostRequestBody.ts index c5cfb7e6783..5dcb9ea93b8 100644 --- a/src/drives/item/items/item/workbook/functions/median/medianPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/median/medianPostRequestBody.ts @@ -24,7 +24,7 @@ export interface MedianPostRequestBody extends AdditionalDataHolder, Parsable { values?: Json; } export function serializeMedianPostRequestBody(writer: SerializationWriter, medianPostRequestBody: MedianPostRequestBody | undefined = {} as MedianPostRequestBody) : void { - writer.writeObjectValue("values", medianPostRequestBody.values, ); + writer.writeObjectValue("values", medianPostRequestBody.values, serializeJson); writer.writeAdditionalData(medianPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/mid/midPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/mid/midPostRequestBody.ts index c471f56252f..7a14d27c114 100644 --- a/src/drives/item/items/item/workbook/functions/mid/midPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/mid/midPostRequestBody.ts @@ -34,9 +34,9 @@ export interface MidPostRequestBody extends AdditionalDataHolder, Parsable { text?: Json; } export function serializeMidPostRequestBody(writer: SerializationWriter, midPostRequestBody: MidPostRequestBody | undefined = {} as MidPostRequestBody) : void { - writer.writeObjectValue("numChars", midPostRequestBody.numChars, ); - writer.writeObjectValue("startNum", midPostRequestBody.startNum, ); - writer.writeObjectValue("text", midPostRequestBody.text, ); + writer.writeObjectValue("numChars", midPostRequestBody.numChars, serializeJson); + writer.writeObjectValue("startNum", midPostRequestBody.startNum, serializeJson); + writer.writeObjectValue("text", midPostRequestBody.text, serializeJson); writer.writeAdditionalData(midPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/midb/midbPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/midb/midbPostRequestBody.ts index 37949395213..bc18fb5873f 100644 --- a/src/drives/item/items/item/workbook/functions/midb/midbPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/midb/midbPostRequestBody.ts @@ -34,9 +34,9 @@ export interface MidbPostRequestBody extends AdditionalDataHolder, Parsable { text?: Json; } export function serializeMidbPostRequestBody(writer: SerializationWriter, midbPostRequestBody: MidbPostRequestBody | undefined = {} as MidbPostRequestBody) : void { - writer.writeObjectValue("numBytes", midbPostRequestBody.numBytes, ); - writer.writeObjectValue("startNum", midbPostRequestBody.startNum, ); - writer.writeObjectValue("text", midbPostRequestBody.text, ); + writer.writeObjectValue("numBytes", midbPostRequestBody.numBytes, serializeJson); + writer.writeObjectValue("startNum", midbPostRequestBody.startNum, serializeJson); + writer.writeObjectValue("text", midbPostRequestBody.text, serializeJson); writer.writeAdditionalData(midbPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/min/minPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/min/minPostRequestBody.ts index 89d163ef253..82a6e9cc3c0 100644 --- a/src/drives/item/items/item/workbook/functions/min/minPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/min/minPostRequestBody.ts @@ -24,7 +24,7 @@ export interface MinPostRequestBody extends AdditionalDataHolder, Parsable { values?: Json; } export function serializeMinPostRequestBody(writer: SerializationWriter, minPostRequestBody: MinPostRequestBody | undefined = {} as MinPostRequestBody) : void { - writer.writeObjectValue("values", minPostRequestBody.values, ); + writer.writeObjectValue("values", minPostRequestBody.values, serializeJson); writer.writeAdditionalData(minPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/minA/minAPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/minA/minAPostRequestBody.ts index b20a9f75ead..20e2d5bb83d 100644 --- a/src/drives/item/items/item/workbook/functions/minA/minAPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/minA/minAPostRequestBody.ts @@ -24,7 +24,7 @@ export interface MinAPostRequestBody extends AdditionalDataHolder, Parsable { values?: Json; } export function serializeMinAPostRequestBody(writer: SerializationWriter, minAPostRequestBody: MinAPostRequestBody | undefined = {} as MinAPostRequestBody) : void { - writer.writeObjectValue("values", minAPostRequestBody.values, ); + writer.writeObjectValue("values", minAPostRequestBody.values, serializeJson); writer.writeAdditionalData(minAPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/minute/minutePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/minute/minutePostRequestBody.ts index a89348f1b87..fd9e97beee7 100644 --- a/src/drives/item/items/item/workbook/functions/minute/minutePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/minute/minutePostRequestBody.ts @@ -24,7 +24,7 @@ export interface MinutePostRequestBody extends AdditionalDataHolder, Parsable { serialNumber?: Json; } export function serializeMinutePostRequestBody(writer: SerializationWriter, minutePostRequestBody: MinutePostRequestBody | undefined = {} as MinutePostRequestBody) : void { - writer.writeObjectValue("serialNumber", minutePostRequestBody.serialNumber, ); + writer.writeObjectValue("serialNumber", minutePostRequestBody.serialNumber, serializeJson); writer.writeAdditionalData(minutePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/mirr/mirrPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/mirr/mirrPostRequestBody.ts index 332f1d948c8..002e4b6ea75 100644 --- a/src/drives/item/items/item/workbook/functions/mirr/mirrPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/mirr/mirrPostRequestBody.ts @@ -34,9 +34,9 @@ export interface MirrPostRequestBody extends AdditionalDataHolder, Parsable { values?: Json; } export function serializeMirrPostRequestBody(writer: SerializationWriter, mirrPostRequestBody: MirrPostRequestBody | undefined = {} as MirrPostRequestBody) : void { - writer.writeObjectValue("financeRate", mirrPostRequestBody.financeRate, ); - writer.writeObjectValue("reinvestRate", mirrPostRequestBody.reinvestRate, ); - writer.writeObjectValue("values", mirrPostRequestBody.values, ); + writer.writeObjectValue("financeRate", mirrPostRequestBody.financeRate, serializeJson); + writer.writeObjectValue("reinvestRate", mirrPostRequestBody.reinvestRate, serializeJson); + writer.writeObjectValue("values", mirrPostRequestBody.values, serializeJson); writer.writeAdditionalData(mirrPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/mod/modPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/mod/modPostRequestBody.ts index 075f1873cdc..e54ccdb3cef 100644 --- a/src/drives/item/items/item/workbook/functions/mod/modPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/mod/modPostRequestBody.ts @@ -29,8 +29,8 @@ export interface ModPostRequestBody extends AdditionalDataHolder, Parsable { number?: Json; } export function serializeModPostRequestBody(writer: SerializationWriter, modPostRequestBody: ModPostRequestBody | undefined = {} as ModPostRequestBody) : void { - writer.writeObjectValue("divisor", modPostRequestBody.divisor, ); - writer.writeObjectValue("number", modPostRequestBody.number, ); + writer.writeObjectValue("divisor", modPostRequestBody.divisor, serializeJson); + writer.writeObjectValue("number", modPostRequestBody.number, serializeJson); writer.writeAdditionalData(modPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/month/monthPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/month/monthPostRequestBody.ts index 155663b5cc7..cfdf4a3edb4 100644 --- a/src/drives/item/items/item/workbook/functions/month/monthPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/month/monthPostRequestBody.ts @@ -24,7 +24,7 @@ export interface MonthPostRequestBody extends AdditionalDataHolder, Parsable { serialNumber?: Json; } export function serializeMonthPostRequestBody(writer: SerializationWriter, monthPostRequestBody: MonthPostRequestBody | undefined = {} as MonthPostRequestBody) : void { - writer.writeObjectValue("serialNumber", monthPostRequestBody.serialNumber, ); + writer.writeObjectValue("serialNumber", monthPostRequestBody.serialNumber, serializeJson); writer.writeAdditionalData(monthPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/mround/mroundPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/mround/mroundPostRequestBody.ts index c637e550f3b..fa50644cb65 100644 --- a/src/drives/item/items/item/workbook/functions/mround/mroundPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/mround/mroundPostRequestBody.ts @@ -29,8 +29,8 @@ export interface MroundPostRequestBody extends AdditionalDataHolder, Parsable { number?: Json; } export function serializeMroundPostRequestBody(writer: SerializationWriter, mroundPostRequestBody: MroundPostRequestBody | undefined = {} as MroundPostRequestBody) : void { - writer.writeObjectValue("multiple", mroundPostRequestBody.multiple, ); - writer.writeObjectValue("number", mroundPostRequestBody.number, ); + writer.writeObjectValue("multiple", mroundPostRequestBody.multiple, serializeJson); + writer.writeObjectValue("number", mroundPostRequestBody.number, serializeJson); writer.writeAdditionalData(mroundPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/multiNomial/multiNomialPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/multiNomial/multiNomialPostRequestBody.ts index e1d74f583d2..256ffdcf27a 100644 --- a/src/drives/item/items/item/workbook/functions/multiNomial/multiNomialPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/multiNomial/multiNomialPostRequestBody.ts @@ -24,7 +24,7 @@ export interface MultiNomialPostRequestBody extends AdditionalDataHolder, Parsab values?: Json; } export function serializeMultiNomialPostRequestBody(writer: SerializationWriter, multiNomialPostRequestBody: MultiNomialPostRequestBody | undefined = {} as MultiNomialPostRequestBody) : void { - writer.writeObjectValue("values", multiNomialPostRequestBody.values, ); + writer.writeObjectValue("values", multiNomialPostRequestBody.values, serializeJson); writer.writeAdditionalData(multiNomialPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/n/nPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/n/nPostRequestBody.ts index 2df930ba4b8..e219bd8b9e8 100644 --- a/src/drives/item/items/item/workbook/functions/n/nPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/n/nPostRequestBody.ts @@ -24,7 +24,7 @@ export interface NPostRequestBody extends AdditionalDataHolder, Parsable { value?: Json; } export function serializeNPostRequestBody(writer: SerializationWriter, nPostRequestBody: NPostRequestBody | undefined = {} as NPostRequestBody) : void { - writer.writeObjectValue("value", nPostRequestBody.value, ); + writer.writeObjectValue("value", nPostRequestBody.value, serializeJson); writer.writeAdditionalData(nPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/negBinom_Dist/negBinom_DistPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/negBinom_Dist/negBinom_DistPostRequestBody.ts index efa599368a6..eac9b62664a 100644 --- a/src/drives/item/items/item/workbook/functions/negBinom_Dist/negBinom_DistPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/negBinom_Dist/negBinom_DistPostRequestBody.ts @@ -39,10 +39,10 @@ export interface NegBinom_DistPostRequestBody extends AdditionalDataHolder, Pars probabilityS?: Json; } export function serializeNegBinom_DistPostRequestBody(writer: SerializationWriter, negBinom_DistPostRequestBody: NegBinom_DistPostRequestBody | undefined = {} as NegBinom_DistPostRequestBody) : void { - writer.writeObjectValue("cumulative", negBinom_DistPostRequestBody.cumulative, ); - writer.writeObjectValue("numberF", negBinom_DistPostRequestBody.numberF, ); - writer.writeObjectValue("numberS", negBinom_DistPostRequestBody.numberS, ); - writer.writeObjectValue("probabilityS", negBinom_DistPostRequestBody.probabilityS, ); + writer.writeObjectValue("cumulative", negBinom_DistPostRequestBody.cumulative, serializeJson); + writer.writeObjectValue("numberF", negBinom_DistPostRequestBody.numberF, serializeJson); + writer.writeObjectValue("numberS", negBinom_DistPostRequestBody.numberS, serializeJson); + writer.writeObjectValue("probabilityS", negBinom_DistPostRequestBody.probabilityS, serializeJson); writer.writeAdditionalData(negBinom_DistPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/networkDays/networkDaysPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/networkDays/networkDaysPostRequestBody.ts index 53cd9ddcfc7..6b94deb0e41 100644 --- a/src/drives/item/items/item/workbook/functions/networkDays/networkDaysPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/networkDays/networkDaysPostRequestBody.ts @@ -34,9 +34,9 @@ export interface NetworkDaysPostRequestBody extends AdditionalDataHolder, Parsab startDate?: Json; } export function serializeNetworkDaysPostRequestBody(writer: SerializationWriter, networkDaysPostRequestBody: NetworkDaysPostRequestBody | undefined = {} as NetworkDaysPostRequestBody) : void { - writer.writeObjectValue("endDate", networkDaysPostRequestBody.endDate, ); - writer.writeObjectValue("holidays", networkDaysPostRequestBody.holidays, ); - writer.writeObjectValue("startDate", networkDaysPostRequestBody.startDate, ); + writer.writeObjectValue("endDate", networkDaysPostRequestBody.endDate, serializeJson); + writer.writeObjectValue("holidays", networkDaysPostRequestBody.holidays, serializeJson); + writer.writeObjectValue("startDate", networkDaysPostRequestBody.startDate, serializeJson); writer.writeAdditionalData(networkDaysPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/networkDays_Intl/networkDays_IntlPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/networkDays_Intl/networkDays_IntlPostRequestBody.ts index 61a36d71ad5..33f42c28e91 100644 --- a/src/drives/item/items/item/workbook/functions/networkDays_Intl/networkDays_IntlPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/networkDays_Intl/networkDays_IntlPostRequestBody.ts @@ -39,10 +39,10 @@ export interface NetworkDays_IntlPostRequestBody extends AdditionalDataHolder, P weekend?: Json; } export function serializeNetworkDays_IntlPostRequestBody(writer: SerializationWriter, networkDays_IntlPostRequestBody: NetworkDays_IntlPostRequestBody | undefined = {} as NetworkDays_IntlPostRequestBody) : void { - writer.writeObjectValue("endDate", networkDays_IntlPostRequestBody.endDate, ); - writer.writeObjectValue("holidays", networkDays_IntlPostRequestBody.holidays, ); - writer.writeObjectValue("startDate", networkDays_IntlPostRequestBody.startDate, ); - writer.writeObjectValue("weekend", networkDays_IntlPostRequestBody.weekend, ); + writer.writeObjectValue("endDate", networkDays_IntlPostRequestBody.endDate, serializeJson); + writer.writeObjectValue("holidays", networkDays_IntlPostRequestBody.holidays, serializeJson); + writer.writeObjectValue("startDate", networkDays_IntlPostRequestBody.startDate, serializeJson); + writer.writeObjectValue("weekend", networkDays_IntlPostRequestBody.weekend, serializeJson); writer.writeAdditionalData(networkDays_IntlPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/nominal/nominalPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/nominal/nominalPostRequestBody.ts index c170113ffac..4dea049c8dd 100644 --- a/src/drives/item/items/item/workbook/functions/nominal/nominalPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/nominal/nominalPostRequestBody.ts @@ -29,8 +29,8 @@ export interface NominalPostRequestBody extends AdditionalDataHolder, Parsable { npery?: Json; } export function serializeNominalPostRequestBody(writer: SerializationWriter, nominalPostRequestBody: NominalPostRequestBody | undefined = {} as NominalPostRequestBody) : void { - writer.writeObjectValue("effectRate", nominalPostRequestBody.effectRate, ); - writer.writeObjectValue("npery", nominalPostRequestBody.npery, ); + writer.writeObjectValue("effectRate", nominalPostRequestBody.effectRate, serializeJson); + writer.writeObjectValue("npery", nominalPostRequestBody.npery, serializeJson); writer.writeAdditionalData(nominalPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/norm_Dist/norm_DistPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/norm_Dist/norm_DistPostRequestBody.ts index 4996fb025cd..335fd6a1750 100644 --- a/src/drives/item/items/item/workbook/functions/norm_Dist/norm_DistPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/norm_Dist/norm_DistPostRequestBody.ts @@ -39,10 +39,10 @@ export interface Norm_DistPostRequestBody extends AdditionalDataHolder, Parsable x?: Json; } export function serializeNorm_DistPostRequestBody(writer: SerializationWriter, norm_DistPostRequestBody: Norm_DistPostRequestBody | undefined = {} as Norm_DistPostRequestBody) : void { - writer.writeObjectValue("cumulative", norm_DistPostRequestBody.cumulative, ); - writer.writeObjectValue("mean", norm_DistPostRequestBody.mean, ); - writer.writeObjectValue("standardDev", norm_DistPostRequestBody.standardDev, ); - writer.writeObjectValue("x", norm_DistPostRequestBody.x, ); + writer.writeObjectValue("cumulative", norm_DistPostRequestBody.cumulative, serializeJson); + writer.writeObjectValue("mean", norm_DistPostRequestBody.mean, serializeJson); + writer.writeObjectValue("standardDev", norm_DistPostRequestBody.standardDev, serializeJson); + writer.writeObjectValue("x", norm_DistPostRequestBody.x, serializeJson); writer.writeAdditionalData(norm_DistPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/norm_Inv/norm_InvPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/norm_Inv/norm_InvPostRequestBody.ts index caa68999711..185790647f6 100644 --- a/src/drives/item/items/item/workbook/functions/norm_Inv/norm_InvPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/norm_Inv/norm_InvPostRequestBody.ts @@ -34,9 +34,9 @@ export interface Norm_InvPostRequestBody extends AdditionalDataHolder, Parsable standardDev?: Json; } export function serializeNorm_InvPostRequestBody(writer: SerializationWriter, norm_InvPostRequestBody: Norm_InvPostRequestBody | undefined = {} as Norm_InvPostRequestBody) : void { - writer.writeObjectValue("mean", norm_InvPostRequestBody.mean, ); - writer.writeObjectValue("probability", norm_InvPostRequestBody.probability, ); - writer.writeObjectValue("standardDev", norm_InvPostRequestBody.standardDev, ); + writer.writeObjectValue("mean", norm_InvPostRequestBody.mean, serializeJson); + writer.writeObjectValue("probability", norm_InvPostRequestBody.probability, serializeJson); + writer.writeObjectValue("standardDev", norm_InvPostRequestBody.standardDev, serializeJson); writer.writeAdditionalData(norm_InvPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/norm_S_Dist/norm_S_DistPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/norm_S_Dist/norm_S_DistPostRequestBody.ts index ed4e4c339d3..5fffe3dc416 100644 --- a/src/drives/item/items/item/workbook/functions/norm_S_Dist/norm_S_DistPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/norm_S_Dist/norm_S_DistPostRequestBody.ts @@ -29,8 +29,8 @@ export interface Norm_S_DistPostRequestBody extends AdditionalDataHolder, Parsab z?: Json; } export function serializeNorm_S_DistPostRequestBody(writer: SerializationWriter, norm_S_DistPostRequestBody: Norm_S_DistPostRequestBody | undefined = {} as Norm_S_DistPostRequestBody) : void { - writer.writeObjectValue("cumulative", norm_S_DistPostRequestBody.cumulative, ); - writer.writeObjectValue("z", norm_S_DistPostRequestBody.z, ); + writer.writeObjectValue("cumulative", norm_S_DistPostRequestBody.cumulative, serializeJson); + writer.writeObjectValue("z", norm_S_DistPostRequestBody.z, serializeJson); writer.writeAdditionalData(norm_S_DistPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/norm_S_Inv/norm_S_InvPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/norm_S_Inv/norm_S_InvPostRequestBody.ts index 04beff45baa..7aea72430c5 100644 --- a/src/drives/item/items/item/workbook/functions/norm_S_Inv/norm_S_InvPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/norm_S_Inv/norm_S_InvPostRequestBody.ts @@ -24,7 +24,7 @@ export interface Norm_S_InvPostRequestBody extends AdditionalDataHolder, Parsabl probability?: Json; } export function serializeNorm_S_InvPostRequestBody(writer: SerializationWriter, norm_S_InvPostRequestBody: Norm_S_InvPostRequestBody | undefined = {} as Norm_S_InvPostRequestBody) : void { - writer.writeObjectValue("probability", norm_S_InvPostRequestBody.probability, ); + writer.writeObjectValue("probability", norm_S_InvPostRequestBody.probability, serializeJson); writer.writeAdditionalData(norm_S_InvPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/not/notPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/not/notPostRequestBody.ts index d342d91fea4..2f7910d68f6 100644 --- a/src/drives/item/items/item/workbook/functions/not/notPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/not/notPostRequestBody.ts @@ -24,7 +24,7 @@ export interface NotPostRequestBody extends AdditionalDataHolder, Parsable { logical?: Json; } export function serializeNotPostRequestBody(writer: SerializationWriter, notPostRequestBody: NotPostRequestBody | undefined = {} as NotPostRequestBody) : void { - writer.writeObjectValue("logical", notPostRequestBody.logical, ); + writer.writeObjectValue("logical", notPostRequestBody.logical, serializeJson); writer.writeAdditionalData(notPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/nper/nperPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/nper/nperPostRequestBody.ts index 5ab559ad8dc..09686727751 100644 --- a/src/drives/item/items/item/workbook/functions/nper/nperPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/nper/nperPostRequestBody.ts @@ -44,11 +44,11 @@ export interface NperPostRequestBody extends AdditionalDataHolder, Parsable { type?: Json; } export function serializeNperPostRequestBody(writer: SerializationWriter, nperPostRequestBody: NperPostRequestBody | undefined = {} as NperPostRequestBody) : void { - writer.writeObjectValue("fv", nperPostRequestBody.fv, ); - writer.writeObjectValue("pmt", nperPostRequestBody.pmt, ); - writer.writeObjectValue("pv", nperPostRequestBody.pv, ); - writer.writeObjectValue("rate", nperPostRequestBody.rate, ); - writer.writeObjectValue("type", nperPostRequestBody.type, ); + writer.writeObjectValue("fv", nperPostRequestBody.fv, serializeJson); + writer.writeObjectValue("pmt", nperPostRequestBody.pmt, serializeJson); + writer.writeObjectValue("pv", nperPostRequestBody.pv, serializeJson); + writer.writeObjectValue("rate", nperPostRequestBody.rate, serializeJson); + writer.writeObjectValue("type", nperPostRequestBody.type, serializeJson); writer.writeAdditionalData(nperPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/npv/npvPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/npv/npvPostRequestBody.ts index 5541a5de5ab..59226e21aed 100644 --- a/src/drives/item/items/item/workbook/functions/npv/npvPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/npv/npvPostRequestBody.ts @@ -29,8 +29,8 @@ export interface NpvPostRequestBody extends AdditionalDataHolder, Parsable { values?: Json; } export function serializeNpvPostRequestBody(writer: SerializationWriter, npvPostRequestBody: NpvPostRequestBody | undefined = {} as NpvPostRequestBody) : void { - writer.writeObjectValue("rate", npvPostRequestBody.rate, ); - writer.writeObjectValue("values", npvPostRequestBody.values, ); + writer.writeObjectValue("rate", npvPostRequestBody.rate, serializeJson); + writer.writeObjectValue("values", npvPostRequestBody.values, serializeJson); writer.writeAdditionalData(npvPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/numberValue/numberValuePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/numberValue/numberValuePostRequestBody.ts index e9e2edfa543..18ac2bc8896 100644 --- a/src/drives/item/items/item/workbook/functions/numberValue/numberValuePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/numberValue/numberValuePostRequestBody.ts @@ -34,9 +34,9 @@ export interface NumberValuePostRequestBody extends AdditionalDataHolder, Parsab text?: Json; } export function serializeNumberValuePostRequestBody(writer: SerializationWriter, numberValuePostRequestBody: NumberValuePostRequestBody | undefined = {} as NumberValuePostRequestBody) : void { - writer.writeObjectValue("decimalSeparator", numberValuePostRequestBody.decimalSeparator, ); - writer.writeObjectValue("groupSeparator", numberValuePostRequestBody.groupSeparator, ); - writer.writeObjectValue("text", numberValuePostRequestBody.text, ); + writer.writeObjectValue("decimalSeparator", numberValuePostRequestBody.decimalSeparator, serializeJson); + writer.writeObjectValue("groupSeparator", numberValuePostRequestBody.groupSeparator, serializeJson); + writer.writeObjectValue("text", numberValuePostRequestBody.text, serializeJson); writer.writeAdditionalData(numberValuePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/oct2Bin/oct2BinPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/oct2Bin/oct2BinPostRequestBody.ts index d3c04477308..2ef97e8fe4d 100644 --- a/src/drives/item/items/item/workbook/functions/oct2Bin/oct2BinPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/oct2Bin/oct2BinPostRequestBody.ts @@ -29,8 +29,8 @@ export interface Oct2BinPostRequestBody extends AdditionalDataHolder, Parsable { places?: Json; } export function serializeOct2BinPostRequestBody(writer: SerializationWriter, oct2BinPostRequestBody: Oct2BinPostRequestBody | undefined = {} as Oct2BinPostRequestBody) : void { - writer.writeObjectValue("number", oct2BinPostRequestBody.number, ); - writer.writeObjectValue("places", oct2BinPostRequestBody.places, ); + writer.writeObjectValue("number", oct2BinPostRequestBody.number, serializeJson); + writer.writeObjectValue("places", oct2BinPostRequestBody.places, serializeJson); writer.writeAdditionalData(oct2BinPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/oct2Dec/oct2DecPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/oct2Dec/oct2DecPostRequestBody.ts index 2ccc6cc12f2..954d7c2a513 100644 --- a/src/drives/item/items/item/workbook/functions/oct2Dec/oct2DecPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/oct2Dec/oct2DecPostRequestBody.ts @@ -24,7 +24,7 @@ export interface Oct2DecPostRequestBody extends AdditionalDataHolder, Parsable { number?: Json; } export function serializeOct2DecPostRequestBody(writer: SerializationWriter, oct2DecPostRequestBody: Oct2DecPostRequestBody | undefined = {} as Oct2DecPostRequestBody) : void { - writer.writeObjectValue("number", oct2DecPostRequestBody.number, ); + writer.writeObjectValue("number", oct2DecPostRequestBody.number, serializeJson); writer.writeAdditionalData(oct2DecPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/oct2Hex/oct2HexPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/oct2Hex/oct2HexPostRequestBody.ts index 1d17c85e00b..0b3b7ddb472 100644 --- a/src/drives/item/items/item/workbook/functions/oct2Hex/oct2HexPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/oct2Hex/oct2HexPostRequestBody.ts @@ -29,8 +29,8 @@ export interface Oct2HexPostRequestBody extends AdditionalDataHolder, Parsable { places?: Json; } export function serializeOct2HexPostRequestBody(writer: SerializationWriter, oct2HexPostRequestBody: Oct2HexPostRequestBody | undefined = {} as Oct2HexPostRequestBody) : void { - writer.writeObjectValue("number", oct2HexPostRequestBody.number, ); - writer.writeObjectValue("places", oct2HexPostRequestBody.places, ); + writer.writeObjectValue("number", oct2HexPostRequestBody.number, serializeJson); + writer.writeObjectValue("places", oct2HexPostRequestBody.places, serializeJson); writer.writeAdditionalData(oct2HexPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/odd/oddPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/odd/oddPostRequestBody.ts index 51b27023079..2fcc278e1d7 100644 --- a/src/drives/item/items/item/workbook/functions/odd/oddPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/odd/oddPostRequestBody.ts @@ -24,7 +24,7 @@ export interface OddPostRequestBody extends AdditionalDataHolder, Parsable { number?: Json; } export function serializeOddPostRequestBody(writer: SerializationWriter, oddPostRequestBody: OddPostRequestBody | undefined = {} as OddPostRequestBody) : void { - writer.writeObjectValue("number", oddPostRequestBody.number, ); + writer.writeObjectValue("number", oddPostRequestBody.number, serializeJson); writer.writeAdditionalData(oddPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/oddFPrice/oddFPricePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/oddFPrice/oddFPricePostRequestBody.ts index 79667161621..b94ea12ddbe 100644 --- a/src/drives/item/items/item/workbook/functions/oddFPrice/oddFPricePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/oddFPrice/oddFPricePostRequestBody.ts @@ -64,15 +64,15 @@ export interface OddFPricePostRequestBody extends AdditionalDataHolder, Parsable yld?: Json; } export function serializeOddFPricePostRequestBody(writer: SerializationWriter, oddFPricePostRequestBody: OddFPricePostRequestBody | undefined = {} as OddFPricePostRequestBody) : void { - writer.writeObjectValue("basis", oddFPricePostRequestBody.basis, ); - writer.writeObjectValue("firstCoupon", oddFPricePostRequestBody.firstCoupon, ); - writer.writeObjectValue("frequency", oddFPricePostRequestBody.frequency, ); - writer.writeObjectValue("issue", oddFPricePostRequestBody.issue, ); - writer.writeObjectValue("maturity", oddFPricePostRequestBody.maturity, ); - writer.writeObjectValue("rate", oddFPricePostRequestBody.rate, ); - writer.writeObjectValue("redemption", oddFPricePostRequestBody.redemption, ); - writer.writeObjectValue("settlement", oddFPricePostRequestBody.settlement, ); - writer.writeObjectValue("yld", oddFPricePostRequestBody.yld, ); + writer.writeObjectValue("basis", oddFPricePostRequestBody.basis, serializeJson); + writer.writeObjectValue("firstCoupon", oddFPricePostRequestBody.firstCoupon, serializeJson); + writer.writeObjectValue("frequency", oddFPricePostRequestBody.frequency, serializeJson); + writer.writeObjectValue("issue", oddFPricePostRequestBody.issue, serializeJson); + writer.writeObjectValue("maturity", oddFPricePostRequestBody.maturity, serializeJson); + writer.writeObjectValue("rate", oddFPricePostRequestBody.rate, serializeJson); + writer.writeObjectValue("redemption", oddFPricePostRequestBody.redemption, serializeJson); + writer.writeObjectValue("settlement", oddFPricePostRequestBody.settlement, serializeJson); + writer.writeObjectValue("yld", oddFPricePostRequestBody.yld, serializeJson); writer.writeAdditionalData(oddFPricePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/oddFYield/oddFYieldPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/oddFYield/oddFYieldPostRequestBody.ts index c431f297834..39927c48448 100644 --- a/src/drives/item/items/item/workbook/functions/oddFYield/oddFYieldPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/oddFYield/oddFYieldPostRequestBody.ts @@ -64,15 +64,15 @@ export interface OddFYieldPostRequestBody extends AdditionalDataHolder, Parsable settlement?: Json; } export function serializeOddFYieldPostRequestBody(writer: SerializationWriter, oddFYieldPostRequestBody: OddFYieldPostRequestBody | undefined = {} as OddFYieldPostRequestBody) : void { - writer.writeObjectValue("basis", oddFYieldPostRequestBody.basis, ); - writer.writeObjectValue("firstCoupon", oddFYieldPostRequestBody.firstCoupon, ); - writer.writeObjectValue("frequency", oddFYieldPostRequestBody.frequency, ); - writer.writeObjectValue("issue", oddFYieldPostRequestBody.issue, ); - writer.writeObjectValue("maturity", oddFYieldPostRequestBody.maturity, ); - writer.writeObjectValue("pr", oddFYieldPostRequestBody.pr, ); - writer.writeObjectValue("rate", oddFYieldPostRequestBody.rate, ); - writer.writeObjectValue("redemption", oddFYieldPostRequestBody.redemption, ); - writer.writeObjectValue("settlement", oddFYieldPostRequestBody.settlement, ); + writer.writeObjectValue("basis", oddFYieldPostRequestBody.basis, serializeJson); + writer.writeObjectValue("firstCoupon", oddFYieldPostRequestBody.firstCoupon, serializeJson); + writer.writeObjectValue("frequency", oddFYieldPostRequestBody.frequency, serializeJson); + writer.writeObjectValue("issue", oddFYieldPostRequestBody.issue, serializeJson); + writer.writeObjectValue("maturity", oddFYieldPostRequestBody.maturity, serializeJson); + writer.writeObjectValue("pr", oddFYieldPostRequestBody.pr, serializeJson); + writer.writeObjectValue("rate", oddFYieldPostRequestBody.rate, serializeJson); + writer.writeObjectValue("redemption", oddFYieldPostRequestBody.redemption, serializeJson); + writer.writeObjectValue("settlement", oddFYieldPostRequestBody.settlement, serializeJson); writer.writeAdditionalData(oddFYieldPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/oddLPrice/oddLPricePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/oddLPrice/oddLPricePostRequestBody.ts index fb7063edfe0..2f0cf3b05dd 100644 --- a/src/drives/item/items/item/workbook/functions/oddLPrice/oddLPricePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/oddLPrice/oddLPricePostRequestBody.ts @@ -59,14 +59,14 @@ export interface OddLPricePostRequestBody extends AdditionalDataHolder, Parsable yld?: Json; } export function serializeOddLPricePostRequestBody(writer: SerializationWriter, oddLPricePostRequestBody: OddLPricePostRequestBody | undefined = {} as OddLPricePostRequestBody) : void { - writer.writeObjectValue("basis", oddLPricePostRequestBody.basis, ); - writer.writeObjectValue("frequency", oddLPricePostRequestBody.frequency, ); - writer.writeObjectValue("lastInterest", oddLPricePostRequestBody.lastInterest, ); - writer.writeObjectValue("maturity", oddLPricePostRequestBody.maturity, ); - writer.writeObjectValue("rate", oddLPricePostRequestBody.rate, ); - writer.writeObjectValue("redemption", oddLPricePostRequestBody.redemption, ); - writer.writeObjectValue("settlement", oddLPricePostRequestBody.settlement, ); - writer.writeObjectValue("yld", oddLPricePostRequestBody.yld, ); + writer.writeObjectValue("basis", oddLPricePostRequestBody.basis, serializeJson); + writer.writeObjectValue("frequency", oddLPricePostRequestBody.frequency, serializeJson); + writer.writeObjectValue("lastInterest", oddLPricePostRequestBody.lastInterest, serializeJson); + writer.writeObjectValue("maturity", oddLPricePostRequestBody.maturity, serializeJson); + writer.writeObjectValue("rate", oddLPricePostRequestBody.rate, serializeJson); + writer.writeObjectValue("redemption", oddLPricePostRequestBody.redemption, serializeJson); + writer.writeObjectValue("settlement", oddLPricePostRequestBody.settlement, serializeJson); + writer.writeObjectValue("yld", oddLPricePostRequestBody.yld, serializeJson); writer.writeAdditionalData(oddLPricePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/oddLYield/oddLYieldPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/oddLYield/oddLYieldPostRequestBody.ts index 892adc01a89..ecda8f75c54 100644 --- a/src/drives/item/items/item/workbook/functions/oddLYield/oddLYieldPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/oddLYield/oddLYieldPostRequestBody.ts @@ -59,14 +59,14 @@ export interface OddLYieldPostRequestBody extends AdditionalDataHolder, Parsable settlement?: Json; } export function serializeOddLYieldPostRequestBody(writer: SerializationWriter, oddLYieldPostRequestBody: OddLYieldPostRequestBody | undefined = {} as OddLYieldPostRequestBody) : void { - writer.writeObjectValue("basis", oddLYieldPostRequestBody.basis, ); - writer.writeObjectValue("frequency", oddLYieldPostRequestBody.frequency, ); - writer.writeObjectValue("lastInterest", oddLYieldPostRequestBody.lastInterest, ); - writer.writeObjectValue("maturity", oddLYieldPostRequestBody.maturity, ); - writer.writeObjectValue("pr", oddLYieldPostRequestBody.pr, ); - writer.writeObjectValue("rate", oddLYieldPostRequestBody.rate, ); - writer.writeObjectValue("redemption", oddLYieldPostRequestBody.redemption, ); - writer.writeObjectValue("settlement", oddLYieldPostRequestBody.settlement, ); + writer.writeObjectValue("basis", oddLYieldPostRequestBody.basis, serializeJson); + writer.writeObjectValue("frequency", oddLYieldPostRequestBody.frequency, serializeJson); + writer.writeObjectValue("lastInterest", oddLYieldPostRequestBody.lastInterest, serializeJson); + writer.writeObjectValue("maturity", oddLYieldPostRequestBody.maturity, serializeJson); + writer.writeObjectValue("pr", oddLYieldPostRequestBody.pr, serializeJson); + writer.writeObjectValue("rate", oddLYieldPostRequestBody.rate, serializeJson); + writer.writeObjectValue("redemption", oddLYieldPostRequestBody.redemption, serializeJson); + writer.writeObjectValue("settlement", oddLYieldPostRequestBody.settlement, serializeJson); writer.writeAdditionalData(oddLYieldPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/or/orPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/or/orPostRequestBody.ts index 07f185dc29d..071d697e917 100644 --- a/src/drives/item/items/item/workbook/functions/or/orPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/or/orPostRequestBody.ts @@ -24,7 +24,7 @@ export interface OrPostRequestBody extends AdditionalDataHolder, Parsable { values?: Json; } export function serializeOrPostRequestBody(writer: SerializationWriter, orPostRequestBody: OrPostRequestBody | undefined = {} as OrPostRequestBody) : void { - writer.writeObjectValue("values", orPostRequestBody.values, ); + writer.writeObjectValue("values", orPostRequestBody.values, serializeJson); writer.writeAdditionalData(orPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/pduration/pdurationPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/pduration/pdurationPostRequestBody.ts index 05db3c28c7b..a7d50688db9 100644 --- a/src/drives/item/items/item/workbook/functions/pduration/pdurationPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/pduration/pdurationPostRequestBody.ts @@ -34,9 +34,9 @@ export interface PdurationPostRequestBody extends AdditionalDataHolder, Parsable rate?: Json; } export function serializePdurationPostRequestBody(writer: SerializationWriter, pdurationPostRequestBody: PdurationPostRequestBody | undefined = {} as PdurationPostRequestBody) : void { - writer.writeObjectValue("fv", pdurationPostRequestBody.fv, ); - writer.writeObjectValue("pv", pdurationPostRequestBody.pv, ); - writer.writeObjectValue("rate", pdurationPostRequestBody.rate, ); + writer.writeObjectValue("fv", pdurationPostRequestBody.fv, serializeJson); + writer.writeObjectValue("pv", pdurationPostRequestBody.pv, serializeJson); + writer.writeObjectValue("rate", pdurationPostRequestBody.rate, serializeJson); writer.writeAdditionalData(pdurationPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/percentRank_Exc/percentRank_ExcPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/percentRank_Exc/percentRank_ExcPostRequestBody.ts index 4e0e06ff5ab..4d62a1b4257 100644 --- a/src/drives/item/items/item/workbook/functions/percentRank_Exc/percentRank_ExcPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/percentRank_Exc/percentRank_ExcPostRequestBody.ts @@ -34,9 +34,9 @@ export interface PercentRank_ExcPostRequestBody extends AdditionalDataHolder, Pa x?: Json; } export function serializePercentRank_ExcPostRequestBody(writer: SerializationWriter, percentRank_ExcPostRequestBody: PercentRank_ExcPostRequestBody | undefined = {} as PercentRank_ExcPostRequestBody) : void { - writer.writeObjectValue("array", percentRank_ExcPostRequestBody.array, ); - writer.writeObjectValue("significance", percentRank_ExcPostRequestBody.significance, ); - writer.writeObjectValue("x", percentRank_ExcPostRequestBody.x, ); + writer.writeObjectValue("array", percentRank_ExcPostRequestBody.array, serializeJson); + writer.writeObjectValue("significance", percentRank_ExcPostRequestBody.significance, serializeJson); + writer.writeObjectValue("x", percentRank_ExcPostRequestBody.x, serializeJson); writer.writeAdditionalData(percentRank_ExcPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/percentRank_Inc/percentRank_IncPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/percentRank_Inc/percentRank_IncPostRequestBody.ts index 3b1af5aab9f..49daf22e631 100644 --- a/src/drives/item/items/item/workbook/functions/percentRank_Inc/percentRank_IncPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/percentRank_Inc/percentRank_IncPostRequestBody.ts @@ -34,9 +34,9 @@ export interface PercentRank_IncPostRequestBody extends AdditionalDataHolder, Pa x?: Json; } export function serializePercentRank_IncPostRequestBody(writer: SerializationWriter, percentRank_IncPostRequestBody: PercentRank_IncPostRequestBody | undefined = {} as PercentRank_IncPostRequestBody) : void { - writer.writeObjectValue("array", percentRank_IncPostRequestBody.array, ); - writer.writeObjectValue("significance", percentRank_IncPostRequestBody.significance, ); - writer.writeObjectValue("x", percentRank_IncPostRequestBody.x, ); + writer.writeObjectValue("array", percentRank_IncPostRequestBody.array, serializeJson); + writer.writeObjectValue("significance", percentRank_IncPostRequestBody.significance, serializeJson); + writer.writeObjectValue("x", percentRank_IncPostRequestBody.x, serializeJson); writer.writeAdditionalData(percentRank_IncPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/percentile_Exc/percentile_ExcPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/percentile_Exc/percentile_ExcPostRequestBody.ts index d2a0859de91..3d454f2be07 100644 --- a/src/drives/item/items/item/workbook/functions/percentile_Exc/percentile_ExcPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/percentile_Exc/percentile_ExcPostRequestBody.ts @@ -29,8 +29,8 @@ export interface Percentile_ExcPostRequestBody extends AdditionalDataHolder, Par k?: Json; } export function serializePercentile_ExcPostRequestBody(writer: SerializationWriter, percentile_ExcPostRequestBody: Percentile_ExcPostRequestBody | undefined = {} as Percentile_ExcPostRequestBody) : void { - writer.writeObjectValue("array", percentile_ExcPostRequestBody.array, ); - writer.writeObjectValue("k", percentile_ExcPostRequestBody.k, ); + writer.writeObjectValue("array", percentile_ExcPostRequestBody.array, serializeJson); + writer.writeObjectValue("k", percentile_ExcPostRequestBody.k, serializeJson); writer.writeAdditionalData(percentile_ExcPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/percentile_Inc/percentile_IncPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/percentile_Inc/percentile_IncPostRequestBody.ts index 01a40e1e9e4..c25a6f0353b 100644 --- a/src/drives/item/items/item/workbook/functions/percentile_Inc/percentile_IncPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/percentile_Inc/percentile_IncPostRequestBody.ts @@ -29,8 +29,8 @@ export interface Percentile_IncPostRequestBody extends AdditionalDataHolder, Par k?: Json; } export function serializePercentile_IncPostRequestBody(writer: SerializationWriter, percentile_IncPostRequestBody: Percentile_IncPostRequestBody | undefined = {} as Percentile_IncPostRequestBody) : void { - writer.writeObjectValue("array", percentile_IncPostRequestBody.array, ); - writer.writeObjectValue("k", percentile_IncPostRequestBody.k, ); + writer.writeObjectValue("array", percentile_IncPostRequestBody.array, serializeJson); + writer.writeObjectValue("k", percentile_IncPostRequestBody.k, serializeJson); writer.writeAdditionalData(percentile_IncPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/permut/permutPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/permut/permutPostRequestBody.ts index 1b5106b896c..d65482491f1 100644 --- a/src/drives/item/items/item/workbook/functions/permut/permutPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/permut/permutPostRequestBody.ts @@ -29,8 +29,8 @@ export interface PermutPostRequestBody extends AdditionalDataHolder, Parsable { numberChosen?: Json; } export function serializePermutPostRequestBody(writer: SerializationWriter, permutPostRequestBody: PermutPostRequestBody | undefined = {} as PermutPostRequestBody) : void { - writer.writeObjectValue("number", permutPostRequestBody.number, ); - writer.writeObjectValue("numberChosen", permutPostRequestBody.numberChosen, ); + writer.writeObjectValue("number", permutPostRequestBody.number, serializeJson); + writer.writeObjectValue("numberChosen", permutPostRequestBody.numberChosen, serializeJson); writer.writeAdditionalData(permutPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/permutationa/permutationaPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/permutationa/permutationaPostRequestBody.ts index d205e69d795..258c0ac67f4 100644 --- a/src/drives/item/items/item/workbook/functions/permutationa/permutationaPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/permutationa/permutationaPostRequestBody.ts @@ -29,8 +29,8 @@ export interface PermutationaPostRequestBody extends AdditionalDataHolder, Parsa numberChosen?: Json; } export function serializePermutationaPostRequestBody(writer: SerializationWriter, permutationaPostRequestBody: PermutationaPostRequestBody | undefined = {} as PermutationaPostRequestBody) : void { - writer.writeObjectValue("number", permutationaPostRequestBody.number, ); - writer.writeObjectValue("numberChosen", permutationaPostRequestBody.numberChosen, ); + writer.writeObjectValue("number", permutationaPostRequestBody.number, serializeJson); + writer.writeObjectValue("numberChosen", permutationaPostRequestBody.numberChosen, serializeJson); writer.writeAdditionalData(permutationaPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/phi/phiPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/phi/phiPostRequestBody.ts index c2eb0c920c5..732149c8186 100644 --- a/src/drives/item/items/item/workbook/functions/phi/phiPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/phi/phiPostRequestBody.ts @@ -24,7 +24,7 @@ export interface PhiPostRequestBody extends AdditionalDataHolder, Parsable { x?: Json; } export function serializePhiPostRequestBody(writer: SerializationWriter, phiPostRequestBody: PhiPostRequestBody | undefined = {} as PhiPostRequestBody) : void { - writer.writeObjectValue("x", phiPostRequestBody.x, ); + writer.writeObjectValue("x", phiPostRequestBody.x, serializeJson); writer.writeAdditionalData(phiPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/pmt/pmtPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/pmt/pmtPostRequestBody.ts index e0f6e3baf67..e2df5d47b73 100644 --- a/src/drives/item/items/item/workbook/functions/pmt/pmtPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/pmt/pmtPostRequestBody.ts @@ -44,11 +44,11 @@ export interface PmtPostRequestBody extends AdditionalDataHolder, Parsable { type?: Json; } export function serializePmtPostRequestBody(writer: SerializationWriter, pmtPostRequestBody: PmtPostRequestBody | undefined = {} as PmtPostRequestBody) : void { - writer.writeObjectValue("fv", pmtPostRequestBody.fv, ); - writer.writeObjectValue("nper", pmtPostRequestBody.nper, ); - writer.writeObjectValue("pv", pmtPostRequestBody.pv, ); - writer.writeObjectValue("rate", pmtPostRequestBody.rate, ); - writer.writeObjectValue("type", pmtPostRequestBody.type, ); + writer.writeObjectValue("fv", pmtPostRequestBody.fv, serializeJson); + writer.writeObjectValue("nper", pmtPostRequestBody.nper, serializeJson); + writer.writeObjectValue("pv", pmtPostRequestBody.pv, serializeJson); + writer.writeObjectValue("rate", pmtPostRequestBody.rate, serializeJson); + writer.writeObjectValue("type", pmtPostRequestBody.type, serializeJson); writer.writeAdditionalData(pmtPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/poisson_Dist/poisson_DistPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/poisson_Dist/poisson_DistPostRequestBody.ts index 7a3da9ef814..21dba6b848c 100644 --- a/src/drives/item/items/item/workbook/functions/poisson_Dist/poisson_DistPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/poisson_Dist/poisson_DistPostRequestBody.ts @@ -34,9 +34,9 @@ export interface Poisson_DistPostRequestBody extends AdditionalDataHolder, Parsa x?: Json; } export function serializePoisson_DistPostRequestBody(writer: SerializationWriter, poisson_DistPostRequestBody: Poisson_DistPostRequestBody | undefined = {} as Poisson_DistPostRequestBody) : void { - writer.writeObjectValue("cumulative", poisson_DistPostRequestBody.cumulative, ); - writer.writeObjectValue("mean", poisson_DistPostRequestBody.mean, ); - writer.writeObjectValue("x", poisson_DistPostRequestBody.x, ); + writer.writeObjectValue("cumulative", poisson_DistPostRequestBody.cumulative, serializeJson); + writer.writeObjectValue("mean", poisson_DistPostRequestBody.mean, serializeJson); + writer.writeObjectValue("x", poisson_DistPostRequestBody.x, serializeJson); writer.writeAdditionalData(poisson_DistPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/power/powerPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/power/powerPostRequestBody.ts index b18754cd295..6cce877f273 100644 --- a/src/drives/item/items/item/workbook/functions/power/powerPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/power/powerPostRequestBody.ts @@ -29,8 +29,8 @@ export interface PowerPostRequestBody extends AdditionalDataHolder, Parsable { power?: Json; } export function serializePowerPostRequestBody(writer: SerializationWriter, powerPostRequestBody: PowerPostRequestBody | undefined = {} as PowerPostRequestBody) : void { - writer.writeObjectValue("number", powerPostRequestBody.number, ); - writer.writeObjectValue("power", powerPostRequestBody.power, ); + writer.writeObjectValue("number", powerPostRequestBody.number, serializeJson); + writer.writeObjectValue("power", powerPostRequestBody.power, serializeJson); writer.writeAdditionalData(powerPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/ppmt/ppmtPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/ppmt/ppmtPostRequestBody.ts index 70b181bc65c..71ea2ff34e3 100644 --- a/src/drives/item/items/item/workbook/functions/ppmt/ppmtPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/ppmt/ppmtPostRequestBody.ts @@ -49,12 +49,12 @@ export interface PpmtPostRequestBody extends AdditionalDataHolder, Parsable { type?: Json; } export function serializePpmtPostRequestBody(writer: SerializationWriter, ppmtPostRequestBody: PpmtPostRequestBody | undefined = {} as PpmtPostRequestBody) : void { - writer.writeObjectValue("fv", ppmtPostRequestBody.fv, ); - writer.writeObjectValue("nper", ppmtPostRequestBody.nper, ); - writer.writeObjectValue("per", ppmtPostRequestBody.per, ); - writer.writeObjectValue("pv", ppmtPostRequestBody.pv, ); - writer.writeObjectValue("rate", ppmtPostRequestBody.rate, ); - writer.writeObjectValue("type", ppmtPostRequestBody.type, ); + writer.writeObjectValue("fv", ppmtPostRequestBody.fv, serializeJson); + writer.writeObjectValue("nper", ppmtPostRequestBody.nper, serializeJson); + writer.writeObjectValue("per", ppmtPostRequestBody.per, serializeJson); + writer.writeObjectValue("pv", ppmtPostRequestBody.pv, serializeJson); + writer.writeObjectValue("rate", ppmtPostRequestBody.rate, serializeJson); + writer.writeObjectValue("type", ppmtPostRequestBody.type, serializeJson); writer.writeAdditionalData(ppmtPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/price/pricePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/price/pricePostRequestBody.ts index 12b0cc42024..5c32c0e5a4d 100644 --- a/src/drives/item/items/item/workbook/functions/price/pricePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/price/pricePostRequestBody.ts @@ -54,13 +54,13 @@ export interface PricePostRequestBody extends AdditionalDataHolder, Parsable { yld?: Json; } export function serializePricePostRequestBody(writer: SerializationWriter, pricePostRequestBody: PricePostRequestBody | undefined = {} as PricePostRequestBody) : void { - writer.writeObjectValue("basis", pricePostRequestBody.basis, ); - writer.writeObjectValue("frequency", pricePostRequestBody.frequency, ); - writer.writeObjectValue("maturity", pricePostRequestBody.maturity, ); - writer.writeObjectValue("rate", pricePostRequestBody.rate, ); - writer.writeObjectValue("redemption", pricePostRequestBody.redemption, ); - writer.writeObjectValue("settlement", pricePostRequestBody.settlement, ); - writer.writeObjectValue("yld", pricePostRequestBody.yld, ); + writer.writeObjectValue("basis", pricePostRequestBody.basis, serializeJson); + writer.writeObjectValue("frequency", pricePostRequestBody.frequency, serializeJson); + writer.writeObjectValue("maturity", pricePostRequestBody.maturity, serializeJson); + writer.writeObjectValue("rate", pricePostRequestBody.rate, serializeJson); + writer.writeObjectValue("redemption", pricePostRequestBody.redemption, serializeJson); + writer.writeObjectValue("settlement", pricePostRequestBody.settlement, serializeJson); + writer.writeObjectValue("yld", pricePostRequestBody.yld, serializeJson); writer.writeAdditionalData(pricePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/priceDisc/priceDiscPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/priceDisc/priceDiscPostRequestBody.ts index c079bdc99eb..26dea56c9ee 100644 --- a/src/drives/item/items/item/workbook/functions/priceDisc/priceDiscPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/priceDisc/priceDiscPostRequestBody.ts @@ -44,11 +44,11 @@ export interface PriceDiscPostRequestBody extends AdditionalDataHolder, Parsable settlement?: Json; } export function serializePriceDiscPostRequestBody(writer: SerializationWriter, priceDiscPostRequestBody: PriceDiscPostRequestBody | undefined = {} as PriceDiscPostRequestBody) : void { - writer.writeObjectValue("basis", priceDiscPostRequestBody.basis, ); - writer.writeObjectValue("discount", priceDiscPostRequestBody.discount, ); - writer.writeObjectValue("maturity", priceDiscPostRequestBody.maturity, ); - writer.writeObjectValue("redemption", priceDiscPostRequestBody.redemption, ); - writer.writeObjectValue("settlement", priceDiscPostRequestBody.settlement, ); + writer.writeObjectValue("basis", priceDiscPostRequestBody.basis, serializeJson); + writer.writeObjectValue("discount", priceDiscPostRequestBody.discount, serializeJson); + writer.writeObjectValue("maturity", priceDiscPostRequestBody.maturity, serializeJson); + writer.writeObjectValue("redemption", priceDiscPostRequestBody.redemption, serializeJson); + writer.writeObjectValue("settlement", priceDiscPostRequestBody.settlement, serializeJson); writer.writeAdditionalData(priceDiscPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/priceMat/priceMatPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/priceMat/priceMatPostRequestBody.ts index 4f0fadfbf63..e99e5f837ee 100644 --- a/src/drives/item/items/item/workbook/functions/priceMat/priceMatPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/priceMat/priceMatPostRequestBody.ts @@ -49,12 +49,12 @@ export interface PriceMatPostRequestBody extends AdditionalDataHolder, Parsable yld?: Json; } export function serializePriceMatPostRequestBody(writer: SerializationWriter, priceMatPostRequestBody: PriceMatPostRequestBody | undefined = {} as PriceMatPostRequestBody) : void { - writer.writeObjectValue("basis", priceMatPostRequestBody.basis, ); - writer.writeObjectValue("issue", priceMatPostRequestBody.issue, ); - writer.writeObjectValue("maturity", priceMatPostRequestBody.maturity, ); - writer.writeObjectValue("rate", priceMatPostRequestBody.rate, ); - writer.writeObjectValue("settlement", priceMatPostRequestBody.settlement, ); - writer.writeObjectValue("yld", priceMatPostRequestBody.yld, ); + writer.writeObjectValue("basis", priceMatPostRequestBody.basis, serializeJson); + writer.writeObjectValue("issue", priceMatPostRequestBody.issue, serializeJson); + writer.writeObjectValue("maturity", priceMatPostRequestBody.maturity, serializeJson); + writer.writeObjectValue("rate", priceMatPostRequestBody.rate, serializeJson); + writer.writeObjectValue("settlement", priceMatPostRequestBody.settlement, serializeJson); + writer.writeObjectValue("yld", priceMatPostRequestBody.yld, serializeJson); writer.writeAdditionalData(priceMatPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/product/productPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/product/productPostRequestBody.ts index 5212800bc19..3ce3ff69699 100644 --- a/src/drives/item/items/item/workbook/functions/product/productPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/product/productPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ProductPostRequestBody extends AdditionalDataHolder, Parsable { values?: Json; } export function serializeProductPostRequestBody(writer: SerializationWriter, productPostRequestBody: ProductPostRequestBody | undefined = {} as ProductPostRequestBody) : void { - writer.writeObjectValue("values", productPostRequestBody.values, ); + writer.writeObjectValue("values", productPostRequestBody.values, serializeJson); writer.writeAdditionalData(productPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/proper/properPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/proper/properPostRequestBody.ts index 4dab7444dcd..4d6ae888765 100644 --- a/src/drives/item/items/item/workbook/functions/proper/properPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/proper/properPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ProperPostRequestBody extends AdditionalDataHolder, Parsable { text?: Json; } export function serializeProperPostRequestBody(writer: SerializationWriter, properPostRequestBody: ProperPostRequestBody | undefined = {} as ProperPostRequestBody) : void { - writer.writeObjectValue("text", properPostRequestBody.text, ); + writer.writeObjectValue("text", properPostRequestBody.text, serializeJson); writer.writeAdditionalData(properPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/pv/pvPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/pv/pvPostRequestBody.ts index 701597bdf02..56506da89da 100644 --- a/src/drives/item/items/item/workbook/functions/pv/pvPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/pv/pvPostRequestBody.ts @@ -44,11 +44,11 @@ export interface PvPostRequestBody extends AdditionalDataHolder, Parsable { type?: Json; } export function serializePvPostRequestBody(writer: SerializationWriter, pvPostRequestBody: PvPostRequestBody | undefined = {} as PvPostRequestBody) : void { - writer.writeObjectValue("fv", pvPostRequestBody.fv, ); - writer.writeObjectValue("nper", pvPostRequestBody.nper, ); - writer.writeObjectValue("pmt", pvPostRequestBody.pmt, ); - writer.writeObjectValue("rate", pvPostRequestBody.rate, ); - writer.writeObjectValue("type", pvPostRequestBody.type, ); + writer.writeObjectValue("fv", pvPostRequestBody.fv, serializeJson); + writer.writeObjectValue("nper", pvPostRequestBody.nper, serializeJson); + writer.writeObjectValue("pmt", pvPostRequestBody.pmt, serializeJson); + writer.writeObjectValue("rate", pvPostRequestBody.rate, serializeJson); + writer.writeObjectValue("type", pvPostRequestBody.type, serializeJson); writer.writeAdditionalData(pvPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/quartile_Exc/quartile_ExcPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/quartile_Exc/quartile_ExcPostRequestBody.ts index 125658282d4..20b5f9fdd00 100644 --- a/src/drives/item/items/item/workbook/functions/quartile_Exc/quartile_ExcPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/quartile_Exc/quartile_ExcPostRequestBody.ts @@ -29,8 +29,8 @@ export interface Quartile_ExcPostRequestBody extends AdditionalDataHolder, Parsa quart?: Json; } export function serializeQuartile_ExcPostRequestBody(writer: SerializationWriter, quartile_ExcPostRequestBody: Quartile_ExcPostRequestBody | undefined = {} as Quartile_ExcPostRequestBody) : void { - writer.writeObjectValue("array", quartile_ExcPostRequestBody.array, ); - writer.writeObjectValue("quart", quartile_ExcPostRequestBody.quart, ); + writer.writeObjectValue("array", quartile_ExcPostRequestBody.array, serializeJson); + writer.writeObjectValue("quart", quartile_ExcPostRequestBody.quart, serializeJson); writer.writeAdditionalData(quartile_ExcPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/quartile_Inc/quartile_IncPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/quartile_Inc/quartile_IncPostRequestBody.ts index b49b5fabd71..be2cfe4580e 100644 --- a/src/drives/item/items/item/workbook/functions/quartile_Inc/quartile_IncPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/quartile_Inc/quartile_IncPostRequestBody.ts @@ -29,8 +29,8 @@ export interface Quartile_IncPostRequestBody extends AdditionalDataHolder, Parsa quart?: Json; } export function serializeQuartile_IncPostRequestBody(writer: SerializationWriter, quartile_IncPostRequestBody: Quartile_IncPostRequestBody | undefined = {} as Quartile_IncPostRequestBody) : void { - writer.writeObjectValue("array", quartile_IncPostRequestBody.array, ); - writer.writeObjectValue("quart", quartile_IncPostRequestBody.quart, ); + writer.writeObjectValue("array", quartile_IncPostRequestBody.array, serializeJson); + writer.writeObjectValue("quart", quartile_IncPostRequestBody.quart, serializeJson); writer.writeAdditionalData(quartile_IncPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/quotient/quotientPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/quotient/quotientPostRequestBody.ts index 51d320f3144..f78f9b19f59 100644 --- a/src/drives/item/items/item/workbook/functions/quotient/quotientPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/quotient/quotientPostRequestBody.ts @@ -29,8 +29,8 @@ export interface QuotientPostRequestBody extends AdditionalDataHolder, Parsable numerator?: Json; } export function serializeQuotientPostRequestBody(writer: SerializationWriter, quotientPostRequestBody: QuotientPostRequestBody | undefined = {} as QuotientPostRequestBody) : void { - writer.writeObjectValue("denominator", quotientPostRequestBody.denominator, ); - writer.writeObjectValue("numerator", quotientPostRequestBody.numerator, ); + writer.writeObjectValue("denominator", quotientPostRequestBody.denominator, serializeJson); + writer.writeObjectValue("numerator", quotientPostRequestBody.numerator, serializeJson); writer.writeAdditionalData(quotientPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/radians/radiansPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/radians/radiansPostRequestBody.ts index 0a4f4d9e589..516dd8e0227 100644 --- a/src/drives/item/items/item/workbook/functions/radians/radiansPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/radians/radiansPostRequestBody.ts @@ -24,7 +24,7 @@ export interface RadiansPostRequestBody extends AdditionalDataHolder, Parsable { angle?: Json; } export function serializeRadiansPostRequestBody(writer: SerializationWriter, radiansPostRequestBody: RadiansPostRequestBody | undefined = {} as RadiansPostRequestBody) : void { - writer.writeObjectValue("angle", radiansPostRequestBody.angle, ); + writer.writeObjectValue("angle", radiansPostRequestBody.angle, serializeJson); writer.writeAdditionalData(radiansPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/randBetween/randBetweenPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/randBetween/randBetweenPostRequestBody.ts index 75d71ff6649..ce430ad8a27 100644 --- a/src/drives/item/items/item/workbook/functions/randBetween/randBetweenPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/randBetween/randBetweenPostRequestBody.ts @@ -29,8 +29,8 @@ export interface RandBetweenPostRequestBody extends AdditionalDataHolder, Parsab top?: Json; } export function serializeRandBetweenPostRequestBody(writer: SerializationWriter, randBetweenPostRequestBody: RandBetweenPostRequestBody | undefined = {} as RandBetweenPostRequestBody) : void { - writer.writeObjectValue("bottom", randBetweenPostRequestBody.bottom, ); - writer.writeObjectValue("top", randBetweenPostRequestBody.top, ); + writer.writeObjectValue("bottom", randBetweenPostRequestBody.bottom, serializeJson); + writer.writeObjectValue("top", randBetweenPostRequestBody.top, serializeJson); writer.writeAdditionalData(randBetweenPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/rank_Avg/rank_AvgPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/rank_Avg/rank_AvgPostRequestBody.ts index bcb9f20fce3..93b3e56ddec 100644 --- a/src/drives/item/items/item/workbook/functions/rank_Avg/rank_AvgPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/rank_Avg/rank_AvgPostRequestBody.ts @@ -34,9 +34,9 @@ export interface Rank_AvgPostRequestBody extends AdditionalDataHolder, Parsable ref?: Json; } export function serializeRank_AvgPostRequestBody(writer: SerializationWriter, rank_AvgPostRequestBody: Rank_AvgPostRequestBody | undefined = {} as Rank_AvgPostRequestBody) : void { - writer.writeObjectValue("number", rank_AvgPostRequestBody.number, ); - writer.writeObjectValue("order", rank_AvgPostRequestBody.order, ); - writer.writeObjectValue("ref", rank_AvgPostRequestBody.ref, ); + writer.writeObjectValue("number", rank_AvgPostRequestBody.number, serializeJson); + writer.writeObjectValue("order", rank_AvgPostRequestBody.order, serializeJson); + writer.writeObjectValue("ref", rank_AvgPostRequestBody.ref, serializeJson); writer.writeAdditionalData(rank_AvgPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/rank_Eq/rank_EqPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/rank_Eq/rank_EqPostRequestBody.ts index 5f625fbbdbe..cab803c2d09 100644 --- a/src/drives/item/items/item/workbook/functions/rank_Eq/rank_EqPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/rank_Eq/rank_EqPostRequestBody.ts @@ -34,9 +34,9 @@ export interface Rank_EqPostRequestBody extends AdditionalDataHolder, Parsable { ref?: Json; } export function serializeRank_EqPostRequestBody(writer: SerializationWriter, rank_EqPostRequestBody: Rank_EqPostRequestBody | undefined = {} as Rank_EqPostRequestBody) : void { - writer.writeObjectValue("number", rank_EqPostRequestBody.number, ); - writer.writeObjectValue("order", rank_EqPostRequestBody.order, ); - writer.writeObjectValue("ref", rank_EqPostRequestBody.ref, ); + writer.writeObjectValue("number", rank_EqPostRequestBody.number, serializeJson); + writer.writeObjectValue("order", rank_EqPostRequestBody.order, serializeJson); + writer.writeObjectValue("ref", rank_EqPostRequestBody.ref, serializeJson); writer.writeAdditionalData(rank_EqPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/rate/ratePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/rate/ratePostRequestBody.ts index 9dcdd5f80cd..51ae1e72894 100644 --- a/src/drives/item/items/item/workbook/functions/rate/ratePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/rate/ratePostRequestBody.ts @@ -49,12 +49,12 @@ export interface RatePostRequestBody extends AdditionalDataHolder, Parsable { type?: Json; } export function serializeRatePostRequestBody(writer: SerializationWriter, ratePostRequestBody: RatePostRequestBody | undefined = {} as RatePostRequestBody) : void { - writer.writeObjectValue("fv", ratePostRequestBody.fv, ); - writer.writeObjectValue("guess", ratePostRequestBody.guess, ); - writer.writeObjectValue("nper", ratePostRequestBody.nper, ); - writer.writeObjectValue("pmt", ratePostRequestBody.pmt, ); - writer.writeObjectValue("pv", ratePostRequestBody.pv, ); - writer.writeObjectValue("type", ratePostRequestBody.type, ); + writer.writeObjectValue("fv", ratePostRequestBody.fv, serializeJson); + writer.writeObjectValue("guess", ratePostRequestBody.guess, serializeJson); + writer.writeObjectValue("nper", ratePostRequestBody.nper, serializeJson); + writer.writeObjectValue("pmt", ratePostRequestBody.pmt, serializeJson); + writer.writeObjectValue("pv", ratePostRequestBody.pv, serializeJson); + writer.writeObjectValue("type", ratePostRequestBody.type, serializeJson); writer.writeAdditionalData(ratePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/received/receivedPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/received/receivedPostRequestBody.ts index 012a73a56a4..693b9d5a1c6 100644 --- a/src/drives/item/items/item/workbook/functions/received/receivedPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/received/receivedPostRequestBody.ts @@ -44,11 +44,11 @@ export interface ReceivedPostRequestBody extends AdditionalDataHolder, Parsable settlement?: Json; } export function serializeReceivedPostRequestBody(writer: SerializationWriter, receivedPostRequestBody: ReceivedPostRequestBody | undefined = {} as ReceivedPostRequestBody) : void { - writer.writeObjectValue("basis", receivedPostRequestBody.basis, ); - writer.writeObjectValue("discount", receivedPostRequestBody.discount, ); - writer.writeObjectValue("investment", receivedPostRequestBody.investment, ); - writer.writeObjectValue("maturity", receivedPostRequestBody.maturity, ); - writer.writeObjectValue("settlement", receivedPostRequestBody.settlement, ); + writer.writeObjectValue("basis", receivedPostRequestBody.basis, serializeJson); + writer.writeObjectValue("discount", receivedPostRequestBody.discount, serializeJson); + writer.writeObjectValue("investment", receivedPostRequestBody.investment, serializeJson); + writer.writeObjectValue("maturity", receivedPostRequestBody.maturity, serializeJson); + writer.writeObjectValue("settlement", receivedPostRequestBody.settlement, serializeJson); writer.writeAdditionalData(receivedPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/replace/replacePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/replace/replacePostRequestBody.ts index 2f5c2bb05d5..1dae9031aac 100644 --- a/src/drives/item/items/item/workbook/functions/replace/replacePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/replace/replacePostRequestBody.ts @@ -39,10 +39,10 @@ export interface ReplacePostRequestBody extends AdditionalDataHolder, Parsable { startNum?: Json; } export function serializeReplacePostRequestBody(writer: SerializationWriter, replacePostRequestBody: ReplacePostRequestBody | undefined = {} as ReplacePostRequestBody) : void { - writer.writeObjectValue("newText", replacePostRequestBody.newText, ); - writer.writeObjectValue("numChars", replacePostRequestBody.numChars, ); - writer.writeObjectValue("oldText", replacePostRequestBody.oldText, ); - writer.writeObjectValue("startNum", replacePostRequestBody.startNum, ); + writer.writeObjectValue("newText", replacePostRequestBody.newText, serializeJson); + writer.writeObjectValue("numChars", replacePostRequestBody.numChars, serializeJson); + writer.writeObjectValue("oldText", replacePostRequestBody.oldText, serializeJson); + writer.writeObjectValue("startNum", replacePostRequestBody.startNum, serializeJson); writer.writeAdditionalData(replacePostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/replaceB/replaceBPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/replaceB/replaceBPostRequestBody.ts index ca7f6c6ae21..dea11283939 100644 --- a/src/drives/item/items/item/workbook/functions/replaceB/replaceBPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/replaceB/replaceBPostRequestBody.ts @@ -39,10 +39,10 @@ export interface ReplaceBPostRequestBody extends AdditionalDataHolder, Parsable startNum?: Json; } export function serializeReplaceBPostRequestBody(writer: SerializationWriter, replaceBPostRequestBody: ReplaceBPostRequestBody | undefined = {} as ReplaceBPostRequestBody) : void { - writer.writeObjectValue("newText", replaceBPostRequestBody.newText, ); - writer.writeObjectValue("numBytes", replaceBPostRequestBody.numBytes, ); - writer.writeObjectValue("oldText", replaceBPostRequestBody.oldText, ); - writer.writeObjectValue("startNum", replaceBPostRequestBody.startNum, ); + writer.writeObjectValue("newText", replaceBPostRequestBody.newText, serializeJson); + writer.writeObjectValue("numBytes", replaceBPostRequestBody.numBytes, serializeJson); + writer.writeObjectValue("oldText", replaceBPostRequestBody.oldText, serializeJson); + writer.writeObjectValue("startNum", replaceBPostRequestBody.startNum, serializeJson); writer.writeAdditionalData(replaceBPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/rept/reptPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/rept/reptPostRequestBody.ts index b88980b3d0d..f786459c448 100644 --- a/src/drives/item/items/item/workbook/functions/rept/reptPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/rept/reptPostRequestBody.ts @@ -29,8 +29,8 @@ export interface ReptPostRequestBody extends AdditionalDataHolder, Parsable { text?: Json; } export function serializeReptPostRequestBody(writer: SerializationWriter, reptPostRequestBody: ReptPostRequestBody | undefined = {} as ReptPostRequestBody) : void { - writer.writeObjectValue("numberTimes", reptPostRequestBody.numberTimes, ); - writer.writeObjectValue("text", reptPostRequestBody.text, ); + writer.writeObjectValue("numberTimes", reptPostRequestBody.numberTimes, serializeJson); + writer.writeObjectValue("text", reptPostRequestBody.text, serializeJson); writer.writeAdditionalData(reptPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/right/rightPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/right/rightPostRequestBody.ts index fbb7c5ad105..180e641ae24 100644 --- a/src/drives/item/items/item/workbook/functions/right/rightPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/right/rightPostRequestBody.ts @@ -29,8 +29,8 @@ export interface RightPostRequestBody extends AdditionalDataHolder, Parsable { text?: Json; } export function serializeRightPostRequestBody(writer: SerializationWriter, rightPostRequestBody: RightPostRequestBody | undefined = {} as RightPostRequestBody) : void { - writer.writeObjectValue("numChars", rightPostRequestBody.numChars, ); - writer.writeObjectValue("text", rightPostRequestBody.text, ); + writer.writeObjectValue("numChars", rightPostRequestBody.numChars, serializeJson); + writer.writeObjectValue("text", rightPostRequestBody.text, serializeJson); writer.writeAdditionalData(rightPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/rightb/rightbPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/rightb/rightbPostRequestBody.ts index d208db550af..32d517ae5ba 100644 --- a/src/drives/item/items/item/workbook/functions/rightb/rightbPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/rightb/rightbPostRequestBody.ts @@ -29,8 +29,8 @@ export interface RightbPostRequestBody extends AdditionalDataHolder, Parsable { text?: Json; } export function serializeRightbPostRequestBody(writer: SerializationWriter, rightbPostRequestBody: RightbPostRequestBody | undefined = {} as RightbPostRequestBody) : void { - writer.writeObjectValue("numBytes", rightbPostRequestBody.numBytes, ); - writer.writeObjectValue("text", rightbPostRequestBody.text, ); + writer.writeObjectValue("numBytes", rightbPostRequestBody.numBytes, serializeJson); + writer.writeObjectValue("text", rightbPostRequestBody.text, serializeJson); writer.writeAdditionalData(rightbPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/roman/romanPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/roman/romanPostRequestBody.ts index 4b8a27c0e79..3fa3101087b 100644 --- a/src/drives/item/items/item/workbook/functions/roman/romanPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/roman/romanPostRequestBody.ts @@ -29,8 +29,8 @@ export interface RomanPostRequestBody extends AdditionalDataHolder, Parsable { number?: Json; } export function serializeRomanPostRequestBody(writer: SerializationWriter, romanPostRequestBody: RomanPostRequestBody | undefined = {} as RomanPostRequestBody) : void { - writer.writeObjectValue("form", romanPostRequestBody.form, ); - writer.writeObjectValue("number", romanPostRequestBody.number, ); + writer.writeObjectValue("form", romanPostRequestBody.form, serializeJson); + writer.writeObjectValue("number", romanPostRequestBody.number, serializeJson); writer.writeAdditionalData(romanPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/round/roundPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/round/roundPostRequestBody.ts index f88f70d6fc7..3ad5e088f46 100644 --- a/src/drives/item/items/item/workbook/functions/round/roundPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/round/roundPostRequestBody.ts @@ -29,8 +29,8 @@ export interface RoundPostRequestBody extends AdditionalDataHolder, Parsable { numDigits?: Json; } export function serializeRoundPostRequestBody(writer: SerializationWriter, roundPostRequestBody: RoundPostRequestBody | undefined = {} as RoundPostRequestBody) : void { - writer.writeObjectValue("number", roundPostRequestBody.number, ); - writer.writeObjectValue("numDigits", roundPostRequestBody.numDigits, ); + writer.writeObjectValue("number", roundPostRequestBody.number, serializeJson); + writer.writeObjectValue("numDigits", roundPostRequestBody.numDigits, serializeJson); writer.writeAdditionalData(roundPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/roundDown/roundDownPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/roundDown/roundDownPostRequestBody.ts index 9b51009f06f..759aeb0e4f5 100644 --- a/src/drives/item/items/item/workbook/functions/roundDown/roundDownPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/roundDown/roundDownPostRequestBody.ts @@ -29,8 +29,8 @@ export interface RoundDownPostRequestBody extends AdditionalDataHolder, Parsable numDigits?: Json; } export function serializeRoundDownPostRequestBody(writer: SerializationWriter, roundDownPostRequestBody: RoundDownPostRequestBody | undefined = {} as RoundDownPostRequestBody) : void { - writer.writeObjectValue("number", roundDownPostRequestBody.number, ); - writer.writeObjectValue("numDigits", roundDownPostRequestBody.numDigits, ); + writer.writeObjectValue("number", roundDownPostRequestBody.number, serializeJson); + writer.writeObjectValue("numDigits", roundDownPostRequestBody.numDigits, serializeJson); writer.writeAdditionalData(roundDownPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/roundUp/roundUpPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/roundUp/roundUpPostRequestBody.ts index aa6d0c69169..e142548c799 100644 --- a/src/drives/item/items/item/workbook/functions/roundUp/roundUpPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/roundUp/roundUpPostRequestBody.ts @@ -29,8 +29,8 @@ export interface RoundUpPostRequestBody extends AdditionalDataHolder, Parsable { numDigits?: Json; } export function serializeRoundUpPostRequestBody(writer: SerializationWriter, roundUpPostRequestBody: RoundUpPostRequestBody | undefined = {} as RoundUpPostRequestBody) : void { - writer.writeObjectValue("number", roundUpPostRequestBody.number, ); - writer.writeObjectValue("numDigits", roundUpPostRequestBody.numDigits, ); + writer.writeObjectValue("number", roundUpPostRequestBody.number, serializeJson); + writer.writeObjectValue("numDigits", roundUpPostRequestBody.numDigits, serializeJson); writer.writeAdditionalData(roundUpPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/rows/rowsPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/rows/rowsPostRequestBody.ts index a79037a6c93..e29c059f3e6 100644 --- a/src/drives/item/items/item/workbook/functions/rows/rowsPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/rows/rowsPostRequestBody.ts @@ -24,7 +24,7 @@ export interface RowsPostRequestBody extends AdditionalDataHolder, Parsable { array?: Json; } export function serializeRowsPostRequestBody(writer: SerializationWriter, rowsPostRequestBody: RowsPostRequestBody | undefined = {} as RowsPostRequestBody) : void { - writer.writeObjectValue("array", rowsPostRequestBody.array, ); + writer.writeObjectValue("array", rowsPostRequestBody.array, serializeJson); writer.writeAdditionalData(rowsPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/rri/rriPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/rri/rriPostRequestBody.ts index f7c8747b5bf..8cb315927b4 100644 --- a/src/drives/item/items/item/workbook/functions/rri/rriPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/rri/rriPostRequestBody.ts @@ -34,9 +34,9 @@ export interface RriPostRequestBody extends AdditionalDataHolder, Parsable { pv?: Json; } export function serializeRriPostRequestBody(writer: SerializationWriter, rriPostRequestBody: RriPostRequestBody | undefined = {} as RriPostRequestBody) : void { - writer.writeObjectValue("fv", rriPostRequestBody.fv, ); - writer.writeObjectValue("nper", rriPostRequestBody.nper, ); - writer.writeObjectValue("pv", rriPostRequestBody.pv, ); + writer.writeObjectValue("fv", rriPostRequestBody.fv, serializeJson); + writer.writeObjectValue("nper", rriPostRequestBody.nper, serializeJson); + writer.writeObjectValue("pv", rriPostRequestBody.pv, serializeJson); writer.writeAdditionalData(rriPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/sec/secPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/sec/secPostRequestBody.ts index eab7ad8b728..49aee8d6551 100644 --- a/src/drives/item/items/item/workbook/functions/sec/secPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/sec/secPostRequestBody.ts @@ -24,7 +24,7 @@ export interface SecPostRequestBody extends AdditionalDataHolder, Parsable { number?: Json; } export function serializeSecPostRequestBody(writer: SerializationWriter, secPostRequestBody: SecPostRequestBody | undefined = {} as SecPostRequestBody) : void { - writer.writeObjectValue("number", secPostRequestBody.number, ); + writer.writeObjectValue("number", secPostRequestBody.number, serializeJson); writer.writeAdditionalData(secPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/sech/sechPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/sech/sechPostRequestBody.ts index 096f2c69a37..9c6ba2266db 100644 --- a/src/drives/item/items/item/workbook/functions/sech/sechPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/sech/sechPostRequestBody.ts @@ -24,7 +24,7 @@ export interface SechPostRequestBody extends AdditionalDataHolder, Parsable { number?: Json; } export function serializeSechPostRequestBody(writer: SerializationWriter, sechPostRequestBody: SechPostRequestBody | undefined = {} as SechPostRequestBody) : void { - writer.writeObjectValue("number", sechPostRequestBody.number, ); + writer.writeObjectValue("number", sechPostRequestBody.number, serializeJson); writer.writeAdditionalData(sechPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/second/secondPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/second/secondPostRequestBody.ts index ea15726d1be..22217938cc6 100644 --- a/src/drives/item/items/item/workbook/functions/second/secondPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/second/secondPostRequestBody.ts @@ -24,7 +24,7 @@ export interface SecondPostRequestBody extends AdditionalDataHolder, Parsable { serialNumber?: Json; } export function serializeSecondPostRequestBody(writer: SerializationWriter, secondPostRequestBody: SecondPostRequestBody | undefined = {} as SecondPostRequestBody) : void { - writer.writeObjectValue("serialNumber", secondPostRequestBody.serialNumber, ); + writer.writeObjectValue("serialNumber", secondPostRequestBody.serialNumber, serializeJson); writer.writeAdditionalData(secondPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/functions/seriesSum/seriesSumPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/seriesSum/seriesSumPostRequestBody.ts index ae71272ba8c..842675be4dc 100644 --- a/src/drives/item/items/item/workbook/functions/seriesSum/seriesSumPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/seriesSum/seriesSumPostRequestBody.ts @@ -17,10 +17,10 @@ export function deserializeIntoSeriesSumPostRequestBody(seriesSumPostRequestBody } } export function serializeSeriesSumPostRequestBody(writer: SerializationWriter, seriesSumPostRequestBody: SeriesSumPostRequestBody | undefined = {} as SeriesSumPostRequestBody) : void { - writer.writeObjectValue("coefficients", seriesSumPostRequestBody.coefficients, ); - writer.writeObjectValue("m", seriesSumPostRequestBody.m, ); - writer.writeObjectValue("n", seriesSumPostRequestBody.n, ); - writer.writeObjectValue("x", seriesSumPostRequestBody.x, ); + writer.writeObjectValue("coefficients", seriesSumPostRequestBody.coefficients, serializeJson); + writer.writeObjectValue("m", seriesSumPostRequestBody.m, serializeJson); + writer.writeObjectValue("n", seriesSumPostRequestBody.n, serializeJson); + writer.writeObjectValue("x", seriesSumPostRequestBody.x, serializeJson); writer.writeAdditionalData(seriesSumPostRequestBody.additionalData); } export interface SeriesSumPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/sheet/sheetPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/sheet/sheetPostRequestBody.ts index df8f6f0c539..87cc24ad48c 100644 --- a/src/drives/item/items/item/workbook/functions/sheet/sheetPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/sheet/sheetPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSheetPostRequestBody(sheetPostRequestBody: SheetP } } export function serializeSheetPostRequestBody(writer: SerializationWriter, sheetPostRequestBody: SheetPostRequestBody | undefined = {} as SheetPostRequestBody) : void { - writer.writeObjectValue("value", sheetPostRequestBody.value, ); + writer.writeObjectValue("value", sheetPostRequestBody.value, serializeJson); writer.writeAdditionalData(sheetPostRequestBody.additionalData); } export interface SheetPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/sheets/sheetsPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/sheets/sheetsPostRequestBody.ts index a2246228193..c57ba8f3988 100644 --- a/src/drives/item/items/item/workbook/functions/sheets/sheetsPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/sheets/sheetsPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSheetsPostRequestBody(sheetsPostRequestBody: Shee } } export function serializeSheetsPostRequestBody(writer: SerializationWriter, sheetsPostRequestBody: SheetsPostRequestBody | undefined = {} as SheetsPostRequestBody) : void { - writer.writeObjectValue("reference", sheetsPostRequestBody.reference, ); + writer.writeObjectValue("reference", sheetsPostRequestBody.reference, serializeJson); writer.writeAdditionalData(sheetsPostRequestBody.additionalData); } export interface SheetsPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/sign/signPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/sign/signPostRequestBody.ts index f09d651d70b..10ceccf96b0 100644 --- a/src/drives/item/items/item/workbook/functions/sign/signPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/sign/signPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSignPostRequestBody(signPostRequestBody: SignPost } } export function serializeSignPostRequestBody(writer: SerializationWriter, signPostRequestBody: SignPostRequestBody | undefined = {} as SignPostRequestBody) : void { - writer.writeObjectValue("number", signPostRequestBody.number, ); + writer.writeObjectValue("number", signPostRequestBody.number, serializeJson); writer.writeAdditionalData(signPostRequestBody.additionalData); } export interface SignPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/sin/sinPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/sin/sinPostRequestBody.ts index a94000f9d1d..d62e6f9d72c 100644 --- a/src/drives/item/items/item/workbook/functions/sin/sinPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/sin/sinPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSinPostRequestBody(sinPostRequestBody: SinPostReq } } export function serializeSinPostRequestBody(writer: SerializationWriter, sinPostRequestBody: SinPostRequestBody | undefined = {} as SinPostRequestBody) : void { - writer.writeObjectValue("number", sinPostRequestBody.number, ); + writer.writeObjectValue("number", sinPostRequestBody.number, serializeJson); writer.writeAdditionalData(sinPostRequestBody.additionalData); } export interface SinPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/sinh/sinhPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/sinh/sinhPostRequestBody.ts index 73489cfb1ec..1e49a4ffa9f 100644 --- a/src/drives/item/items/item/workbook/functions/sinh/sinhPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/sinh/sinhPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSinhPostRequestBody(sinhPostRequestBody: SinhPost } } export function serializeSinhPostRequestBody(writer: SerializationWriter, sinhPostRequestBody: SinhPostRequestBody | undefined = {} as SinhPostRequestBody) : void { - writer.writeObjectValue("number", sinhPostRequestBody.number, ); + writer.writeObjectValue("number", sinhPostRequestBody.number, serializeJson); writer.writeAdditionalData(sinhPostRequestBody.additionalData); } export interface SinhPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/skew/skewPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/skew/skewPostRequestBody.ts index a85ced860a2..f85cc3105b6 100644 --- a/src/drives/item/items/item/workbook/functions/skew/skewPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/skew/skewPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSkewPostRequestBody(skewPostRequestBody: SkewPost } } export function serializeSkewPostRequestBody(writer: SerializationWriter, skewPostRequestBody: SkewPostRequestBody | undefined = {} as SkewPostRequestBody) : void { - writer.writeObjectValue("values", skewPostRequestBody.values, ); + writer.writeObjectValue("values", skewPostRequestBody.values, serializeJson); writer.writeAdditionalData(skewPostRequestBody.additionalData); } export interface SkewPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/skew_p/skew_pPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/skew_p/skew_pPostRequestBody.ts index 86c000bd666..c07a9380070 100644 --- a/src/drives/item/items/item/workbook/functions/skew_p/skew_pPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/skew_p/skew_pPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSkew_pPostRequestBody(skew_pPostRequestBody: Skew } } export function serializeSkew_pPostRequestBody(writer: SerializationWriter, skew_pPostRequestBody: Skew_pPostRequestBody | undefined = {} as Skew_pPostRequestBody) : void { - writer.writeObjectValue("values", skew_pPostRequestBody.values, ); + writer.writeObjectValue("values", skew_pPostRequestBody.values, serializeJson); writer.writeAdditionalData(skew_pPostRequestBody.additionalData); } export interface Skew_pPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/sln/slnPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/sln/slnPostRequestBody.ts index 0c3126ce2d5..ca18702cf7c 100644 --- a/src/drives/item/items/item/workbook/functions/sln/slnPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/sln/slnPostRequestBody.ts @@ -16,9 +16,9 @@ export function deserializeIntoSlnPostRequestBody(slnPostRequestBody: SlnPostReq } } export function serializeSlnPostRequestBody(writer: SerializationWriter, slnPostRequestBody: SlnPostRequestBody | undefined = {} as SlnPostRequestBody) : void { - writer.writeObjectValue("cost", slnPostRequestBody.cost, ); - writer.writeObjectValue("life", slnPostRequestBody.life, ); - writer.writeObjectValue("salvage", slnPostRequestBody.salvage, ); + writer.writeObjectValue("cost", slnPostRequestBody.cost, serializeJson); + writer.writeObjectValue("life", slnPostRequestBody.life, serializeJson); + writer.writeObjectValue("salvage", slnPostRequestBody.salvage, serializeJson); writer.writeAdditionalData(slnPostRequestBody.additionalData); } export interface SlnPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/small/smallPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/small/smallPostRequestBody.ts index 53aae4b6fa0..268c8a234e7 100644 --- a/src/drives/item/items/item/workbook/functions/small/smallPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/small/smallPostRequestBody.ts @@ -15,8 +15,8 @@ export function deserializeIntoSmallPostRequestBody(smallPostRequestBody: SmallP } } export function serializeSmallPostRequestBody(writer: SerializationWriter, smallPostRequestBody: SmallPostRequestBody | undefined = {} as SmallPostRequestBody) : void { - writer.writeObjectValue("array", smallPostRequestBody.array, ); - writer.writeObjectValue("k", smallPostRequestBody.k, ); + writer.writeObjectValue("array", smallPostRequestBody.array, serializeJson); + writer.writeObjectValue("k", smallPostRequestBody.k, serializeJson); writer.writeAdditionalData(smallPostRequestBody.additionalData); } export interface SmallPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/sqrt/sqrtPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/sqrt/sqrtPostRequestBody.ts index 57190232937..eeee94465fd 100644 --- a/src/drives/item/items/item/workbook/functions/sqrt/sqrtPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/sqrt/sqrtPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSqrtPostRequestBody(sqrtPostRequestBody: SqrtPost } } export function serializeSqrtPostRequestBody(writer: SerializationWriter, sqrtPostRequestBody: SqrtPostRequestBody | undefined = {} as SqrtPostRequestBody) : void { - writer.writeObjectValue("number", sqrtPostRequestBody.number, ); + writer.writeObjectValue("number", sqrtPostRequestBody.number, serializeJson); writer.writeAdditionalData(sqrtPostRequestBody.additionalData); } export interface SqrtPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/sqrtPi/sqrtPiPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/sqrtPi/sqrtPiPostRequestBody.ts index fe4bccc3f2b..6956454c6a8 100644 --- a/src/drives/item/items/item/workbook/functions/sqrtPi/sqrtPiPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/sqrtPi/sqrtPiPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSqrtPiPostRequestBody(sqrtPiPostRequestBody: Sqrt } } export function serializeSqrtPiPostRequestBody(writer: SerializationWriter, sqrtPiPostRequestBody: SqrtPiPostRequestBody | undefined = {} as SqrtPiPostRequestBody) : void { - writer.writeObjectValue("number", sqrtPiPostRequestBody.number, ); + writer.writeObjectValue("number", sqrtPiPostRequestBody.number, serializeJson); writer.writeAdditionalData(sqrtPiPostRequestBody.additionalData); } export interface SqrtPiPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/stDevA/stDevAPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/stDevA/stDevAPostRequestBody.ts index e9754d49a20..3fe9a6ce319 100644 --- a/src/drives/item/items/item/workbook/functions/stDevA/stDevAPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/stDevA/stDevAPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoStDevAPostRequestBody(stDevAPostRequestBody: StDe } } export function serializeStDevAPostRequestBody(writer: SerializationWriter, stDevAPostRequestBody: StDevAPostRequestBody | undefined = {} as StDevAPostRequestBody) : void { - writer.writeObjectValue("values", stDevAPostRequestBody.values, ); + writer.writeObjectValue("values", stDevAPostRequestBody.values, serializeJson); writer.writeAdditionalData(stDevAPostRequestBody.additionalData); } export interface StDevAPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/stDevPA/stDevPAPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/stDevPA/stDevPAPostRequestBody.ts index 67221cfbf45..46a8e6fc03d 100644 --- a/src/drives/item/items/item/workbook/functions/stDevPA/stDevPAPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/stDevPA/stDevPAPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoStDevPAPostRequestBody(stDevPAPostRequestBody: St } } export function serializeStDevPAPostRequestBody(writer: SerializationWriter, stDevPAPostRequestBody: StDevPAPostRequestBody | undefined = {} as StDevPAPostRequestBody) : void { - writer.writeObjectValue("values", stDevPAPostRequestBody.values, ); + writer.writeObjectValue("values", stDevPAPostRequestBody.values, serializeJson); writer.writeAdditionalData(stDevPAPostRequestBody.additionalData); } export interface StDevPAPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/stDev_P/stDev_PPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/stDev_P/stDev_PPostRequestBody.ts index bd648995112..54bbeffaf8e 100644 --- a/src/drives/item/items/item/workbook/functions/stDev_P/stDev_PPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/stDev_P/stDev_PPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoStDev_PPostRequestBody(stDev_PPostRequestBody: St } } export function serializeStDev_PPostRequestBody(writer: SerializationWriter, stDev_PPostRequestBody: StDev_PPostRequestBody | undefined = {} as StDev_PPostRequestBody) : void { - writer.writeObjectValue("values", stDev_PPostRequestBody.values, ); + writer.writeObjectValue("values", stDev_PPostRequestBody.values, serializeJson); writer.writeAdditionalData(stDev_PPostRequestBody.additionalData); } export interface StDev_PPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/stDev_S/stDev_SPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/stDev_S/stDev_SPostRequestBody.ts index 7ca49642510..9e4f208df22 100644 --- a/src/drives/item/items/item/workbook/functions/stDev_S/stDev_SPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/stDev_S/stDev_SPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoStDev_SPostRequestBody(stDev_SPostRequestBody: St } } export function serializeStDev_SPostRequestBody(writer: SerializationWriter, stDev_SPostRequestBody: StDev_SPostRequestBody | undefined = {} as StDev_SPostRequestBody) : void { - writer.writeObjectValue("values", stDev_SPostRequestBody.values, ); + writer.writeObjectValue("values", stDev_SPostRequestBody.values, serializeJson); writer.writeAdditionalData(stDev_SPostRequestBody.additionalData); } export interface StDev_SPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/standardize/standardizePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/standardize/standardizePostRequestBody.ts index 3d9117b9814..cebf92651d3 100644 --- a/src/drives/item/items/item/workbook/functions/standardize/standardizePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/standardize/standardizePostRequestBody.ts @@ -16,9 +16,9 @@ export function deserializeIntoStandardizePostRequestBody(standardizePostRequest } } export function serializeStandardizePostRequestBody(writer: SerializationWriter, standardizePostRequestBody: StandardizePostRequestBody | undefined = {} as StandardizePostRequestBody) : void { - writer.writeObjectValue("mean", standardizePostRequestBody.mean, ); - writer.writeObjectValue("standardDev", standardizePostRequestBody.standardDev, ); - writer.writeObjectValue("x", standardizePostRequestBody.x, ); + writer.writeObjectValue("mean", standardizePostRequestBody.mean, serializeJson); + writer.writeObjectValue("standardDev", standardizePostRequestBody.standardDev, serializeJson); + writer.writeObjectValue("x", standardizePostRequestBody.x, serializeJson); writer.writeAdditionalData(standardizePostRequestBody.additionalData); } export interface StandardizePostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/substitute/substitutePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/substitute/substitutePostRequestBody.ts index 5727e17fc97..1353f00e6c1 100644 --- a/src/drives/item/items/item/workbook/functions/substitute/substitutePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/substitute/substitutePostRequestBody.ts @@ -17,10 +17,10 @@ export function deserializeIntoSubstitutePostRequestBody(substitutePostRequestBo } } export function serializeSubstitutePostRequestBody(writer: SerializationWriter, substitutePostRequestBody: SubstitutePostRequestBody | undefined = {} as SubstitutePostRequestBody) : void { - writer.writeObjectValue("instanceNum", substitutePostRequestBody.instanceNum, ); - writer.writeObjectValue("newText", substitutePostRequestBody.newText, ); - writer.writeObjectValue("oldText", substitutePostRequestBody.oldText, ); - writer.writeObjectValue("text", substitutePostRequestBody.text, ); + writer.writeObjectValue("instanceNum", substitutePostRequestBody.instanceNum, serializeJson); + writer.writeObjectValue("newText", substitutePostRequestBody.newText, serializeJson); + writer.writeObjectValue("oldText", substitutePostRequestBody.oldText, serializeJson); + writer.writeObjectValue("text", substitutePostRequestBody.text, serializeJson); writer.writeAdditionalData(substitutePostRequestBody.additionalData); } export interface SubstitutePostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/subtotal/subtotalPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/subtotal/subtotalPostRequestBody.ts index 8cd12eceafe..82820e51e99 100644 --- a/src/drives/item/items/item/workbook/functions/subtotal/subtotalPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/subtotal/subtotalPostRequestBody.ts @@ -15,8 +15,8 @@ export function deserializeIntoSubtotalPostRequestBody(subtotalPostRequestBody: } } export function serializeSubtotalPostRequestBody(writer: SerializationWriter, subtotalPostRequestBody: SubtotalPostRequestBody | undefined = {} as SubtotalPostRequestBody) : void { - writer.writeObjectValue("functionNum", subtotalPostRequestBody.functionNum, ); - writer.writeObjectValue("values", subtotalPostRequestBody.values, ); + writer.writeObjectValue("functionNum", subtotalPostRequestBody.functionNum, serializeJson); + writer.writeObjectValue("values", subtotalPostRequestBody.values, serializeJson); writer.writeAdditionalData(subtotalPostRequestBody.additionalData); } export interface SubtotalPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/sum/sumPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/sum/sumPostRequestBody.ts index 24788aae6b9..a8099fbdf46 100644 --- a/src/drives/item/items/item/workbook/functions/sum/sumPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/sum/sumPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSumPostRequestBody(sumPostRequestBody: SumPostReq } } export function serializeSumPostRequestBody(writer: SerializationWriter, sumPostRequestBody: SumPostRequestBody | undefined = {} as SumPostRequestBody) : void { - writer.writeObjectValue("values", sumPostRequestBody.values, ); + writer.writeObjectValue("values", sumPostRequestBody.values, serializeJson); writer.writeAdditionalData(sumPostRequestBody.additionalData); } export interface SumPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/sumIf/sumIfPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/sumIf/sumIfPostRequestBody.ts index 9180caa8f18..6198bb9bdad 100644 --- a/src/drives/item/items/item/workbook/functions/sumIf/sumIfPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/sumIf/sumIfPostRequestBody.ts @@ -16,9 +16,9 @@ export function deserializeIntoSumIfPostRequestBody(sumIfPostRequestBody: SumIfP } } export function serializeSumIfPostRequestBody(writer: SerializationWriter, sumIfPostRequestBody: SumIfPostRequestBody | undefined = {} as SumIfPostRequestBody) : void { - writer.writeObjectValue("criteria", sumIfPostRequestBody.criteria, ); - writer.writeObjectValue("range", sumIfPostRequestBody.range, ); - writer.writeObjectValue("sumRange", sumIfPostRequestBody.sumRange, ); + writer.writeObjectValue("criteria", sumIfPostRequestBody.criteria, serializeJson); + writer.writeObjectValue("range", sumIfPostRequestBody.range, serializeJson); + writer.writeObjectValue("sumRange", sumIfPostRequestBody.sumRange, serializeJson); writer.writeAdditionalData(sumIfPostRequestBody.additionalData); } export interface SumIfPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/sumIfs/sumIfsPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/sumIfs/sumIfsPostRequestBody.ts index d03e5d11d19..3dd7bad8ff4 100644 --- a/src/drives/item/items/item/workbook/functions/sumIfs/sumIfsPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/sumIfs/sumIfsPostRequestBody.ts @@ -15,8 +15,8 @@ export function deserializeIntoSumIfsPostRequestBody(sumIfsPostRequestBody: SumI } } export function serializeSumIfsPostRequestBody(writer: SerializationWriter, sumIfsPostRequestBody: SumIfsPostRequestBody | undefined = {} as SumIfsPostRequestBody) : void { - writer.writeObjectValue("sumRange", sumIfsPostRequestBody.sumRange, ); - writer.writeObjectValue("values", sumIfsPostRequestBody.values, ); + writer.writeObjectValue("sumRange", sumIfsPostRequestBody.sumRange, serializeJson); + writer.writeObjectValue("values", sumIfsPostRequestBody.values, serializeJson); writer.writeAdditionalData(sumIfsPostRequestBody.additionalData); } export interface SumIfsPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/sumSq/sumSqPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/sumSq/sumSqPostRequestBody.ts index 260ad7e87a2..08c3c03af6f 100644 --- a/src/drives/item/items/item/workbook/functions/sumSq/sumSqPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/sumSq/sumSqPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSumSqPostRequestBody(sumSqPostRequestBody: SumSqP } } export function serializeSumSqPostRequestBody(writer: SerializationWriter, sumSqPostRequestBody: SumSqPostRequestBody | undefined = {} as SumSqPostRequestBody) : void { - writer.writeObjectValue("values", sumSqPostRequestBody.values, ); + writer.writeObjectValue("values", sumSqPostRequestBody.values, serializeJson); writer.writeAdditionalData(sumSqPostRequestBody.additionalData); } export interface SumSqPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/syd/sydPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/syd/sydPostRequestBody.ts index bb3a0da6961..21ce8b25dc4 100644 --- a/src/drives/item/items/item/workbook/functions/syd/sydPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/syd/sydPostRequestBody.ts @@ -17,10 +17,10 @@ export function deserializeIntoSydPostRequestBody(sydPostRequestBody: SydPostReq } } export function serializeSydPostRequestBody(writer: SerializationWriter, sydPostRequestBody: SydPostRequestBody | undefined = {} as SydPostRequestBody) : void { - writer.writeObjectValue("cost", sydPostRequestBody.cost, ); - writer.writeObjectValue("life", sydPostRequestBody.life, ); - writer.writeObjectValue("per", sydPostRequestBody.per, ); - writer.writeObjectValue("salvage", sydPostRequestBody.salvage, ); + writer.writeObjectValue("cost", sydPostRequestBody.cost, serializeJson); + writer.writeObjectValue("life", sydPostRequestBody.life, serializeJson); + writer.writeObjectValue("per", sydPostRequestBody.per, serializeJson); + writer.writeObjectValue("salvage", sydPostRequestBody.salvage, serializeJson); writer.writeAdditionalData(sydPostRequestBody.additionalData); } export interface SydPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/t/tPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/t/tPostRequestBody.ts index 5985e4d188c..ec1b76778fc 100644 --- a/src/drives/item/items/item/workbook/functions/t/tPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/t/tPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoTPostRequestBody(tPostRequestBody: TPostRequestBo } } export function serializeTPostRequestBody(writer: SerializationWriter, tPostRequestBody: TPostRequestBody | undefined = {} as TPostRequestBody) : void { - writer.writeObjectValue("value", tPostRequestBody.value, ); + writer.writeObjectValue("value", tPostRequestBody.value, serializeJson); writer.writeAdditionalData(tPostRequestBody.additionalData); } export interface TPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/t_Dist/t_DistPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/t_Dist/t_DistPostRequestBody.ts index 0defa17b22c..83793f6afe1 100644 --- a/src/drives/item/items/item/workbook/functions/t_Dist/t_DistPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/t_Dist/t_DistPostRequestBody.ts @@ -16,9 +16,9 @@ export function deserializeIntoT_DistPostRequestBody(t_DistPostRequestBody: T_Di } } export function serializeT_DistPostRequestBody(writer: SerializationWriter, t_DistPostRequestBody: T_DistPostRequestBody | undefined = {} as T_DistPostRequestBody) : void { - writer.writeObjectValue("cumulative", t_DistPostRequestBody.cumulative, ); - writer.writeObjectValue("degFreedom", t_DistPostRequestBody.degFreedom, ); - writer.writeObjectValue("x", t_DistPostRequestBody.x, ); + writer.writeObjectValue("cumulative", t_DistPostRequestBody.cumulative, serializeJson); + writer.writeObjectValue("degFreedom", t_DistPostRequestBody.degFreedom, serializeJson); + writer.writeObjectValue("x", t_DistPostRequestBody.x, serializeJson); writer.writeAdditionalData(t_DistPostRequestBody.additionalData); } export interface T_DistPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/t_Dist_2T/t_Dist_2TPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/t_Dist_2T/t_Dist_2TPostRequestBody.ts index 6e430621ca3..3e5b83ccce4 100644 --- a/src/drives/item/items/item/workbook/functions/t_Dist_2T/t_Dist_2TPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/t_Dist_2T/t_Dist_2TPostRequestBody.ts @@ -15,8 +15,8 @@ export function deserializeIntoT_Dist_2TPostRequestBody(t_Dist_2TPostRequestBody } } export function serializeT_Dist_2TPostRequestBody(writer: SerializationWriter, t_Dist_2TPostRequestBody: T_Dist_2TPostRequestBody | undefined = {} as T_Dist_2TPostRequestBody) : void { - writer.writeObjectValue("degFreedom", t_Dist_2TPostRequestBody.degFreedom, ); - writer.writeObjectValue("x", t_Dist_2TPostRequestBody.x, ); + writer.writeObjectValue("degFreedom", t_Dist_2TPostRequestBody.degFreedom, serializeJson); + writer.writeObjectValue("x", t_Dist_2TPostRequestBody.x, serializeJson); writer.writeAdditionalData(t_Dist_2TPostRequestBody.additionalData); } export interface T_Dist_2TPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/t_Dist_RT/t_Dist_RTPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/t_Dist_RT/t_Dist_RTPostRequestBody.ts index 3f21b501f6e..0b697f49012 100644 --- a/src/drives/item/items/item/workbook/functions/t_Dist_RT/t_Dist_RTPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/t_Dist_RT/t_Dist_RTPostRequestBody.ts @@ -15,8 +15,8 @@ export function deserializeIntoT_Dist_RTPostRequestBody(t_Dist_RTPostRequestBody } } export function serializeT_Dist_RTPostRequestBody(writer: SerializationWriter, t_Dist_RTPostRequestBody: T_Dist_RTPostRequestBody | undefined = {} as T_Dist_RTPostRequestBody) : void { - writer.writeObjectValue("degFreedom", t_Dist_RTPostRequestBody.degFreedom, ); - writer.writeObjectValue("x", t_Dist_RTPostRequestBody.x, ); + writer.writeObjectValue("degFreedom", t_Dist_RTPostRequestBody.degFreedom, serializeJson); + writer.writeObjectValue("x", t_Dist_RTPostRequestBody.x, serializeJson); writer.writeAdditionalData(t_Dist_RTPostRequestBody.additionalData); } export interface T_Dist_RTPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/t_Inv/t_InvPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/t_Inv/t_InvPostRequestBody.ts index 16774924a4a..f31c4e0b1fd 100644 --- a/src/drives/item/items/item/workbook/functions/t_Inv/t_InvPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/t_Inv/t_InvPostRequestBody.ts @@ -15,8 +15,8 @@ export function deserializeIntoT_InvPostRequestBody(t_InvPostRequestBody: T_InvP } } export function serializeT_InvPostRequestBody(writer: SerializationWriter, t_InvPostRequestBody: T_InvPostRequestBody | undefined = {} as T_InvPostRequestBody) : void { - writer.writeObjectValue("degFreedom", t_InvPostRequestBody.degFreedom, ); - writer.writeObjectValue("probability", t_InvPostRequestBody.probability, ); + writer.writeObjectValue("degFreedom", t_InvPostRequestBody.degFreedom, serializeJson); + writer.writeObjectValue("probability", t_InvPostRequestBody.probability, serializeJson); writer.writeAdditionalData(t_InvPostRequestBody.additionalData); } export interface T_InvPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/t_Inv_2T/t_Inv_2TPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/t_Inv_2T/t_Inv_2TPostRequestBody.ts index b3a66bf400b..3bb1bcf720e 100644 --- a/src/drives/item/items/item/workbook/functions/t_Inv_2T/t_Inv_2TPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/t_Inv_2T/t_Inv_2TPostRequestBody.ts @@ -15,8 +15,8 @@ export function deserializeIntoT_Inv_2TPostRequestBody(t_Inv_2TPostRequestBody: } } export function serializeT_Inv_2TPostRequestBody(writer: SerializationWriter, t_Inv_2TPostRequestBody: T_Inv_2TPostRequestBody | undefined = {} as T_Inv_2TPostRequestBody) : void { - writer.writeObjectValue("degFreedom", t_Inv_2TPostRequestBody.degFreedom, ); - writer.writeObjectValue("probability", t_Inv_2TPostRequestBody.probability, ); + writer.writeObjectValue("degFreedom", t_Inv_2TPostRequestBody.degFreedom, serializeJson); + writer.writeObjectValue("probability", t_Inv_2TPostRequestBody.probability, serializeJson); writer.writeAdditionalData(t_Inv_2TPostRequestBody.additionalData); } export interface T_Inv_2TPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/tan/tanPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/tan/tanPostRequestBody.ts index 0bdba42ac1f..6e2987dcf0e 100644 --- a/src/drives/item/items/item/workbook/functions/tan/tanPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/tan/tanPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoTanPostRequestBody(tanPostRequestBody: TanPostReq } } export function serializeTanPostRequestBody(writer: SerializationWriter, tanPostRequestBody: TanPostRequestBody | undefined = {} as TanPostRequestBody) : void { - writer.writeObjectValue("number", tanPostRequestBody.number, ); + writer.writeObjectValue("number", tanPostRequestBody.number, serializeJson); writer.writeAdditionalData(tanPostRequestBody.additionalData); } export interface TanPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/tanh/tanhPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/tanh/tanhPostRequestBody.ts index 0fd82b488df..8200f954f3f 100644 --- a/src/drives/item/items/item/workbook/functions/tanh/tanhPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/tanh/tanhPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoTanhPostRequestBody(tanhPostRequestBody: TanhPost } } export function serializeTanhPostRequestBody(writer: SerializationWriter, tanhPostRequestBody: TanhPostRequestBody | undefined = {} as TanhPostRequestBody) : void { - writer.writeObjectValue("number", tanhPostRequestBody.number, ); + writer.writeObjectValue("number", tanhPostRequestBody.number, serializeJson); writer.writeAdditionalData(tanhPostRequestBody.additionalData); } export interface TanhPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/tbillEq/tbillEqPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/tbillEq/tbillEqPostRequestBody.ts index 76e1c620953..41acda3cf47 100644 --- a/src/drives/item/items/item/workbook/functions/tbillEq/tbillEqPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/tbillEq/tbillEqPostRequestBody.ts @@ -16,9 +16,9 @@ export function deserializeIntoTbillEqPostRequestBody(tbillEqPostRequestBody: Tb } } export function serializeTbillEqPostRequestBody(writer: SerializationWriter, tbillEqPostRequestBody: TbillEqPostRequestBody | undefined = {} as TbillEqPostRequestBody) : void { - writer.writeObjectValue("discount", tbillEqPostRequestBody.discount, ); - writer.writeObjectValue("maturity", tbillEqPostRequestBody.maturity, ); - writer.writeObjectValue("settlement", tbillEqPostRequestBody.settlement, ); + writer.writeObjectValue("discount", tbillEqPostRequestBody.discount, serializeJson); + writer.writeObjectValue("maturity", tbillEqPostRequestBody.maturity, serializeJson); + writer.writeObjectValue("settlement", tbillEqPostRequestBody.settlement, serializeJson); writer.writeAdditionalData(tbillEqPostRequestBody.additionalData); } export interface TbillEqPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/tbillPrice/tbillPricePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/tbillPrice/tbillPricePostRequestBody.ts index c9bd428264b..d26c8ddd5b4 100644 --- a/src/drives/item/items/item/workbook/functions/tbillPrice/tbillPricePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/tbillPrice/tbillPricePostRequestBody.ts @@ -16,9 +16,9 @@ export function deserializeIntoTbillPricePostRequestBody(tbillPricePostRequestBo } } export function serializeTbillPricePostRequestBody(writer: SerializationWriter, tbillPricePostRequestBody: TbillPricePostRequestBody | undefined = {} as TbillPricePostRequestBody) : void { - writer.writeObjectValue("discount", tbillPricePostRequestBody.discount, ); - writer.writeObjectValue("maturity", tbillPricePostRequestBody.maturity, ); - writer.writeObjectValue("settlement", tbillPricePostRequestBody.settlement, ); + writer.writeObjectValue("discount", tbillPricePostRequestBody.discount, serializeJson); + writer.writeObjectValue("maturity", tbillPricePostRequestBody.maturity, serializeJson); + writer.writeObjectValue("settlement", tbillPricePostRequestBody.settlement, serializeJson); writer.writeAdditionalData(tbillPricePostRequestBody.additionalData); } export interface TbillPricePostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/tbillYield/tbillYieldPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/tbillYield/tbillYieldPostRequestBody.ts index 69fd4076847..7f1c5c6b9b6 100644 --- a/src/drives/item/items/item/workbook/functions/tbillYield/tbillYieldPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/tbillYield/tbillYieldPostRequestBody.ts @@ -16,9 +16,9 @@ export function deserializeIntoTbillYieldPostRequestBody(tbillYieldPostRequestBo } } export function serializeTbillYieldPostRequestBody(writer: SerializationWriter, tbillYieldPostRequestBody: TbillYieldPostRequestBody | undefined = {} as TbillYieldPostRequestBody) : void { - writer.writeObjectValue("maturity", tbillYieldPostRequestBody.maturity, ); - writer.writeObjectValue("pr", tbillYieldPostRequestBody.pr, ); - writer.writeObjectValue("settlement", tbillYieldPostRequestBody.settlement, ); + writer.writeObjectValue("maturity", tbillYieldPostRequestBody.maturity, serializeJson); + writer.writeObjectValue("pr", tbillYieldPostRequestBody.pr, serializeJson); + writer.writeObjectValue("settlement", tbillYieldPostRequestBody.settlement, serializeJson); writer.writeAdditionalData(tbillYieldPostRequestBody.additionalData); } export interface TbillYieldPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/text/textPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/text/textPostRequestBody.ts index 8fc76ddb13c..5649cc8940e 100644 --- a/src/drives/item/items/item/workbook/functions/text/textPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/text/textPostRequestBody.ts @@ -15,8 +15,8 @@ export function deserializeIntoTextPostRequestBody(textPostRequestBody: TextPost } } export function serializeTextPostRequestBody(writer: SerializationWriter, textPostRequestBody: TextPostRequestBody | undefined = {} as TextPostRequestBody) : void { - writer.writeObjectValue("formatText", textPostRequestBody.formatText, ); - writer.writeObjectValue("value", textPostRequestBody.value, ); + writer.writeObjectValue("formatText", textPostRequestBody.formatText, serializeJson); + writer.writeObjectValue("value", textPostRequestBody.value, serializeJson); writer.writeAdditionalData(textPostRequestBody.additionalData); } export interface TextPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/time/timePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/time/timePostRequestBody.ts index 502d158d616..f586ec7344a 100644 --- a/src/drives/item/items/item/workbook/functions/time/timePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/time/timePostRequestBody.ts @@ -16,9 +16,9 @@ export function deserializeIntoTimePostRequestBody(timePostRequestBody: TimePost } } export function serializeTimePostRequestBody(writer: SerializationWriter, timePostRequestBody: TimePostRequestBody | undefined = {} as TimePostRequestBody) : void { - writer.writeObjectValue("hour", timePostRequestBody.hour, ); - writer.writeObjectValue("minute", timePostRequestBody.minute, ); - writer.writeObjectValue("second", timePostRequestBody.second, ); + writer.writeObjectValue("hour", timePostRequestBody.hour, serializeJson); + writer.writeObjectValue("minute", timePostRequestBody.minute, serializeJson); + writer.writeObjectValue("second", timePostRequestBody.second, serializeJson); writer.writeAdditionalData(timePostRequestBody.additionalData); } export interface TimePostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/timevalue/timevaluePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/timevalue/timevaluePostRequestBody.ts index 23054c13a4f..99a85b85bf4 100644 --- a/src/drives/item/items/item/workbook/functions/timevalue/timevaluePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/timevalue/timevaluePostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoTimevaluePostRequestBody(timevaluePostRequestBody } } export function serializeTimevaluePostRequestBody(writer: SerializationWriter, timevaluePostRequestBody: TimevaluePostRequestBody | undefined = {} as TimevaluePostRequestBody) : void { - writer.writeObjectValue("timeText", timevaluePostRequestBody.timeText, ); + writer.writeObjectValue("timeText", timevaluePostRequestBody.timeText, serializeJson); writer.writeAdditionalData(timevaluePostRequestBody.additionalData); } export interface TimevaluePostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/trim/trimPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/trim/trimPostRequestBody.ts index 78b9f878b53..480339072b1 100644 --- a/src/drives/item/items/item/workbook/functions/trim/trimPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/trim/trimPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoTrimPostRequestBody(trimPostRequestBody: TrimPost } } export function serializeTrimPostRequestBody(writer: SerializationWriter, trimPostRequestBody: TrimPostRequestBody | undefined = {} as TrimPostRequestBody) : void { - writer.writeObjectValue("text", trimPostRequestBody.text, ); + writer.writeObjectValue("text", trimPostRequestBody.text, serializeJson); writer.writeAdditionalData(trimPostRequestBody.additionalData); } export interface TrimPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/trimMean/trimMeanPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/trimMean/trimMeanPostRequestBody.ts index 63c69938bba..6bd665e2e9d 100644 --- a/src/drives/item/items/item/workbook/functions/trimMean/trimMeanPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/trimMean/trimMeanPostRequestBody.ts @@ -15,8 +15,8 @@ export function deserializeIntoTrimMeanPostRequestBody(trimMeanPostRequestBody: } } export function serializeTrimMeanPostRequestBody(writer: SerializationWriter, trimMeanPostRequestBody: TrimMeanPostRequestBody | undefined = {} as TrimMeanPostRequestBody) : void { - writer.writeObjectValue("array", trimMeanPostRequestBody.array, ); - writer.writeObjectValue("percent", trimMeanPostRequestBody.percent, ); + writer.writeObjectValue("array", trimMeanPostRequestBody.array, serializeJson); + writer.writeObjectValue("percent", trimMeanPostRequestBody.percent, serializeJson); writer.writeAdditionalData(trimMeanPostRequestBody.additionalData); } export interface TrimMeanPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/trunc/truncPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/trunc/truncPostRequestBody.ts index 98dfe464a6e..1521787931e 100644 --- a/src/drives/item/items/item/workbook/functions/trunc/truncPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/trunc/truncPostRequestBody.ts @@ -15,8 +15,8 @@ export function deserializeIntoTruncPostRequestBody(truncPostRequestBody: TruncP } } export function serializeTruncPostRequestBody(writer: SerializationWriter, truncPostRequestBody: TruncPostRequestBody | undefined = {} as TruncPostRequestBody) : void { - writer.writeObjectValue("number", truncPostRequestBody.number, ); - writer.writeObjectValue("numDigits", truncPostRequestBody.numDigits, ); + writer.writeObjectValue("number", truncPostRequestBody.number, serializeJson); + writer.writeObjectValue("numDigits", truncPostRequestBody.numDigits, serializeJson); writer.writeAdditionalData(truncPostRequestBody.additionalData); } export interface TruncPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/type/typePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/type/typePostRequestBody.ts index 5c400dd1990..126afdab704 100644 --- a/src/drives/item/items/item/workbook/functions/type/typePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/type/typePostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoTypePostRequestBody(typePostRequestBody: TypePost } } export function serializeTypePostRequestBody(writer: SerializationWriter, typePostRequestBody: TypePostRequestBody | undefined = {} as TypePostRequestBody) : void { - writer.writeObjectValue("value", typePostRequestBody.value, ); + writer.writeObjectValue("value", typePostRequestBody.value, serializeJson); writer.writeAdditionalData(typePostRequestBody.additionalData); } export interface TypePostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/unichar/unicharPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/unichar/unicharPostRequestBody.ts index 29c9c98734b..1495c04ac86 100644 --- a/src/drives/item/items/item/workbook/functions/unichar/unicharPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/unichar/unicharPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoUnicharPostRequestBody(unicharPostRequestBody: Un } } export function serializeUnicharPostRequestBody(writer: SerializationWriter, unicharPostRequestBody: UnicharPostRequestBody | undefined = {} as UnicharPostRequestBody) : void { - writer.writeObjectValue("number", unicharPostRequestBody.number, ); + writer.writeObjectValue("number", unicharPostRequestBody.number, serializeJson); writer.writeAdditionalData(unicharPostRequestBody.additionalData); } export interface UnicharPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/unicode/unicodePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/unicode/unicodePostRequestBody.ts index e3c34eec0f8..8e0e446f561 100644 --- a/src/drives/item/items/item/workbook/functions/unicode/unicodePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/unicode/unicodePostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoUnicodePostRequestBody(unicodePostRequestBody: Un } } export function serializeUnicodePostRequestBody(writer: SerializationWriter, unicodePostRequestBody: UnicodePostRequestBody | undefined = {} as UnicodePostRequestBody) : void { - writer.writeObjectValue("text", unicodePostRequestBody.text, ); + writer.writeObjectValue("text", unicodePostRequestBody.text, serializeJson); writer.writeAdditionalData(unicodePostRequestBody.additionalData); } export interface UnicodePostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/upper/upperPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/upper/upperPostRequestBody.ts index d4985aed70d..f4bb696eeb9 100644 --- a/src/drives/item/items/item/workbook/functions/upper/upperPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/upper/upperPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoUpperPostRequestBody(upperPostRequestBody: UpperP } } export function serializeUpperPostRequestBody(writer: SerializationWriter, upperPostRequestBody: UpperPostRequestBody | undefined = {} as UpperPostRequestBody) : void { - writer.writeObjectValue("text", upperPostRequestBody.text, ); + writer.writeObjectValue("text", upperPostRequestBody.text, serializeJson); writer.writeAdditionalData(upperPostRequestBody.additionalData); } export interface UpperPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/usdollar/usdollarPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/usdollar/usdollarPostRequestBody.ts index 65b24235637..5225dee64fa 100644 --- a/src/drives/item/items/item/workbook/functions/usdollar/usdollarPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/usdollar/usdollarPostRequestBody.ts @@ -15,8 +15,8 @@ export function deserializeIntoUsdollarPostRequestBody(usdollarPostRequestBody: } } export function serializeUsdollarPostRequestBody(writer: SerializationWriter, usdollarPostRequestBody: UsdollarPostRequestBody | undefined = {} as UsdollarPostRequestBody) : void { - writer.writeObjectValue("decimals", usdollarPostRequestBody.decimals, ); - writer.writeObjectValue("number", usdollarPostRequestBody.number, ); + writer.writeObjectValue("decimals", usdollarPostRequestBody.decimals, serializeJson); + writer.writeObjectValue("number", usdollarPostRequestBody.number, serializeJson); writer.writeAdditionalData(usdollarPostRequestBody.additionalData); } export interface UsdollarPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/value/valuePostRequestBody.ts b/src/drives/item/items/item/workbook/functions/value/valuePostRequestBody.ts index 1a3b3abd891..17bbafc592a 100644 --- a/src/drives/item/items/item/workbook/functions/value/valuePostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/value/valuePostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoValuePostRequestBody(valuePostRequestBody: ValueP } } export function serializeValuePostRequestBody(writer: SerializationWriter, valuePostRequestBody: ValuePostRequestBody | undefined = {} as ValuePostRequestBody) : void { - writer.writeObjectValue("text", valuePostRequestBody.text, ); + writer.writeObjectValue("text", valuePostRequestBody.text, serializeJson); writer.writeAdditionalData(valuePostRequestBody.additionalData); } export interface ValuePostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/varA/varAPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/varA/varAPostRequestBody.ts index 864e7198ca2..514a79fb834 100644 --- a/src/drives/item/items/item/workbook/functions/varA/varAPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/varA/varAPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoVarAPostRequestBody(varAPostRequestBody: VarAPost } } export function serializeVarAPostRequestBody(writer: SerializationWriter, varAPostRequestBody: VarAPostRequestBody | undefined = {} as VarAPostRequestBody) : void { - writer.writeObjectValue("values", varAPostRequestBody.values, ); + writer.writeObjectValue("values", varAPostRequestBody.values, serializeJson); writer.writeAdditionalData(varAPostRequestBody.additionalData); } export interface VarAPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/varPA/varPAPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/varPA/varPAPostRequestBody.ts index f444f99985c..8bf8db66f31 100644 --- a/src/drives/item/items/item/workbook/functions/varPA/varPAPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/varPA/varPAPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoVarPAPostRequestBody(varPAPostRequestBody: VarPAP } } export function serializeVarPAPostRequestBody(writer: SerializationWriter, varPAPostRequestBody: VarPAPostRequestBody | undefined = {} as VarPAPostRequestBody) : void { - writer.writeObjectValue("values", varPAPostRequestBody.values, ); + writer.writeObjectValue("values", varPAPostRequestBody.values, serializeJson); writer.writeAdditionalData(varPAPostRequestBody.additionalData); } export interface VarPAPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/var_P/var_PPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/var_P/var_PPostRequestBody.ts index 404a309a9fd..98aa18d9b97 100644 --- a/src/drives/item/items/item/workbook/functions/var_P/var_PPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/var_P/var_PPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoVar_PPostRequestBody(var_PPostRequestBody: Var_PP } } export function serializeVar_PPostRequestBody(writer: SerializationWriter, var_PPostRequestBody: Var_PPostRequestBody | undefined = {} as Var_PPostRequestBody) : void { - writer.writeObjectValue("values", var_PPostRequestBody.values, ); + writer.writeObjectValue("values", var_PPostRequestBody.values, serializeJson); writer.writeAdditionalData(var_PPostRequestBody.additionalData); } export interface Var_PPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/var_S/var_SPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/var_S/var_SPostRequestBody.ts index 08c6bb99463..7aa7091cd9b 100644 --- a/src/drives/item/items/item/workbook/functions/var_S/var_SPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/var_S/var_SPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoVar_SPostRequestBody(var_SPostRequestBody: Var_SP } } export function serializeVar_SPostRequestBody(writer: SerializationWriter, var_SPostRequestBody: Var_SPostRequestBody | undefined = {} as Var_SPostRequestBody) : void { - writer.writeObjectValue("values", var_SPostRequestBody.values, ); + writer.writeObjectValue("values", var_SPostRequestBody.values, serializeJson); writer.writeAdditionalData(var_SPostRequestBody.additionalData); } export interface Var_SPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/vdb/vdbPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/vdb/vdbPostRequestBody.ts index d6702b82514..998d48eb684 100644 --- a/src/drives/item/items/item/workbook/functions/vdb/vdbPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/vdb/vdbPostRequestBody.ts @@ -20,13 +20,13 @@ export function deserializeIntoVdbPostRequestBody(vdbPostRequestBody: VdbPostReq } } export function serializeVdbPostRequestBody(writer: SerializationWriter, vdbPostRequestBody: VdbPostRequestBody | undefined = {} as VdbPostRequestBody) : void { - writer.writeObjectValue("cost", vdbPostRequestBody.cost, ); - writer.writeObjectValue("endPeriod", vdbPostRequestBody.endPeriod, ); - writer.writeObjectValue("factor", vdbPostRequestBody.factor, ); - writer.writeObjectValue("life", vdbPostRequestBody.life, ); - writer.writeObjectValue("noSwitch", vdbPostRequestBody.noSwitch, ); - writer.writeObjectValue("salvage", vdbPostRequestBody.salvage, ); - writer.writeObjectValue("startPeriod", vdbPostRequestBody.startPeriod, ); + writer.writeObjectValue("cost", vdbPostRequestBody.cost, serializeJson); + writer.writeObjectValue("endPeriod", vdbPostRequestBody.endPeriod, serializeJson); + writer.writeObjectValue("factor", vdbPostRequestBody.factor, serializeJson); + writer.writeObjectValue("life", vdbPostRequestBody.life, serializeJson); + writer.writeObjectValue("noSwitch", vdbPostRequestBody.noSwitch, serializeJson); + writer.writeObjectValue("salvage", vdbPostRequestBody.salvage, serializeJson); + writer.writeObjectValue("startPeriod", vdbPostRequestBody.startPeriod, serializeJson); writer.writeAdditionalData(vdbPostRequestBody.additionalData); } export interface VdbPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/vlookup/vlookupPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/vlookup/vlookupPostRequestBody.ts index 87128af2bb8..c6431f192f2 100644 --- a/src/drives/item/items/item/workbook/functions/vlookup/vlookupPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/vlookup/vlookupPostRequestBody.ts @@ -17,10 +17,10 @@ export function deserializeIntoVlookupPostRequestBody(vlookupPostRequestBody: Vl } } export function serializeVlookupPostRequestBody(writer: SerializationWriter, vlookupPostRequestBody: VlookupPostRequestBody | undefined = {} as VlookupPostRequestBody) : void { - writer.writeObjectValue("colIndexNum", vlookupPostRequestBody.colIndexNum, ); - writer.writeObjectValue("lookupValue", vlookupPostRequestBody.lookupValue, ); - writer.writeObjectValue("rangeLookup", vlookupPostRequestBody.rangeLookup, ); - writer.writeObjectValue("tableArray", vlookupPostRequestBody.tableArray, ); + writer.writeObjectValue("colIndexNum", vlookupPostRequestBody.colIndexNum, serializeJson); + writer.writeObjectValue("lookupValue", vlookupPostRequestBody.lookupValue, serializeJson); + writer.writeObjectValue("rangeLookup", vlookupPostRequestBody.rangeLookup, serializeJson); + writer.writeObjectValue("tableArray", vlookupPostRequestBody.tableArray, serializeJson); writer.writeAdditionalData(vlookupPostRequestBody.additionalData); } export interface VlookupPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/weekNum/weekNumPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/weekNum/weekNumPostRequestBody.ts index 22d18272dbc..01de7fa01a0 100644 --- a/src/drives/item/items/item/workbook/functions/weekNum/weekNumPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/weekNum/weekNumPostRequestBody.ts @@ -15,8 +15,8 @@ export function deserializeIntoWeekNumPostRequestBody(weekNumPostRequestBody: We } } export function serializeWeekNumPostRequestBody(writer: SerializationWriter, weekNumPostRequestBody: WeekNumPostRequestBody | undefined = {} as WeekNumPostRequestBody) : void { - writer.writeObjectValue("returnType", weekNumPostRequestBody.returnType, ); - writer.writeObjectValue("serialNumber", weekNumPostRequestBody.serialNumber, ); + writer.writeObjectValue("returnType", weekNumPostRequestBody.returnType, serializeJson); + writer.writeObjectValue("serialNumber", weekNumPostRequestBody.serialNumber, serializeJson); writer.writeAdditionalData(weekNumPostRequestBody.additionalData); } export interface WeekNumPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/weekday/weekdayPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/weekday/weekdayPostRequestBody.ts index 2f00187994f..ad05ce72119 100644 --- a/src/drives/item/items/item/workbook/functions/weekday/weekdayPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/weekday/weekdayPostRequestBody.ts @@ -15,8 +15,8 @@ export function deserializeIntoWeekdayPostRequestBody(weekdayPostRequestBody: We } } export function serializeWeekdayPostRequestBody(writer: SerializationWriter, weekdayPostRequestBody: WeekdayPostRequestBody | undefined = {} as WeekdayPostRequestBody) : void { - writer.writeObjectValue("returnType", weekdayPostRequestBody.returnType, ); - writer.writeObjectValue("serialNumber", weekdayPostRequestBody.serialNumber, ); + writer.writeObjectValue("returnType", weekdayPostRequestBody.returnType, serializeJson); + writer.writeObjectValue("serialNumber", weekdayPostRequestBody.serialNumber, serializeJson); writer.writeAdditionalData(weekdayPostRequestBody.additionalData); } export interface WeekdayPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/weibull_Dist/weibull_DistPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/weibull_Dist/weibull_DistPostRequestBody.ts index bb36842199e..3421f211708 100644 --- a/src/drives/item/items/item/workbook/functions/weibull_Dist/weibull_DistPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/weibull_Dist/weibull_DistPostRequestBody.ts @@ -17,10 +17,10 @@ export function deserializeIntoWeibull_DistPostRequestBody(weibull_DistPostReque } } export function serializeWeibull_DistPostRequestBody(writer: SerializationWriter, weibull_DistPostRequestBody: Weibull_DistPostRequestBody | undefined = {} as Weibull_DistPostRequestBody) : void { - writer.writeObjectValue("alpha", weibull_DistPostRequestBody.alpha, ); - writer.writeObjectValue("beta", weibull_DistPostRequestBody.beta, ); - writer.writeObjectValue("cumulative", weibull_DistPostRequestBody.cumulative, ); - writer.writeObjectValue("x", weibull_DistPostRequestBody.x, ); + writer.writeObjectValue("alpha", weibull_DistPostRequestBody.alpha, serializeJson); + writer.writeObjectValue("beta", weibull_DistPostRequestBody.beta, serializeJson); + writer.writeObjectValue("cumulative", weibull_DistPostRequestBody.cumulative, serializeJson); + writer.writeObjectValue("x", weibull_DistPostRequestBody.x, serializeJson); writer.writeAdditionalData(weibull_DistPostRequestBody.additionalData); } export interface Weibull_DistPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/workDay/workDayPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/workDay/workDayPostRequestBody.ts index 38546b59286..ed0ee88bd81 100644 --- a/src/drives/item/items/item/workbook/functions/workDay/workDayPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/workDay/workDayPostRequestBody.ts @@ -16,9 +16,9 @@ export function deserializeIntoWorkDayPostRequestBody(workDayPostRequestBody: Wo } } export function serializeWorkDayPostRequestBody(writer: SerializationWriter, workDayPostRequestBody: WorkDayPostRequestBody | undefined = {} as WorkDayPostRequestBody) : void { - writer.writeObjectValue("days", workDayPostRequestBody.days, ); - writer.writeObjectValue("holidays", workDayPostRequestBody.holidays, ); - writer.writeObjectValue("startDate", workDayPostRequestBody.startDate, ); + writer.writeObjectValue("days", workDayPostRequestBody.days, serializeJson); + writer.writeObjectValue("holidays", workDayPostRequestBody.holidays, serializeJson); + writer.writeObjectValue("startDate", workDayPostRequestBody.startDate, serializeJson); writer.writeAdditionalData(workDayPostRequestBody.additionalData); } export interface WorkDayPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/workDay_Intl/workDay_IntlPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/workDay_Intl/workDay_IntlPostRequestBody.ts index 614232de95b..6fdf9cbb737 100644 --- a/src/drives/item/items/item/workbook/functions/workDay_Intl/workDay_IntlPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/workDay_Intl/workDay_IntlPostRequestBody.ts @@ -17,10 +17,10 @@ export function deserializeIntoWorkDay_IntlPostRequestBody(workDay_IntlPostReque } } export function serializeWorkDay_IntlPostRequestBody(writer: SerializationWriter, workDay_IntlPostRequestBody: WorkDay_IntlPostRequestBody | undefined = {} as WorkDay_IntlPostRequestBody) : void { - writer.writeObjectValue("days", workDay_IntlPostRequestBody.days, ); - writer.writeObjectValue("holidays", workDay_IntlPostRequestBody.holidays, ); - writer.writeObjectValue("startDate", workDay_IntlPostRequestBody.startDate, ); - writer.writeObjectValue("weekend", workDay_IntlPostRequestBody.weekend, ); + writer.writeObjectValue("days", workDay_IntlPostRequestBody.days, serializeJson); + writer.writeObjectValue("holidays", workDay_IntlPostRequestBody.holidays, serializeJson); + writer.writeObjectValue("startDate", workDay_IntlPostRequestBody.startDate, serializeJson); + writer.writeObjectValue("weekend", workDay_IntlPostRequestBody.weekend, serializeJson); writer.writeAdditionalData(workDay_IntlPostRequestBody.additionalData); } export interface WorkDay_IntlPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/xirr/xirrPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/xirr/xirrPostRequestBody.ts index a0f0093d037..3b61d35b88e 100644 --- a/src/drives/item/items/item/workbook/functions/xirr/xirrPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/xirr/xirrPostRequestBody.ts @@ -16,9 +16,9 @@ export function deserializeIntoXirrPostRequestBody(xirrPostRequestBody: XirrPost } } export function serializeXirrPostRequestBody(writer: SerializationWriter, xirrPostRequestBody: XirrPostRequestBody | undefined = {} as XirrPostRequestBody) : void { - writer.writeObjectValue("dates", xirrPostRequestBody.dates, ); - writer.writeObjectValue("guess", xirrPostRequestBody.guess, ); - writer.writeObjectValue("values", xirrPostRequestBody.values, ); + writer.writeObjectValue("dates", xirrPostRequestBody.dates, serializeJson); + writer.writeObjectValue("guess", xirrPostRequestBody.guess, serializeJson); + writer.writeObjectValue("values", xirrPostRequestBody.values, serializeJson); writer.writeAdditionalData(xirrPostRequestBody.additionalData); } export interface XirrPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/xnpv/xnpvPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/xnpv/xnpvPostRequestBody.ts index f4e5135e52f..590e6c377a1 100644 --- a/src/drives/item/items/item/workbook/functions/xnpv/xnpvPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/xnpv/xnpvPostRequestBody.ts @@ -16,9 +16,9 @@ export function deserializeIntoXnpvPostRequestBody(xnpvPostRequestBody: XnpvPost } } export function serializeXnpvPostRequestBody(writer: SerializationWriter, xnpvPostRequestBody: XnpvPostRequestBody | undefined = {} as XnpvPostRequestBody) : void { - writer.writeObjectValue("dates", xnpvPostRequestBody.dates, ); - writer.writeObjectValue("rate", xnpvPostRequestBody.rate, ); - writer.writeObjectValue("values", xnpvPostRequestBody.values, ); + writer.writeObjectValue("dates", xnpvPostRequestBody.dates, serializeJson); + writer.writeObjectValue("rate", xnpvPostRequestBody.rate, serializeJson); + writer.writeObjectValue("values", xnpvPostRequestBody.values, serializeJson); writer.writeAdditionalData(xnpvPostRequestBody.additionalData); } export interface XnpvPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/xor/xorPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/xor/xorPostRequestBody.ts index 20e2accd19f..d3c6222f378 100644 --- a/src/drives/item/items/item/workbook/functions/xor/xorPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/xor/xorPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoXorPostRequestBody(xorPostRequestBody: XorPostReq } } export function serializeXorPostRequestBody(writer: SerializationWriter, xorPostRequestBody: XorPostRequestBody | undefined = {} as XorPostRequestBody) : void { - writer.writeObjectValue("values", xorPostRequestBody.values, ); + writer.writeObjectValue("values", xorPostRequestBody.values, serializeJson); writer.writeAdditionalData(xorPostRequestBody.additionalData); } export interface XorPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/year/yearPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/year/yearPostRequestBody.ts index ab4276de423..2ec2168e51b 100644 --- a/src/drives/item/items/item/workbook/functions/year/yearPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/year/yearPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoYearPostRequestBody(yearPostRequestBody: YearPost } } export function serializeYearPostRequestBody(writer: SerializationWriter, yearPostRequestBody: YearPostRequestBody | undefined = {} as YearPostRequestBody) : void { - writer.writeObjectValue("serialNumber", yearPostRequestBody.serialNumber, ); + writer.writeObjectValue("serialNumber", yearPostRequestBody.serialNumber, serializeJson); writer.writeAdditionalData(yearPostRequestBody.additionalData); } export interface YearPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/yearFrac/yearFracPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/yearFrac/yearFracPostRequestBody.ts index 40737d58219..fdb48c29ac7 100644 --- a/src/drives/item/items/item/workbook/functions/yearFrac/yearFracPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/yearFrac/yearFracPostRequestBody.ts @@ -16,9 +16,9 @@ export function deserializeIntoYearFracPostRequestBody(yearFracPostRequestBody: } } export function serializeYearFracPostRequestBody(writer: SerializationWriter, yearFracPostRequestBody: YearFracPostRequestBody | undefined = {} as YearFracPostRequestBody) : void { - writer.writeObjectValue("basis", yearFracPostRequestBody.basis, ); - writer.writeObjectValue("endDate", yearFracPostRequestBody.endDate, ); - writer.writeObjectValue("startDate", yearFracPostRequestBody.startDate, ); + writer.writeObjectValue("basis", yearFracPostRequestBody.basis, serializeJson); + writer.writeObjectValue("endDate", yearFracPostRequestBody.endDate, serializeJson); + writer.writeObjectValue("startDate", yearFracPostRequestBody.startDate, serializeJson); writer.writeAdditionalData(yearFracPostRequestBody.additionalData); } export interface YearFracPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/yield/yieldPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/yield/yieldPostRequestBody.ts index 4cc11ca4bf2..0968ce9403e 100644 --- a/src/drives/item/items/item/workbook/functions/yield/yieldPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/yield/yieldPostRequestBody.ts @@ -20,13 +20,13 @@ export function deserializeIntoYieldPostRequestBody(yieldPostRequestBody: YieldP } } export function serializeYieldPostRequestBody(writer: SerializationWriter, yieldPostRequestBody: YieldPostRequestBody | undefined = {} as YieldPostRequestBody) : void { - writer.writeObjectValue("basis", yieldPostRequestBody.basis, ); - writer.writeObjectValue("frequency", yieldPostRequestBody.frequency, ); - writer.writeObjectValue("maturity", yieldPostRequestBody.maturity, ); - writer.writeObjectValue("pr", yieldPostRequestBody.pr, ); - writer.writeObjectValue("rate", yieldPostRequestBody.rate, ); - writer.writeObjectValue("redemption", yieldPostRequestBody.redemption, ); - writer.writeObjectValue("settlement", yieldPostRequestBody.settlement, ); + writer.writeObjectValue("basis", yieldPostRequestBody.basis, serializeJson); + writer.writeObjectValue("frequency", yieldPostRequestBody.frequency, serializeJson); + writer.writeObjectValue("maturity", yieldPostRequestBody.maturity, serializeJson); + writer.writeObjectValue("pr", yieldPostRequestBody.pr, serializeJson); + writer.writeObjectValue("rate", yieldPostRequestBody.rate, serializeJson); + writer.writeObjectValue("redemption", yieldPostRequestBody.redemption, serializeJson); + writer.writeObjectValue("settlement", yieldPostRequestBody.settlement, serializeJson); writer.writeAdditionalData(yieldPostRequestBody.additionalData); } export interface YieldPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/yieldDisc/yieldDiscPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/yieldDisc/yieldDiscPostRequestBody.ts index 950078c38ad..cca1cd09c3a 100644 --- a/src/drives/item/items/item/workbook/functions/yieldDisc/yieldDiscPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/yieldDisc/yieldDiscPostRequestBody.ts @@ -18,11 +18,11 @@ export function deserializeIntoYieldDiscPostRequestBody(yieldDiscPostRequestBody } } export function serializeYieldDiscPostRequestBody(writer: SerializationWriter, yieldDiscPostRequestBody: YieldDiscPostRequestBody | undefined = {} as YieldDiscPostRequestBody) : void { - writer.writeObjectValue("basis", yieldDiscPostRequestBody.basis, ); - writer.writeObjectValue("maturity", yieldDiscPostRequestBody.maturity, ); - writer.writeObjectValue("pr", yieldDiscPostRequestBody.pr, ); - writer.writeObjectValue("redemption", yieldDiscPostRequestBody.redemption, ); - writer.writeObjectValue("settlement", yieldDiscPostRequestBody.settlement, ); + writer.writeObjectValue("basis", yieldDiscPostRequestBody.basis, serializeJson); + writer.writeObjectValue("maturity", yieldDiscPostRequestBody.maturity, serializeJson); + writer.writeObjectValue("pr", yieldDiscPostRequestBody.pr, serializeJson); + writer.writeObjectValue("redemption", yieldDiscPostRequestBody.redemption, serializeJson); + writer.writeObjectValue("settlement", yieldDiscPostRequestBody.settlement, serializeJson); writer.writeAdditionalData(yieldDiscPostRequestBody.additionalData); } export interface YieldDiscPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/yieldMat/yieldMatPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/yieldMat/yieldMatPostRequestBody.ts index f6b869d0f12..051ec2fb566 100644 --- a/src/drives/item/items/item/workbook/functions/yieldMat/yieldMatPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/yieldMat/yieldMatPostRequestBody.ts @@ -19,12 +19,12 @@ export function deserializeIntoYieldMatPostRequestBody(yieldMatPostRequestBody: } } export function serializeYieldMatPostRequestBody(writer: SerializationWriter, yieldMatPostRequestBody: YieldMatPostRequestBody | undefined = {} as YieldMatPostRequestBody) : void { - writer.writeObjectValue("basis", yieldMatPostRequestBody.basis, ); - writer.writeObjectValue("issue", yieldMatPostRequestBody.issue, ); - writer.writeObjectValue("maturity", yieldMatPostRequestBody.maturity, ); - writer.writeObjectValue("pr", yieldMatPostRequestBody.pr, ); - writer.writeObjectValue("rate", yieldMatPostRequestBody.rate, ); - writer.writeObjectValue("settlement", yieldMatPostRequestBody.settlement, ); + writer.writeObjectValue("basis", yieldMatPostRequestBody.basis, serializeJson); + writer.writeObjectValue("issue", yieldMatPostRequestBody.issue, serializeJson); + writer.writeObjectValue("maturity", yieldMatPostRequestBody.maturity, serializeJson); + writer.writeObjectValue("pr", yieldMatPostRequestBody.pr, serializeJson); + writer.writeObjectValue("rate", yieldMatPostRequestBody.rate, serializeJson); + writer.writeObjectValue("settlement", yieldMatPostRequestBody.settlement, serializeJson); writer.writeAdditionalData(yieldMatPostRequestBody.additionalData); } export interface YieldMatPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/functions/z_Test/z_TestPostRequestBody.ts b/src/drives/item/items/item/workbook/functions/z_Test/z_TestPostRequestBody.ts index 6aca8df2d4f..b1235e7640c 100644 --- a/src/drives/item/items/item/workbook/functions/z_Test/z_TestPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/functions/z_Test/z_TestPostRequestBody.ts @@ -16,9 +16,9 @@ export function deserializeIntoZ_TestPostRequestBody(z_TestPostRequestBody: Z_Te } } export function serializeZ_TestPostRequestBody(writer: SerializationWriter, z_TestPostRequestBody: Z_TestPostRequestBody | undefined = {} as Z_TestPostRequestBody) : void { - writer.writeObjectValue("array", z_TestPostRequestBody.array, ); - writer.writeObjectValue("sigma", z_TestPostRequestBody.sigma, ); - writer.writeObjectValue("x", z_TestPostRequestBody.x, ); + writer.writeObjectValue("array", z_TestPostRequestBody.array, serializeJson); + writer.writeObjectValue("sigma", z_TestPostRequestBody.sigma, serializeJson); + writer.writeObjectValue("x", z_TestPostRequestBody.x, serializeJson); writer.writeAdditionalData(z_TestPostRequestBody.additionalData); } export interface Z_TestPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/names/add/addPostRequestBody.ts b/src/drives/item/items/item/workbook/names/add/addPostRequestBody.ts index fa5aea4ab2b..d0441a9ab5c 100644 --- a/src/drives/item/items/item/workbook/names/add/addPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/names/add/addPostRequestBody.ts @@ -36,7 +36,7 @@ export function deserializeIntoAddPostRequestBody(addPostRequestBody: AddPostReq export function serializeAddPostRequestBody(writer: SerializationWriter, addPostRequestBody: AddPostRequestBody | undefined = {} as AddPostRequestBody) : void { writer.writeStringValue("comment", addPostRequestBody.comment); writer.writeStringValue("name", addPostRequestBody.name); - writer.writeObjectValue("reference", addPostRequestBody.reference, ); + writer.writeObjectValue("reference", addPostRequestBody.reference, serializeJson); writer.writeAdditionalData(addPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/names/item/range/rangeRequestBuilder.ts b/src/drives/item/items/item/workbook/names/item/range/rangeRequestBuilder.ts index cd6b951f988..68223a2d960 100644 --- a/src/drives/item/items/item/workbook/names/item/range/rangeRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/names/item/range/rangeRequestBuilder.ts @@ -30,10 +30,10 @@ export class RangeRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/names/{workbookNamedItem%2Did}/range()"); }; /** - * Retrieve the properties and relationships of range object. This API is available in the following national cloud deployments. + * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of WorkbookRange - * @see {@link https://learn.microsoft.com/graph/api/range-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RangeRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -46,7 +46,7 @@ export class RangeRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createWorkbookRangeFromDiscriminatorValue, errorMapping); }; /** - * Retrieve the properties and relationships of range object. This API is available in the following national cloud deployments. + * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/drives/item/items/item/workbook/tables/add/addRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/add/addRequestBuilder.ts index 76e574713d1..481a405da12 100644 --- a/src/drives/item/items/item/workbook/tables/add/addRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/add/addRequestBuilder.ts @@ -30,11 +30,11 @@ export class AddRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/tables/add"); }; /** - * Use this API to create a new Table. This API is available in the following national cloud deployments. + * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of WorkbookTable - * @see {@link https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-1.0|Find more info here} */ public post(body: AddPostRequestBody, requestConfiguration?: AddRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -47,7 +47,7 @@ export class AddRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createWorkbookTableFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Table. This API is available in the following national cloud deployments. + * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/drives/item/items/item/workbook/tables/item/columns/add/addPostRequestBody.ts b/src/drives/item/items/item/workbook/tables/item/columns/add/addPostRequestBody.ts index d66d0e063c7..140bb1773bc 100644 --- a/src/drives/item/items/item/workbook/tables/item/columns/add/addPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/tables/item/columns/add/addPostRequestBody.ts @@ -36,7 +36,7 @@ export function deserializeIntoAddPostRequestBody(addPostRequestBody: AddPostReq export function serializeAddPostRequestBody(writer: SerializationWriter, addPostRequestBody: AddPostRequestBody | undefined = {} as AddPostRequestBody) : void { writer.writeNumberValue("index", addPostRequestBody.index); writer.writeStringValue("name", addPostRequestBody.name); - writer.writeObjectValue("values", addPostRequestBody.values, ); + writer.writeObjectValue("values", addPostRequestBody.values, serializeJson); writer.writeAdditionalData(addPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/tables/item/columns/columnsRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/columns/columnsRequestBuilder.ts index 9aa5b84f2d3..7c87420f18a 100644 --- a/src/drives/item/items/item/workbook/tables/item/columns/columnsRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/columns/columnsRequestBuilder.ts @@ -109,7 +109,7 @@ export class ColumnsRequestBuilder extends BaseRequestBuilder { * Retrieve a list of tablecolumn objects. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of WorkbookTableColumnCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/tablecolumn-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/table-list-columns?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: ColumnsRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( diff --git a/src/drives/item/items/item/workbook/tables/item/columns/item/filter/apply/applyPostRequestBody.ts b/src/drives/item/items/item/workbook/tables/item/columns/item/filter/apply/applyPostRequestBody.ts index 4314c2a3480..cafa7adbafe 100644 --- a/src/drives/item/items/item/workbook/tables/item/columns/item/filter/apply/applyPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/tables/item/columns/item/filter/apply/applyPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoApplyPostRequestBody(applyPostRequestBody: ApplyP } } export function serializeApplyPostRequestBody(writer: SerializationWriter, applyPostRequestBody: ApplyPostRequestBody | undefined = {} as ApplyPostRequestBody) : void { - writer.writeObjectValue("criteria", applyPostRequestBody.criteria, ); + writer.writeObjectValue("criteria", applyPostRequestBody.criteria, serializeWorkbookFilterCriteria); writer.writeAdditionalData(applyPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyIconFilter/applyIconFilterPostRequestBody.ts b/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyIconFilter/applyIconFilterPostRequestBody.ts index bfad1adbc1e..c58feb6d9d8 100644 --- a/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyIconFilter/applyIconFilterPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyIconFilter/applyIconFilterPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoApplyIconFilterPostRequestBody(applyIconFilterPos } } export function serializeApplyIconFilterPostRequestBody(writer: SerializationWriter, applyIconFilterPostRequestBody: ApplyIconFilterPostRequestBody | undefined = {} as ApplyIconFilterPostRequestBody) : void { - writer.writeObjectValue("icon", applyIconFilterPostRequestBody.icon, ); + writer.writeObjectValue("icon", applyIconFilterPostRequestBody.icon, serializeWorkbookIcon); writer.writeAdditionalData(applyIconFilterPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyValuesFilter/applyValuesFilterPostRequestBody.ts b/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyValuesFilter/applyValuesFilterPostRequestBody.ts index 53ae7b55899..bd8c51a6578 100644 --- a/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyValuesFilter/applyValuesFilterPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/tables/item/columns/item/filter/applyValuesFilter/applyValuesFilterPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoApplyValuesFilterPostRequestBody(applyValuesFilte } } export function serializeApplyValuesFilterPostRequestBody(writer: SerializationWriter, applyValuesFilterPostRequestBody: ApplyValuesFilterPostRequestBody | undefined = {} as ApplyValuesFilterPostRequestBody) : void { - writer.writeObjectValue("values", applyValuesFilterPostRequestBody.values, ); + writer.writeObjectValue("values", applyValuesFilterPostRequestBody.values, serializeJson); writer.writeAdditionalData(applyValuesFilterPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/tables/item/rows/add/addPostRequestBody.ts b/src/drives/item/items/item/workbook/tables/item/rows/add/addPostRequestBody.ts index 8117a1a0470..5e41668ff24 100644 --- a/src/drives/item/items/item/workbook/tables/item/rows/add/addPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/tables/item/rows/add/addPostRequestBody.ts @@ -30,7 +30,7 @@ export function deserializeIntoAddPostRequestBody(addPostRequestBody: AddPostReq } export function serializeAddPostRequestBody(writer: SerializationWriter, addPostRequestBody: AddPostRequestBody | undefined = {} as AddPostRequestBody) : void { writer.writeNumberValue("index", addPostRequestBody.index); - writer.writeObjectValue("values", addPostRequestBody.values, ); + writer.writeObjectValue("values", addPostRequestBody.values, serializeJson); writer.writeAdditionalData(addPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/tables/item/rows/rowsRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/rows/rowsRequestBuilder.ts index 7c3784bfe6f..708cb116be7 100644 --- a/src/drives/item/items/item/workbook/tables/item/rows/rowsRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/rows/rowsRequestBuilder.ts @@ -109,7 +109,7 @@ export class RowsRequestBuilder extends BaseRequestBuilder { * Retrieve a list of tablerow objects. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of WorkbookTableRowCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/table-list-rows?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/tablerow-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RowsRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( diff --git a/src/drives/item/items/item/workbook/tables/item/sort/apply/applyPostRequestBody.ts b/src/drives/item/items/item/workbook/tables/item/sort/apply/applyPostRequestBody.ts index 1bf33846d51..2f9612d1c8f 100644 --- a/src/drives/item/items/item/workbook/tables/item/sort/apply/applyPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/tables/item/sort/apply/applyPostRequestBody.ts @@ -34,7 +34,7 @@ export function deserializeIntoApplyPostRequestBody(applyPostRequestBody: ApplyP } } export function serializeApplyPostRequestBody(writer: SerializationWriter, applyPostRequestBody: ApplyPostRequestBody | undefined = {} as ApplyPostRequestBody) : void { - writer.writeCollectionOfObjectValues("fields", applyPostRequestBody.fields, ); + writer.writeCollectionOfObjectValues("fields", applyPostRequestBody.fields, serializeWorkbookSortField); writer.writeBooleanValue("matchCase", applyPostRequestBody.matchCase); writer.writeStringValue("method", applyPostRequestBody.method); writer.writeAdditionalData(applyPostRequestBody.additionalData); diff --git a/src/drives/item/items/item/workbook/tables/tablesRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/tablesRequestBuilder.ts index c62dce8e2ce..8b3d7ae99fd 100644 --- a/src/drives/item/items/item/workbook/tables/tablesRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/tablesRequestBuilder.ts @@ -109,7 +109,7 @@ export class TablesRequestBuilder extends BaseRequestBuilder { * Retrieve a list of table objects. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of WorkbookTableCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/table-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/workbook-list-tables?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: TablesRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/add/addPostRequestBody.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/add/addPostRequestBody.ts index a54ad77c0bc..b81dc07f866 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/add/addPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/add/addPostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoAddPostRequestBody(addPostRequestBody: AddPostReq } export function serializeAddPostRequestBody(writer: SerializationWriter, addPostRequestBody: AddPostRequestBody | undefined = {} as AddPostRequestBody) : void { writer.writeStringValue("seriesBy", addPostRequestBody.seriesBy); - writer.writeObjectValue("sourceData", addPostRequestBody.sourceData, ); + writer.writeObjectValue("sourceData", addPostRequestBody.sourceData, serializeJson); writer.writeStringValue("type", addPostRequestBody.type); writer.writeAdditionalData(addPostRequestBody.additionalData); } diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/setData/setDataPostRequestBody.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/setData/setDataPostRequestBody.ts index e8a62cd9932..d81bcfa7837 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/setData/setDataPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/setData/setDataPostRequestBody.ts @@ -16,7 +16,7 @@ export function deserializeIntoSetDataPostRequestBody(setDataPostRequestBody: Se } export function serializeSetDataPostRequestBody(writer: SerializationWriter, setDataPostRequestBody: SetDataPostRequestBody | undefined = {} as SetDataPostRequestBody) : void { writer.writeStringValue("seriesBy", setDataPostRequestBody.seriesBy); - writer.writeObjectValue("sourceData", setDataPostRequestBody.sourceData, ); + writer.writeObjectValue("sourceData", setDataPostRequestBody.sourceData, serializeJson); writer.writeAdditionalData(setDataPostRequestBody.additionalData); } export interface SetDataPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/setPosition/setPositionPostRequestBody.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/setPosition/setPositionPostRequestBody.ts index dc0d3754ada..65d88e14813 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/setPosition/setPositionPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/setPosition/setPositionPostRequestBody.ts @@ -15,8 +15,8 @@ export function deserializeIntoSetPositionPostRequestBody(setPositionPostRequest } } export function serializeSetPositionPostRequestBody(writer: SerializationWriter, setPositionPostRequestBody: SetPositionPostRequestBody | undefined = {} as SetPositionPostRequestBody) : void { - writer.writeObjectValue("endCell", setPositionPostRequestBody.endCell, ); - writer.writeObjectValue("startCell", setPositionPostRequestBody.startCell, ); + writer.writeObjectValue("endCell", setPositionPostRequestBody.endCell, serializeJson); + writer.writeObjectValue("startCell", setPositionPostRequestBody.startCell, serializeJson); writer.writeAdditionalData(setPositionPostRequestBody.additionalData); } export interface SetPositionPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/drives/item/items/item/workbook/worksheets/item/names/add/addPostRequestBody.ts b/src/drives/item/items/item/workbook/worksheets/item/names/add/addPostRequestBody.ts index 1a02db7a158..dd73e4f2ea3 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/names/add/addPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/names/add/addPostRequestBody.ts @@ -36,7 +36,7 @@ export function deserializeIntoAddPostRequestBody(addPostRequestBody: AddPostReq export function serializeAddPostRequestBody(writer: SerializationWriter, addPostRequestBody: AddPostRequestBody | undefined = {} as AddPostRequestBody) : void { writer.writeStringValue("comment", addPostRequestBody.comment); writer.writeStringValue("name", addPostRequestBody.name); - writer.writeObjectValue("reference", addPostRequestBody.reference, ); + writer.writeObjectValue("reference", addPostRequestBody.reference, serializeJson); writer.writeAdditionalData(addPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/worksheets/item/names/item/range/rangeRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/names/item/range/rangeRequestBuilder.ts index 99eaef3f758..8596b356f8b 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/names/item/range/rangeRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/names/item/range/rangeRequestBuilder.ts @@ -30,10 +30,10 @@ export class RangeRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/names/{workbookNamedItem%2Did}/range()"); }; /** - * Retrieve the properties and relationships of range object. This API is available in the following national cloud deployments. + * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of WorkbookRange - * @see {@link https://learn.microsoft.com/graph/api/range-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RangeRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -46,7 +46,7 @@ export class RangeRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createWorkbookRangeFromDiscriminatorValue, errorMapping); }; /** - * Retrieve the properties and relationships of range object. This API is available in the following national cloud deployments. + * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/drives/item/items/item/workbook/worksheets/item/protection/protect/protectPostRequestBody.ts b/src/drives/item/items/item/workbook/worksheets/item/protection/protect/protectPostRequestBody.ts index ef092331b55..faef87faa2f 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/protection/protect/protectPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/protection/protect/protectPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ProtectPostRequestBody extends AdditionalDataHolder, Parsable { options?: WorkbookWorksheetProtectionOptions; } export function serializeProtectPostRequestBody(writer: SerializationWriter, protectPostRequestBody: ProtectPostRequestBody | undefined = {} as ProtectPostRequestBody) : void { - writer.writeObjectValue("options", protectPostRequestBody.options, ); + writer.writeObjectValue("options", protectPostRequestBody.options, serializeWorkbookWorksheetProtectionOptions); writer.writeAdditionalData(protectPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/add/addRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/add/addRequestBuilder.ts index 43064c0b536..0fe838c5678 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/add/addRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/add/addRequestBuilder.ts @@ -30,11 +30,11 @@ export class AddRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/add"); }; /** - * Use this API to create a new Table. This API is available in the following national cloud deployments. + * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of WorkbookTable - * @see {@link https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-1.0|Find more info here} */ public post(body: AddPostRequestBody, requestConfiguration?: AddRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -47,7 +47,7 @@ export class AddRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createWorkbookTableFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Table. This API is available in the following national cloud deployments. + * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/add/addPostRequestBody.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/add/addPostRequestBody.ts index 6a4aa972217..1d5a8dc28d2 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/add/addPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/add/addPostRequestBody.ts @@ -36,7 +36,7 @@ export function deserializeIntoAddPostRequestBody(addPostRequestBody: AddPostReq export function serializeAddPostRequestBody(writer: SerializationWriter, addPostRequestBody: AddPostRequestBody | undefined = {} as AddPostRequestBody) : void { writer.writeNumberValue("index", addPostRequestBody.index); writer.writeStringValue("name", addPostRequestBody.name); - writer.writeObjectValue("values", addPostRequestBody.values, ); + writer.writeObjectValue("values", addPostRequestBody.values, serializeJson); writer.writeAdditionalData(addPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/columnsRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/columnsRequestBuilder.ts index 3503973df5c..c4299c2d00b 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/columnsRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/columnsRequestBuilder.ts @@ -109,7 +109,7 @@ export class ColumnsRequestBuilder extends BaseRequestBuilder { * Retrieve a list of tablecolumn objects. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of WorkbookTableColumnCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/tablecolumn-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/table-list-columns?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: ColumnsRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply/applyPostRequestBody.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply/applyPostRequestBody.ts index 1378e7c559f..966afd17032 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply/applyPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply/applyPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoApplyPostRequestBody(applyPostRequestBody: ApplyP } } export function serializeApplyPostRequestBody(writer: SerializationWriter, applyPostRequestBody: ApplyPostRequestBody | undefined = {} as ApplyPostRequestBody) : void { - writer.writeObjectValue("criteria", applyPostRequestBody.criteria, ); + writer.writeObjectValue("criteria", applyPostRequestBody.criteria, serializeWorkbookFilterCriteria); writer.writeAdditionalData(applyPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyIconFilter/applyIconFilterPostRequestBody.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyIconFilter/applyIconFilterPostRequestBody.ts index a42c5957865..11d54505f85 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyIconFilter/applyIconFilterPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyIconFilter/applyIconFilterPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoApplyIconFilterPostRequestBody(applyIconFilterPos } } export function serializeApplyIconFilterPostRequestBody(writer: SerializationWriter, applyIconFilterPostRequestBody: ApplyIconFilterPostRequestBody | undefined = {} as ApplyIconFilterPostRequestBody) : void { - writer.writeObjectValue("icon", applyIconFilterPostRequestBody.icon, ); + writer.writeObjectValue("icon", applyIconFilterPostRequestBody.icon, serializeWorkbookIcon); writer.writeAdditionalData(applyIconFilterPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyValuesFilter/applyValuesFilterPostRequestBody.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyValuesFilter/applyValuesFilterPostRequestBody.ts index a408405f370..c5c834accce 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyValuesFilter/applyValuesFilterPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/applyValuesFilter/applyValuesFilterPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoApplyValuesFilterPostRequestBody(applyValuesFilte } } export function serializeApplyValuesFilterPostRequestBody(writer: SerializationWriter, applyValuesFilterPostRequestBody: ApplyValuesFilterPostRequestBody | undefined = {} as ApplyValuesFilterPostRequestBody) : void { - writer.writeObjectValue("values", applyValuesFilterPostRequestBody.values, ); + writer.writeObjectValue("values", applyValuesFilterPostRequestBody.values, serializeJson); writer.writeAdditionalData(applyValuesFilterPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/rows/add/addPostRequestBody.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/rows/add/addPostRequestBody.ts index 896ff84e5b6..a0a845909ce 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/rows/add/addPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/rows/add/addPostRequestBody.ts @@ -30,7 +30,7 @@ export function deserializeIntoAddPostRequestBody(addPostRequestBody: AddPostReq } export function serializeAddPostRequestBody(writer: SerializationWriter, addPostRequestBody: AddPostRequestBody | undefined = {} as AddPostRequestBody) : void { writer.writeNumberValue("index", addPostRequestBody.index); - writer.writeObjectValue("values", addPostRequestBody.values, ); + writer.writeObjectValue("values", addPostRequestBody.values, serializeJson); writer.writeAdditionalData(addPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/rows/rowsRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/rows/rowsRequestBuilder.ts index 90e1acf6c20..c7aa6863372 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/rows/rowsRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/rows/rowsRequestBuilder.ts @@ -109,7 +109,7 @@ export class RowsRequestBuilder extends BaseRequestBuilder { * Retrieve a list of tablerow objects. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of WorkbookTableRowCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/table-list-rows?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/tablerow-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RowsRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/sort/apply/applyPostRequestBody.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/sort/apply/applyPostRequestBody.ts index 8cf3540eaf5..c79b2156938 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/sort/apply/applyPostRequestBody.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/sort/apply/applyPostRequestBody.ts @@ -34,7 +34,7 @@ export function deserializeIntoApplyPostRequestBody(applyPostRequestBody: ApplyP } } export function serializeApplyPostRequestBody(writer: SerializationWriter, applyPostRequestBody: ApplyPostRequestBody | undefined = {} as ApplyPostRequestBody) : void { - writer.writeCollectionOfObjectValues("fields", applyPostRequestBody.fields, ); + writer.writeCollectionOfObjectValues("fields", applyPostRequestBody.fields, serializeWorkbookSortField); writer.writeBooleanValue("matchCase", applyPostRequestBody.matchCase); writer.writeStringValue("method", applyPostRequestBody.method); writer.writeAdditionalData(applyPostRequestBody.additionalData); diff --git a/src/drives/item/list/contentTypes/getCompatibleHubContentTypes/getCompatibleHubContentTypesGetResponse.ts b/src/drives/item/list/contentTypes/getCompatibleHubContentTypes/getCompatibleHubContentTypesGetResponse.ts index bd6488f11ff..db778d73570 100644 --- a/src/drives/item/list/contentTypes/getCompatibleHubContentTypes/getCompatibleHubContentTypesGetResponse.ts +++ b/src/drives/item/list/contentTypes/getCompatibleHubContentTypes/getCompatibleHubContentTypesGetResponse.ts @@ -23,7 +23,7 @@ export interface GetCompatibleHubContentTypesGetResponse extends BaseCollectionP } export function serializeGetCompatibleHubContentTypesGetResponse(writer: SerializationWriter, getCompatibleHubContentTypesGetResponse: GetCompatibleHubContentTypesGetResponse | undefined = {} as GetCompatibleHubContentTypesGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getCompatibleHubContentTypesGetResponse) - writer.writeCollectionOfObjectValues("value", getCompatibleHubContentTypesGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getCompatibleHubContentTypesGetResponse.value, serializeContentType); } // tslint:enable // eslint-enable diff --git a/src/drives/item/list/contentTypes/item/copyToDefaultContentLocation/copyToDefaultContentLocationPostRequestBody.ts b/src/drives/item/list/contentTypes/item/copyToDefaultContentLocation/copyToDefaultContentLocationPostRequestBody.ts index c2839abeefe..b17b8defd86 100644 --- a/src/drives/item/list/contentTypes/item/copyToDefaultContentLocation/copyToDefaultContentLocationPostRequestBody.ts +++ b/src/drives/item/list/contentTypes/item/copyToDefaultContentLocation/copyToDefaultContentLocationPostRequestBody.ts @@ -30,7 +30,7 @@ export function deserializeIntoCopyToDefaultContentLocationPostRequestBody(copyT } export function serializeCopyToDefaultContentLocationPostRequestBody(writer: SerializationWriter, copyToDefaultContentLocationPostRequestBody: CopyToDefaultContentLocationPostRequestBody | undefined = {} as CopyToDefaultContentLocationPostRequestBody) : void { writer.writeStringValue("destinationFileName", copyToDefaultContentLocationPostRequestBody.destinationFileName); - writer.writeObjectValue("sourceFile", copyToDefaultContentLocationPostRequestBody.sourceFile, ); + writer.writeObjectValue("sourceFile", copyToDefaultContentLocationPostRequestBody.sourceFile, serializeItemReference); writer.writeAdditionalData(copyToDefaultContentLocationPostRequestBody.additionalData); } // tslint:enable diff --git a/src/drives/item/list/items/item/getActivitiesByInterval/getActivitiesByIntervalGetResponse.ts b/src/drives/item/list/items/item/getActivitiesByInterval/getActivitiesByIntervalGetResponse.ts index 879090df3fd..73f748a6494 100644 --- a/src/drives/item/list/items/item/getActivitiesByInterval/getActivitiesByIntervalGetResponse.ts +++ b/src/drives/item/list/items/item/getActivitiesByInterval/getActivitiesByIntervalGetResponse.ts @@ -23,7 +23,7 @@ export interface GetActivitiesByIntervalGetResponse extends BaseCollectionPagina } export function serializeGetActivitiesByIntervalGetResponse(writer: SerializationWriter, getActivitiesByIntervalGetResponse: GetActivitiesByIntervalGetResponse | undefined = {} as GetActivitiesByIntervalGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getActivitiesByIntervalGetResponse) - writer.writeCollectionOfObjectValues("value", getActivitiesByIntervalGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getActivitiesByIntervalGetResponse.value, serializeItemActivityStat); } // tslint:enable // eslint-enable diff --git a/src/drives/item/list/items/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.ts b/src/drives/item/list/items/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.ts index 0ed1c0d1f70..ebacfccad45 100644 --- a/src/drives/item/list/items/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.ts +++ b/src/drives/item/list/items/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.ts @@ -23,7 +23,7 @@ export interface GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInte } export function serializeGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse(writer: SerializationWriter, getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse: GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse | undefined = {} as GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse) - writer.writeCollectionOfObjectValues("value", getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.value, serializeItemActivityStat); } // tslint:enable // eslint-enable diff --git a/src/drives/item/recent/recentGetResponse.ts b/src/drives/item/recent/recentGetResponse.ts index 77d6cbd557d..8f05f249f3e 100644 --- a/src/drives/item/recent/recentGetResponse.ts +++ b/src/drives/item/recent/recentGetResponse.ts @@ -23,7 +23,7 @@ export interface RecentGetResponse extends BaseCollectionPaginationCountResponse } export function serializeRecentGetResponse(writer: SerializationWriter, recentGetResponse: RecentGetResponse | undefined = {} as RecentGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, recentGetResponse) - writer.writeCollectionOfObjectValues("value", recentGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", recentGetResponse.value, serializeDriveItem); } // tslint:enable // eslint-enable diff --git a/src/drives/item/searchWithQ/searchWithQGetResponse.ts b/src/drives/item/searchWithQ/searchWithQGetResponse.ts index e123a628033..2b488b5caf9 100644 --- a/src/drives/item/searchWithQ/searchWithQGetResponse.ts +++ b/src/drives/item/searchWithQ/searchWithQGetResponse.ts @@ -23,7 +23,7 @@ export interface SearchWithQGetResponse extends BaseCollectionPaginationCountRes } export function serializeSearchWithQGetResponse(writer: SerializationWriter, searchWithQGetResponse: SearchWithQGetResponse | undefined = {} as SearchWithQGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, searchWithQGetResponse) - writer.writeCollectionOfObjectValues("value", searchWithQGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", searchWithQGetResponse.value, serializeDriveItem); } // tslint:enable // eslint-enable diff --git a/src/drives/item/sharedWithMe/sharedWithMeGetResponse.ts b/src/drives/item/sharedWithMe/sharedWithMeGetResponse.ts index 719b0e8ac82..9ceb00b8f64 100644 --- a/src/drives/item/sharedWithMe/sharedWithMeGetResponse.ts +++ b/src/drives/item/sharedWithMe/sharedWithMeGetResponse.ts @@ -17,7 +17,7 @@ export function deserializeIntoSharedWithMeGetResponse(sharedWithMeGetResponse: } export function serializeSharedWithMeGetResponse(writer: SerializationWriter, sharedWithMeGetResponse: SharedWithMeGetResponse | undefined = {} as SharedWithMeGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, sharedWithMeGetResponse) - writer.writeCollectionOfObjectValues("value", sharedWithMeGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", sharedWithMeGetResponse.value, serializeDriveItem); } export interface SharedWithMeGetResponse extends BaseCollectionPaginationCountResponse, Parsable { /** diff --git a/src/education/classes/delta/deltaGetResponse.ts b/src/education/classes/delta/deltaGetResponse.ts index f128a07d4fd..4523912fc81 100644 --- a/src/education/classes/delta/deltaGetResponse.ts +++ b/src/education/classes/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEducationClass); } // tslint:enable // eslint-enable diff --git a/src/education/classes/item/assignmentCategories/delta/deltaGetResponse.ts b/src/education/classes/item/assignmentCategories/delta/deltaGetResponse.ts index 16536d129f3..54be6346b4b 100644 --- a/src/education/classes/item/assignmentCategories/delta/deltaGetResponse.ts +++ b/src/education/classes/item/assignmentCategories/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEducationCategory); } // tslint:enable // eslint-enable diff --git a/src/education/classes/item/assignments/delta/deltaGetResponse.ts b/src/education/classes/item/assignments/delta/deltaGetResponse.ts index 27b3d09153e..7288c024614 100644 --- a/src/education/classes/item/assignments/delta/deltaGetResponse.ts +++ b/src/education/classes/item/assignments/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEducationAssignment); } // tslint:enable // eslint-enable diff --git a/src/education/classes/item/assignments/item/categories/delta/deltaGetResponse.ts b/src/education/classes/item/assignments/item/categories/delta/deltaGetResponse.ts index bb1e4ce173d..7f09a66565f 100644 --- a/src/education/classes/item/assignments/item/categories/delta/deltaGetResponse.ts +++ b/src/education/classes/item/assignments/item/categories/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEducationCategory); } // tslint:enable // eslint-enable diff --git a/src/education/me/assignments/delta/deltaGetResponse.ts b/src/education/me/assignments/delta/deltaGetResponse.ts index 8c71591339b..44473b4d339 100644 --- a/src/education/me/assignments/delta/deltaGetResponse.ts +++ b/src/education/me/assignments/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEducationAssignment); } // tslint:enable // eslint-enable diff --git a/src/education/me/assignments/item/categories/delta/deltaGetResponse.ts b/src/education/me/assignments/item/categories/delta/deltaGetResponse.ts index 97091f13fd8..0d3b79a5394 100644 --- a/src/education/me/assignments/item/categories/delta/deltaGetResponse.ts +++ b/src/education/me/assignments/item/categories/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEducationCategory); } // tslint:enable // eslint-enable diff --git a/src/education/schools/delta/deltaGetResponse.ts b/src/education/schools/delta/deltaGetResponse.ts index 62ddd4b46bc..cfde94e5347 100644 --- a/src/education/schools/delta/deltaGetResponse.ts +++ b/src/education/schools/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEducationSchool); } // tslint:enable // eslint-enable diff --git a/src/education/users/delta/deltaGetResponse.ts b/src/education/users/delta/deltaGetResponse.ts index c9c5e6a01d0..31f8d9d0c88 100644 --- a/src/education/users/delta/deltaGetResponse.ts +++ b/src/education/users/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEducationUser); } // tslint:enable // eslint-enable diff --git a/src/education/users/item/assignments/delta/deltaGetResponse.ts b/src/education/users/item/assignments/delta/deltaGetResponse.ts index 27b3d09153e..7288c024614 100644 --- a/src/education/users/item/assignments/delta/deltaGetResponse.ts +++ b/src/education/users/item/assignments/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEducationAssignment); } // tslint:enable // eslint-enable diff --git a/src/education/users/item/assignments/item/categories/delta/deltaGetResponse.ts b/src/education/users/item/assignments/item/categories/delta/deltaGetResponse.ts index bb1e4ce173d..7f09a66565f 100644 --- a/src/education/users/item/assignments/item/categories/delta/deltaGetResponse.ts +++ b/src/education/users/item/assignments/item/categories/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEducationCategory); } // tslint:enable // eslint-enable diff --git a/src/external/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/addActivitiesPostRequestBody.ts b/src/external/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/addActivitiesPostRequestBody.ts index 479586d9863..7439ac68bf2 100644 --- a/src/external/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/addActivitiesPostRequestBody.ts +++ b/src/external/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/addActivitiesPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAddActivitiesPostRequestBody(addActivitiesPostReq } } export function serializeAddActivitiesPostRequestBody(writer: SerializationWriter, addActivitiesPostRequestBody: AddActivitiesPostRequestBody | undefined = {} as AddActivitiesPostRequestBody) : void { - writer.writeCollectionOfObjectValues("activities", addActivitiesPostRequestBody.activities, ); + writer.writeCollectionOfObjectValues("activities", addActivitiesPostRequestBody.activities, serializeExternalActivity); writer.writeAdditionalData(addActivitiesPostRequestBody.additionalData); } // tslint:enable diff --git a/src/external/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/addActivitiesPostResponse.ts b/src/external/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/addActivitiesPostResponse.ts index ee839bbfe9b..9669b3e0a4b 100644 --- a/src/external/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/addActivitiesPostResponse.ts +++ b/src/external/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/addActivitiesPostResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAddActivitiesPostResponse(addActivitiesPostRespon } export function serializeAddActivitiesPostResponse(writer: SerializationWriter, addActivitiesPostResponse: AddActivitiesPostResponse | undefined = {} as AddActivitiesPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, addActivitiesPostResponse) - writer.writeCollectionOfObjectValues("value", addActivitiesPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", addActivitiesPostResponse.value, serializeExternalActivityResult); } // tslint:enable // eslint-enable diff --git a/src/groupSettingTemplates/delta/deltaGetResponse.ts b/src/groupSettingTemplates/delta/deltaGetResponse.ts index ec86fa67901..499ce8a37ad 100644 --- a/src/groupSettingTemplates/delta/deltaGetResponse.ts +++ b/src/groupSettingTemplates/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeDirectoryObject); } // tslint:enable // eslint-enable diff --git a/src/groupSettingTemplates/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts b/src/groupSettingTemplates/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts index 22ee56f61fb..60953e2ee7f 100644 --- a/src/groupSettingTemplates/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts +++ b/src/groupSettingTemplates/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts @@ -23,7 +23,7 @@ export interface GetAvailableExtensionPropertiesPostResponse extends BaseCollect } export function serializeGetAvailableExtensionPropertiesPostResponse(writer: SerializationWriter, getAvailableExtensionPropertiesPostResponse: GetAvailableExtensionPropertiesPostResponse | undefined = {} as GetAvailableExtensionPropertiesPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getAvailableExtensionPropertiesPostResponse) - writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, serializeExtensionProperty); } // tslint:enable // eslint-enable diff --git a/src/groupSettingTemplates/getByIds/getByIdsPostResponse.ts b/src/groupSettingTemplates/getByIds/getByIdsPostResponse.ts index 2a3501e0206..c61951ae370 100644 --- a/src/groupSettingTemplates/getByIds/getByIdsPostResponse.ts +++ b/src/groupSettingTemplates/getByIds/getByIdsPostResponse.ts @@ -23,7 +23,7 @@ export interface GetByIdsPostResponse extends BaseCollectionPaginationCountRespo } export function serializeGetByIdsPostResponse(writer: SerializationWriter, getByIdsPostResponse: GetByIdsPostResponse | undefined = {} as GetByIdsPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getByIdsPostResponse) - writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, serializeDirectoryObject); } // tslint:enable // eslint-enable diff --git a/src/groups/delta/deltaGetResponse.ts b/src/groups/delta/deltaGetResponse.ts index dedfad47285..59cf4219820 100644 --- a/src/groups/delta/deltaGetResponse.ts +++ b/src/groups/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeGroup); } // tslint:enable // eslint-enable diff --git a/src/groups/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts b/src/groups/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts index 22ee56f61fb..60953e2ee7f 100644 --- a/src/groups/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts +++ b/src/groups/getAvailableExtensionProperties/getAvailableExtensionPropertiesPostResponse.ts @@ -23,7 +23,7 @@ export interface GetAvailableExtensionPropertiesPostResponse extends BaseCollect } export function serializeGetAvailableExtensionPropertiesPostResponse(writer: SerializationWriter, getAvailableExtensionPropertiesPostResponse: GetAvailableExtensionPropertiesPostResponse | undefined = {} as GetAvailableExtensionPropertiesPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getAvailableExtensionPropertiesPostResponse) - writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, serializeExtensionProperty); } // tslint:enable // eslint-enable diff --git a/src/groups/getByIds/getByIdsPostResponse.ts b/src/groups/getByIds/getByIdsPostResponse.ts index 2a3501e0206..c61951ae370 100644 --- a/src/groups/getByIds/getByIdsPostResponse.ts +++ b/src/groups/getByIds/getByIdsPostResponse.ts @@ -23,7 +23,7 @@ export interface GetByIdsPostResponse extends BaseCollectionPaginationCountRespo } export function serializeGetByIdsPostResponse(writer: SerializationWriter, getByIdsPostResponse: GetByIdsPostResponse | undefined = {} as GetByIdsPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getByIdsPostResponse) - writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, serializeDirectoryObject); } // tslint:enable // eslint-enable diff --git a/src/groups/item/assignLicense/assignLicensePostRequestBody.ts b/src/groups/item/assignLicense/assignLicensePostRequestBody.ts index 0ad23509d56..96de3ec53df 100644 --- a/src/groups/item/assignLicense/assignLicensePostRequestBody.ts +++ b/src/groups/item/assignLicense/assignLicensePostRequestBody.ts @@ -30,7 +30,7 @@ export function deserializeIntoAssignLicensePostRequestBody(assignLicensePostReq } } export function serializeAssignLicensePostRequestBody(writer: SerializationWriter, assignLicensePostRequestBody: AssignLicensePostRequestBody | undefined = {} as AssignLicensePostRequestBody) : void { - writer.writeCollectionOfObjectValues("addLicenses", assignLicensePostRequestBody.addLicenses, ); + writer.writeCollectionOfObjectValues("addLicenses", assignLicensePostRequestBody.addLicenses, serializeAssignedLicense); writer.writeCollectionOfPrimitiveValues("removeLicenses", assignLicensePostRequestBody.removeLicenses); writer.writeAdditionalData(assignLicensePostRequestBody.additionalData); } diff --git a/src/groups/item/calendar/calendarView/delta/deltaGetResponse.ts b/src/groups/item/calendar/calendarView/delta/deltaGetResponse.ts index 47bbc317f99..c9a93c3f3cb 100644 --- a/src/groups/item/calendar/calendarView/delta/deltaGetResponse.ts +++ b/src/groups/item/calendar/calendarView/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/groups/item/calendar/calendarView/item/attachments/attachmentsRequestBuilder.ts b/src/groups/item/calendar/calendarView/item/attachments/attachmentsRequestBuilder.ts index ec82379bf2b..b2788bf2433 100644 --- a/src/groups/item/calendar/calendarView/item/attachments/attachmentsRequestBuilder.ts +++ b/src/groups/item/calendar/calendarView/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -152,7 +152,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/groups/item/calendar/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/groups/item/calendar/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 03bda6fd973..c62a27a840c 100644 --- a/src/groups/item/calendar/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/groups/item/calendar/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/calendar/calendarView/item/decline/declinePostRequestBody.ts b/src/groups/item/calendar/calendarView/item/decline/declinePostRequestBody.ts index 0ce0fb56f9c..b1854529907 100644 --- a/src/groups/item/calendar/calendarView/item/decline/declinePostRequestBody.ts +++ b/src/groups/item/calendar/calendarView/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/groups/item/calendar/calendarView/item/forward/forwardPostRequestBody.ts b/src/groups/item/calendar/calendarView/item/forward/forwardPostRequestBody.ts index d98d46c3a79..c67b323605d 100644 --- a/src/groups/item/calendar/calendarView/item/forward/forwardPostRequestBody.ts +++ b/src/groups/item/calendar/calendarView/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/calendar/calendarView/item/instances/delta/deltaGetResponse.ts b/src/groups/item/calendar/calendarView/item/instances/delta/deltaGetResponse.ts index 8be0cb7a0de..c6f53629281 100644 --- a/src/groups/item/calendar/calendarView/item/instances/delta/deltaGetResponse.ts +++ b/src/groups/item/calendar/calendarView/item/instances/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/groups/item/calendar/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts b/src/groups/item/calendar/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts index e4fd90c6b2e..8fe001279ff 100644 --- a/src/groups/item/calendar/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts +++ b/src/groups/item/calendar/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -152,7 +152,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/groups/item/calendar/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/groups/item/calendar/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 3931586d212..699cced79e3 100644 --- a/src/groups/item/calendar/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/groups/item/calendar/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/calendar/calendarView/item/instances/item/decline/declinePostRequestBody.ts b/src/groups/item/calendar/calendarView/item/instances/item/decline/declinePostRequestBody.ts index 55f9797c3e4..865b6a39dc4 100644 --- a/src/groups/item/calendar/calendarView/item/instances/item/decline/declinePostRequestBody.ts +++ b/src/groups/item/calendar/calendarView/item/instances/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/groups/item/calendar/calendarView/item/instances/item/forward/forwardPostRequestBody.ts b/src/groups/item/calendar/calendarView/item/instances/item/forward/forwardPostRequestBody.ts index 216c306313f..37dde22b05f 100644 --- a/src/groups/item/calendar/calendarView/item/instances/item/forward/forwardPostRequestBody.ts +++ b/src/groups/item/calendar/calendarView/item/instances/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/calendar/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/groups/item/calendar/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts index 33d0c842ceb..5be0402ddf1 100644 --- a/src/groups/item/calendar/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/groups/item/calendar/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/groups/item/calendar/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/groups/item/calendar/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index c3e36e31455..d981a443d27 100644 --- a/src/groups/item/calendar/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/groups/item/calendar/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/groups/item/calendar/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/groups/item/calendar/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts index 5eaf238f56c..c4489633e4f 100644 --- a/src/groups/item/calendar/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/groups/item/calendar/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/groups/item/calendar/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/groups/item/calendar/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index c735add43a5..520fb7e1db2 100644 --- a/src/groups/item/calendar/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/groups/item/calendar/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/groups/item/calendar/events/delta/deltaGetResponse.ts b/src/groups/item/calendar/events/delta/deltaGetResponse.ts index 47bbc317f99..c9a93c3f3cb 100644 --- a/src/groups/item/calendar/events/delta/deltaGetResponse.ts +++ b/src/groups/item/calendar/events/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/groups/item/calendar/events/item/attachments/attachmentsRequestBuilder.ts b/src/groups/item/calendar/events/item/attachments/attachmentsRequestBuilder.ts index 1b6b613be55..6b1b4480f6d 100644 --- a/src/groups/item/calendar/events/item/attachments/attachmentsRequestBuilder.ts +++ b/src/groups/item/calendar/events/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -152,7 +152,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/groups/item/calendar/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/groups/item/calendar/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 03bda6fd973..c62a27a840c 100644 --- a/src/groups/item/calendar/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/groups/item/calendar/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/calendar/events/item/decline/declinePostRequestBody.ts b/src/groups/item/calendar/events/item/decline/declinePostRequestBody.ts index 0ce0fb56f9c..b1854529907 100644 --- a/src/groups/item/calendar/events/item/decline/declinePostRequestBody.ts +++ b/src/groups/item/calendar/events/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/groups/item/calendar/events/item/forward/forwardPostRequestBody.ts b/src/groups/item/calendar/events/item/forward/forwardPostRequestBody.ts index d98d46c3a79..c67b323605d 100644 --- a/src/groups/item/calendar/events/item/forward/forwardPostRequestBody.ts +++ b/src/groups/item/calendar/events/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/calendar/events/item/instances/delta/deltaGetResponse.ts b/src/groups/item/calendar/events/item/instances/delta/deltaGetResponse.ts index 8be0cb7a0de..c6f53629281 100644 --- a/src/groups/item/calendar/events/item/instances/delta/deltaGetResponse.ts +++ b/src/groups/item/calendar/events/item/instances/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/groups/item/calendar/events/item/instances/item/attachments/attachmentsRequestBuilder.ts b/src/groups/item/calendar/events/item/instances/item/attachments/attachmentsRequestBuilder.ts index dd8c05a6405..47e4c7c15e7 100644 --- a/src/groups/item/calendar/events/item/instances/item/attachments/attachmentsRequestBuilder.ts +++ b/src/groups/item/calendar/events/item/instances/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -152,7 +152,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/groups/item/calendar/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/groups/item/calendar/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 3931586d212..699cced79e3 100644 --- a/src/groups/item/calendar/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/groups/item/calendar/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/calendar/events/item/instances/item/decline/declinePostRequestBody.ts b/src/groups/item/calendar/events/item/instances/item/decline/declinePostRequestBody.ts index 55f9797c3e4..865b6a39dc4 100644 --- a/src/groups/item/calendar/events/item/instances/item/decline/declinePostRequestBody.ts +++ b/src/groups/item/calendar/events/item/instances/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/groups/item/calendar/events/item/instances/item/forward/forwardPostRequestBody.ts b/src/groups/item/calendar/events/item/instances/item/forward/forwardPostRequestBody.ts index 216c306313f..37dde22b05f 100644 --- a/src/groups/item/calendar/events/item/instances/item/forward/forwardPostRequestBody.ts +++ b/src/groups/item/calendar/events/item/instances/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/calendar/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/groups/item/calendar/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts index 33d0c842ceb..5be0402ddf1 100644 --- a/src/groups/item/calendar/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/groups/item/calendar/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/groups/item/calendar/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/groups/item/calendar/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index c3e36e31455..d981a443d27 100644 --- a/src/groups/item/calendar/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/groups/item/calendar/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/groups/item/calendar/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/groups/item/calendar/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts index 5eaf238f56c..c4489633e4f 100644 --- a/src/groups/item/calendar/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/groups/item/calendar/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/groups/item/calendar/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/groups/item/calendar/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index c735add43a5..520fb7e1db2 100644 --- a/src/groups/item/calendar/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/groups/item/calendar/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/groups/item/calendar/getSchedule/getSchedulePostRequestBody.ts b/src/groups/item/calendar/getSchedule/getSchedulePostRequestBody.ts index 56ea4737b86..816e5e88ce4 100644 --- a/src/groups/item/calendar/getSchedule/getSchedulePostRequestBody.ts +++ b/src/groups/item/calendar/getSchedule/getSchedulePostRequestBody.ts @@ -40,9 +40,9 @@ export interface GetSchedulePostRequestBody extends AdditionalDataHolder, Parsab } export function serializeGetSchedulePostRequestBody(writer: SerializationWriter, getSchedulePostRequestBody: GetSchedulePostRequestBody | undefined = {} as GetSchedulePostRequestBody) : void { writer.writeNumberValue("AvailabilityViewInterval", getSchedulePostRequestBody.availabilityViewInterval); - writer.writeObjectValue("EndTime", getSchedulePostRequestBody.endTime, ); + writer.writeObjectValue("EndTime", getSchedulePostRequestBody.endTime, serializeDateTimeTimeZone); writer.writeCollectionOfPrimitiveValues("Schedules", getSchedulePostRequestBody.schedules); - writer.writeObjectValue("StartTime", getSchedulePostRequestBody.startTime, ); + writer.writeObjectValue("StartTime", getSchedulePostRequestBody.startTime, serializeDateTimeTimeZone); writer.writeAdditionalData(getSchedulePostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/calendar/getSchedule/getSchedulePostResponse.ts b/src/groups/item/calendar/getSchedule/getSchedulePostResponse.ts index 74d770330c4..805879805a0 100644 --- a/src/groups/item/calendar/getSchedule/getSchedulePostResponse.ts +++ b/src/groups/item/calendar/getSchedule/getSchedulePostResponse.ts @@ -23,7 +23,7 @@ export interface GetSchedulePostResponse extends BaseCollectionPaginationCountRe } export function serializeGetSchedulePostResponse(writer: SerializationWriter, getSchedulePostResponse: GetSchedulePostResponse | undefined = {} as GetSchedulePostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getSchedulePostResponse) - writer.writeCollectionOfObjectValues("value", getSchedulePostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getSchedulePostResponse.value, serializeScheduleInformation); } // tslint:enable // eslint-enable diff --git a/src/groups/item/calendarView/delta/deltaGetResponse.ts b/src/groups/item/calendarView/delta/deltaGetResponse.ts index 8cee84a293b..6acc58c8bea 100644 --- a/src/groups/item/calendarView/delta/deltaGetResponse.ts +++ b/src/groups/item/calendarView/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/groups/item/calendarView/item/attachments/attachmentsRequestBuilder.ts b/src/groups/item/calendarView/item/attachments/attachmentsRequestBuilder.ts index f1ed1fd1f9f..bb85b3b93de 100644 --- a/src/groups/item/calendarView/item/attachments/attachmentsRequestBuilder.ts +++ b/src/groups/item/calendarView/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -152,7 +152,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/groups/item/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/groups/item/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index a37d20db8b5..f9c42acb3f5 100644 --- a/src/groups/item/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/groups/item/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/calendarView/item/decline/declinePostRequestBody.ts b/src/groups/item/calendarView/item/decline/declinePostRequestBody.ts index 8b3cd6a1720..d78c25b7b9d 100644 --- a/src/groups/item/calendarView/item/decline/declinePostRequestBody.ts +++ b/src/groups/item/calendarView/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/groups/item/calendarView/item/forward/forwardPostRequestBody.ts b/src/groups/item/calendarView/item/forward/forwardPostRequestBody.ts index 67470e5a870..5b7e40ebb5d 100644 --- a/src/groups/item/calendarView/item/forward/forwardPostRequestBody.ts +++ b/src/groups/item/calendarView/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/calendarView/item/instances/delta/deltaGetResponse.ts b/src/groups/item/calendarView/item/instances/delta/deltaGetResponse.ts index 635f262e8b6..af8be464f99 100644 --- a/src/groups/item/calendarView/item/instances/delta/deltaGetResponse.ts +++ b/src/groups/item/calendarView/item/instances/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/groups/item/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts b/src/groups/item/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts index 5cc19d64bcd..d8d026c5f3c 100644 --- a/src/groups/item/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts +++ b/src/groups/item/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -152,7 +152,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/groups/item/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/groups/item/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 06ae4d93d2b..a832c0c5be9 100644 --- a/src/groups/item/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/groups/item/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/calendarView/item/instances/item/decline/declinePostRequestBody.ts b/src/groups/item/calendarView/item/instances/item/decline/declinePostRequestBody.ts index ec45cf1117f..5c02e0cb78e 100644 --- a/src/groups/item/calendarView/item/instances/item/decline/declinePostRequestBody.ts +++ b/src/groups/item/calendarView/item/instances/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/groups/item/calendarView/item/instances/item/forward/forwardPostRequestBody.ts b/src/groups/item/calendarView/item/instances/item/forward/forwardPostRequestBody.ts index 94b2f19784d..1fd7eb4c631 100644 --- a/src/groups/item/calendarView/item/instances/item/forward/forwardPostRequestBody.ts +++ b/src/groups/item/calendarView/item/instances/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/groups/item/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts index d387c8cb82a..6865d46dc63 100644 --- a/src/groups/item/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/groups/item/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/groups/item/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/groups/item/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index bf23c7d25b5..35fd7b70f77 100644 --- a/src/groups/item/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/groups/item/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/groups/item/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/groups/item/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts index e32b3ce89a5..4ee934df0da 100644 --- a/src/groups/item/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/groups/item/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/groups/item/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/groups/item/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index 562bd613343..141293c36bf 100644 --- a/src/groups/item/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/groups/item/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/groups/item/checkGrantedPermissionsForApp/checkGrantedPermissionsForAppPostResponse.ts b/src/groups/item/checkGrantedPermissionsForApp/checkGrantedPermissionsForAppPostResponse.ts index ea851cfd4aa..46ca2e127f2 100644 --- a/src/groups/item/checkGrantedPermissionsForApp/checkGrantedPermissionsForAppPostResponse.ts +++ b/src/groups/item/checkGrantedPermissionsForApp/checkGrantedPermissionsForAppPostResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoCheckGrantedPermissionsForAppPostResponse(checkGr } export function serializeCheckGrantedPermissionsForAppPostResponse(writer: SerializationWriter, checkGrantedPermissionsForAppPostResponse: CheckGrantedPermissionsForAppPostResponse | undefined = {} as CheckGrantedPermissionsForAppPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, checkGrantedPermissionsForAppPostResponse) - writer.writeCollectionOfObjectValues("value", checkGrantedPermissionsForAppPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", checkGrantedPermissionsForAppPostResponse.value, serializeResourceSpecificPermissionGrant); } // tslint:enable // eslint-enable diff --git a/src/groups/item/conversations/conversationsRequestBuilder.ts b/src/groups/item/conversations/conversationsRequestBuilder.ts index edb75fce48f..0d7f488b66e 100644 --- a/src/groups/item/conversations/conversationsRequestBuilder.ts +++ b/src/groups/item/conversations/conversationsRequestBuilder.ts @@ -110,11 +110,11 @@ export class ConversationsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createConversationCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + * Use reply thread or reply post to further post to that conversation. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Conversation - * @see {@link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/group-post-conversations?view=graph-rest-1.0|Find more info here} */ public post(body: Conversation, requestConfiguration?: ConversationsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -145,7 +145,7 @@ export class ConversationsRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + * Use reply thread or reply post to further post to that conversation. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/groups/item/conversations/item/conversationItemRequestBuilder.ts b/src/groups/item/conversations/item/conversationItemRequestBuilder.ts index bbd0b653a73..2ea9e3abc0b 100644 --- a/src/groups/item/conversations/item/conversationItemRequestBuilder.ts +++ b/src/groups/item/conversations/item/conversationItemRequestBuilder.ts @@ -57,9 +57,9 @@ export class ConversationItemRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}{?%24select}"); }; /** - * This API is available in the following national cloud deployments. + * Delete conversation. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/group-delete-conversation?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/conversation-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: ConversationItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -72,10 +72,10 @@ export class ConversationItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Retrieve the properties and relationships of conversation object. This API is available in the following national cloud deployments. + * This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Conversation - * @see {@link https://learn.microsoft.com/graph/api/conversation-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/group-get-conversation?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: ConversationItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -88,7 +88,7 @@ export class ConversationItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createConversationFromDiscriminatorValue, errorMapping); }; /** - * This API is available in the following national cloud deployments. + * Delete conversation. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -105,7 +105,7 @@ export class ConversationItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Retrieve the properties and relationships of conversation object. This API is available in the following national cloud deployments. + * This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/groups/item/conversations/item/threads/item/posts/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/groups/item/conversations/item/threads/item/posts/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 598743e2c27..9257b6602ee 100644 --- a/src/groups/item/conversations/item/threads/item/posts/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/groups/item/conversations/item/threads/item/posts/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/conversations/item/threads/item/posts/item/forward/forwardPostRequestBody.ts b/src/groups/item/conversations/item/threads/item/posts/item/forward/forwardPostRequestBody.ts index 1040545cf9a..2876b9f2774 100644 --- a/src/groups/item/conversations/item/threads/item/posts/item/forward/forwardPostRequestBody.ts +++ b/src/groups/item/conversations/item/threads/item/posts/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index d11191b031c..2ab77fe3a0b 100644 --- a/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/forward/forwardPostRequestBody.ts b/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/forward/forwardPostRequestBody.ts index 4ddb9869c59..3a184fe91e9 100644 --- a/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/forward/forwardPostRequestBody.ts +++ b/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/reply/replyPostRequestBody.ts b/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/reply/replyPostRequestBody.ts index 1161e33c5fb..469a875c9ed 100644 --- a/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/reply/replyPostRequestBody.ts +++ b/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/reply/replyPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ReplyPostRequestBody extends AdditionalDataHolder, Parsable { post?: Post; } export function serializeReplyPostRequestBody(writer: SerializationWriter, replyPostRequestBody: ReplyPostRequestBody | undefined = {} as ReplyPostRequestBody) : void { - writer.writeObjectValue("Post", replyPostRequestBody.post, ); + writer.writeObjectValue("Post", replyPostRequestBody.post, serializePost); writer.writeAdditionalData(replyPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/conversations/item/threads/item/posts/item/reply/replyPostRequestBody.ts b/src/groups/item/conversations/item/threads/item/posts/item/reply/replyPostRequestBody.ts index 87a1a0e9b29..366fb9296a6 100644 --- a/src/groups/item/conversations/item/threads/item/posts/item/reply/replyPostRequestBody.ts +++ b/src/groups/item/conversations/item/threads/item/posts/item/reply/replyPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ReplyPostRequestBody extends AdditionalDataHolder, Parsable { post?: Post; } export function serializeReplyPostRequestBody(writer: SerializationWriter, replyPostRequestBody: ReplyPostRequestBody | undefined = {} as ReplyPostRequestBody) : void { - writer.writeObjectValue("Post", replyPostRequestBody.post, ); + writer.writeObjectValue("Post", replyPostRequestBody.post, serializePost); writer.writeAdditionalData(replyPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/conversations/item/threads/item/reply/replyPostRequestBody.ts b/src/groups/item/conversations/item/threads/item/reply/replyPostRequestBody.ts index b57379e4c85..3a668df8372 100644 --- a/src/groups/item/conversations/item/threads/item/reply/replyPostRequestBody.ts +++ b/src/groups/item/conversations/item/threads/item/reply/replyPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ReplyPostRequestBody extends AdditionalDataHolder, Parsable { post?: Post; } export function serializeReplyPostRequestBody(writer: SerializationWriter, replyPostRequestBody: ReplyPostRequestBody | undefined = {} as ReplyPostRequestBody) : void { - writer.writeObjectValue("Post", replyPostRequestBody.post, ); + writer.writeObjectValue("Post", replyPostRequestBody.post, serializePost); writer.writeAdditionalData(replyPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/events/delta/deltaGetResponse.ts b/src/groups/item/events/delta/deltaGetResponse.ts index 8cee84a293b..6acc58c8bea 100644 --- a/src/groups/item/events/delta/deltaGetResponse.ts +++ b/src/groups/item/events/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/groups/item/events/item/attachments/attachmentsRequestBuilder.ts b/src/groups/item/events/item/attachments/attachmentsRequestBuilder.ts index c8f1a3b3bc7..25fa9d89d9c 100644 --- a/src/groups/item/events/item/attachments/attachmentsRequestBuilder.ts +++ b/src/groups/item/events/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -152,7 +152,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/groups/item/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/groups/item/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index a37d20db8b5..f9c42acb3f5 100644 --- a/src/groups/item/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/groups/item/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/events/item/decline/declinePostRequestBody.ts b/src/groups/item/events/item/decline/declinePostRequestBody.ts index 8b3cd6a1720..d78c25b7b9d 100644 --- a/src/groups/item/events/item/decline/declinePostRequestBody.ts +++ b/src/groups/item/events/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/groups/item/events/item/forward/forwardPostRequestBody.ts b/src/groups/item/events/item/forward/forwardPostRequestBody.ts index 67470e5a870..5b7e40ebb5d 100644 --- a/src/groups/item/events/item/forward/forwardPostRequestBody.ts +++ b/src/groups/item/events/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/events/item/instances/delta/deltaGetResponse.ts b/src/groups/item/events/item/instances/delta/deltaGetResponse.ts index 635f262e8b6..af8be464f99 100644 --- a/src/groups/item/events/item/instances/delta/deltaGetResponse.ts +++ b/src/groups/item/events/item/instances/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/groups/item/events/item/instances/item/attachments/attachmentsRequestBuilder.ts b/src/groups/item/events/item/instances/item/attachments/attachmentsRequestBuilder.ts index 6e99ecb3a15..c2a65cb5d2a 100644 --- a/src/groups/item/events/item/instances/item/attachments/attachmentsRequestBuilder.ts +++ b/src/groups/item/events/item/instances/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -152,7 +152,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/groups/item/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/groups/item/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 06ae4d93d2b..a832c0c5be9 100644 --- a/src/groups/item/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/groups/item/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/events/item/instances/item/decline/declinePostRequestBody.ts b/src/groups/item/events/item/instances/item/decline/declinePostRequestBody.ts index ec45cf1117f..5c02e0cb78e 100644 --- a/src/groups/item/events/item/instances/item/decline/declinePostRequestBody.ts +++ b/src/groups/item/events/item/instances/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/groups/item/events/item/instances/item/forward/forwardPostRequestBody.ts b/src/groups/item/events/item/instances/item/forward/forwardPostRequestBody.ts index 94b2f19784d..1fd7eb4c631 100644 --- a/src/groups/item/events/item/instances/item/forward/forwardPostRequestBody.ts +++ b/src/groups/item/events/item/instances/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/groups/item/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts index d387c8cb82a..6865d46dc63 100644 --- a/src/groups/item/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/groups/item/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/groups/item/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/groups/item/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index bf23c7d25b5..35fd7b70f77 100644 --- a/src/groups/item/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/groups/item/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/groups/item/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/groups/item/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts index e32b3ce89a5..4ee934df0da 100644 --- a/src/groups/item/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/groups/item/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/groups/item/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/groups/item/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index 562bd613343..141293c36bf 100644 --- a/src/groups/item/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/groups/item/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/groups/item/onenote/notebooks/getRecentNotebooksWithIncludePersonalNotebooks/getRecentNotebooksWithIncludePersonalNotebooksGetResponse.ts b/src/groups/item/onenote/notebooks/getRecentNotebooksWithIncludePersonalNotebooks/getRecentNotebooksWithIncludePersonalNotebooksGetResponse.ts index 35428c8deb3..9e139d24770 100644 --- a/src/groups/item/onenote/notebooks/getRecentNotebooksWithIncludePersonalNotebooks/getRecentNotebooksWithIncludePersonalNotebooksGetResponse.ts +++ b/src/groups/item/onenote/notebooks/getRecentNotebooksWithIncludePersonalNotebooks/getRecentNotebooksWithIncludePersonalNotebooksGetResponse.ts @@ -23,7 +23,7 @@ export interface GetRecentNotebooksWithIncludePersonalNotebooksGetResponse exten } export function serializeGetRecentNotebooksWithIncludePersonalNotebooksGetResponse(writer: SerializationWriter, getRecentNotebooksWithIncludePersonalNotebooksGetResponse: GetRecentNotebooksWithIncludePersonalNotebooksGetResponse | undefined = {} as GetRecentNotebooksWithIncludePersonalNotebooksGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getRecentNotebooksWithIncludePersonalNotebooksGetResponse) - writer.writeCollectionOfObjectValues("value", getRecentNotebooksWithIncludePersonalNotebooksGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getRecentNotebooksWithIncludePersonalNotebooksGetResponse.value, serializeRecentNotebook); } // tslint:enable // eslint-enable diff --git a/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts b/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts index 369b9197cc6..dd586b162a1 100644 --- a/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts +++ b/src/groups/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts @@ -24,7 +24,7 @@ export interface OnenotePatchContentPostRequestBody extends AdditionalDataHolder commands?: OnenotePatchContentCommand[]; } export function serializeOnenotePatchContentPostRequestBody(writer: SerializationWriter, onenotePatchContentPostRequestBody: OnenotePatchContentPostRequestBody | undefined = {} as OnenotePatchContentPostRequestBody) : void { - writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, ); + writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, serializeOnenotePatchContentCommand); writer.writeAdditionalData(onenotePatchContentPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/onenote/notebooks/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts b/src/groups/item/onenote/notebooks/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts index 7f43d519a45..880ee726f2b 100644 --- a/src/groups/item/onenote/notebooks/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts +++ b/src/groups/item/onenote/notebooks/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts @@ -24,7 +24,7 @@ export interface OnenotePatchContentPostRequestBody extends AdditionalDataHolder commands?: OnenotePatchContentCommand[]; } export function serializeOnenotePatchContentPostRequestBody(writer: SerializationWriter, onenotePatchContentPostRequestBody: OnenotePatchContentPostRequestBody | undefined = {} as OnenotePatchContentPostRequestBody) : void { - writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, ); + writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, serializeOnenotePatchContentCommand); writer.writeAdditionalData(onenotePatchContentPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/onenote/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts b/src/groups/item/onenote/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts index 92d55e0ca96..c24c48eedf2 100644 --- a/src/groups/item/onenote/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts +++ b/src/groups/item/onenote/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts @@ -24,7 +24,7 @@ export interface OnenotePatchContentPostRequestBody extends AdditionalDataHolder commands?: OnenotePatchContentCommand[]; } export function serializeOnenotePatchContentPostRequestBody(writer: SerializationWriter, onenotePatchContentPostRequestBody: OnenotePatchContentPostRequestBody | undefined = {} as OnenotePatchContentPostRequestBody) : void { - writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, ); + writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, serializeOnenotePatchContentCommand); writer.writeAdditionalData(onenotePatchContentPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/onenote/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts b/src/groups/item/onenote/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts index 7f43d519a45..880ee726f2b 100644 --- a/src/groups/item/onenote/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts +++ b/src/groups/item/onenote/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts @@ -24,7 +24,7 @@ export interface OnenotePatchContentPostRequestBody extends AdditionalDataHolder commands?: OnenotePatchContentCommand[]; } export function serializeOnenotePatchContentPostRequestBody(writer: SerializationWriter, onenotePatchContentPostRequestBody: OnenotePatchContentPostRequestBody | undefined = {} as OnenotePatchContentPostRequestBody) : void { - writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, ); + writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, serializeOnenotePatchContentCommand); writer.writeAdditionalData(onenotePatchContentPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/onenote/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts b/src/groups/item/onenote/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts index 8c5c615c9aa..88f8cace3bc 100644 --- a/src/groups/item/onenote/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts +++ b/src/groups/item/onenote/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts @@ -24,7 +24,7 @@ export interface OnenotePatchContentPostRequestBody extends AdditionalDataHolder commands?: OnenotePatchContentCommand[]; } export function serializeOnenotePatchContentPostRequestBody(writer: SerializationWriter, onenotePatchContentPostRequestBody: OnenotePatchContentPostRequestBody | undefined = {} as OnenotePatchContentPostRequestBody) : void { - writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, ); + writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, serializeOnenotePatchContentCommand); writer.writeAdditionalData(onenotePatchContentPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/photos/photosRequestBuilder.ts b/src/groups/item/photos/photosRequestBuilder.ts index e3ff7a0080f..d347268464c 100644 --- a/src/groups/item/photos/photosRequestBuilder.ts +++ b/src/groups/item/photos/photosRequestBuilder.ts @@ -5,15 +5,10 @@ import { type ProfilePhotoCollectionResponse } from '../../../models/'; import { type ODataError } from '../../../models/oDataErrors/'; import { createODataErrorFromDiscriminatorValue, deserializeIntoODataError, serializeODataError } from '../../../models/oDataErrors/oDataError'; import { createProfilePhotoCollectionResponseFromDiscriminatorValue } from '../../../models/profilePhotoCollectionResponse'; -import { CountRequestBuilder } from './count/countRequestBuilder'; import { ProfilePhotoItemRequestBuilder } from './item/profilePhotoItemRequestBuilder'; import { BaseRequestBuilder, getPathParameters, HttpMethod, RequestInformation, type Parsable, type ParsableFactory, type RequestAdapter, type RequestOption } from '@microsoft/kiota-abstractions'; export interface PhotosRequestBuilderGetQueryParameters { - /** - * Include count of items - */ - count?: boolean; /** * Filter items by property values */ @@ -53,12 +48,6 @@ export interface PhotosRequestBuilderGetRequestConfiguration { * Provides operations to manage the photos property of the microsoft.graph.group entity. */ export class PhotosRequestBuilder extends BaseRequestBuilder { - /** - * Provides operations to count the resources in the collection. - */ - public get count(): CountRequestBuilder { - return new CountRequestBuilder(this.pathParameters, this.requestAdapter); - } /** * Provides operations to manage the photos property of the microsoft.graph.group entity. * @param profilePhotoId The unique identifier of profilePhoto @@ -76,7 +65,7 @@ export class PhotosRequestBuilder extends BaseRequestBuilder { * @param requestAdapter The request adapter to use to execute the requests. */ public constructor(pathParameters: Record | string | undefined, requestAdapter: RequestAdapter) { - super(pathParameters, requestAdapter, "{+baseurl}/groups/{group%2Did}/photos{?%24top,%24skip,%24filter,%24count,%24orderby,%24select}"); + super(pathParameters, requestAdapter, "{+baseurl}/groups/{group%2Did}/photos{?%24top,%24skip,%24filter,%24orderby,%24select}"); }; /** * Retrieve a list of profilePhoto objects. This API is available in the following national cloud deployments. diff --git a/src/groups/item/sites/add/addPostRequestBody.ts b/src/groups/item/sites/add/addPostRequestBody.ts index 584fc71b54f..6451be44839 100644 --- a/src/groups/item/sites/add/addPostRequestBody.ts +++ b/src/groups/item/sites/add/addPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAddPostRequestBody(addPostRequestBody: AddPostReq } } export function serializeAddPostRequestBody(writer: SerializationWriter, addPostRequestBody: AddPostRequestBody | undefined = {} as AddPostRequestBody) : void { - writer.writeCollectionOfObjectValues("value", addPostRequestBody.value, ); + writer.writeCollectionOfObjectValues("value", addPostRequestBody.value, serializeSite); writer.writeAdditionalData(addPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/sites/add/addPostResponse.ts b/src/groups/item/sites/add/addPostResponse.ts index 87d920dd827..3cbf7020b1a 100644 --- a/src/groups/item/sites/add/addPostResponse.ts +++ b/src/groups/item/sites/add/addPostResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAddPostResponse(addPostResponse: AddPostResponse } export function serializeAddPostResponse(writer: SerializationWriter, addPostResponse: AddPostResponse | undefined = {} as AddPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, addPostResponse) - writer.writeCollectionOfObjectValues("value", addPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", addPostResponse.value, serializeSite); } // tslint:enable // eslint-enable diff --git a/src/groups/item/sites/delta/deltaGetResponse.ts b/src/groups/item/sites/delta/deltaGetResponse.ts index ed070d2532b..63a492d622e 100644 --- a/src/groups/item/sites/delta/deltaGetResponse.ts +++ b/src/groups/item/sites/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeSite); } // tslint:enable // eslint-enable diff --git a/src/groups/item/sites/getAllSites/getAllSitesGetResponse.ts b/src/groups/item/sites/getAllSites/getAllSitesGetResponse.ts index 573590de5d8..6b9118baf24 100644 --- a/src/groups/item/sites/getAllSites/getAllSitesGetResponse.ts +++ b/src/groups/item/sites/getAllSites/getAllSitesGetResponse.ts @@ -23,7 +23,7 @@ export interface GetAllSitesGetResponse extends BaseCollectionPaginationCountRes } export function serializeGetAllSitesGetResponse(writer: SerializationWriter, getAllSitesGetResponse: GetAllSitesGetResponse | undefined = {} as GetAllSitesGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getAllSitesGetResponse) - writer.writeCollectionOfObjectValues("value", getAllSitesGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getAllSitesGetResponse.value, serializeSite); } // tslint:enable // eslint-enable diff --git a/src/groups/item/sites/item/contentTypes/getCompatibleHubContentTypes/getCompatibleHubContentTypesGetResponse.ts b/src/groups/item/sites/item/contentTypes/getCompatibleHubContentTypes/getCompatibleHubContentTypesGetResponse.ts index cc1b9072314..3aab799089c 100644 --- a/src/groups/item/sites/item/contentTypes/getCompatibleHubContentTypes/getCompatibleHubContentTypesGetResponse.ts +++ b/src/groups/item/sites/item/contentTypes/getCompatibleHubContentTypes/getCompatibleHubContentTypesGetResponse.ts @@ -23,7 +23,7 @@ export interface GetCompatibleHubContentTypesGetResponse extends BaseCollectionP } export function serializeGetCompatibleHubContentTypesGetResponse(writer: SerializationWriter, getCompatibleHubContentTypesGetResponse: GetCompatibleHubContentTypesGetResponse | undefined = {} as GetCompatibleHubContentTypesGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getCompatibleHubContentTypesGetResponse) - writer.writeCollectionOfObjectValues("value", getCompatibleHubContentTypesGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getCompatibleHubContentTypesGetResponse.value, serializeContentType); } // tslint:enable // eslint-enable diff --git a/src/groups/item/sites/item/contentTypes/item/copyToDefaultContentLocation/copyToDefaultContentLocationPostRequestBody.ts b/src/groups/item/sites/item/contentTypes/item/copyToDefaultContentLocation/copyToDefaultContentLocationPostRequestBody.ts index 1927de2f776..f8841fd2804 100644 --- a/src/groups/item/sites/item/contentTypes/item/copyToDefaultContentLocation/copyToDefaultContentLocationPostRequestBody.ts +++ b/src/groups/item/sites/item/contentTypes/item/copyToDefaultContentLocation/copyToDefaultContentLocationPostRequestBody.ts @@ -30,7 +30,7 @@ export function deserializeIntoCopyToDefaultContentLocationPostRequestBody(copyT } export function serializeCopyToDefaultContentLocationPostRequestBody(writer: SerializationWriter, copyToDefaultContentLocationPostRequestBody: CopyToDefaultContentLocationPostRequestBody | undefined = {} as CopyToDefaultContentLocationPostRequestBody) : void { writer.writeStringValue("destinationFileName", copyToDefaultContentLocationPostRequestBody.destinationFileName); - writer.writeObjectValue("sourceFile", copyToDefaultContentLocationPostRequestBody.sourceFile, ); + writer.writeObjectValue("sourceFile", copyToDefaultContentLocationPostRequestBody.sourceFile, serializeItemReference); writer.writeAdditionalData(copyToDefaultContentLocationPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/sites/item/getActivitiesByInterval/getActivitiesByIntervalGetResponse.ts b/src/groups/item/sites/item/getActivitiesByInterval/getActivitiesByIntervalGetResponse.ts index ba0c7ad0b27..7d1a17014e2 100644 --- a/src/groups/item/sites/item/getActivitiesByInterval/getActivitiesByIntervalGetResponse.ts +++ b/src/groups/item/sites/item/getActivitiesByInterval/getActivitiesByIntervalGetResponse.ts @@ -23,7 +23,7 @@ export interface GetActivitiesByIntervalGetResponse extends BaseCollectionPagina } export function serializeGetActivitiesByIntervalGetResponse(writer: SerializationWriter, getActivitiesByIntervalGetResponse: GetActivitiesByIntervalGetResponse | undefined = {} as GetActivitiesByIntervalGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getActivitiesByIntervalGetResponse) - writer.writeCollectionOfObjectValues("value", getActivitiesByIntervalGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getActivitiesByIntervalGetResponse.value, serializeItemActivityStat); } // tslint:enable // eslint-enable diff --git a/src/groups/item/sites/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.ts b/src/groups/item/sites/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.ts index 01ba5b733d0..24bc7773f13 100644 --- a/src/groups/item/sites/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.ts +++ b/src/groups/item/sites/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.ts @@ -23,7 +23,7 @@ export interface GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInte } export function serializeGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse(writer: SerializationWriter, getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse: GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse | undefined = {} as GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse) - writer.writeCollectionOfObjectValues("value", getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.value, serializeItemActivityStat); } // tslint:enable // eslint-enable diff --git a/src/groups/item/sites/item/getApplicableContentTypesForListWithListId/getApplicableContentTypesForListWithListIdGetResponse.ts b/src/groups/item/sites/item/getApplicableContentTypesForListWithListId/getApplicableContentTypesForListWithListIdGetResponse.ts index 7bc3c881e5a..fdeced2cd6c 100644 --- a/src/groups/item/sites/item/getApplicableContentTypesForListWithListId/getApplicableContentTypesForListWithListIdGetResponse.ts +++ b/src/groups/item/sites/item/getApplicableContentTypesForListWithListId/getApplicableContentTypesForListWithListIdGetResponse.ts @@ -23,7 +23,7 @@ export interface GetApplicableContentTypesForListWithListIdGetResponse extends B } export function serializeGetApplicableContentTypesForListWithListIdGetResponse(writer: SerializationWriter, getApplicableContentTypesForListWithListIdGetResponse: GetApplicableContentTypesForListWithListIdGetResponse | undefined = {} as GetApplicableContentTypesForListWithListIdGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getApplicableContentTypesForListWithListIdGetResponse) - writer.writeCollectionOfObjectValues("value", getApplicableContentTypesForListWithListIdGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getApplicableContentTypesForListWithListIdGetResponse.value, serializeContentType); } // tslint:enable // eslint-enable diff --git a/src/groups/item/sites/item/lists/item/contentTypes/getCompatibleHubContentTypes/getCompatibleHubContentTypesGetResponse.ts b/src/groups/item/sites/item/lists/item/contentTypes/getCompatibleHubContentTypes/getCompatibleHubContentTypesGetResponse.ts index 7c0feb22373..f38a5d6dc78 100644 --- a/src/groups/item/sites/item/lists/item/contentTypes/getCompatibleHubContentTypes/getCompatibleHubContentTypesGetResponse.ts +++ b/src/groups/item/sites/item/lists/item/contentTypes/getCompatibleHubContentTypes/getCompatibleHubContentTypesGetResponse.ts @@ -23,7 +23,7 @@ export interface GetCompatibleHubContentTypesGetResponse extends BaseCollectionP } export function serializeGetCompatibleHubContentTypesGetResponse(writer: SerializationWriter, getCompatibleHubContentTypesGetResponse: GetCompatibleHubContentTypesGetResponse | undefined = {} as GetCompatibleHubContentTypesGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getCompatibleHubContentTypesGetResponse) - writer.writeCollectionOfObjectValues("value", getCompatibleHubContentTypesGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getCompatibleHubContentTypesGetResponse.value, serializeContentType); } // tslint:enable // eslint-enable diff --git a/src/groups/item/sites/item/lists/item/contentTypes/item/copyToDefaultContentLocation/copyToDefaultContentLocationPostRequestBody.ts b/src/groups/item/sites/item/lists/item/contentTypes/item/copyToDefaultContentLocation/copyToDefaultContentLocationPostRequestBody.ts index 0489aea288c..0d20dcc113a 100644 --- a/src/groups/item/sites/item/lists/item/contentTypes/item/copyToDefaultContentLocation/copyToDefaultContentLocationPostRequestBody.ts +++ b/src/groups/item/sites/item/lists/item/contentTypes/item/copyToDefaultContentLocation/copyToDefaultContentLocationPostRequestBody.ts @@ -30,7 +30,7 @@ export function deserializeIntoCopyToDefaultContentLocationPostRequestBody(copyT } export function serializeCopyToDefaultContentLocationPostRequestBody(writer: SerializationWriter, copyToDefaultContentLocationPostRequestBody: CopyToDefaultContentLocationPostRequestBody | undefined = {} as CopyToDefaultContentLocationPostRequestBody) : void { writer.writeStringValue("destinationFileName", copyToDefaultContentLocationPostRequestBody.destinationFileName); - writer.writeObjectValue("sourceFile", copyToDefaultContentLocationPostRequestBody.sourceFile, ); + writer.writeObjectValue("sourceFile", copyToDefaultContentLocationPostRequestBody.sourceFile, serializeItemReference); writer.writeAdditionalData(copyToDefaultContentLocationPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/sites/item/lists/item/items/item/getActivitiesByInterval/getActivitiesByIntervalGetResponse.ts b/src/groups/item/sites/item/lists/item/items/item/getActivitiesByInterval/getActivitiesByIntervalGetResponse.ts index a8fef024ea4..4a6de0be8b4 100644 --- a/src/groups/item/sites/item/lists/item/items/item/getActivitiesByInterval/getActivitiesByIntervalGetResponse.ts +++ b/src/groups/item/sites/item/lists/item/items/item/getActivitiesByInterval/getActivitiesByIntervalGetResponse.ts @@ -23,7 +23,7 @@ export interface GetActivitiesByIntervalGetResponse extends BaseCollectionPagina } export function serializeGetActivitiesByIntervalGetResponse(writer: SerializationWriter, getActivitiesByIntervalGetResponse: GetActivitiesByIntervalGetResponse | undefined = {} as GetActivitiesByIntervalGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getActivitiesByIntervalGetResponse) - writer.writeCollectionOfObjectValues("value", getActivitiesByIntervalGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getActivitiesByIntervalGetResponse.value, serializeItemActivityStat); } // tslint:enable // eslint-enable diff --git a/src/groups/item/sites/item/lists/item/items/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.ts b/src/groups/item/sites/item/lists/item/items/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.ts index f42d8ef1178..51b3260b427 100644 --- a/src/groups/item/sites/item/lists/item/items/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.ts +++ b/src/groups/item/sites/item/lists/item/items/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.ts @@ -23,7 +23,7 @@ export interface GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInte } export function serializeGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse(writer: SerializationWriter, getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse: GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse | undefined = {} as GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse) - writer.writeCollectionOfObjectValues("value", getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.value, serializeItemActivityStat); } // tslint:enable // eslint-enable diff --git a/src/groups/item/sites/item/onenote/notebooks/getRecentNotebooksWithIncludePersonalNotebooks/getRecentNotebooksWithIncludePersonalNotebooksGetResponse.ts b/src/groups/item/sites/item/onenote/notebooks/getRecentNotebooksWithIncludePersonalNotebooks/getRecentNotebooksWithIncludePersonalNotebooksGetResponse.ts index 261c209871a..f7da4c495c3 100644 --- a/src/groups/item/sites/item/onenote/notebooks/getRecentNotebooksWithIncludePersonalNotebooks/getRecentNotebooksWithIncludePersonalNotebooksGetResponse.ts +++ b/src/groups/item/sites/item/onenote/notebooks/getRecentNotebooksWithIncludePersonalNotebooks/getRecentNotebooksWithIncludePersonalNotebooksGetResponse.ts @@ -23,7 +23,7 @@ export interface GetRecentNotebooksWithIncludePersonalNotebooksGetResponse exten } export function serializeGetRecentNotebooksWithIncludePersonalNotebooksGetResponse(writer: SerializationWriter, getRecentNotebooksWithIncludePersonalNotebooksGetResponse: GetRecentNotebooksWithIncludePersonalNotebooksGetResponse | undefined = {} as GetRecentNotebooksWithIncludePersonalNotebooksGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getRecentNotebooksWithIncludePersonalNotebooksGetResponse) - writer.writeCollectionOfObjectValues("value", getRecentNotebooksWithIncludePersonalNotebooksGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getRecentNotebooksWithIncludePersonalNotebooksGetResponse.value, serializeRecentNotebook); } // tslint:enable // eslint-enable diff --git a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts index f8682a772de..9ccde4d6c48 100644 --- a/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts +++ b/src/groups/item/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts @@ -24,7 +24,7 @@ export interface OnenotePatchContentPostRequestBody extends AdditionalDataHolder commands?: OnenotePatchContentCommand[]; } export function serializeOnenotePatchContentPostRequestBody(writer: SerializationWriter, onenotePatchContentPostRequestBody: OnenotePatchContentPostRequestBody | undefined = {} as OnenotePatchContentPostRequestBody) : void { - writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, ); + writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, serializeOnenotePatchContentCommand); writer.writeAdditionalData(onenotePatchContentPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts b/src/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts index 369b9197cc6..dd586b162a1 100644 --- a/src/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts +++ b/src/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts @@ -24,7 +24,7 @@ export interface OnenotePatchContentPostRequestBody extends AdditionalDataHolder commands?: OnenotePatchContentCommand[]; } export function serializeOnenotePatchContentPostRequestBody(writer: SerializationWriter, onenotePatchContentPostRequestBody: OnenotePatchContentPostRequestBody | undefined = {} as OnenotePatchContentPostRequestBody) : void { - writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, ); + writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, serializeOnenotePatchContentCommand); writer.writeAdditionalData(onenotePatchContentPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/sites/item/onenote/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts b/src/groups/item/sites/item/onenote/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts index 8c5c615c9aa..88f8cace3bc 100644 --- a/src/groups/item/sites/item/onenote/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts +++ b/src/groups/item/sites/item/onenote/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts @@ -24,7 +24,7 @@ export interface OnenotePatchContentPostRequestBody extends AdditionalDataHolder commands?: OnenotePatchContentCommand[]; } export function serializeOnenotePatchContentPostRequestBody(writer: SerializationWriter, onenotePatchContentPostRequestBody: OnenotePatchContentPostRequestBody | undefined = {} as OnenotePatchContentPostRequestBody) : void { - writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, ); + writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, serializeOnenotePatchContentCommand); writer.writeAdditionalData(onenotePatchContentPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts b/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts index 369b9197cc6..dd586b162a1 100644 --- a/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts +++ b/src/groups/item/sites/item/onenote/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts @@ -24,7 +24,7 @@ export interface OnenotePatchContentPostRequestBody extends AdditionalDataHolder commands?: OnenotePatchContentCommand[]; } export function serializeOnenotePatchContentPostRequestBody(writer: SerializationWriter, onenotePatchContentPostRequestBody: OnenotePatchContentPostRequestBody | undefined = {} as OnenotePatchContentPostRequestBody) : void { - writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, ); + writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, serializeOnenotePatchContentCommand); writer.writeAdditionalData(onenotePatchContentPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/sites/item/onenote/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts b/src/groups/item/sites/item/onenote/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts index 7f43d519a45..880ee726f2b 100644 --- a/src/groups/item/sites/item/onenote/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts +++ b/src/groups/item/sites/item/onenote/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts @@ -24,7 +24,7 @@ export interface OnenotePatchContentPostRequestBody extends AdditionalDataHolder commands?: OnenotePatchContentCommand[]; } export function serializeOnenotePatchContentPostRequestBody(writer: SerializationWriter, onenotePatchContentPostRequestBody: OnenotePatchContentPostRequestBody | undefined = {} as OnenotePatchContentPostRequestBody) : void { - writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, ); + writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, serializeOnenotePatchContentCommand); writer.writeAdditionalData(onenotePatchContentPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/sites/item/permissions/item/grant/grantPostRequestBody.ts b/src/groups/item/sites/item/permissions/item/grant/grantPostRequestBody.ts index 294e5820bc9..a3cf499ea54 100644 --- a/src/groups/item/sites/item/permissions/item/grant/grantPostRequestBody.ts +++ b/src/groups/item/sites/item/permissions/item/grant/grantPostRequestBody.ts @@ -29,7 +29,7 @@ export interface GrantPostRequestBody extends AdditionalDataHolder, Parsable { roles?: string[]; } export function serializeGrantPostRequestBody(writer: SerializationWriter, grantPostRequestBody: GrantPostRequestBody | undefined = {} as GrantPostRequestBody) : void { - writer.writeCollectionOfObjectValues("recipients", grantPostRequestBody.recipients, ); + writer.writeCollectionOfObjectValues("recipients", grantPostRequestBody.recipients, serializeDriveRecipient); writer.writeCollectionOfPrimitiveValues("roles", grantPostRequestBody.roles); writer.writeAdditionalData(grantPostRequestBody.additionalData); } diff --git a/src/groups/item/sites/item/permissions/item/grant/grantPostResponse.ts b/src/groups/item/sites/item/permissions/item/grant/grantPostResponse.ts index fecbe0ca127..11a7b671f75 100644 --- a/src/groups/item/sites/item/permissions/item/grant/grantPostResponse.ts +++ b/src/groups/item/sites/item/permissions/item/grant/grantPostResponse.ts @@ -23,7 +23,7 @@ export interface GrantPostResponse extends BaseCollectionPaginationCountResponse } export function serializeGrantPostResponse(writer: SerializationWriter, grantPostResponse: GrantPostResponse | undefined = {} as GrantPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, grantPostResponse) - writer.writeCollectionOfObjectValues("value", grantPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", grantPostResponse.value, serializePermission); } // tslint:enable // eslint-enable diff --git a/src/groups/item/sites/remove/removePostRequestBody.ts b/src/groups/item/sites/remove/removePostRequestBody.ts index 92325cae8a8..94a0f26b62d 100644 --- a/src/groups/item/sites/remove/removePostRequestBody.ts +++ b/src/groups/item/sites/remove/removePostRequestBody.ts @@ -24,7 +24,7 @@ export interface RemovePostRequestBody extends AdditionalDataHolder, Parsable { value?: Site[]; } export function serializeRemovePostRequestBody(writer: SerializationWriter, removePostRequestBody: RemovePostRequestBody | undefined = {} as RemovePostRequestBody) : void { - writer.writeCollectionOfObjectValues("value", removePostRequestBody.value, ); + writer.writeCollectionOfObjectValues("value", removePostRequestBody.value, serializeSite); writer.writeAdditionalData(removePostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/sites/remove/removePostResponse.ts b/src/groups/item/sites/remove/removePostResponse.ts index 4cc61cbae64..7776a8694ca 100644 --- a/src/groups/item/sites/remove/removePostResponse.ts +++ b/src/groups/item/sites/remove/removePostResponse.ts @@ -23,7 +23,7 @@ export interface RemovePostResponse extends BaseCollectionPaginationCountRespons } export function serializeRemovePostResponse(writer: SerializationWriter, removePostResponse: RemovePostResponse | undefined = {} as RemovePostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, removePostResponse) - writer.writeCollectionOfObjectValues("value", removePostResponse.value, ); + writer.writeCollectionOfObjectValues("value", removePostResponse.value, serializeSite); } // tslint:enable // eslint-enable diff --git a/src/groups/item/team/channels/getAllMessages/getAllMessagesGetResponse.ts b/src/groups/item/team/channels/getAllMessages/getAllMessagesGetResponse.ts index 6da63615974..bbd414c60f4 100644 --- a/src/groups/item/team/channels/getAllMessages/getAllMessagesGetResponse.ts +++ b/src/groups/item/team/channels/getAllMessages/getAllMessagesGetResponse.ts @@ -23,7 +23,7 @@ export interface GetAllMessagesGetResponse extends BaseCollectionPaginationCount } export function serializeGetAllMessagesGetResponse(writer: SerializationWriter, getAllMessagesGetResponse: GetAllMessagesGetResponse | undefined = {} as GetAllMessagesGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getAllMessagesGetResponse) - writer.writeCollectionOfObjectValues("value", getAllMessagesGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getAllMessagesGetResponse.value, serializeChatMessage); } // tslint:enable // eslint-enable diff --git a/src/groups/item/team/channels/item/members/add/addPostRequestBody.ts b/src/groups/item/team/channels/item/members/add/addPostRequestBody.ts index bd04065f20c..43a9b35435a 100644 --- a/src/groups/item/team/channels/item/members/add/addPostRequestBody.ts +++ b/src/groups/item/team/channels/item/members/add/addPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAddPostRequestBody(addPostRequestBody: AddPostReq } } export function serializeAddPostRequestBody(writer: SerializationWriter, addPostRequestBody: AddPostRequestBody | undefined = {} as AddPostRequestBody) : void { - writer.writeCollectionOfObjectValues("values", addPostRequestBody.values, ); + writer.writeCollectionOfObjectValues("values", addPostRequestBody.values, serializeConversationMember); writer.writeAdditionalData(addPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/team/channels/item/members/add/addPostResponse.ts b/src/groups/item/team/channels/item/members/add/addPostResponse.ts index e14206e5836..833844de2f8 100644 --- a/src/groups/item/team/channels/item/members/add/addPostResponse.ts +++ b/src/groups/item/team/channels/item/members/add/addPostResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAddPostResponse(addPostResponse: AddPostResponse } export function serializeAddPostResponse(writer: SerializationWriter, addPostResponse: AddPostResponse | undefined = {} as AddPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, addPostResponse) - writer.writeCollectionOfObjectValues("value", addPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", addPostResponse.value, serializeActionResultPart); } // tslint:enable // eslint-enable diff --git a/src/groups/item/team/channels/item/members/item/conversationMemberItemRequestBuilder.ts b/src/groups/item/team/channels/item/members/item/conversationMemberItemRequestBuilder.ts index 323880d0f5f..66bdb25ca5c 100644 --- a/src/groups/item/team/channels/item/members/item/conversationMemberItemRequestBuilder.ts +++ b/src/groups/item/team/channels/item/members/item/conversationMemberItemRequestBuilder.ts @@ -63,9 +63,9 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/members/{conversationMember%2Did}{?%24select,%24expand}"); }; /** - * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Delete a conversationMember from a channel. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/conversationmember-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: ConversationMemberItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -111,7 +111,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createConversationMemberFromDiscriminatorValue, errorMapping); }; /** - * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Delete a conversationMember from a channel. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/groups/item/team/channels/item/messages/delta/deltaGetResponse.ts b/src/groups/item/team/channels/item/messages/delta/deltaGetResponse.ts index f43651b2e34..8c2d5474aa2 100644 --- a/src/groups/item/team/channels/item/messages/delta/deltaGetResponse.ts +++ b/src/groups/item/team/channels/item/messages/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeChatMessage); } // tslint:enable // eslint-enable diff --git a/src/groups/item/team/channels/item/messages/item/hostedContents/hostedContentsRequestBuilder.ts b/src/groups/item/team/channels/item/messages/item/hostedContents/hostedContentsRequestBuilder.ts index c771bc53234..4c8fe57fd72 100644 --- a/src/groups/item/team/channels/item/messages/item/hostedContents/hostedContentsRequestBuilder.ts +++ b/src/groups/item/team/channels/item/messages/item/hostedContents/hostedContentsRequestBuilder.ts @@ -98,7 +98,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/{chatMessage%2Did}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessageHostedContentCollectionResponse * @see {@link https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0|Find more info here} @@ -130,7 +130,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageHostedContentFromDiscriminatorValue, errorMapping); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/groups/item/team/channels/item/messages/item/replies/delta/deltaGetResponse.ts b/src/groups/item/team/channels/item/messages/item/replies/delta/deltaGetResponse.ts index 72129401f66..09d25329542 100644 --- a/src/groups/item/team/channels/item/messages/item/replies/delta/deltaGetResponse.ts +++ b/src/groups/item/team/channels/item/messages/item/replies/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeChatMessage); } // tslint:enable // eslint-enable diff --git a/src/groups/item/team/channels/item/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts b/src/groups/item/team/channels/item/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts index 1ae40b64c88..7b0d134c025 100644 --- a/src/groups/item/team/channels/item/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts +++ b/src/groups/item/team/channels/item/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts @@ -98,7 +98,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessageHostedContentCollectionResponse * @see {@link https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0|Find more info here} @@ -130,7 +130,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageHostedContentFromDiscriminatorValue, errorMapping); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/groups/item/team/channels/item/messages/item/replies/repliesRequestBuilder.ts b/src/groups/item/team/channels/item/messages/item/replies/repliesRequestBuilder.ts index 240baea11fd..990e48734cb 100644 --- a/src/groups/item/team/channels/item/messages/item/replies/repliesRequestBuilder.ts +++ b/src/groups/item/team/channels/item/messages/item/replies/repliesRequestBuilder.ts @@ -121,11 +121,11 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessage - * @see {@link https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0|Find more info here} */ public post(body: ChatMessage, requestConfiguration?: RepliesRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -156,7 +156,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/groups/item/team/channels/item/messages/messagesRequestBuilder.ts b/src/groups/item/team/channels/item/messages/messagesRequestBuilder.ts index 7b6bad81f28..bd7b01bbc2d 100644 --- a/src/groups/item/team/channels/item/messages/messagesRequestBuilder.ts +++ b/src/groups/item/team/channels/item/messages/messagesRequestBuilder.ts @@ -121,11 +121,11 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. + * Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessage - * @see {@link https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0|Find more info here} */ public post(body: ChatMessage, requestConfiguration?: MessagesRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -156,7 +156,7 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. + * Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/groups/item/team/installedApps/item/upgrade/upgradePostRequestBody.ts b/src/groups/item/team/installedApps/item/upgrade/upgradePostRequestBody.ts index afcbf7dc527..c7bcfddd556 100644 --- a/src/groups/item/team/installedApps/item/upgrade/upgradePostRequestBody.ts +++ b/src/groups/item/team/installedApps/item/upgrade/upgradePostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoUpgradePostRequestBody(upgradePostRequestBody: Up } } export function serializeUpgradePostRequestBody(writer: SerializationWriter, upgradePostRequestBody: UpgradePostRequestBody | undefined = {} as UpgradePostRequestBody) : void { - writer.writeObjectValue("consentedPermissionSet", upgradePostRequestBody.consentedPermissionSet, ); + writer.writeObjectValue("consentedPermissionSet", upgradePostRequestBody.consentedPermissionSet, serializeTeamsAppPermissionSet); writer.writeAdditionalData(upgradePostRequestBody.additionalData); } export interface UpgradePostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/groups/item/team/members/add/addPostRequestBody.ts b/src/groups/item/team/members/add/addPostRequestBody.ts index b3d495b66e6..4844fc8bb86 100644 --- a/src/groups/item/team/members/add/addPostRequestBody.ts +++ b/src/groups/item/team/members/add/addPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAddPostRequestBody(addPostRequestBody: AddPostReq } } export function serializeAddPostRequestBody(writer: SerializationWriter, addPostRequestBody: AddPostRequestBody | undefined = {} as AddPostRequestBody) : void { - writer.writeCollectionOfObjectValues("values", addPostRequestBody.values, ); + writer.writeCollectionOfObjectValues("values", addPostRequestBody.values, serializeConversationMember); writer.writeAdditionalData(addPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/team/members/add/addPostResponse.ts b/src/groups/item/team/members/add/addPostResponse.ts index 646e11790e1..685a7e4a8f6 100644 --- a/src/groups/item/team/members/add/addPostResponse.ts +++ b/src/groups/item/team/members/add/addPostResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAddPostResponse(addPostResponse: AddPostResponse } export function serializeAddPostResponse(writer: SerializationWriter, addPostResponse: AddPostResponse | undefined = {} as AddPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, addPostResponse) - writer.writeCollectionOfObjectValues("value", addPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", addPostResponse.value, serializeActionResultPart); } // tslint:enable // eslint-enable diff --git a/src/groups/item/team/primaryChannel/members/add/addPostRequestBody.ts b/src/groups/item/team/primaryChannel/members/add/addPostRequestBody.ts index 973a6a27d65..c6f0575e956 100644 --- a/src/groups/item/team/primaryChannel/members/add/addPostRequestBody.ts +++ b/src/groups/item/team/primaryChannel/members/add/addPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAddPostRequestBody(addPostRequestBody: AddPostReq } } export function serializeAddPostRequestBody(writer: SerializationWriter, addPostRequestBody: AddPostRequestBody | undefined = {} as AddPostRequestBody) : void { - writer.writeCollectionOfObjectValues("values", addPostRequestBody.values, ); + writer.writeCollectionOfObjectValues("values", addPostRequestBody.values, serializeConversationMember); writer.writeAdditionalData(addPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/team/primaryChannel/members/add/addPostResponse.ts b/src/groups/item/team/primaryChannel/members/add/addPostResponse.ts index 58a62b21777..fdb80f5cec8 100644 --- a/src/groups/item/team/primaryChannel/members/add/addPostResponse.ts +++ b/src/groups/item/team/primaryChannel/members/add/addPostResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAddPostResponse(addPostResponse: AddPostResponse } export function serializeAddPostResponse(writer: SerializationWriter, addPostResponse: AddPostResponse | undefined = {} as AddPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, addPostResponse) - writer.writeCollectionOfObjectValues("value", addPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", addPostResponse.value, serializeActionResultPart); } // tslint:enable // eslint-enable diff --git a/src/groups/item/team/primaryChannel/members/item/conversationMemberItemRequestBuilder.ts b/src/groups/item/team/primaryChannel/members/item/conversationMemberItemRequestBuilder.ts index 5716fed8765..b27d6168091 100644 --- a/src/groups/item/team/primaryChannel/members/item/conversationMemberItemRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/members/item/conversationMemberItemRequestBuilder.ts @@ -63,9 +63,9 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/members/{conversationMember%2Did}{?%24select,%24expand}"); }; /** - * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Delete a conversationMember from a channel. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/conversationmember-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: ConversationMemberItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -111,7 +111,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createConversationMemberFromDiscriminatorValue, errorMapping); }; /** - * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Delete a conversationMember from a channel. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/groups/item/team/primaryChannel/messages/delta/deltaGetResponse.ts b/src/groups/item/team/primaryChannel/messages/delta/deltaGetResponse.ts index 74051011a19..6a0547b5229 100644 --- a/src/groups/item/team/primaryChannel/messages/delta/deltaGetResponse.ts +++ b/src/groups/item/team/primaryChannel/messages/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeChatMessage); } // tslint:enable // eslint-enable diff --git a/src/groups/item/team/primaryChannel/messages/item/hostedContents/hostedContentsRequestBuilder.ts b/src/groups/item/team/primaryChannel/messages/item/hostedContents/hostedContentsRequestBuilder.ts index 81348ea4009..f169690ceb0 100644 --- a/src/groups/item/team/primaryChannel/messages/item/hostedContents/hostedContentsRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/messages/item/hostedContents/hostedContentsRequestBuilder.ts @@ -98,7 +98,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/messages/{chatMessage%2Did}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessageHostedContentCollectionResponse * @see {@link https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0|Find more info here} @@ -130,7 +130,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageHostedContentFromDiscriminatorValue, errorMapping); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/groups/item/team/primaryChannel/messages/item/replies/delta/deltaGetResponse.ts b/src/groups/item/team/primaryChannel/messages/item/replies/delta/deltaGetResponse.ts index 810d193f0e4..d7bf2b66bf8 100644 --- a/src/groups/item/team/primaryChannel/messages/item/replies/delta/deltaGetResponse.ts +++ b/src/groups/item/team/primaryChannel/messages/item/replies/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeChatMessage); } // tslint:enable // eslint-enable diff --git a/src/groups/item/team/primaryChannel/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts b/src/groups/item/team/primaryChannel/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts index 7de946c712d..dc6a7b96614 100644 --- a/src/groups/item/team/primaryChannel/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts @@ -98,7 +98,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessageHostedContentCollectionResponse * @see {@link https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0|Find more info here} @@ -130,7 +130,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageHostedContentFromDiscriminatorValue, errorMapping); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/groups/item/team/primaryChannel/messages/item/replies/repliesRequestBuilder.ts b/src/groups/item/team/primaryChannel/messages/item/replies/repliesRequestBuilder.ts index 39706f332b4..bf129f543dd 100644 --- a/src/groups/item/team/primaryChannel/messages/item/replies/repliesRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/messages/item/replies/repliesRequestBuilder.ts @@ -121,11 +121,11 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessage - * @see {@link https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0|Find more info here} */ public post(body: ChatMessage, requestConfiguration?: RepliesRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -156,7 +156,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/groups/item/team/primaryChannel/messages/messagesRequestBuilder.ts b/src/groups/item/team/primaryChannel/messages/messagesRequestBuilder.ts index 3222974e065..adee861bdaf 100644 --- a/src/groups/item/team/primaryChannel/messages/messagesRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/messages/messagesRequestBuilder.ts @@ -121,11 +121,11 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. + * Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessage - * @see {@link https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0|Find more info here} */ public post(body: ChatMessage, requestConfiguration?: MessagesRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -156,7 +156,7 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. + * Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/groups/item/team/sendActivityNotification/sendActivityNotificationPostRequestBody.ts b/src/groups/item/team/sendActivityNotification/sendActivityNotificationPostRequestBody.ts index f927120b249..528829b98da 100644 --- a/src/groups/item/team/sendActivityNotification/sendActivityNotificationPostRequestBody.ts +++ b/src/groups/item/team/sendActivityNotification/sendActivityNotificationPostRequestBody.ts @@ -54,10 +54,10 @@ export interface SendActivityNotificationPostRequestBody extends AdditionalDataH export function serializeSendActivityNotificationPostRequestBody(writer: SerializationWriter, sendActivityNotificationPostRequestBody: SendActivityNotificationPostRequestBody | undefined = {} as SendActivityNotificationPostRequestBody) : void { writer.writeStringValue("activityType", sendActivityNotificationPostRequestBody.activityType); writer.writeNumberValue("chainId", sendActivityNotificationPostRequestBody.chainId); - writer.writeObjectValue("previewText", sendActivityNotificationPostRequestBody.previewText, ); - writer.writeObjectValue("recipient", sendActivityNotificationPostRequestBody.recipient, ); - writer.writeCollectionOfObjectValues("templateParameters", sendActivityNotificationPostRequestBody.templateParameters, ); - writer.writeObjectValue("topic", sendActivityNotificationPostRequestBody.topic, ); + writer.writeObjectValue("previewText", sendActivityNotificationPostRequestBody.previewText, serializeItemBody); + writer.writeObjectValue("recipient", sendActivityNotificationPostRequestBody.recipient, serializeTeamworkNotificationRecipient); + writer.writeCollectionOfObjectValues("templateParameters", sendActivityNotificationPostRequestBody.templateParameters, serializeKeyValuePair); + writer.writeObjectValue("topic", sendActivityNotificationPostRequestBody.topic, serializeTeamworkActivityTopic); writer.writeAdditionalData(sendActivityNotificationPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/threads/item/conversationThreadItemRequestBuilder.ts b/src/groups/item/threads/item/conversationThreadItemRequestBuilder.ts index cd06a5db057..1913d191800 100644 --- a/src/groups/item/threads/item/conversationThreadItemRequestBuilder.ts +++ b/src/groups/item/threads/item/conversationThreadItemRequestBuilder.ts @@ -73,9 +73,9 @@ export class ConversationThreadItemRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}{?%24select}"); }; /** - * This API is available in the following national cloud deployments. + * Delete conversationThread. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/group-delete-thread?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/conversationthread-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: ConversationThreadItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -121,7 +121,7 @@ export class ConversationThreadItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createConversationThreadFromDiscriminatorValue, errorMapping); }; /** - * This API is available in the following national cloud deployments. + * Delete conversationThread. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/groups/item/threads/item/posts/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/groups/item/threads/item/posts/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 06ae4d93d2b..a832c0c5be9 100644 --- a/src/groups/item/threads/item/posts/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/groups/item/threads/item/posts/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/threads/item/posts/item/forward/forwardPostRequestBody.ts b/src/groups/item/threads/item/posts/item/forward/forwardPostRequestBody.ts index 94b2f19784d..1fd7eb4c631 100644 --- a/src/groups/item/threads/item/posts/item/forward/forwardPostRequestBody.ts +++ b/src/groups/item/threads/item/posts/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/threads/item/posts/item/inReplyTo/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/groups/item/threads/item/posts/item/inReplyTo/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 3931586d212..699cced79e3 100644 --- a/src/groups/item/threads/item/posts/item/inReplyTo/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/groups/item/threads/item/posts/item/inReplyTo/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/threads/item/posts/item/inReplyTo/forward/forwardPostRequestBody.ts b/src/groups/item/threads/item/posts/item/inReplyTo/forward/forwardPostRequestBody.ts index 216c306313f..37dde22b05f 100644 --- a/src/groups/item/threads/item/posts/item/inReplyTo/forward/forwardPostRequestBody.ts +++ b/src/groups/item/threads/item/posts/item/inReplyTo/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/threads/item/posts/item/inReplyTo/reply/replyPostRequestBody.ts b/src/groups/item/threads/item/posts/item/inReplyTo/reply/replyPostRequestBody.ts index 28ab8fa90b6..e485d6a9884 100644 --- a/src/groups/item/threads/item/posts/item/inReplyTo/reply/replyPostRequestBody.ts +++ b/src/groups/item/threads/item/posts/item/inReplyTo/reply/replyPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ReplyPostRequestBody extends AdditionalDataHolder, Parsable { post?: Post; } export function serializeReplyPostRequestBody(writer: SerializationWriter, replyPostRequestBody: ReplyPostRequestBody | undefined = {} as ReplyPostRequestBody) : void { - writer.writeObjectValue("Post", replyPostRequestBody.post, ); + writer.writeObjectValue("Post", replyPostRequestBody.post, serializePost); writer.writeAdditionalData(replyPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/threads/item/posts/item/reply/replyPostRequestBody.ts b/src/groups/item/threads/item/posts/item/reply/replyPostRequestBody.ts index b57379e4c85..3a668df8372 100644 --- a/src/groups/item/threads/item/posts/item/reply/replyPostRequestBody.ts +++ b/src/groups/item/threads/item/posts/item/reply/replyPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ReplyPostRequestBody extends AdditionalDataHolder, Parsable { post?: Post; } export function serializeReplyPostRequestBody(writer: SerializationWriter, replyPostRequestBody: ReplyPostRequestBody | undefined = {} as ReplyPostRequestBody) : void { - writer.writeObjectValue("Post", replyPostRequestBody.post, ); + writer.writeObjectValue("Post", replyPostRequestBody.post, serializePost); writer.writeAdditionalData(replyPostRequestBody.additionalData); } // tslint:enable diff --git a/src/groups/item/threads/item/reply/replyPostRequestBody.ts b/src/groups/item/threads/item/reply/replyPostRequestBody.ts index bc24fe788a3..a9d7cd709ed 100644 --- a/src/groups/item/threads/item/reply/replyPostRequestBody.ts +++ b/src/groups/item/threads/item/reply/replyPostRequestBody.ts @@ -24,7 +24,7 @@ export interface ReplyPostRequestBody extends AdditionalDataHolder, Parsable { post?: Post; } export function serializeReplyPostRequestBody(writer: SerializationWriter, replyPostRequestBody: ReplyPostRequestBody | undefined = {} as ReplyPostRequestBody) : void { - writer.writeObjectValue("Post", replyPostRequestBody.post, ); + writer.writeObjectValue("Post", replyPostRequestBody.post, serializePost); writer.writeAdditionalData(replyPostRequestBody.additionalData); } // tslint:enable diff --git a/src/identity/b2xUserFlows/item/userAttributeAssignments/setOrder/setOrderPostRequestBody.ts b/src/identity/b2xUserFlows/item/userAttributeAssignments/setOrder/setOrderPostRequestBody.ts index f28f1257f92..0e1d447042b 100644 --- a/src/identity/b2xUserFlows/item/userAttributeAssignments/setOrder/setOrderPostRequestBody.ts +++ b/src/identity/b2xUserFlows/item/userAttributeAssignments/setOrder/setOrderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSetOrderPostRequestBody(setOrderPostRequestBody: } } export function serializeSetOrderPostRequestBody(writer: SerializationWriter, setOrderPostRequestBody: SetOrderPostRequestBody | undefined = {} as SetOrderPostRequestBody) : void { - writer.writeObjectValue("newAssignmentOrder", setOrderPostRequestBody.newAssignmentOrder, ); + writer.writeObjectValue("newAssignmentOrder", setOrderPostRequestBody.newAssignmentOrder, serializeAssignmentOrder); writer.writeAdditionalData(setOrderPostRequestBody.additionalData); } export interface SetOrderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/identity/conditionalAccess/namedLocations/item/namedLocationItemRequestBuilder.ts b/src/identity/conditionalAccess/namedLocations/item/namedLocationItemRequestBuilder.ts index 0ad57a55c47..c17eeb60043 100644 --- a/src/identity/conditionalAccess/namedLocations/item/namedLocationItemRequestBuilder.ts +++ b/src/identity/conditionalAccess/namedLocations/item/namedLocationItemRequestBuilder.ts @@ -63,9 +63,9 @@ export class NamedLocationItemRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/identity/conditionalAccess/namedLocations/{namedLocation%2Did}{?%24select,%24expand}"); }; /** - * Delete an ipNamedLocation object. This API is available in the following national cloud deployments. + * Delete a countryNamedLocation object. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/ipnamedlocation-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/countrynamedlocation-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: NamedLocationItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -78,10 +78,10 @@ export class NamedLocationItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Retrieve the properties and relationships of a namedLocation object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an ipNamedLocation object. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of NamedLocation - * @see {@link https://learn.microsoft.com/graph/api/namedlocation-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/ipnamedlocation-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: NamedLocationItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -94,11 +94,11 @@ export class NamedLocationItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createNamedLocationFromDiscriminatorValue, errorMapping); }; /** - * Update the properties of a countryNamedLocation object. This API is available in the following national cloud deployments. + * Update the properties of an ipNamedLocation object. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of NamedLocation - * @see {@link https://learn.microsoft.com/graph/api/countrynamedlocation-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/ipnamedlocation-update?view=graph-rest-1.0|Find more info here} */ public patch(body: NamedLocation, requestConfiguration?: NamedLocationItemRequestBuilderPatchRequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -111,7 +111,7 @@ export class NamedLocationItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createNamedLocationFromDiscriminatorValue, errorMapping); }; /** - * Delete an ipNamedLocation object. This API is available in the following national cloud deployments. + * Delete a countryNamedLocation object. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -128,7 +128,7 @@ export class NamedLocationItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Retrieve the properties and relationships of a namedLocation object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an ipNamedLocation object. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -146,7 +146,7 @@ export class NamedLocationItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Update the properties of a countryNamedLocation object. This API is available in the following national cloud deployments. + * Update the properties of an ipNamedLocation object. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/identityGovernance/accessReviews/definitions/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts b/src/identityGovernance/accessReviews/definitions/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts index 83ba5b01038..cc730d30d78 100644 --- a/src/identityGovernance/accessReviews/definitions/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts +++ b/src/identityGovernance/accessReviews/definitions/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts @@ -23,7 +23,7 @@ export interface FilterByCurrentUserWithOnGetResponse extends BaseCollectionPagi } export function serializeFilterByCurrentUserWithOnGetResponse(writer: SerializationWriter, filterByCurrentUserWithOnGetResponse: FilterByCurrentUserWithOnGetResponse | undefined = {} as FilterByCurrentUserWithOnGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, filterByCurrentUserWithOnGetResponse) - writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, serializeAccessReviewScheduleDefinition); } // tslint:enable // eslint-enable diff --git a/src/identityGovernance/accessReviews/definitions/item/instances/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts b/src/identityGovernance/accessReviews/definitions/item/instances/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts index c48772225a4..192b3138969 100644 --- a/src/identityGovernance/accessReviews/definitions/item/instances/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts +++ b/src/identityGovernance/accessReviews/definitions/item/instances/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts @@ -23,7 +23,7 @@ export interface FilterByCurrentUserWithOnGetResponse extends BaseCollectionPagi } export function serializeFilterByCurrentUserWithOnGetResponse(writer: SerializationWriter, filterByCurrentUserWithOnGetResponse: FilterByCurrentUserWithOnGetResponse | undefined = {} as FilterByCurrentUserWithOnGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, filterByCurrentUserWithOnGetResponse) - writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, serializeAccessReviewInstance); } // tslint:enable // eslint-enable diff --git a/src/identityGovernance/accessReviews/definitions/item/instances/item/decisions/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts b/src/identityGovernance/accessReviews/definitions/item/instances/item/decisions/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts index f03c5460396..64963ea52e9 100644 --- a/src/identityGovernance/accessReviews/definitions/item/instances/item/decisions/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts +++ b/src/identityGovernance/accessReviews/definitions/item/instances/item/decisions/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts @@ -23,7 +23,7 @@ export interface FilterByCurrentUserWithOnGetResponse extends BaseCollectionPagi } export function serializeFilterByCurrentUserWithOnGetResponse(writer: SerializationWriter, filterByCurrentUserWithOnGetResponse: FilterByCurrentUserWithOnGetResponse | undefined = {} as FilterByCurrentUserWithOnGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, filterByCurrentUserWithOnGetResponse) - writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, serializeAccessReviewInstanceDecisionItem); } // tslint:enable // eslint-enable diff --git a/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts b/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts index 15567be3e5c..d2018dd2cc1 100644 --- a/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts +++ b/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts @@ -23,7 +23,7 @@ export interface FilterByCurrentUserWithOnGetResponse extends BaseCollectionPagi } export function serializeFilterByCurrentUserWithOnGetResponse(writer: SerializationWriter, filterByCurrentUserWithOnGetResponse: FilterByCurrentUserWithOnGetResponse | undefined = {} as FilterByCurrentUserWithOnGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, filterByCurrentUserWithOnGetResponse) - writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, serializeAccessReviewStage); } // tslint:enable // eslint-enable diff --git a/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/item/decisions/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts b/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/item/decisions/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts index 6f9d98f84a3..7e63c9d68ea 100644 --- a/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/item/decisions/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts +++ b/src/identityGovernance/accessReviews/definitions/item/instances/item/stages/item/decisions/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts @@ -23,7 +23,7 @@ export interface FilterByCurrentUserWithOnGetResponse extends BaseCollectionPagi } export function serializeFilterByCurrentUserWithOnGetResponse(writer: SerializationWriter, filterByCurrentUserWithOnGetResponse: FilterByCurrentUserWithOnGetResponse | undefined = {} as FilterByCurrentUserWithOnGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, filterByCurrentUserWithOnGetResponse) - writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, serializeAccessReviewInstanceDecisionItem); } // tslint:enable // eslint-enable diff --git a/src/identityGovernance/appConsent/appConsentRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts b/src/identityGovernance/appConsent/appConsentRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts index d4e28e95521..0740095dc9a 100644 --- a/src/identityGovernance/appConsent/appConsentRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts +++ b/src/identityGovernance/appConsent/appConsentRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts @@ -23,7 +23,7 @@ export interface FilterByCurrentUserWithOnGetResponse extends BaseCollectionPagi } export function serializeFilterByCurrentUserWithOnGetResponse(writer: SerializationWriter, filterByCurrentUserWithOnGetResponse: FilterByCurrentUserWithOnGetResponse | undefined = {} as FilterByCurrentUserWithOnGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, filterByCurrentUserWithOnGetResponse) - writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, serializeAppConsentRequest); } // tslint:enable // eslint-enable diff --git a/src/identityGovernance/appConsent/appConsentRequests/item/userConsentRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts b/src/identityGovernance/appConsent/appConsentRequests/item/userConsentRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts index 2f1124a12cf..21f27bc8d7a 100644 --- a/src/identityGovernance/appConsent/appConsentRequests/item/userConsentRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts +++ b/src/identityGovernance/appConsent/appConsentRequests/item/userConsentRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts @@ -23,7 +23,7 @@ export interface FilterByCurrentUserWithOnGetResponse extends BaseCollectionPagi } export function serializeFilterByCurrentUserWithOnGetResponse(writer: SerializationWriter, filterByCurrentUserWithOnGetResponse: FilterByCurrentUserWithOnGetResponse | undefined = {} as FilterByCurrentUserWithOnGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, filterByCurrentUserWithOnGetResponse) - writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, serializeUserConsentRequest); } // tslint:enable // eslint-enable diff --git a/src/identityGovernance/entitlementManagement/accessPackageAssignmentApprovals/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts b/src/identityGovernance/entitlementManagement/accessPackageAssignmentApprovals/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts index 108dd0cbff5..313cab42e02 100644 --- a/src/identityGovernance/entitlementManagement/accessPackageAssignmentApprovals/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts +++ b/src/identityGovernance/entitlementManagement/accessPackageAssignmentApprovals/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts @@ -23,7 +23,7 @@ export interface FilterByCurrentUserWithOnGetResponse extends BaseCollectionPagi } export function serializeFilterByCurrentUserWithOnGetResponse(writer: SerializationWriter, filterByCurrentUserWithOnGetResponse: FilterByCurrentUserWithOnGetResponse | undefined = {} as FilterByCurrentUserWithOnGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, filterByCurrentUserWithOnGetResponse) - writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, serializeApproval); } // tslint:enable // eslint-enable diff --git a/src/identityGovernance/entitlementManagement/accessPackages/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts b/src/identityGovernance/entitlementManagement/accessPackages/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts index fe5090c14db..9c29b3daac4 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts @@ -23,7 +23,7 @@ export interface FilterByCurrentUserWithOnGetResponse extends BaseCollectionPagi } export function serializeFilterByCurrentUserWithOnGetResponse(writer: SerializationWriter, filterByCurrentUserWithOnGetResponse: FilterByCurrentUserWithOnGetResponse | undefined = {} as FilterByCurrentUserWithOnGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, filterByCurrentUserWithOnGetResponse) - writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, serializeAccessPackage); } // tslint:enable // eslint-enable diff --git a/src/identityGovernance/entitlementManagement/accessPackages/item/getApplicablePolicyRequirements/getApplicablePolicyRequirementsPostResponse.ts b/src/identityGovernance/entitlementManagement/accessPackages/item/getApplicablePolicyRequirements/getApplicablePolicyRequirementsPostResponse.ts index 23b01bf40da..96ab1315077 100644 --- a/src/identityGovernance/entitlementManagement/accessPackages/item/getApplicablePolicyRequirements/getApplicablePolicyRequirementsPostResponse.ts +++ b/src/identityGovernance/entitlementManagement/accessPackages/item/getApplicablePolicyRequirements/getApplicablePolicyRequirementsPostResponse.ts @@ -23,7 +23,7 @@ export interface GetApplicablePolicyRequirementsPostResponse extends BaseCollect } export function serializeGetApplicablePolicyRequirementsPostResponse(writer: SerializationWriter, getApplicablePolicyRequirementsPostResponse: GetApplicablePolicyRequirementsPostResponse | undefined = {} as GetApplicablePolicyRequirementsPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getApplicablePolicyRequirementsPostResponse) - writer.writeCollectionOfObjectValues("value", getApplicablePolicyRequirementsPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getApplicablePolicyRequirementsPostResponse.value, serializeAccessPackageAssignmentRequestRequirements); } // tslint:enable // eslint-enable diff --git a/src/identityGovernance/entitlementManagement/assignmentRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts b/src/identityGovernance/entitlementManagement/assignmentRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts index e9d0af0531d..16915bc47d9 100644 --- a/src/identityGovernance/entitlementManagement/assignmentRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts +++ b/src/identityGovernance/entitlementManagement/assignmentRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts @@ -23,7 +23,7 @@ export interface FilterByCurrentUserWithOnGetResponse extends BaseCollectionPagi } export function serializeFilterByCurrentUserWithOnGetResponse(writer: SerializationWriter, filterByCurrentUserWithOnGetResponse: FilterByCurrentUserWithOnGetResponse | undefined = {} as FilterByCurrentUserWithOnGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, filterByCurrentUserWithOnGetResponse) - writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, serializeAccessPackageAssignmentRequest); } // tslint:enable // eslint-enable diff --git a/src/identityGovernance/entitlementManagement/assignmentRequests/item/resume/resumePostRequestBody.ts b/src/identityGovernance/entitlementManagement/assignmentRequests/item/resume/resumePostRequestBody.ts index e1ca8110025..2436a7882c0 100644 --- a/src/identityGovernance/entitlementManagement/assignmentRequests/item/resume/resumePostRequestBody.ts +++ b/src/identityGovernance/entitlementManagement/assignmentRequests/item/resume/resumePostRequestBody.ts @@ -34,7 +34,7 @@ export interface ResumePostRequestBody extends AdditionalDataHolder, Parsable { type?: string; } export function serializeResumePostRequestBody(writer: SerializationWriter, resumePostRequestBody: ResumePostRequestBody | undefined = {} as ResumePostRequestBody) : void { - writer.writeObjectValue("data", resumePostRequestBody.data, ); + writer.writeObjectValue("data", resumePostRequestBody.data, serializeCustomExtensionData); writer.writeStringValue("source", resumePostRequestBody.source); writer.writeStringValue("type", resumePostRequestBody.type); writer.writeAdditionalData(resumePostRequestBody.additionalData); diff --git a/src/identityGovernance/entitlementManagement/assignments/additionalAccess/additionalAccessGetResponse.ts b/src/identityGovernance/entitlementManagement/assignments/additionalAccess/additionalAccessGetResponse.ts index 526feceb672..062d5ac7db3 100644 --- a/src/identityGovernance/entitlementManagement/assignments/additionalAccess/additionalAccessGetResponse.ts +++ b/src/identityGovernance/entitlementManagement/assignments/additionalAccess/additionalAccessGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAdditionalAccessGetResponse(additionalAccessGetRe } export function serializeAdditionalAccessGetResponse(writer: SerializationWriter, additionalAccessGetResponse: AdditionalAccessGetResponse | undefined = {} as AdditionalAccessGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, additionalAccessGetResponse) - writer.writeCollectionOfObjectValues("value", additionalAccessGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", additionalAccessGetResponse.value, serializeAccessPackageAssignment); } // tslint:enable // eslint-enable diff --git a/src/identityGovernance/entitlementManagement/assignments/additionalAccessWithAccessPackageIdWithIncompatibleAccessPackageId/additionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdGetResponse.ts b/src/identityGovernance/entitlementManagement/assignments/additionalAccessWithAccessPackageIdWithIncompatibleAccessPackageId/additionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdGetResponse.ts index 97f5185adce..cc10dfe6459 100644 --- a/src/identityGovernance/entitlementManagement/assignments/additionalAccessWithAccessPackageIdWithIncompatibleAccessPackageId/additionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdGetResponse.ts +++ b/src/identityGovernance/entitlementManagement/assignments/additionalAccessWithAccessPackageIdWithIncompatibleAccessPackageId/additionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAdditionalAccessWithAccessPackageIdWithIncompatib } export function serializeAdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdGetResponse(writer: SerializationWriter, additionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdGetResponse: AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdGetResponse | undefined = {} as AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, additionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdGetResponse) - writer.writeCollectionOfObjectValues("value", additionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", additionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdGetResponse.value, serializeAccessPackageAssignment); } // tslint:enable // eslint-enable diff --git a/src/identityGovernance/entitlementManagement/assignments/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts b/src/identityGovernance/entitlementManagement/assignments/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts index f1005c4cb0e..ca8101b494b 100644 --- a/src/identityGovernance/entitlementManagement/assignments/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts +++ b/src/identityGovernance/entitlementManagement/assignments/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts @@ -23,7 +23,7 @@ export interface FilterByCurrentUserWithOnGetResponse extends BaseCollectionPagi } export function serializeFilterByCurrentUserWithOnGetResponse(writer: SerializationWriter, filterByCurrentUserWithOnGetResponse: FilterByCurrentUserWithOnGetResponse | undefined = {} as FilterByCurrentUserWithOnGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, filterByCurrentUserWithOnGetResponse) - writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, serializeAccessPackageAssignment); } // tslint:enable // eslint-enable diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/customWorkflowExtensions/item/customCalloutExtensionItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/catalogs/item/customWorkflowExtensions/item/customCalloutExtensionItemRequestBuilder.ts index ea42c50a031..4503ffb4ea7 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/customWorkflowExtensions/item/customCalloutExtensionItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/customWorkflowExtensions/item/customCalloutExtensionItemRequestBuilder.ts @@ -63,9 +63,9 @@ export class CustomCalloutExtensionItemRequestBuilder extends BaseRequestBuilder super(pathParameters, requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/catalogs/{accessPackageCatalog%2Did}/customWorkflowExtensions/{customCalloutExtension%2Did}{?%24select,%24expand}"); }; /** - * Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: This API is available in the following national cloud deployments. + * Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: CustomCalloutExtensionItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -78,10 +78,10 @@ export class CustomCalloutExtensionItemRequestBuilder extends BaseRequestBuilder return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of CustomCalloutExtension - * @see {@link https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: CustomCalloutExtensionItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -94,11 +94,11 @@ export class CustomCalloutExtensionItemRequestBuilder extends BaseRequestBuilder return this.requestAdapter.sendAsync(requestInfo, createCustomCalloutExtensionFromDiscriminatorValue, errorMapping); }; /** - * Update the properties of an accessPackageAssignmentWorkflowExtension object. + * Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of CustomCalloutExtension - * @see {@link https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-update?view=graph-rest-1.0|Find more info here} */ public patch(body: CustomCalloutExtension, requestConfiguration?: CustomCalloutExtensionItemRequestBuilderPatchRequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -111,7 +111,7 @@ export class CustomCalloutExtensionItemRequestBuilder extends BaseRequestBuilder return this.requestAdapter.sendAsync(requestInfo, createCustomCalloutExtensionFromDiscriminatorValue, errorMapping); }; /** - * Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: This API is available in the following national cloud deployments. + * Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -128,7 +128,7 @@ export class CustomCalloutExtensionItemRequestBuilder extends BaseRequestBuilder return requestInfo; }; /** - * Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -146,7 +146,7 @@ export class CustomCalloutExtensionItemRequestBuilder extends BaseRequestBuilder return requestInfo; }; /** - * Update the properties of an accessPackageAssignmentWorkflowExtension object. + * Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/customWorkflowExtensions/item/customCalloutExtensionItemRequestBuilder.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/customWorkflowExtensions/item/customCalloutExtensionItemRequestBuilder.ts index 054353cc159..ba0c06121ea 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/customWorkflowExtensions/item/customCalloutExtensionItemRequestBuilder.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/customWorkflowExtensions/item/customCalloutExtensionItemRequestBuilder.ts @@ -63,9 +63,9 @@ export class CustomCalloutExtensionItemRequestBuilder extends BaseRequestBuilder super(pathParameters, requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/resourceRequests/{accessPackageResourceRequest%2Did}/catalog/customWorkflowExtensions/{customCalloutExtension%2Did}{?%24select,%24expand}"); }; /** - * Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: This API is available in the following national cloud deployments. + * Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: CustomCalloutExtensionItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -78,10 +78,10 @@ export class CustomCalloutExtensionItemRequestBuilder extends BaseRequestBuilder return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of CustomCalloutExtension - * @see {@link https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: CustomCalloutExtensionItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -94,11 +94,11 @@ export class CustomCalloutExtensionItemRequestBuilder extends BaseRequestBuilder return this.requestAdapter.sendAsync(requestInfo, createCustomCalloutExtensionFromDiscriminatorValue, errorMapping); }; /** - * Update the properties of an accessPackageAssignmentWorkflowExtension object. + * Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of CustomCalloutExtension - * @see {@link https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-update?view=graph-rest-1.0|Find more info here} */ public patch(body: CustomCalloutExtension, requestConfiguration?: CustomCalloutExtensionItemRequestBuilderPatchRequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -111,7 +111,7 @@ export class CustomCalloutExtensionItemRequestBuilder extends BaseRequestBuilder return this.requestAdapter.sendAsync(requestInfo, createCustomCalloutExtensionFromDiscriminatorValue, errorMapping); }; /** - * Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: This API is available in the following national cloud deployments. + * Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -128,7 +128,7 @@ export class CustomCalloutExtensionItemRequestBuilder extends BaseRequestBuilder return requestInfo; }; /** - * Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -146,7 +146,7 @@ export class CustomCalloutExtensionItemRequestBuilder extends BaseRequestBuilder return requestInfo; }; /** - * Update the properties of an accessPackageAssignmentWorkflowExtension object. + * Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/microsoftGraphIdentityGovernanceActivate/activatePostRequestBody.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/microsoftGraphIdentityGovernanceActivate/activatePostRequestBody.ts index 29c0cee5fff..ad6748a7596 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/microsoftGraphIdentityGovernanceActivate/activatePostRequestBody.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/microsoftGraphIdentityGovernanceActivate/activatePostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoActivatePostRequestBody(activatePostRequestBody: } } export function serializeActivatePostRequestBody(writer: SerializationWriter, activatePostRequestBody: ActivatePostRequestBody | undefined = {} as ActivatePostRequestBody) : void { - writer.writeCollectionOfObjectValues("subjects", activatePostRequestBody.subjects, ); + writer.writeCollectionOfObjectValues("subjects", activatePostRequestBody.subjects, serializeUser); writer.writeAdditionalData(activatePostRequestBody.additionalData); } // tslint:enable diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/microsoftGraphIdentityGovernanceCreateNewVersion/createNewVersionPostRequestBody.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/microsoftGraphIdentityGovernanceCreateNewVersion/createNewVersionPostRequestBody.ts index 8094ea0ab57..e244b6bc902 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/microsoftGraphIdentityGovernanceCreateNewVersion/createNewVersionPostRequestBody.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/microsoftGraphIdentityGovernanceCreateNewVersion/createNewVersionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateNewVersionPostRequestBody(createNewVersionP } } export function serializeCreateNewVersionPostRequestBody(writer: SerializationWriter, createNewVersionPostRequestBody: CreateNewVersionPostRequestBody | undefined = {} as CreateNewVersionPostRequestBody) : void { - writer.writeObjectValue("workflow", createNewVersionPostRequestBody.workflow, ); + writer.writeObjectValue("workflow", createNewVersionPostRequestBody.workflow, serializeWorkflow); writer.writeAdditionalData(createNewVersionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts index 2b14144310a..2ff63b8495e 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts @@ -34,7 +34,7 @@ export interface ResumePostRequestBody extends AdditionalDataHolder, Parsable { type?: string; } export function serializeResumePostRequestBody(writer: SerializationWriter, resumePostRequestBody: ResumePostRequestBody | undefined = {} as ResumePostRequestBody) : void { - writer.writeObjectValue("data", resumePostRequestBody.data, ); + writer.writeObjectValue("data", resumePostRequestBody.data, serializeCustomTaskExtensionCallbackData); writer.writeStringValue("source", resumePostRequestBody.source); writer.writeStringValue("type", resumePostRequestBody.type); writer.writeAdditionalData(resumePostRequestBody.additionalData); diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts index 43ec3c1b34c..44f76c1d551 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts @@ -34,7 +34,7 @@ export interface ResumePostRequestBody extends AdditionalDataHolder, Parsable { type?: string; } export function serializeResumePostRequestBody(writer: SerializationWriter, resumePostRequestBody: ResumePostRequestBody | undefined = {} as ResumePostRequestBody) : void { - writer.writeObjectValue("data", resumePostRequestBody.data, ); + writer.writeObjectValue("data", resumePostRequestBody.data, serializeCustomTaskExtensionCallbackData); writer.writeStringValue("source", resumePostRequestBody.source); writer.writeStringValue("type", resumePostRequestBody.type); writer.writeAdditionalData(resumePostRequestBody.additionalData); diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts index 2b14144310a..2ff63b8495e 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/taskReports/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts @@ -34,7 +34,7 @@ export interface ResumePostRequestBody extends AdditionalDataHolder, Parsable { type?: string; } export function serializeResumePostRequestBody(writer: SerializationWriter, resumePostRequestBody: ResumePostRequestBody | undefined = {} as ResumePostRequestBody) : void { - writer.writeObjectValue("data", resumePostRequestBody.data, ); + writer.writeObjectValue("data", resumePostRequestBody.data, serializeCustomTaskExtensionCallbackData); writer.writeStringValue("source", resumePostRequestBody.source); writer.writeStringValue("type", resumePostRequestBody.type); writer.writeAdditionalData(resumePostRequestBody.additionalData); diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts index 2b14144310a..2ff63b8495e 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts @@ -34,7 +34,7 @@ export interface ResumePostRequestBody extends AdditionalDataHolder, Parsable { type?: string; } export function serializeResumePostRequestBody(writer: SerializationWriter, resumePostRequestBody: ResumePostRequestBody | undefined = {} as ResumePostRequestBody) : void { - writer.writeObjectValue("data", resumePostRequestBody.data, ); + writer.writeObjectValue("data", resumePostRequestBody.data, serializeCustomTaskExtensionCallbackData); writer.writeStringValue("source", resumePostRequestBody.source); writer.writeStringValue("type", resumePostRequestBody.type); writer.writeAdditionalData(resumePostRequestBody.additionalData); diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts index 2b14144310a..2ff63b8495e 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts @@ -34,7 +34,7 @@ export interface ResumePostRequestBody extends AdditionalDataHolder, Parsable { type?: string; } export function serializeResumePostRequestBody(writer: SerializationWriter, resumePostRequestBody: ResumePostRequestBody | undefined = {} as ResumePostRequestBody) : void { - writer.writeObjectValue("data", resumePostRequestBody.data, ); + writer.writeObjectValue("data", resumePostRequestBody.data, serializeCustomTaskExtensionCallbackData); writer.writeStringValue("source", resumePostRequestBody.source); writer.writeStringValue("type", resumePostRequestBody.type); writer.writeAdditionalData(resumePostRequestBody.additionalData); diff --git a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts index 43ec3c1b34c..44f76c1d551 100644 --- a/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts +++ b/src/identityGovernance/lifecycleWorkflows/deletedItems/workflows/item/versions/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts @@ -34,7 +34,7 @@ export interface ResumePostRequestBody extends AdditionalDataHolder, Parsable { type?: string; } export function serializeResumePostRequestBody(writer: SerializationWriter, resumePostRequestBody: ResumePostRequestBody | undefined = {} as ResumePostRequestBody) : void { - writer.writeObjectValue("data", resumePostRequestBody.data, ); + writer.writeObjectValue("data", resumePostRequestBody.data, serializeCustomTaskExtensionCallbackData); writer.writeStringValue("source", resumePostRequestBody.source); writer.writeStringValue("type", resumePostRequestBody.type); writer.writeAdditionalData(resumePostRequestBody.additionalData); diff --git a/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts b/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts index fa8454b132b..30355cd211f 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflowTemplates/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts @@ -34,7 +34,7 @@ export interface ResumePostRequestBody extends AdditionalDataHolder, Parsable { type?: string; } export function serializeResumePostRequestBody(writer: SerializationWriter, resumePostRequestBody: ResumePostRequestBody | undefined = {} as ResumePostRequestBody) : void { - writer.writeObjectValue("data", resumePostRequestBody.data, ); + writer.writeObjectValue("data", resumePostRequestBody.data, serializeCustomTaskExtensionCallbackData); writer.writeStringValue("source", resumePostRequestBody.source); writer.writeStringValue("type", resumePostRequestBody.type); writer.writeAdditionalData(resumePostRequestBody.additionalData); diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/microsoftGraphIdentityGovernanceActivate/activatePostRequestBody.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/microsoftGraphIdentityGovernanceActivate/activatePostRequestBody.ts index 12c3719f911..774a953dd02 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/microsoftGraphIdentityGovernanceActivate/activatePostRequestBody.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/microsoftGraphIdentityGovernanceActivate/activatePostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoActivatePostRequestBody(activatePostRequestBody: } } export function serializeActivatePostRequestBody(writer: SerializationWriter, activatePostRequestBody: ActivatePostRequestBody | undefined = {} as ActivatePostRequestBody) : void { - writer.writeCollectionOfObjectValues("subjects", activatePostRequestBody.subjects, ); + writer.writeCollectionOfObjectValues("subjects", activatePostRequestBody.subjects, serializeUser); writer.writeAdditionalData(activatePostRequestBody.additionalData); } // tslint:enable diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/microsoftGraphIdentityGovernanceCreateNewVersion/createNewVersionPostRequestBody.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/microsoftGraphIdentityGovernanceCreateNewVersion/createNewVersionPostRequestBody.ts index e6ed18c5902..7e50d06fc0d 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/microsoftGraphIdentityGovernanceCreateNewVersion/createNewVersionPostRequestBody.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/microsoftGraphIdentityGovernanceCreateNewVersion/createNewVersionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateNewVersionPostRequestBody(createNewVersionP } } export function serializeCreateNewVersionPostRequestBody(writer: SerializationWriter, createNewVersionPostRequestBody: CreateNewVersionPostRequestBody | undefined = {} as CreateNewVersionPostRequestBody) : void { - writer.writeObjectValue("workflow", createNewVersionPostRequestBody.workflow, ); + writer.writeObjectValue("workflow", createNewVersionPostRequestBody.workflow, serializeWorkflow); writer.writeAdditionalData(createNewVersionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts index fa8454b132b..30355cd211f 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts @@ -34,7 +34,7 @@ export interface ResumePostRequestBody extends AdditionalDataHolder, Parsable { type?: string; } export function serializeResumePostRequestBody(writer: SerializationWriter, resumePostRequestBody: ResumePostRequestBody | undefined = {} as ResumePostRequestBody) : void { - writer.writeObjectValue("data", resumePostRequestBody.data, ); + writer.writeObjectValue("data", resumePostRequestBody.data, serializeCustomTaskExtensionCallbackData); writer.writeStringValue("source", resumePostRequestBody.source); writer.writeStringValue("type", resumePostRequestBody.type); writer.writeAdditionalData(resumePostRequestBody.additionalData); diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts index c1be73d25fc..e7faf9921d4 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/runs/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts @@ -34,7 +34,7 @@ export interface ResumePostRequestBody extends AdditionalDataHolder, Parsable { type?: string; } export function serializeResumePostRequestBody(writer: SerializationWriter, resumePostRequestBody: ResumePostRequestBody | undefined = {} as ResumePostRequestBody) : void { - writer.writeObjectValue("data", resumePostRequestBody.data, ); + writer.writeObjectValue("data", resumePostRequestBody.data, serializeCustomTaskExtensionCallbackData); writer.writeStringValue("source", resumePostRequestBody.source); writer.writeStringValue("type", resumePostRequestBody.type); writer.writeAdditionalData(resumePostRequestBody.additionalData); diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts index fa8454b132b..30355cd211f 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/taskReports/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts @@ -34,7 +34,7 @@ export interface ResumePostRequestBody extends AdditionalDataHolder, Parsable { type?: string; } export function serializeResumePostRequestBody(writer: SerializationWriter, resumePostRequestBody: ResumePostRequestBody | undefined = {} as ResumePostRequestBody) : void { - writer.writeObjectValue("data", resumePostRequestBody.data, ); + writer.writeObjectValue("data", resumePostRequestBody.data, serializeCustomTaskExtensionCallbackData); writer.writeStringValue("source", resumePostRequestBody.source); writer.writeStringValue("type", resumePostRequestBody.type); writer.writeAdditionalData(resumePostRequestBody.additionalData); diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts index fa8454b132b..30355cd211f 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts @@ -34,7 +34,7 @@ export interface ResumePostRequestBody extends AdditionalDataHolder, Parsable { type?: string; } export function serializeResumePostRequestBody(writer: SerializationWriter, resumePostRequestBody: ResumePostRequestBody | undefined = {} as ResumePostRequestBody) : void { - writer.writeObjectValue("data", resumePostRequestBody.data, ); + writer.writeObjectValue("data", resumePostRequestBody.data, serializeCustomTaskExtensionCallbackData); writer.writeStringValue("source", resumePostRequestBody.source); writer.writeStringValue("type", resumePostRequestBody.type); writer.writeAdditionalData(resumePostRequestBody.additionalData); diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts index fa8454b132b..30355cd211f 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/userProcessingResults/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts @@ -34,7 +34,7 @@ export interface ResumePostRequestBody extends AdditionalDataHolder, Parsable { type?: string; } export function serializeResumePostRequestBody(writer: SerializationWriter, resumePostRequestBody: ResumePostRequestBody | undefined = {} as ResumePostRequestBody) : void { - writer.writeObjectValue("data", resumePostRequestBody.data, ); + writer.writeObjectValue("data", resumePostRequestBody.data, serializeCustomTaskExtensionCallbackData); writer.writeStringValue("source", resumePostRequestBody.source); writer.writeStringValue("type", resumePostRequestBody.type); writer.writeAdditionalData(resumePostRequestBody.additionalData); diff --git a/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts b/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts index c1be73d25fc..e7faf9921d4 100644 --- a/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts +++ b/src/identityGovernance/lifecycleWorkflows/workflows/item/versions/item/tasks/item/taskProcessingResults/item/microsoftGraphIdentityGovernanceResume/resumePostRequestBody.ts @@ -34,7 +34,7 @@ export interface ResumePostRequestBody extends AdditionalDataHolder, Parsable { type?: string; } export function serializeResumePostRequestBody(writer: SerializationWriter, resumePostRequestBody: ResumePostRequestBody | undefined = {} as ResumePostRequestBody) : void { - writer.writeObjectValue("data", resumePostRequestBody.data, ); + writer.writeObjectValue("data", resumePostRequestBody.data, serializeCustomTaskExtensionCallbackData); writer.writeStringValue("source", resumePostRequestBody.source); writer.writeStringValue("type", resumePostRequestBody.type); writer.writeAdditionalData(resumePostRequestBody.additionalData); diff --git a/src/identityGovernance/privilegedAccess/group/assignmentApprovals/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts b/src/identityGovernance/privilegedAccess/group/assignmentApprovals/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts index 0da7064417a..fa6e3cfd517 100644 --- a/src/identityGovernance/privilegedAccess/group/assignmentApprovals/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts +++ b/src/identityGovernance/privilegedAccess/group/assignmentApprovals/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts @@ -23,7 +23,7 @@ export interface FilterByCurrentUserWithOnGetResponse extends BaseCollectionPagi } export function serializeFilterByCurrentUserWithOnGetResponse(writer: SerializationWriter, filterByCurrentUserWithOnGetResponse: FilterByCurrentUserWithOnGetResponse | undefined = {} as FilterByCurrentUserWithOnGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, filterByCurrentUserWithOnGetResponse) - writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, serializeApproval); } // tslint:enable // eslint-enable diff --git a/src/identityGovernance/privilegedAccess/group/assignmentScheduleInstances/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts b/src/identityGovernance/privilegedAccess/group/assignmentScheduleInstances/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts index 688028cadd6..2cb8cb833c3 100644 --- a/src/identityGovernance/privilegedAccess/group/assignmentScheduleInstances/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts +++ b/src/identityGovernance/privilegedAccess/group/assignmentScheduleInstances/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts @@ -23,7 +23,7 @@ export interface FilterByCurrentUserWithOnGetResponse extends BaseCollectionPagi } export function serializeFilterByCurrentUserWithOnGetResponse(writer: SerializationWriter, filterByCurrentUserWithOnGetResponse: FilterByCurrentUserWithOnGetResponse | undefined = {} as FilterByCurrentUserWithOnGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, filterByCurrentUserWithOnGetResponse) - writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, serializePrivilegedAccessGroupAssignmentScheduleInstance); } // tslint:enable // eslint-enable diff --git a/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts b/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts index a386774720e..052e160f83f 100644 --- a/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts +++ b/src/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts @@ -23,7 +23,7 @@ export interface FilterByCurrentUserWithOnGetResponse extends BaseCollectionPagi } export function serializeFilterByCurrentUserWithOnGetResponse(writer: SerializationWriter, filterByCurrentUserWithOnGetResponse: FilterByCurrentUserWithOnGetResponse | undefined = {} as FilterByCurrentUserWithOnGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, filterByCurrentUserWithOnGetResponse) - writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, serializePrivilegedAccessGroupAssignmentScheduleRequest); } // tslint:enable // eslint-enable diff --git a/src/identityGovernance/privilegedAccess/group/assignmentSchedules/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts b/src/identityGovernance/privilegedAccess/group/assignmentSchedules/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts index d12a03199f3..e19bd0f6db1 100644 --- a/src/identityGovernance/privilegedAccess/group/assignmentSchedules/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts +++ b/src/identityGovernance/privilegedAccess/group/assignmentSchedules/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts @@ -23,7 +23,7 @@ export interface FilterByCurrentUserWithOnGetResponse extends BaseCollectionPagi } export function serializeFilterByCurrentUserWithOnGetResponse(writer: SerializationWriter, filterByCurrentUserWithOnGetResponse: FilterByCurrentUserWithOnGetResponse | undefined = {} as FilterByCurrentUserWithOnGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, filterByCurrentUserWithOnGetResponse) - writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, serializePrivilegedAccessGroupAssignmentSchedule); } // tslint:enable // eslint-enable diff --git a/src/identityGovernance/privilegedAccess/group/eligibilityScheduleInstances/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts b/src/identityGovernance/privilegedAccess/group/eligibilityScheduleInstances/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts index 23cdfdd1959..4b2bc958d0f 100644 --- a/src/identityGovernance/privilegedAccess/group/eligibilityScheduleInstances/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts +++ b/src/identityGovernance/privilegedAccess/group/eligibilityScheduleInstances/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts @@ -23,7 +23,7 @@ export interface FilterByCurrentUserWithOnGetResponse extends BaseCollectionPagi } export function serializeFilterByCurrentUserWithOnGetResponse(writer: SerializationWriter, filterByCurrentUserWithOnGetResponse: FilterByCurrentUserWithOnGetResponse | undefined = {} as FilterByCurrentUserWithOnGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, filterByCurrentUserWithOnGetResponse) - writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, serializePrivilegedAccessGroupEligibilityScheduleInstance); } // tslint:enable // eslint-enable diff --git a/src/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts b/src/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts index 95cd6f38f9e..e1c912577bf 100644 --- a/src/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts +++ b/src/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts @@ -23,7 +23,7 @@ export interface FilterByCurrentUserWithOnGetResponse extends BaseCollectionPagi } export function serializeFilterByCurrentUserWithOnGetResponse(writer: SerializationWriter, filterByCurrentUserWithOnGetResponse: FilterByCurrentUserWithOnGetResponse | undefined = {} as FilterByCurrentUserWithOnGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, filterByCurrentUserWithOnGetResponse) - writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, serializePrivilegedAccessGroupEligibilityScheduleRequest); } // tslint:enable // eslint-enable diff --git a/src/identityGovernance/privilegedAccess/group/eligibilitySchedules/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts b/src/identityGovernance/privilegedAccess/group/eligibilitySchedules/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts index e5fb4e141f2..6255810b9ad 100644 --- a/src/identityGovernance/privilegedAccess/group/eligibilitySchedules/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts +++ b/src/identityGovernance/privilegedAccess/group/eligibilitySchedules/filterByCurrentUserWithOn/filterByCurrentUserWithOnGetResponse.ts @@ -23,7 +23,7 @@ export interface FilterByCurrentUserWithOnGetResponse extends BaseCollectionPagi } export function serializeFilterByCurrentUserWithOnGetResponse(writer: SerializationWriter, filterByCurrentUserWithOnGetResponse: FilterByCurrentUserWithOnGetResponse | undefined = {} as FilterByCurrentUserWithOnGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, filterByCurrentUserWithOnGetResponse) - writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", filterByCurrentUserWithOnGetResponse.value, serializePrivilegedAccessGroupEligibilitySchedule); } // tslint:enable // eslint-enable diff --git a/src/identityGovernance/termsOfUse/agreements/item/agreementItemRequestBuilder.ts b/src/identityGovernance/termsOfUse/agreements/item/agreementItemRequestBuilder.ts index bbf79a335db..88642a1d1f8 100644 --- a/src/identityGovernance/termsOfUse/agreements/item/agreementItemRequestBuilder.ts +++ b/src/identityGovernance/termsOfUse/agreements/item/agreementItemRequestBuilder.ts @@ -99,10 +99,10 @@ export class AgreementItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Retrieve all files related to an agreement. This includes the default file and all localized files. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an agreement object. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Agreement - * @see {@link https://learn.microsoft.com/graph/api/agreement-list-files?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/agreement-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: AgreementItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -149,7 +149,7 @@ export class AgreementItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Retrieve all files related to an agreement. This includes the default file and all localized files. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an agreement object. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/kiota-lock.json b/src/kiota-lock.json index d1caa0bc6e1..63a5b1cb5b5 100644 --- a/src/kiota-lock.json +++ b/src/kiota-lock.json @@ -1,6 +1,6 @@ { - "descriptionHash": "7D71C80CC2146174F8D8AB291B6D44A99DD05C3385B4AA3978E6B156539092B308A9941D6AE5C4C9DB1789EC99902436AD99DFBC87654AEBEDD78CA1631072A3", - "descriptionLocation": "/mnt/vss/_work/1/s/msgraph-metadata/clean_v10_openapi/openapi.yaml", + "descriptionHash": "9726C0F6280FE5ADD33A59C18A02BB52FC44FF138408DD298A9BBE883D38987DDBA064F59CD3C2314057B9F8BA69EAC18DDE94DD4C257042B32CD2382D5CE132", + "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.8.0", "clientClassName": "GraphBaseServiceClient", diff --git a/src/me/activities/recent/recentGetResponse.ts b/src/me/activities/recent/recentGetResponse.ts index ba6626f35c6..3d8ad5db30a 100644 --- a/src/me/activities/recent/recentGetResponse.ts +++ b/src/me/activities/recent/recentGetResponse.ts @@ -23,7 +23,7 @@ export interface RecentGetResponse extends BaseCollectionPaginationCountResponse } export function serializeRecentGetResponse(writer: SerializationWriter, recentGetResponse: RecentGetResponse | undefined = {} as RecentGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, recentGetResponse) - writer.writeCollectionOfObjectValues("value", recentGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", recentGetResponse.value, serializeUserActivity); } // tslint:enable // eslint-enable diff --git a/src/me/assignLicense/assignLicensePostRequestBody.ts b/src/me/assignLicense/assignLicensePostRequestBody.ts index e6cb4b53d31..3b8c0de8c7c 100644 --- a/src/me/assignLicense/assignLicensePostRequestBody.ts +++ b/src/me/assignLicense/assignLicensePostRequestBody.ts @@ -30,7 +30,7 @@ export function deserializeIntoAssignLicensePostRequestBody(assignLicensePostReq } } export function serializeAssignLicensePostRequestBody(writer: SerializationWriter, assignLicensePostRequestBody: AssignLicensePostRequestBody | undefined = {} as AssignLicensePostRequestBody) : void { - writer.writeCollectionOfObjectValues("addLicenses", assignLicensePostRequestBody.addLicenses, ); + writer.writeCollectionOfObjectValues("addLicenses", assignLicensePostRequestBody.addLicenses, serializeAssignedLicense); writer.writeCollectionOfPrimitiveValues("removeLicenses", assignLicensePostRequestBody.removeLicenses); writer.writeAdditionalData(assignLicensePostRequestBody.additionalData); } diff --git a/src/me/calendar/calendarView/delta/deltaGetResponse.ts b/src/me/calendar/calendarView/delta/deltaGetResponse.ts index 8cee84a293b..6acc58c8bea 100644 --- a/src/me/calendar/calendarView/delta/deltaGetResponse.ts +++ b/src/me/calendar/calendarView/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/me/calendar/calendarView/item/attachments/attachmentsRequestBuilder.ts b/src/me/calendar/calendarView/item/attachments/attachmentsRequestBuilder.ts index 4556ae39f3f..055d91dda8b 100644 --- a/src/me/calendar/calendarView/item/attachments/attachmentsRequestBuilder.ts +++ b/src/me/calendar/calendarView/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -152,7 +152,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/me/calendar/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/me/calendar/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index a37d20db8b5..f9c42acb3f5 100644 --- a/src/me/calendar/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/me/calendar/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendar/calendarView/item/decline/declinePostRequestBody.ts b/src/me/calendar/calendarView/item/decline/declinePostRequestBody.ts index 8b3cd6a1720..d78c25b7b9d 100644 --- a/src/me/calendar/calendarView/item/decline/declinePostRequestBody.ts +++ b/src/me/calendar/calendarView/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/me/calendar/calendarView/item/forward/forwardPostRequestBody.ts b/src/me/calendar/calendarView/item/forward/forwardPostRequestBody.ts index 67470e5a870..5b7e40ebb5d 100644 --- a/src/me/calendar/calendarView/item/forward/forwardPostRequestBody.ts +++ b/src/me/calendar/calendarView/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendar/calendarView/item/instances/delta/deltaGetResponse.ts b/src/me/calendar/calendarView/item/instances/delta/deltaGetResponse.ts index 635f262e8b6..af8be464f99 100644 --- a/src/me/calendar/calendarView/item/instances/delta/deltaGetResponse.ts +++ b/src/me/calendar/calendarView/item/instances/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/me/calendar/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts b/src/me/calendar/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts index bb252ef23c7..af4c34500a4 100644 --- a/src/me/calendar/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts +++ b/src/me/calendar/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -152,7 +152,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/me/calendar/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/me/calendar/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 06ae4d93d2b..a832c0c5be9 100644 --- a/src/me/calendar/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/me/calendar/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendar/calendarView/item/instances/item/decline/declinePostRequestBody.ts b/src/me/calendar/calendarView/item/instances/item/decline/declinePostRequestBody.ts index ec45cf1117f..5c02e0cb78e 100644 --- a/src/me/calendar/calendarView/item/instances/item/decline/declinePostRequestBody.ts +++ b/src/me/calendar/calendarView/item/instances/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/me/calendar/calendarView/item/instances/item/forward/forwardPostRequestBody.ts b/src/me/calendar/calendarView/item/instances/item/forward/forwardPostRequestBody.ts index 94b2f19784d..1fd7eb4c631 100644 --- a/src/me/calendar/calendarView/item/instances/item/forward/forwardPostRequestBody.ts +++ b/src/me/calendar/calendarView/item/instances/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendar/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/me/calendar/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts index d387c8cb82a..6865d46dc63 100644 --- a/src/me/calendar/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/me/calendar/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/me/calendar/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/me/calendar/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index bf23c7d25b5..35fd7b70f77 100644 --- a/src/me/calendar/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/me/calendar/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/me/calendar/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/me/calendar/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts index e32b3ce89a5..4ee934df0da 100644 --- a/src/me/calendar/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/me/calendar/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/me/calendar/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/me/calendar/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index 562bd613343..141293c36bf 100644 --- a/src/me/calendar/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/me/calendar/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/me/calendar/events/delta/deltaGetResponse.ts b/src/me/calendar/events/delta/deltaGetResponse.ts index 8cee84a293b..6acc58c8bea 100644 --- a/src/me/calendar/events/delta/deltaGetResponse.ts +++ b/src/me/calendar/events/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/me/calendar/events/item/attachments/attachmentsRequestBuilder.ts b/src/me/calendar/events/item/attachments/attachmentsRequestBuilder.ts index ad7cc825b4c..94a478f4eba 100644 --- a/src/me/calendar/events/item/attachments/attachmentsRequestBuilder.ts +++ b/src/me/calendar/events/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -152,7 +152,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/me/calendar/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/me/calendar/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index a37d20db8b5..f9c42acb3f5 100644 --- a/src/me/calendar/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/me/calendar/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendar/events/item/decline/declinePostRequestBody.ts b/src/me/calendar/events/item/decline/declinePostRequestBody.ts index 8b3cd6a1720..d78c25b7b9d 100644 --- a/src/me/calendar/events/item/decline/declinePostRequestBody.ts +++ b/src/me/calendar/events/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/me/calendar/events/item/forward/forwardPostRequestBody.ts b/src/me/calendar/events/item/forward/forwardPostRequestBody.ts index 67470e5a870..5b7e40ebb5d 100644 --- a/src/me/calendar/events/item/forward/forwardPostRequestBody.ts +++ b/src/me/calendar/events/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendar/events/item/instances/delta/deltaGetResponse.ts b/src/me/calendar/events/item/instances/delta/deltaGetResponse.ts index 635f262e8b6..af8be464f99 100644 --- a/src/me/calendar/events/item/instances/delta/deltaGetResponse.ts +++ b/src/me/calendar/events/item/instances/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/me/calendar/events/item/instances/item/attachments/attachmentsRequestBuilder.ts b/src/me/calendar/events/item/instances/item/attachments/attachmentsRequestBuilder.ts index 8d65206b5a1..03c9a8e409c 100644 --- a/src/me/calendar/events/item/instances/item/attachments/attachmentsRequestBuilder.ts +++ b/src/me/calendar/events/item/instances/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -152,7 +152,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/me/calendar/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/me/calendar/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 06ae4d93d2b..a832c0c5be9 100644 --- a/src/me/calendar/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/me/calendar/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendar/events/item/instances/item/decline/declinePostRequestBody.ts b/src/me/calendar/events/item/instances/item/decline/declinePostRequestBody.ts index ec45cf1117f..5c02e0cb78e 100644 --- a/src/me/calendar/events/item/instances/item/decline/declinePostRequestBody.ts +++ b/src/me/calendar/events/item/instances/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/me/calendar/events/item/instances/item/forward/forwardPostRequestBody.ts b/src/me/calendar/events/item/instances/item/forward/forwardPostRequestBody.ts index 94b2f19784d..1fd7eb4c631 100644 --- a/src/me/calendar/events/item/instances/item/forward/forwardPostRequestBody.ts +++ b/src/me/calendar/events/item/instances/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendar/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/me/calendar/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts index d387c8cb82a..6865d46dc63 100644 --- a/src/me/calendar/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/me/calendar/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/me/calendar/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/me/calendar/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index bf23c7d25b5..35fd7b70f77 100644 --- a/src/me/calendar/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/me/calendar/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/me/calendar/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/me/calendar/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts index e32b3ce89a5..4ee934df0da 100644 --- a/src/me/calendar/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/me/calendar/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/me/calendar/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/me/calendar/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index 562bd613343..141293c36bf 100644 --- a/src/me/calendar/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/me/calendar/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/me/calendar/getSchedule/getSchedulePostRequestBody.ts b/src/me/calendar/getSchedule/getSchedulePostRequestBody.ts index 2317074c531..4cbd712fe94 100644 --- a/src/me/calendar/getSchedule/getSchedulePostRequestBody.ts +++ b/src/me/calendar/getSchedule/getSchedulePostRequestBody.ts @@ -40,9 +40,9 @@ export interface GetSchedulePostRequestBody extends AdditionalDataHolder, Parsab } export function serializeGetSchedulePostRequestBody(writer: SerializationWriter, getSchedulePostRequestBody: GetSchedulePostRequestBody | undefined = {} as GetSchedulePostRequestBody) : void { writer.writeNumberValue("AvailabilityViewInterval", getSchedulePostRequestBody.availabilityViewInterval); - writer.writeObjectValue("EndTime", getSchedulePostRequestBody.endTime, ); + writer.writeObjectValue("EndTime", getSchedulePostRequestBody.endTime, serializeDateTimeTimeZone); writer.writeCollectionOfPrimitiveValues("Schedules", getSchedulePostRequestBody.schedules); - writer.writeObjectValue("StartTime", getSchedulePostRequestBody.startTime, ); + writer.writeObjectValue("StartTime", getSchedulePostRequestBody.startTime, serializeDateTimeTimeZone); writer.writeAdditionalData(getSchedulePostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendar/getSchedule/getSchedulePostResponse.ts b/src/me/calendar/getSchedule/getSchedulePostResponse.ts index 17fd4f0d5c8..a22650c70c2 100644 --- a/src/me/calendar/getSchedule/getSchedulePostResponse.ts +++ b/src/me/calendar/getSchedule/getSchedulePostResponse.ts @@ -23,7 +23,7 @@ export interface GetSchedulePostResponse extends BaseCollectionPaginationCountRe } export function serializeGetSchedulePostResponse(writer: SerializationWriter, getSchedulePostResponse: GetSchedulePostResponse | undefined = {} as GetSchedulePostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getSchedulePostResponse) - writer.writeCollectionOfObjectValues("value", getSchedulePostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getSchedulePostResponse.value, serializeScheduleInformation); } // tslint:enable // eslint-enable diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/delta/deltaGetResponse.ts b/src/me/calendarGroups/item/calendars/item/calendarView/delta/deltaGetResponse.ts index 8be0cb7a0de..c6f53629281 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/delta/deltaGetResponse.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/attachments/attachmentsRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/attachments/attachmentsRequestBuilder.ts index ebdd9196adf..7ef5b337601 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/attachments/attachmentsRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -152,7 +152,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 3931586d212..699cced79e3 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/decline/declinePostRequestBody.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/decline/declinePostRequestBody.ts index 55f9797c3e4..865b6a39dc4 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/decline/declinePostRequestBody.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/forward/forwardPostRequestBody.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/forward/forwardPostRequestBody.ts index 216c306313f..37dde22b05f 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/forward/forwardPostRequestBody.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/delta/deltaGetResponse.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/delta/deltaGetResponse.ts index 092213f54bd..9e2cc20db1f 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/delta/deltaGetResponse.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts index 59fbea23f52..83145bd4d2f 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -152,7 +152,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index d11191b031c..2ab77fe3a0b 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/decline/declinePostRequestBody.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/decline/declinePostRequestBody.ts index aab20ba3870..1ef84666c65 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/decline/declinePostRequestBody.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/forward/forwardPostRequestBody.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/forward/forwardPostRequestBody.ts index 4ddb9869c59..3a184fe91e9 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/forward/forwardPostRequestBody.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts index d5309bf1424..be63f0f3e93 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index 2eb8e5bd3c9..0465b78d132 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts index 33d0c842ceb..5be0402ddf1 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/me/calendarGroups/item/calendars/item/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/me/calendarGroups/item/calendars/item/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index c3e36e31455..d981a443d27 100644 --- a/src/me/calendarGroups/item/calendars/item/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/me/calendarGroups/item/calendars/item/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/me/calendarGroups/item/calendars/item/events/delta/deltaGetResponse.ts b/src/me/calendarGroups/item/calendars/item/events/delta/deltaGetResponse.ts index 8be0cb7a0de..c6f53629281 100644 --- a/src/me/calendarGroups/item/calendars/item/events/delta/deltaGetResponse.ts +++ b/src/me/calendarGroups/item/calendars/item/events/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/me/calendarGroups/item/calendars/item/events/item/attachments/attachmentsRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/events/item/attachments/attachmentsRequestBuilder.ts index 86b4ddaeefd..9af85c4ea5c 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/attachments/attachmentsRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -152,7 +152,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/me/calendarGroups/item/calendars/item/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/me/calendarGroups/item/calendars/item/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 3931586d212..699cced79e3 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendarGroups/item/calendars/item/events/item/decline/declinePostRequestBody.ts b/src/me/calendarGroups/item/calendars/item/events/item/decline/declinePostRequestBody.ts index 55f9797c3e4..865b6a39dc4 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/decline/declinePostRequestBody.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/me/calendarGroups/item/calendars/item/events/item/forward/forwardPostRequestBody.ts b/src/me/calendarGroups/item/calendars/item/events/item/forward/forwardPostRequestBody.ts index 216c306313f..37dde22b05f 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/forward/forwardPostRequestBody.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendarGroups/item/calendars/item/events/item/instances/delta/deltaGetResponse.ts b/src/me/calendarGroups/item/calendars/item/events/item/instances/delta/deltaGetResponse.ts index 092213f54bd..9e2cc20db1f 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/instances/delta/deltaGetResponse.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/instances/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/attachments/attachmentsRequestBuilder.ts b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/attachments/attachmentsRequestBuilder.ts index 9449c5600c3..50e3491bb6b 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/attachments/attachmentsRequestBuilder.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -152,7 +152,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index d11191b031c..2ab77fe3a0b 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/decline/declinePostRequestBody.ts b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/decline/declinePostRequestBody.ts index aab20ba3870..1ef84666c65 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/decline/declinePostRequestBody.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/forward/forwardPostRequestBody.ts b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/forward/forwardPostRequestBody.ts index 4ddb9869c59..3a184fe91e9 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/forward/forwardPostRequestBody.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts index d5309bf1424..be63f0f3e93 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index 2eb8e5bd3c9..0465b78d132 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/me/calendarGroups/item/calendars/item/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/me/calendarGroups/item/calendars/item/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts index 33d0c842ceb..5be0402ddf1 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/me/calendarGroups/item/calendars/item/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/me/calendarGroups/item/calendars/item/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index c3e36e31455..d981a443d27 100644 --- a/src/me/calendarGroups/item/calendars/item/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/me/calendarGroups/item/calendars/item/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/me/calendarGroups/item/calendars/item/getSchedule/getSchedulePostRequestBody.ts b/src/me/calendarGroups/item/calendars/item/getSchedule/getSchedulePostRequestBody.ts index 85241d95989..166340c2441 100644 --- a/src/me/calendarGroups/item/calendars/item/getSchedule/getSchedulePostRequestBody.ts +++ b/src/me/calendarGroups/item/calendars/item/getSchedule/getSchedulePostRequestBody.ts @@ -40,9 +40,9 @@ export interface GetSchedulePostRequestBody extends AdditionalDataHolder, Parsab } export function serializeGetSchedulePostRequestBody(writer: SerializationWriter, getSchedulePostRequestBody: GetSchedulePostRequestBody | undefined = {} as GetSchedulePostRequestBody) : void { writer.writeNumberValue("AvailabilityViewInterval", getSchedulePostRequestBody.availabilityViewInterval); - writer.writeObjectValue("EndTime", getSchedulePostRequestBody.endTime, ); + writer.writeObjectValue("EndTime", getSchedulePostRequestBody.endTime, serializeDateTimeTimeZone); writer.writeCollectionOfPrimitiveValues("Schedules", getSchedulePostRequestBody.schedules); - writer.writeObjectValue("StartTime", getSchedulePostRequestBody.startTime, ); + writer.writeObjectValue("StartTime", getSchedulePostRequestBody.startTime, serializeDateTimeTimeZone); writer.writeAdditionalData(getSchedulePostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendarGroups/item/calendars/item/getSchedule/getSchedulePostResponse.ts b/src/me/calendarGroups/item/calendars/item/getSchedule/getSchedulePostResponse.ts index 45dbbe06558..8d357607115 100644 --- a/src/me/calendarGroups/item/calendars/item/getSchedule/getSchedulePostResponse.ts +++ b/src/me/calendarGroups/item/calendars/item/getSchedule/getSchedulePostResponse.ts @@ -23,7 +23,7 @@ export interface GetSchedulePostResponse extends BaseCollectionPaginationCountRe } export function serializeGetSchedulePostResponse(writer: SerializationWriter, getSchedulePostResponse: GetSchedulePostResponse | undefined = {} as GetSchedulePostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getSchedulePostResponse) - writer.writeCollectionOfObjectValues("value", getSchedulePostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getSchedulePostResponse.value, serializeScheduleInformation); } // tslint:enable // eslint-enable diff --git a/src/me/calendarView/delta/deltaGetResponse.ts b/src/me/calendarView/delta/deltaGetResponse.ts index 07c8519ed15..35216a8e092 100644 --- a/src/me/calendarView/delta/deltaGetResponse.ts +++ b/src/me/calendarView/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/me/calendarView/item/attachments/attachmentsRequestBuilder.ts b/src/me/calendarView/item/attachments/attachmentsRequestBuilder.ts index b77905cafdb..ffcab9d11e0 100644 --- a/src/me/calendarView/item/attachments/attachmentsRequestBuilder.ts +++ b/src/me/calendarView/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -152,7 +152,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/me/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/me/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 5767bf96b45..78386346d8c 100644 --- a/src/me/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/me/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendarView/item/decline/declinePostRequestBody.ts b/src/me/calendarView/item/decline/declinePostRequestBody.ts index f87a67456e3..19a874f2962 100644 --- a/src/me/calendarView/item/decline/declinePostRequestBody.ts +++ b/src/me/calendarView/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/me/calendarView/item/forward/forwardPostRequestBody.ts b/src/me/calendarView/item/forward/forwardPostRequestBody.ts index fc9f1198d42..2ccd8932e99 100644 --- a/src/me/calendarView/item/forward/forwardPostRequestBody.ts +++ b/src/me/calendarView/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendarView/item/instances/delta/deltaGetResponse.ts b/src/me/calendarView/item/instances/delta/deltaGetResponse.ts index 47bbc317f99..c9a93c3f3cb 100644 --- a/src/me/calendarView/item/instances/delta/deltaGetResponse.ts +++ b/src/me/calendarView/item/instances/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/me/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts b/src/me/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts index 518904ecf62..3444009a270 100644 --- a/src/me/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts +++ b/src/me/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -152,7 +152,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/me/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/me/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 03bda6fd973..c62a27a840c 100644 --- a/src/me/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/me/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendarView/item/instances/item/decline/declinePostRequestBody.ts b/src/me/calendarView/item/instances/item/decline/declinePostRequestBody.ts index 0ce0fb56f9c..b1854529907 100644 --- a/src/me/calendarView/item/instances/item/decline/declinePostRequestBody.ts +++ b/src/me/calendarView/item/instances/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/me/calendarView/item/instances/item/forward/forwardPostRequestBody.ts b/src/me/calendarView/item/instances/item/forward/forwardPostRequestBody.ts index d98d46c3a79..c67b323605d 100644 --- a/src/me/calendarView/item/instances/item/forward/forwardPostRequestBody.ts +++ b/src/me/calendarView/item/instances/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/me/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts index 5eaf238f56c..c4489633e4f 100644 --- a/src/me/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/me/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/me/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/me/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index c735add43a5..520fb7e1db2 100644 --- a/src/me/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/me/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/me/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/me/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts index c297dc43d87..f568b0282cb 100644 --- a/src/me/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/me/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/me/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/me/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index fd759337a9a..ec8ec728355 100644 --- a/src/me/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/me/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/me/calendars/item/calendarView/delta/deltaGetResponse.ts b/src/me/calendars/item/calendarView/delta/deltaGetResponse.ts index 47bbc317f99..c9a93c3f3cb 100644 --- a/src/me/calendars/item/calendarView/delta/deltaGetResponse.ts +++ b/src/me/calendars/item/calendarView/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/me/calendars/item/calendarView/item/attachments/attachmentsRequestBuilder.ts b/src/me/calendars/item/calendarView/item/attachments/attachmentsRequestBuilder.ts index 941d8aeeabf..91dcafe00a6 100644 --- a/src/me/calendars/item/calendarView/item/attachments/attachmentsRequestBuilder.ts +++ b/src/me/calendars/item/calendarView/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -152,7 +152,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/me/calendars/item/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/me/calendars/item/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 03bda6fd973..c62a27a840c 100644 --- a/src/me/calendars/item/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/me/calendars/item/calendarView/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendars/item/calendarView/item/decline/declinePostRequestBody.ts b/src/me/calendars/item/calendarView/item/decline/declinePostRequestBody.ts index 0ce0fb56f9c..b1854529907 100644 --- a/src/me/calendars/item/calendarView/item/decline/declinePostRequestBody.ts +++ b/src/me/calendars/item/calendarView/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/me/calendars/item/calendarView/item/forward/forwardPostRequestBody.ts b/src/me/calendars/item/calendarView/item/forward/forwardPostRequestBody.ts index d98d46c3a79..c67b323605d 100644 --- a/src/me/calendars/item/calendarView/item/forward/forwardPostRequestBody.ts +++ b/src/me/calendars/item/calendarView/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendars/item/calendarView/item/instances/delta/deltaGetResponse.ts b/src/me/calendars/item/calendarView/item/instances/delta/deltaGetResponse.ts index 8be0cb7a0de..c6f53629281 100644 --- a/src/me/calendars/item/calendarView/item/instances/delta/deltaGetResponse.ts +++ b/src/me/calendars/item/calendarView/item/instances/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/me/calendars/item/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts b/src/me/calendars/item/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts index 621858a9c3b..c7fd14b14ef 100644 --- a/src/me/calendars/item/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts +++ b/src/me/calendars/item/calendarView/item/instances/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -152,7 +152,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/me/calendars/item/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/me/calendars/item/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 3931586d212..699cced79e3 100644 --- a/src/me/calendars/item/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/me/calendars/item/calendarView/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendars/item/calendarView/item/instances/item/decline/declinePostRequestBody.ts b/src/me/calendars/item/calendarView/item/instances/item/decline/declinePostRequestBody.ts index 55f9797c3e4..865b6a39dc4 100644 --- a/src/me/calendars/item/calendarView/item/instances/item/decline/declinePostRequestBody.ts +++ b/src/me/calendars/item/calendarView/item/instances/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/me/calendars/item/calendarView/item/instances/item/forward/forwardPostRequestBody.ts b/src/me/calendars/item/calendarView/item/instances/item/forward/forwardPostRequestBody.ts index 216c306313f..37dde22b05f 100644 --- a/src/me/calendars/item/calendarView/item/instances/item/forward/forwardPostRequestBody.ts +++ b/src/me/calendars/item/calendarView/item/instances/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendars/item/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/me/calendars/item/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts index 33d0c842ceb..5be0402ddf1 100644 --- a/src/me/calendars/item/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/me/calendars/item/calendarView/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/me/calendars/item/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/me/calendars/item/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index c3e36e31455..d981a443d27 100644 --- a/src/me/calendars/item/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/me/calendars/item/calendarView/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/me/calendars/item/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/me/calendars/item/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts index 5eaf238f56c..c4489633e4f 100644 --- a/src/me/calendars/item/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/me/calendars/item/calendarView/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/me/calendars/item/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/me/calendars/item/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index c735add43a5..520fb7e1db2 100644 --- a/src/me/calendars/item/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/me/calendars/item/calendarView/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/me/calendars/item/events/delta/deltaGetResponse.ts b/src/me/calendars/item/events/delta/deltaGetResponse.ts index 47bbc317f99..c9a93c3f3cb 100644 --- a/src/me/calendars/item/events/delta/deltaGetResponse.ts +++ b/src/me/calendars/item/events/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/me/calendars/item/events/item/attachments/attachmentsRequestBuilder.ts b/src/me/calendars/item/events/item/attachments/attachmentsRequestBuilder.ts index fffcaff4ed9..38d9f56c3a4 100644 --- a/src/me/calendars/item/events/item/attachments/attachmentsRequestBuilder.ts +++ b/src/me/calendars/item/events/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -152,7 +152,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/me/calendars/item/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/me/calendars/item/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 03bda6fd973..c62a27a840c 100644 --- a/src/me/calendars/item/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/me/calendars/item/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendars/item/events/item/decline/declinePostRequestBody.ts b/src/me/calendars/item/events/item/decline/declinePostRequestBody.ts index 0ce0fb56f9c..b1854529907 100644 --- a/src/me/calendars/item/events/item/decline/declinePostRequestBody.ts +++ b/src/me/calendars/item/events/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/me/calendars/item/events/item/forward/forwardPostRequestBody.ts b/src/me/calendars/item/events/item/forward/forwardPostRequestBody.ts index d98d46c3a79..c67b323605d 100644 --- a/src/me/calendars/item/events/item/forward/forwardPostRequestBody.ts +++ b/src/me/calendars/item/events/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendars/item/events/item/instances/delta/deltaGetResponse.ts b/src/me/calendars/item/events/item/instances/delta/deltaGetResponse.ts index 8be0cb7a0de..c6f53629281 100644 --- a/src/me/calendars/item/events/item/instances/delta/deltaGetResponse.ts +++ b/src/me/calendars/item/events/item/instances/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/me/calendars/item/events/item/instances/item/attachments/attachmentsRequestBuilder.ts b/src/me/calendars/item/events/item/instances/item/attachments/attachmentsRequestBuilder.ts index df2480e16b4..888fbfa29a2 100644 --- a/src/me/calendars/item/events/item/instances/item/attachments/attachmentsRequestBuilder.ts +++ b/src/me/calendars/item/events/item/instances/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -152,7 +152,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/me/calendars/item/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/me/calendars/item/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 3931586d212..699cced79e3 100644 --- a/src/me/calendars/item/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/me/calendars/item/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendars/item/events/item/instances/item/decline/declinePostRequestBody.ts b/src/me/calendars/item/events/item/instances/item/decline/declinePostRequestBody.ts index 55f9797c3e4..865b6a39dc4 100644 --- a/src/me/calendars/item/events/item/instances/item/decline/declinePostRequestBody.ts +++ b/src/me/calendars/item/events/item/instances/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/me/calendars/item/events/item/instances/item/forward/forwardPostRequestBody.ts b/src/me/calendars/item/events/item/instances/item/forward/forwardPostRequestBody.ts index 216c306313f..37dde22b05f 100644 --- a/src/me/calendars/item/events/item/instances/item/forward/forwardPostRequestBody.ts +++ b/src/me/calendars/item/events/item/instances/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendars/item/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/me/calendars/item/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts index 33d0c842ceb..5be0402ddf1 100644 --- a/src/me/calendars/item/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/me/calendars/item/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/me/calendars/item/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/me/calendars/item/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index c3e36e31455..d981a443d27 100644 --- a/src/me/calendars/item/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/me/calendars/item/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/me/calendars/item/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/me/calendars/item/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts index 5eaf238f56c..c4489633e4f 100644 --- a/src/me/calendars/item/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/me/calendars/item/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/me/calendars/item/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/me/calendars/item/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index c735add43a5..520fb7e1db2 100644 --- a/src/me/calendars/item/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/me/calendars/item/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/me/calendars/item/getSchedule/getSchedulePostRequestBody.ts b/src/me/calendars/item/getSchedule/getSchedulePostRequestBody.ts index 56ea4737b86..816e5e88ce4 100644 --- a/src/me/calendars/item/getSchedule/getSchedulePostRequestBody.ts +++ b/src/me/calendars/item/getSchedule/getSchedulePostRequestBody.ts @@ -40,9 +40,9 @@ export interface GetSchedulePostRequestBody extends AdditionalDataHolder, Parsab } export function serializeGetSchedulePostRequestBody(writer: SerializationWriter, getSchedulePostRequestBody: GetSchedulePostRequestBody | undefined = {} as GetSchedulePostRequestBody) : void { writer.writeNumberValue("AvailabilityViewInterval", getSchedulePostRequestBody.availabilityViewInterval); - writer.writeObjectValue("EndTime", getSchedulePostRequestBody.endTime, ); + writer.writeObjectValue("EndTime", getSchedulePostRequestBody.endTime, serializeDateTimeTimeZone); writer.writeCollectionOfPrimitiveValues("Schedules", getSchedulePostRequestBody.schedules); - writer.writeObjectValue("StartTime", getSchedulePostRequestBody.startTime, ); + writer.writeObjectValue("StartTime", getSchedulePostRequestBody.startTime, serializeDateTimeTimeZone); writer.writeAdditionalData(getSchedulePostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/calendars/item/getSchedule/getSchedulePostResponse.ts b/src/me/calendars/item/getSchedule/getSchedulePostResponse.ts index 74d770330c4..805879805a0 100644 --- a/src/me/calendars/item/getSchedule/getSchedulePostResponse.ts +++ b/src/me/calendars/item/getSchedule/getSchedulePostResponse.ts @@ -23,7 +23,7 @@ export interface GetSchedulePostResponse extends BaseCollectionPaginationCountRe } export function serializeGetSchedulePostResponse(writer: SerializationWriter, getSchedulePostResponse: GetSchedulePostResponse | undefined = {} as GetSchedulePostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getSchedulePostResponse) - writer.writeCollectionOfObjectValues("value", getSchedulePostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getSchedulePostResponse.value, serializeScheduleInformation); } // tslint:enable // eslint-enable diff --git a/src/me/chats/getAllMessages/getAllMessagesGetResponse.ts b/src/me/chats/getAllMessages/getAllMessagesGetResponse.ts index 63a5c323c71..debd8cda37b 100644 --- a/src/me/chats/getAllMessages/getAllMessagesGetResponse.ts +++ b/src/me/chats/getAllMessages/getAllMessagesGetResponse.ts @@ -23,7 +23,7 @@ export interface GetAllMessagesGetResponse extends BaseCollectionPaginationCount } export function serializeGetAllMessagesGetResponse(writer: SerializationWriter, getAllMessagesGetResponse: GetAllMessagesGetResponse | undefined = {} as GetAllMessagesGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getAllMessagesGetResponse) - writer.writeCollectionOfObjectValues("value", getAllMessagesGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getAllMessagesGetResponse.value, serializeChatMessage); } // tslint:enable // eslint-enable diff --git a/src/me/chats/item/hideForUser/hideForUserPostRequestBody.ts b/src/me/chats/item/hideForUser/hideForUserPostRequestBody.ts index 85249d7f063..bebac5623fb 100644 --- a/src/me/chats/item/hideForUser/hideForUserPostRequestBody.ts +++ b/src/me/chats/item/hideForUser/hideForUserPostRequestBody.ts @@ -24,7 +24,7 @@ export interface HideForUserPostRequestBody extends AdditionalDataHolder, Parsab user?: TeamworkUserIdentity; } export function serializeHideForUserPostRequestBody(writer: SerializationWriter, hideForUserPostRequestBody: HideForUserPostRequestBody | undefined = {} as HideForUserPostRequestBody) : void { - writer.writeObjectValue("user", hideForUserPostRequestBody.user, ); + writer.writeObjectValue("user", hideForUserPostRequestBody.user, serializeTeamworkUserIdentity); writer.writeAdditionalData(hideForUserPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/chats/item/installedApps/item/upgrade/upgradePostRequestBody.ts b/src/me/chats/item/installedApps/item/upgrade/upgradePostRequestBody.ts index afcbf7dc527..c7bcfddd556 100644 --- a/src/me/chats/item/installedApps/item/upgrade/upgradePostRequestBody.ts +++ b/src/me/chats/item/installedApps/item/upgrade/upgradePostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoUpgradePostRequestBody(upgradePostRequestBody: Up } } export function serializeUpgradePostRequestBody(writer: SerializationWriter, upgradePostRequestBody: UpgradePostRequestBody | undefined = {} as UpgradePostRequestBody) : void { - writer.writeObjectValue("consentedPermissionSet", upgradePostRequestBody.consentedPermissionSet, ); + writer.writeObjectValue("consentedPermissionSet", upgradePostRequestBody.consentedPermissionSet, serializeTeamsAppPermissionSet); writer.writeAdditionalData(upgradePostRequestBody.additionalData); } export interface UpgradePostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/me/chats/item/markChatReadForUser/markChatReadForUserPostRequestBody.ts b/src/me/chats/item/markChatReadForUser/markChatReadForUserPostRequestBody.ts index fd209487a2f..535707ab066 100644 --- a/src/me/chats/item/markChatReadForUser/markChatReadForUserPostRequestBody.ts +++ b/src/me/chats/item/markChatReadForUser/markChatReadForUserPostRequestBody.ts @@ -24,7 +24,7 @@ export interface MarkChatReadForUserPostRequestBody extends AdditionalDataHolder user?: TeamworkUserIdentity; } export function serializeMarkChatReadForUserPostRequestBody(writer: SerializationWriter, markChatReadForUserPostRequestBody: MarkChatReadForUserPostRequestBody | undefined = {} as MarkChatReadForUserPostRequestBody) : void { - writer.writeObjectValue("user", markChatReadForUserPostRequestBody.user, ); + writer.writeObjectValue("user", markChatReadForUserPostRequestBody.user, serializeTeamworkUserIdentity); writer.writeAdditionalData(markChatReadForUserPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/chats/item/markChatUnreadForUser/markChatUnreadForUserPostRequestBody.ts b/src/me/chats/item/markChatUnreadForUser/markChatUnreadForUserPostRequestBody.ts index f23068fb281..2b8061a86d2 100644 --- a/src/me/chats/item/markChatUnreadForUser/markChatUnreadForUserPostRequestBody.ts +++ b/src/me/chats/item/markChatUnreadForUser/markChatUnreadForUserPostRequestBody.ts @@ -30,7 +30,7 @@ export interface MarkChatUnreadForUserPostRequestBody extends AdditionalDataHold } export function serializeMarkChatUnreadForUserPostRequestBody(writer: SerializationWriter, markChatUnreadForUserPostRequestBody: MarkChatUnreadForUserPostRequestBody | undefined = {} as MarkChatUnreadForUserPostRequestBody) : void { writer.writeDateValue("lastMessageReadDateTime", markChatUnreadForUserPostRequestBody.lastMessageReadDateTime); - writer.writeObjectValue("user", markChatUnreadForUserPostRequestBody.user, ); + writer.writeObjectValue("user", markChatUnreadForUserPostRequestBody.user, serializeTeamworkUserIdentity); writer.writeAdditionalData(markChatUnreadForUserPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/chats/item/members/add/addPostRequestBody.ts b/src/me/chats/item/members/add/addPostRequestBody.ts index b3d495b66e6..4844fc8bb86 100644 --- a/src/me/chats/item/members/add/addPostRequestBody.ts +++ b/src/me/chats/item/members/add/addPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAddPostRequestBody(addPostRequestBody: AddPostReq } } export function serializeAddPostRequestBody(writer: SerializationWriter, addPostRequestBody: AddPostRequestBody | undefined = {} as AddPostRequestBody) : void { - writer.writeCollectionOfObjectValues("values", addPostRequestBody.values, ); + writer.writeCollectionOfObjectValues("values", addPostRequestBody.values, serializeConversationMember); writer.writeAdditionalData(addPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/chats/item/members/add/addPostResponse.ts b/src/me/chats/item/members/add/addPostResponse.ts index 646e11790e1..685a7e4a8f6 100644 --- a/src/me/chats/item/members/add/addPostResponse.ts +++ b/src/me/chats/item/members/add/addPostResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAddPostResponse(addPostResponse: AddPostResponse } export function serializeAddPostResponse(writer: SerializationWriter, addPostResponse: AddPostResponse | undefined = {} as AddPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, addPostResponse) - writer.writeCollectionOfObjectValues("value", addPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", addPostResponse.value, serializeActionResultPart); } // tslint:enable // eslint-enable diff --git a/src/me/chats/item/messages/delta/deltaGetResponse.ts b/src/me/chats/item/messages/delta/deltaGetResponse.ts index ef6be2dfc6b..d42abd9e493 100644 --- a/src/me/chats/item/messages/delta/deltaGetResponse.ts +++ b/src/me/chats/item/messages/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeChatMessage); } // tslint:enable // eslint-enable diff --git a/src/me/chats/item/messages/item/hostedContents/hostedContentsRequestBuilder.ts b/src/me/chats/item/messages/item/hostedContents/hostedContentsRequestBuilder.ts index 47842665a21..4a4964ccf00 100644 --- a/src/me/chats/item/messages/item/hostedContents/hostedContentsRequestBuilder.ts +++ b/src/me/chats/item/messages/item/hostedContents/hostedContentsRequestBuilder.ts @@ -98,7 +98,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessageHostedContentCollectionResponse * @see {@link https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0|Find more info here} @@ -130,7 +130,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageHostedContentFromDiscriminatorValue, errorMapping); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/me/chats/item/messages/item/replies/delta/deltaGetResponse.ts b/src/me/chats/item/messages/item/replies/delta/deltaGetResponse.ts index f43651b2e34..8c2d5474aa2 100644 --- a/src/me/chats/item/messages/item/replies/delta/deltaGetResponse.ts +++ b/src/me/chats/item/messages/item/replies/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeChatMessage); } // tslint:enable // eslint-enable diff --git a/src/me/chats/item/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts b/src/me/chats/item/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts index 2a90d420399..c6cfce9a552 100644 --- a/src/me/chats/item/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts +++ b/src/me/chats/item/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts @@ -98,7 +98,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessageHostedContentCollectionResponse * @see {@link https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0|Find more info here} @@ -130,7 +130,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageHostedContentFromDiscriminatorValue, errorMapping); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/me/chats/item/messages/item/replies/repliesRequestBuilder.ts b/src/me/chats/item/messages/item/replies/repliesRequestBuilder.ts index 0f83fd2294d..664ad08e777 100644 --- a/src/me/chats/item/messages/item/replies/repliesRequestBuilder.ts +++ b/src/me/chats/item/messages/item/replies/repliesRequestBuilder.ts @@ -121,11 +121,11 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessage - * @see {@link https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0|Find more info here} */ public post(body: ChatMessage, requestConfiguration?: RepliesRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -156,7 +156,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/me/chats/item/sendActivityNotification/sendActivityNotificationPostRequestBody.ts b/src/me/chats/item/sendActivityNotification/sendActivityNotificationPostRequestBody.ts index f927120b249..528829b98da 100644 --- a/src/me/chats/item/sendActivityNotification/sendActivityNotificationPostRequestBody.ts +++ b/src/me/chats/item/sendActivityNotification/sendActivityNotificationPostRequestBody.ts @@ -54,10 +54,10 @@ export interface SendActivityNotificationPostRequestBody extends AdditionalDataH export function serializeSendActivityNotificationPostRequestBody(writer: SerializationWriter, sendActivityNotificationPostRequestBody: SendActivityNotificationPostRequestBody | undefined = {} as SendActivityNotificationPostRequestBody) : void { writer.writeStringValue("activityType", sendActivityNotificationPostRequestBody.activityType); writer.writeNumberValue("chainId", sendActivityNotificationPostRequestBody.chainId); - writer.writeObjectValue("previewText", sendActivityNotificationPostRequestBody.previewText, ); - writer.writeObjectValue("recipient", sendActivityNotificationPostRequestBody.recipient, ); - writer.writeCollectionOfObjectValues("templateParameters", sendActivityNotificationPostRequestBody.templateParameters, ); - writer.writeObjectValue("topic", sendActivityNotificationPostRequestBody.topic, ); + writer.writeObjectValue("previewText", sendActivityNotificationPostRequestBody.previewText, serializeItemBody); + writer.writeObjectValue("recipient", sendActivityNotificationPostRequestBody.recipient, serializeTeamworkNotificationRecipient); + writer.writeCollectionOfObjectValues("templateParameters", sendActivityNotificationPostRequestBody.templateParameters, serializeKeyValuePair); + writer.writeObjectValue("topic", sendActivityNotificationPostRequestBody.topic, serializeTeamworkActivityTopic); writer.writeAdditionalData(sendActivityNotificationPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/chats/item/unhideForUser/unhideForUserPostRequestBody.ts b/src/me/chats/item/unhideForUser/unhideForUserPostRequestBody.ts index 9d0df2ebcd6..9d3bc3801de 100644 --- a/src/me/chats/item/unhideForUser/unhideForUserPostRequestBody.ts +++ b/src/me/chats/item/unhideForUser/unhideForUserPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoUnhideForUserPostRequestBody(unhideForUserPostReq } } export function serializeUnhideForUserPostRequestBody(writer: SerializationWriter, unhideForUserPostRequestBody: UnhideForUserPostRequestBody | undefined = {} as UnhideForUserPostRequestBody) : void { - writer.writeObjectValue("user", unhideForUserPostRequestBody.user, ); + writer.writeObjectValue("user", unhideForUserPostRequestBody.user, serializeTeamworkUserIdentity); writer.writeAdditionalData(unhideForUserPostRequestBody.additionalData); } export interface UnhideForUserPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/me/contactFolders/delta/deltaGetResponse.ts b/src/me/contactFolders/delta/deltaGetResponse.ts index 42bcc85b6f5..755422c63fd 100644 --- a/src/me/contactFolders/delta/deltaGetResponse.ts +++ b/src/me/contactFolders/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeContactFolder); } // tslint:enable // eslint-enable diff --git a/src/me/contactFolders/item/childFolders/delta/deltaGetResponse.ts b/src/me/contactFolders/item/childFolders/delta/deltaGetResponse.ts index 0ddb788ea15..6e691e46a82 100644 --- a/src/me/contactFolders/item/childFolders/delta/deltaGetResponse.ts +++ b/src/me/contactFolders/item/childFolders/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeContactFolder); } // tslint:enable // eslint-enable diff --git a/src/me/contactFolders/item/childFolders/item/contacts/delta/deltaGetResponse.ts b/src/me/contactFolders/item/childFolders/item/contacts/delta/deltaGetResponse.ts index 3e817b51a56..45f60415e4a 100644 --- a/src/me/contactFolders/item/childFolders/item/contacts/delta/deltaGetResponse.ts +++ b/src/me/contactFolders/item/childFolders/item/contacts/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeContact); } // tslint:enable // eslint-enable diff --git a/src/me/contactFolders/item/contacts/delta/deltaGetResponse.ts b/src/me/contactFolders/item/contacts/delta/deltaGetResponse.ts index 3c810c53c38..e12f319581c 100644 --- a/src/me/contactFolders/item/contacts/delta/deltaGetResponse.ts +++ b/src/me/contactFolders/item/contacts/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeContact); } // tslint:enable // eslint-enable diff --git a/src/me/contacts/delta/deltaGetResponse.ts b/src/me/contacts/delta/deltaGetResponse.ts index 676961656ad..5f9c750e09b 100644 --- a/src/me/contacts/delta/deltaGetResponse.ts +++ b/src/me/contacts/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeContact); } // tslint:enable // eslint-enable diff --git a/src/me/events/delta/deltaGetResponse.ts b/src/me/events/delta/deltaGetResponse.ts index 07c8519ed15..35216a8e092 100644 --- a/src/me/events/delta/deltaGetResponse.ts +++ b/src/me/events/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/me/events/eventsRequestBuilder.ts b/src/me/events/eventsRequestBuilder.ts index 91698ff1a03..73fa6e844b2 100644 --- a/src/me/events/eventsRequestBuilder.ts +++ b/src/me/events/eventsRequestBuilder.ts @@ -117,11 +117,11 @@ export class EventsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createEventCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Create one or more single-value extended properties in a new or existing instance of a resource. The following user resources are supported: The following group resources: See Extended properties overview for more information about when to useopen extensions or extended properties, and how to specify extended properties. This API is available in the following national cloud deployments. + * Create an event in the user's default calendar or specified calendar. By default, the allowNewTimeProposals property is set to true when an event is created, which means invitees can propose a different date/time for the event. See Propose new meeting times for more information on how to propose a time, and how to receive and accept a new time proposal. You can specify the time zone for each of the start and end times of the event as part of their values, because the start and end properties are of dateTimeTimeZone type. First find the supported time zones to make sure you set only time zones that have been configured for the user's mailbox server. When an event is sent, the server sends invitations to all the attendees. Setting the location in an event An Exchange administrator can set up a mailbox and an email address for a resource such as a meeting room, or equipment like a projector. Users can then invite the resource as an attendee to a meeting. On behalf of the resource, the server accepts or rejects the meeting request based on the free/busy schedule of the resource. If the server accepts a meeting for the resource, it creates an event for the meeting in the resource's calendar. If the meeting is rescheduled, the server automatically updates the event in the resource's calendar. Another advantage of setting up a mailbox for a resource is to control scheduling of the resource, for example, only executivesor their delegates can book a private meeting room. If you're organizing an event that involves a meeting location: Additionally, if the meeting location has been set up as a resource, or if the event involves some equipment that has been set up as a resource: This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Event - * @see {@link https://learn.microsoft.com/graph/api/singlevaluelegacyextendedproperty-post-singlevalueextendedproperties?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/user-post-events?view=graph-rest-1.0|Find more info here} */ public post(body: Event, requestConfiguration?: EventsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -152,7 +152,7 @@ export class EventsRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Create one or more single-value extended properties in a new or existing instance of a resource. The following user resources are supported: The following group resources: See Extended properties overview for more information about when to useopen extensions or extended properties, and how to specify extended properties. This API is available in the following national cloud deployments. + * Create an event in the user's default calendar or specified calendar. By default, the allowNewTimeProposals property is set to true when an event is created, which means invitees can propose a different date/time for the event. See Propose new meeting times for more information on how to propose a time, and how to receive and accept a new time proposal. You can specify the time zone for each of the start and end times of the event as part of their values, because the start and end properties are of dateTimeTimeZone type. First find the supported time zones to make sure you set only time zones that have been configured for the user's mailbox server. When an event is sent, the server sends invitations to all the attendees. Setting the location in an event An Exchange administrator can set up a mailbox and an email address for a resource such as a meeting room, or equipment like a projector. Users can then invite the resource as an attendee to a meeting. On behalf of the resource, the server accepts or rejects the meeting request based on the free/busy schedule of the resource. If the server accepts a meeting for the resource, it creates an event for the meeting in the resource's calendar. If the meeting is rescheduled, the server automatically updates the event in the resource's calendar. Another advantage of setting up a mailbox for a resource is to control scheduling of the resource, for example, only executivesor their delegates can book a private meeting room. If you're organizing an event that involves a meeting location: Additionally, if the meeting location has been set up as a resource, or if the event involves some equipment that has been set up as a resource: This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/me/events/item/attachments/attachmentsRequestBuilder.ts b/src/me/events/item/attachments/attachmentsRequestBuilder.ts index e4027e331c1..7e416892014 100644 --- a/src/me/events/item/attachments/attachmentsRequestBuilder.ts +++ b/src/me/events/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -152,7 +152,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/me/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/me/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 5767bf96b45..78386346d8c 100644 --- a/src/me/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/me/events/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/events/item/decline/declinePostRequestBody.ts b/src/me/events/item/decline/declinePostRequestBody.ts index f87a67456e3..19a874f2962 100644 --- a/src/me/events/item/decline/declinePostRequestBody.ts +++ b/src/me/events/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/me/events/item/forward/forwardPostRequestBody.ts b/src/me/events/item/forward/forwardPostRequestBody.ts index fc9f1198d42..2ccd8932e99 100644 --- a/src/me/events/item/forward/forwardPostRequestBody.ts +++ b/src/me/events/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/events/item/instances/delta/deltaGetResponse.ts b/src/me/events/item/instances/delta/deltaGetResponse.ts index 47bbc317f99..c9a93c3f3cb 100644 --- a/src/me/events/item/instances/delta/deltaGetResponse.ts +++ b/src/me/events/item/instances/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeEvent); } // tslint:enable // eslint-enable diff --git a/src/me/events/item/instances/item/attachments/attachmentsRequestBuilder.ts b/src/me/events/item/instances/item/attachments/attachmentsRequestBuilder.ts index 3964573ce0e..e77d9c77e40 100644 --- a/src/me/events/item/instances/item/attachments/attachmentsRequestBuilder.ts +++ b/src/me/events/item/instances/item/attachments/attachmentsRequestBuilder.ts @@ -117,11 +117,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -152,7 +152,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/me/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/me/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 03bda6fd973..c62a27a840c 100644 --- a/src/me/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/me/events/item/instances/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/events/item/instances/item/decline/declinePostRequestBody.ts b/src/me/events/item/instances/item/decline/declinePostRequestBody.ts index 0ce0fb56f9c..b1854529907 100644 --- a/src/me/events/item/instances/item/decline/declinePostRequestBody.ts +++ b/src/me/events/item/instances/item/decline/declinePostRequestBody.ts @@ -35,7 +35,7 @@ export function deserializeIntoDeclinePostRequestBody(declinePostRequestBody: De } export function serializeDeclinePostRequestBody(writer: SerializationWriter, declinePostRequestBody: DeclinePostRequestBody | undefined = {} as DeclinePostRequestBody) : void { writer.writeStringValue("Comment", declinePostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", declinePostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", declinePostRequestBody.sendResponse); writer.writeAdditionalData(declinePostRequestBody.additionalData); } diff --git a/src/me/events/item/instances/item/forward/forwardPostRequestBody.ts b/src/me/events/item/instances/item/forward/forwardPostRequestBody.ts index d98d46c3a79..c67b323605d 100644 --- a/src/me/events/item/instances/item/forward/forwardPostRequestBody.ts +++ b/src/me/events/item/instances/item/forward/forwardPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/me/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts index 5eaf238f56c..c4489633e4f 100644 --- a/src/me/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/me/events/item/instances/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/me/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/me/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index c735add43a5..520fb7e1db2 100644 --- a/src/me/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/me/events/item/instances/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/me/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts b/src/me/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts index c297dc43d87..f568b0282cb 100644 --- a/src/me/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts +++ b/src/me/events/item/snoozeReminder/snoozeReminderPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSnoozeReminderPostRequestBody(snoozeReminderPostR } } export function serializeSnoozeReminderPostRequestBody(writer: SerializationWriter, snoozeReminderPostRequestBody: SnoozeReminderPostRequestBody | undefined = {} as SnoozeReminderPostRequestBody) : void { - writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, ); + writer.writeObjectValue("NewReminderTime", snoozeReminderPostRequestBody.newReminderTime, serializeDateTimeTimeZone); writer.writeAdditionalData(snoozeReminderPostRequestBody.additionalData); } export interface SnoozeReminderPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/me/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts b/src/me/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts index fd759337a9a..ec8ec728355 100644 --- a/src/me/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts +++ b/src/me/events/item/tentativelyAccept/tentativelyAcceptPostRequestBody.ts @@ -17,7 +17,7 @@ export function deserializeIntoTentativelyAcceptPostRequestBody(tentativelyAccep } export function serializeTentativelyAcceptPostRequestBody(writer: SerializationWriter, tentativelyAcceptPostRequestBody: TentativelyAcceptPostRequestBody | undefined = {} as TentativelyAcceptPostRequestBody) : void { writer.writeStringValue("Comment", tentativelyAcceptPostRequestBody.comment); - writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, ); + writer.writeObjectValue("ProposedNewTime", tentativelyAcceptPostRequestBody.proposedNewTime, serializeTimeSlot); writer.writeBooleanValue("SendResponse", tentativelyAcceptPostRequestBody.sendResponse); writer.writeAdditionalData(tentativelyAcceptPostRequestBody.additionalData); } diff --git a/src/me/findMeetingTimes/findMeetingTimesPostRequestBody.ts b/src/me/findMeetingTimes/findMeetingTimesPostRequestBody.ts index 38f89858015..dbc3b4d969e 100644 --- a/src/me/findMeetingTimes/findMeetingTimesPostRequestBody.ts +++ b/src/me/findMeetingTimes/findMeetingTimesPostRequestBody.ts @@ -61,14 +61,14 @@ export interface FindMeetingTimesPostRequestBody extends AdditionalDataHolder, P timeConstraint?: TimeConstraint; } export function serializeFindMeetingTimesPostRequestBody(writer: SerializationWriter, findMeetingTimesPostRequestBody: FindMeetingTimesPostRequestBody | undefined = {} as FindMeetingTimesPostRequestBody) : void { - writer.writeCollectionOfObjectValues("attendees", findMeetingTimesPostRequestBody.attendees, ); + writer.writeCollectionOfObjectValues("attendees", findMeetingTimesPostRequestBody.attendees, serializeAttendeeBase); writer.writeBooleanValue("isOrganizerOptional", findMeetingTimesPostRequestBody.isOrganizerOptional); - writer.writeObjectValue("locationConstraint", findMeetingTimesPostRequestBody.locationConstraint, ); + writer.writeObjectValue("locationConstraint", findMeetingTimesPostRequestBody.locationConstraint, serializeLocationConstraint); writer.writeNumberValue("maxCandidates", findMeetingTimesPostRequestBody.maxCandidates); writer.writeDurationValue("meetingDuration", findMeetingTimesPostRequestBody.meetingDuration); writer.writeNumberValue("minimumAttendeePercentage", findMeetingTimesPostRequestBody.minimumAttendeePercentage); writer.writeBooleanValue("returnSuggestionReasons", findMeetingTimesPostRequestBody.returnSuggestionReasons); - writer.writeObjectValue("timeConstraint", findMeetingTimesPostRequestBody.timeConstraint, ); + writer.writeObjectValue("timeConstraint", findMeetingTimesPostRequestBody.timeConstraint, serializeTimeConstraint); writer.writeAdditionalData(findMeetingTimesPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/getMailTips/getMailTipsPostResponse.ts b/src/me/getMailTips/getMailTipsPostResponse.ts index 953b4169d22..020aacbb2da 100644 --- a/src/me/getMailTips/getMailTipsPostResponse.ts +++ b/src/me/getMailTips/getMailTipsPostResponse.ts @@ -23,7 +23,7 @@ export interface GetMailTipsPostResponse extends BaseCollectionPaginationCountRe } export function serializeGetMailTipsPostResponse(writer: SerializationWriter, getMailTipsPostResponse: GetMailTipsPostResponse | undefined = {} as GetMailTipsPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getMailTipsPostResponse) - writer.writeCollectionOfObjectValues("value", getMailTipsPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", getMailTipsPostResponse.value, serializeMailTips); } // tslint:enable // eslint-enable diff --git a/src/me/getManagedAppDiagnosticStatuses/getManagedAppDiagnosticStatusesGetResponse.ts b/src/me/getManagedAppDiagnosticStatuses/getManagedAppDiagnosticStatusesGetResponse.ts index f1b4b97c9d1..14635618249 100644 --- a/src/me/getManagedAppDiagnosticStatuses/getManagedAppDiagnosticStatusesGetResponse.ts +++ b/src/me/getManagedAppDiagnosticStatuses/getManagedAppDiagnosticStatusesGetResponse.ts @@ -23,7 +23,7 @@ export interface GetManagedAppDiagnosticStatusesGetResponse extends BaseCollecti } export function serializeGetManagedAppDiagnosticStatusesGetResponse(writer: SerializationWriter, getManagedAppDiagnosticStatusesGetResponse: GetManagedAppDiagnosticStatusesGetResponse | undefined = {} as GetManagedAppDiagnosticStatusesGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getManagedAppDiagnosticStatusesGetResponse) - writer.writeCollectionOfObjectValues("value", getManagedAppDiagnosticStatusesGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getManagedAppDiagnosticStatusesGetResponse.value, serializeManagedAppDiagnosticStatus); } // tslint:enable // eslint-enable diff --git a/src/me/getManagedAppPolicies/getManagedAppPoliciesGetResponse.ts b/src/me/getManagedAppPolicies/getManagedAppPoliciesGetResponse.ts index 17b21fcf014..10a0ee29db7 100644 --- a/src/me/getManagedAppPolicies/getManagedAppPoliciesGetResponse.ts +++ b/src/me/getManagedAppPolicies/getManagedAppPoliciesGetResponse.ts @@ -23,7 +23,7 @@ export interface GetManagedAppPoliciesGetResponse extends BaseCollectionPaginati } export function serializeGetManagedAppPoliciesGetResponse(writer: SerializationWriter, getManagedAppPoliciesGetResponse: GetManagedAppPoliciesGetResponse | undefined = {} as GetManagedAppPoliciesGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getManagedAppPoliciesGetResponse) - writer.writeCollectionOfObjectValues("value", getManagedAppPoliciesGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getManagedAppPoliciesGetResponse.value, serializeManagedAppPolicy); } // tslint:enable // eslint-enable diff --git a/src/me/joinedTeams/getAllMessages/getAllMessagesGetResponse.ts b/src/me/joinedTeams/getAllMessages/getAllMessagesGetResponse.ts index 63a5c323c71..debd8cda37b 100644 --- a/src/me/joinedTeams/getAllMessages/getAllMessagesGetResponse.ts +++ b/src/me/joinedTeams/getAllMessages/getAllMessagesGetResponse.ts @@ -23,7 +23,7 @@ export interface GetAllMessagesGetResponse extends BaseCollectionPaginationCount } export function serializeGetAllMessagesGetResponse(writer: SerializationWriter, getAllMessagesGetResponse: GetAllMessagesGetResponse | undefined = {} as GetAllMessagesGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getAllMessagesGetResponse) - writer.writeCollectionOfObjectValues("value", getAllMessagesGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getAllMessagesGetResponse.value, serializeChatMessage); } // tslint:enable // eslint-enable diff --git a/src/me/joinedTeams/item/channels/getAllMessages/getAllMessagesGetResponse.ts b/src/me/joinedTeams/item/channels/getAllMessages/getAllMessagesGetResponse.ts index 6da63615974..bbd414c60f4 100644 --- a/src/me/joinedTeams/item/channels/getAllMessages/getAllMessagesGetResponse.ts +++ b/src/me/joinedTeams/item/channels/getAllMessages/getAllMessagesGetResponse.ts @@ -23,7 +23,7 @@ export interface GetAllMessagesGetResponse extends BaseCollectionPaginationCount } export function serializeGetAllMessagesGetResponse(writer: SerializationWriter, getAllMessagesGetResponse: GetAllMessagesGetResponse | undefined = {} as GetAllMessagesGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getAllMessagesGetResponse) - writer.writeCollectionOfObjectValues("value", getAllMessagesGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getAllMessagesGetResponse.value, serializeChatMessage); } // tslint:enable // eslint-enable diff --git a/src/me/joinedTeams/item/channels/item/members/add/addPostRequestBody.ts b/src/me/joinedTeams/item/channels/item/members/add/addPostRequestBody.ts index bd04065f20c..43a9b35435a 100644 --- a/src/me/joinedTeams/item/channels/item/members/add/addPostRequestBody.ts +++ b/src/me/joinedTeams/item/channels/item/members/add/addPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAddPostRequestBody(addPostRequestBody: AddPostReq } } export function serializeAddPostRequestBody(writer: SerializationWriter, addPostRequestBody: AddPostRequestBody | undefined = {} as AddPostRequestBody) : void { - writer.writeCollectionOfObjectValues("values", addPostRequestBody.values, ); + writer.writeCollectionOfObjectValues("values", addPostRequestBody.values, serializeConversationMember); writer.writeAdditionalData(addPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/joinedTeams/item/channels/item/members/add/addPostResponse.ts b/src/me/joinedTeams/item/channels/item/members/add/addPostResponse.ts index e14206e5836..833844de2f8 100644 --- a/src/me/joinedTeams/item/channels/item/members/add/addPostResponse.ts +++ b/src/me/joinedTeams/item/channels/item/members/add/addPostResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAddPostResponse(addPostResponse: AddPostResponse } export function serializeAddPostResponse(writer: SerializationWriter, addPostResponse: AddPostResponse | undefined = {} as AddPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, addPostResponse) - writer.writeCollectionOfObjectValues("value", addPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", addPostResponse.value, serializeActionResultPart); } // tslint:enable // eslint-enable diff --git a/src/me/joinedTeams/item/channels/item/members/item/conversationMemberItemRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/members/item/conversationMemberItemRequestBuilder.ts index bb7091580ca..4a2d8eeaeee 100644 --- a/src/me/joinedTeams/item/channels/item/members/item/conversationMemberItemRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/members/item/conversationMemberItemRequestBuilder.ts @@ -63,9 +63,9 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/members/{conversationMember%2Did}{?%24select,%24expand}"); }; /** - * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Delete a conversationMember from a channel. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/conversationmember-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: ConversationMemberItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -111,7 +111,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createConversationMemberFromDiscriminatorValue, errorMapping); }; /** - * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Delete a conversationMember from a channel. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/me/joinedTeams/item/channels/item/messages/delta/deltaGetResponse.ts b/src/me/joinedTeams/item/channels/item/messages/delta/deltaGetResponse.ts index f43651b2e34..8c2d5474aa2 100644 --- a/src/me/joinedTeams/item/channels/item/messages/delta/deltaGetResponse.ts +++ b/src/me/joinedTeams/item/channels/item/messages/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeChatMessage); } // tslint:enable // eslint-enable diff --git a/src/me/joinedTeams/item/channels/item/messages/item/hostedContents/hostedContentsRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/messages/item/hostedContents/hostedContentsRequestBuilder.ts index dfc56b0565e..11989970396 100644 --- a/src/me/joinedTeams/item/channels/item/messages/item/hostedContents/hostedContentsRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/messages/item/hostedContents/hostedContentsRequestBuilder.ts @@ -98,7 +98,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessageHostedContentCollectionResponse * @see {@link https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0|Find more info here} @@ -130,7 +130,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageHostedContentFromDiscriminatorValue, errorMapping); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/me/joinedTeams/item/channels/item/messages/item/replies/delta/deltaGetResponse.ts b/src/me/joinedTeams/item/channels/item/messages/item/replies/delta/deltaGetResponse.ts index 72129401f66..09d25329542 100644 --- a/src/me/joinedTeams/item/channels/item/messages/item/replies/delta/deltaGetResponse.ts +++ b/src/me/joinedTeams/item/channels/item/messages/item/replies/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeChatMessage); } // tslint:enable // eslint-enable diff --git a/src/me/joinedTeams/item/channels/item/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts index 98f931fde4d..b23144fc729 100644 --- a/src/me/joinedTeams/item/channels/item/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts @@ -98,7 +98,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessageHostedContentCollectionResponse * @see {@link https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0|Find more info here} @@ -130,7 +130,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageHostedContentFromDiscriminatorValue, errorMapping); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/me/joinedTeams/item/channels/item/messages/item/replies/repliesRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/messages/item/replies/repliesRequestBuilder.ts index ee670696ba7..765ea3dcc59 100644 --- a/src/me/joinedTeams/item/channels/item/messages/item/replies/repliesRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/messages/item/replies/repliesRequestBuilder.ts @@ -121,11 +121,11 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessage - * @see {@link https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0|Find more info here} */ public post(body: ChatMessage, requestConfiguration?: RepliesRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -156,7 +156,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/me/joinedTeams/item/channels/item/messages/messagesRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/messages/messagesRequestBuilder.ts index 52230990e76..bbdf4f6dfd1 100644 --- a/src/me/joinedTeams/item/channels/item/messages/messagesRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/messages/messagesRequestBuilder.ts @@ -121,11 +121,11 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. + * Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessage - * @see {@link https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0|Find more info here} */ public post(body: ChatMessage, requestConfiguration?: MessagesRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -156,7 +156,7 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. + * Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/me/joinedTeams/item/installedApps/item/upgrade/upgradePostRequestBody.ts b/src/me/joinedTeams/item/installedApps/item/upgrade/upgradePostRequestBody.ts index afcbf7dc527..c7bcfddd556 100644 --- a/src/me/joinedTeams/item/installedApps/item/upgrade/upgradePostRequestBody.ts +++ b/src/me/joinedTeams/item/installedApps/item/upgrade/upgradePostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoUpgradePostRequestBody(upgradePostRequestBody: Up } } export function serializeUpgradePostRequestBody(writer: SerializationWriter, upgradePostRequestBody: UpgradePostRequestBody | undefined = {} as UpgradePostRequestBody) : void { - writer.writeObjectValue("consentedPermissionSet", upgradePostRequestBody.consentedPermissionSet, ); + writer.writeObjectValue("consentedPermissionSet", upgradePostRequestBody.consentedPermissionSet, serializeTeamsAppPermissionSet); writer.writeAdditionalData(upgradePostRequestBody.additionalData); } export interface UpgradePostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/me/joinedTeams/item/members/add/addPostRequestBody.ts b/src/me/joinedTeams/item/members/add/addPostRequestBody.ts index b3d495b66e6..4844fc8bb86 100644 --- a/src/me/joinedTeams/item/members/add/addPostRequestBody.ts +++ b/src/me/joinedTeams/item/members/add/addPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAddPostRequestBody(addPostRequestBody: AddPostReq } } export function serializeAddPostRequestBody(writer: SerializationWriter, addPostRequestBody: AddPostRequestBody | undefined = {} as AddPostRequestBody) : void { - writer.writeCollectionOfObjectValues("values", addPostRequestBody.values, ); + writer.writeCollectionOfObjectValues("values", addPostRequestBody.values, serializeConversationMember); writer.writeAdditionalData(addPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/joinedTeams/item/members/add/addPostResponse.ts b/src/me/joinedTeams/item/members/add/addPostResponse.ts index 646e11790e1..685a7e4a8f6 100644 --- a/src/me/joinedTeams/item/members/add/addPostResponse.ts +++ b/src/me/joinedTeams/item/members/add/addPostResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAddPostResponse(addPostResponse: AddPostResponse } export function serializeAddPostResponse(writer: SerializationWriter, addPostResponse: AddPostResponse | undefined = {} as AddPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, addPostResponse) - writer.writeCollectionOfObjectValues("value", addPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", addPostResponse.value, serializeActionResultPart); } // tslint:enable // eslint-enable diff --git a/src/me/joinedTeams/item/primaryChannel/members/add/addPostRequestBody.ts b/src/me/joinedTeams/item/primaryChannel/members/add/addPostRequestBody.ts index 973a6a27d65..c6f0575e956 100644 --- a/src/me/joinedTeams/item/primaryChannel/members/add/addPostRequestBody.ts +++ b/src/me/joinedTeams/item/primaryChannel/members/add/addPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoAddPostRequestBody(addPostRequestBody: AddPostReq } } export function serializeAddPostRequestBody(writer: SerializationWriter, addPostRequestBody: AddPostRequestBody | undefined = {} as AddPostRequestBody) : void { - writer.writeCollectionOfObjectValues("values", addPostRequestBody.values, ); + writer.writeCollectionOfObjectValues("values", addPostRequestBody.values, serializeConversationMember); writer.writeAdditionalData(addPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/joinedTeams/item/primaryChannel/members/add/addPostResponse.ts b/src/me/joinedTeams/item/primaryChannel/members/add/addPostResponse.ts index 58a62b21777..fdb80f5cec8 100644 --- a/src/me/joinedTeams/item/primaryChannel/members/add/addPostResponse.ts +++ b/src/me/joinedTeams/item/primaryChannel/members/add/addPostResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAddPostResponse(addPostResponse: AddPostResponse } export function serializeAddPostResponse(writer: SerializationWriter, addPostResponse: AddPostResponse | undefined = {} as AddPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, addPostResponse) - writer.writeCollectionOfObjectValues("value", addPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", addPostResponse.value, serializeActionResultPart); } // tslint:enable // eslint-enable diff --git a/src/me/joinedTeams/item/primaryChannel/members/item/conversationMemberItemRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/members/item/conversationMemberItemRequestBuilder.ts index 49368f74a39..172944f8a70 100644 --- a/src/me/joinedTeams/item/primaryChannel/members/item/conversationMemberItemRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/members/item/conversationMemberItemRequestBuilder.ts @@ -63,9 +63,9 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/members/{conversationMember%2Did}{?%24select,%24expand}"); }; /** - * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Delete a conversationMember from a channel. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/conversationmember-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: ConversationMemberItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -111,7 +111,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createConversationMemberFromDiscriminatorValue, errorMapping); }; /** - * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Delete a conversationMember from a channel. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/me/joinedTeams/item/primaryChannel/messages/delta/deltaGetResponse.ts b/src/me/joinedTeams/item/primaryChannel/messages/delta/deltaGetResponse.ts index 74051011a19..6a0547b5229 100644 --- a/src/me/joinedTeams/item/primaryChannel/messages/delta/deltaGetResponse.ts +++ b/src/me/joinedTeams/item/primaryChannel/messages/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeChatMessage); } // tslint:enable // eslint-enable diff --git a/src/me/joinedTeams/item/primaryChannel/messages/item/hostedContents/hostedContentsRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/messages/item/hostedContents/hostedContentsRequestBuilder.ts index 505c44455ef..023ea9e362d 100644 --- a/src/me/joinedTeams/item/primaryChannel/messages/item/hostedContents/hostedContentsRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/messages/item/hostedContents/hostedContentsRequestBuilder.ts @@ -98,7 +98,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessageHostedContentCollectionResponse * @see {@link https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0|Find more info here} @@ -130,7 +130,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageHostedContentFromDiscriminatorValue, errorMapping); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/me/joinedTeams/item/primaryChannel/messages/item/replies/delta/deltaGetResponse.ts b/src/me/joinedTeams/item/primaryChannel/messages/item/replies/delta/deltaGetResponse.ts index 810d193f0e4..d7bf2b66bf8 100644 --- a/src/me/joinedTeams/item/primaryChannel/messages/item/replies/delta/deltaGetResponse.ts +++ b/src/me/joinedTeams/item/primaryChannel/messages/item/replies/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeChatMessage); } // tslint:enable // eslint-enable diff --git a/src/me/joinedTeams/item/primaryChannel/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts index 93c4785c670..81fdb83a2c4 100644 --- a/src/me/joinedTeams/item/primaryChannel/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/messages/item/replies/item/hostedContents/hostedContentsRequestBuilder.ts @@ -98,7 +98,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessageHostedContentCollectionResponse * @see {@link https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0|Find more info here} @@ -130,7 +130,7 @@ export class HostedContentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageHostedContentFromDiscriminatorValue, errorMapping); }; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/me/joinedTeams/item/primaryChannel/messages/item/replies/repliesRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/messages/item/replies/repliesRequestBuilder.ts index f826785337c..68214317a89 100644 --- a/src/me/joinedTeams/item/primaryChannel/messages/item/replies/repliesRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/messages/item/replies/repliesRequestBuilder.ts @@ -121,11 +121,11 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessage - * @see {@link https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0|Find more info here} */ public post(body: ChatMessage, requestConfiguration?: RepliesRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -156,7 +156,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/me/joinedTeams/item/primaryChannel/messages/messagesRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/messages/messagesRequestBuilder.ts index 1f04bd2ef72..a15fd443ae8 100644 --- a/src/me/joinedTeams/item/primaryChannel/messages/messagesRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/messages/messagesRequestBuilder.ts @@ -121,11 +121,11 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. + * Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessage - * @see {@link https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0|Find more info here} */ public post(body: ChatMessage, requestConfiguration?: MessagesRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -156,7 +156,7 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. + * Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/me/joinedTeams/item/sendActivityNotification/sendActivityNotificationPostRequestBody.ts b/src/me/joinedTeams/item/sendActivityNotification/sendActivityNotificationPostRequestBody.ts index f927120b249..528829b98da 100644 --- a/src/me/joinedTeams/item/sendActivityNotification/sendActivityNotificationPostRequestBody.ts +++ b/src/me/joinedTeams/item/sendActivityNotification/sendActivityNotificationPostRequestBody.ts @@ -54,10 +54,10 @@ export interface SendActivityNotificationPostRequestBody extends AdditionalDataH export function serializeSendActivityNotificationPostRequestBody(writer: SerializationWriter, sendActivityNotificationPostRequestBody: SendActivityNotificationPostRequestBody | undefined = {} as SendActivityNotificationPostRequestBody) : void { writer.writeStringValue("activityType", sendActivityNotificationPostRequestBody.activityType); writer.writeNumberValue("chainId", sendActivityNotificationPostRequestBody.chainId); - writer.writeObjectValue("previewText", sendActivityNotificationPostRequestBody.previewText, ); - writer.writeObjectValue("recipient", sendActivityNotificationPostRequestBody.recipient, ); - writer.writeCollectionOfObjectValues("templateParameters", sendActivityNotificationPostRequestBody.templateParameters, ); - writer.writeObjectValue("topic", sendActivityNotificationPostRequestBody.topic, ); + writer.writeObjectValue("previewText", sendActivityNotificationPostRequestBody.previewText, serializeItemBody); + writer.writeObjectValue("recipient", sendActivityNotificationPostRequestBody.recipient, serializeTeamworkNotificationRecipient); + writer.writeCollectionOfObjectValues("templateParameters", sendActivityNotificationPostRequestBody.templateParameters, serializeKeyValuePair); + writer.writeObjectValue("topic", sendActivityNotificationPostRequestBody.topic, serializeTeamworkActivityTopic); writer.writeAdditionalData(sendActivityNotificationPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/mailFolders/delta/deltaGetResponse.ts b/src/me/mailFolders/delta/deltaGetResponse.ts index 22725ee9531..33044a90fa4 100644 --- a/src/me/mailFolders/delta/deltaGetResponse.ts +++ b/src/me/mailFolders/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeMailFolder); } // tslint:enable // eslint-enable diff --git a/src/me/mailFolders/item/childFolders/delta/deltaGetResponse.ts b/src/me/mailFolders/item/childFolders/delta/deltaGetResponse.ts index e2519d2826b..02f4a79c300 100644 --- a/src/me/mailFolders/item/childFolders/delta/deltaGetResponse.ts +++ b/src/me/mailFolders/item/childFolders/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeMailFolder); } // tslint:enable // eslint-enable diff --git a/src/me/mailFolders/item/childFolders/item/messages/delta/deltaGetResponse.ts b/src/me/mailFolders/item/childFolders/item/messages/delta/deltaGetResponse.ts index f9f3c90acb4..35657e8c3fe 100644 --- a/src/me/mailFolders/item/childFolders/item/messages/delta/deltaGetResponse.ts +++ b/src/me/mailFolders/item/childFolders/item/messages/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeMessage); } // tslint:enable // eslint-enable diff --git a/src/me/mailFolders/item/childFolders/item/messages/item/attachments/attachmentsRequestBuilder.ts b/src/me/mailFolders/item/childFolders/item/messages/item/attachments/attachmentsRequestBuilder.ts index 03135106f66..ee086498fb9 100644 --- a/src/me/mailFolders/item/childFolders/item/messages/item/attachments/attachmentsRequestBuilder.ts +++ b/src/me/mailFolders/item/childFolders/item/messages/item/attachments/attachmentsRequestBuilder.ts @@ -93,10 +93,10 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/attachments{?%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Retrieve a list of attachment objects. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of AttachmentCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-list-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/message-list-attachments?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: AttachmentsRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -109,11 +109,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/message-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -126,7 +126,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentFromDiscriminatorValue, errorMapping); }; /** - * Retrieve a list of attachment objects. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -144,7 +144,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/me/mailFolders/item/childFolders/item/messages/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/me/mailFolders/item/childFolders/item/messages/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 3931586d212..699cced79e3 100644 --- a/src/me/mailFolders/item/childFolders/item/messages/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/me/mailFolders/item/childFolders/item/messages/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/mailFolders/item/childFolders/item/messages/item/createForward/createForwardPostRequestBody.ts b/src/me/mailFolders/item/childFolders/item/messages/item/createForward/createForwardPostRequestBody.ts index edaadd2e33c..275de7a2511 100644 --- a/src/me/mailFolders/item/childFolders/item/messages/item/createForward/createForwardPostRequestBody.ts +++ b/src/me/mailFolders/item/childFolders/item/messages/item/createForward/createForwardPostRequestBody.ts @@ -36,8 +36,8 @@ export function deserializeIntoCreateForwardPostRequestBody(createForwardPostReq } export function serializeCreateForwardPostRequestBody(writer: SerializationWriter, createForwardPostRequestBody: CreateForwardPostRequestBody | undefined = {} as CreateForwardPostRequestBody) : void { writer.writeStringValue("Comment", createForwardPostRequestBody.comment); - writer.writeObjectValue("Message", createForwardPostRequestBody.message, ); - writer.writeCollectionOfObjectValues("ToRecipients", createForwardPostRequestBody.toRecipients, ); + writer.writeObjectValue("Message", createForwardPostRequestBody.message, serializeMessage); + writer.writeCollectionOfObjectValues("ToRecipients", createForwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(createForwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/mailFolders/item/childFolders/item/messages/item/createReply/createReplyPostRequestBody.ts b/src/me/mailFolders/item/childFolders/item/messages/item/createReply/createReplyPostRequestBody.ts index 4dcd709b1f3..586dcc2e009 100644 --- a/src/me/mailFolders/item/childFolders/item/messages/item/createReply/createReplyPostRequestBody.ts +++ b/src/me/mailFolders/item/childFolders/item/messages/item/createReply/createReplyPostRequestBody.ts @@ -30,7 +30,7 @@ export function deserializeIntoCreateReplyPostRequestBody(createReplyPostRequest } export function serializeCreateReplyPostRequestBody(writer: SerializationWriter, createReplyPostRequestBody: CreateReplyPostRequestBody | undefined = {} as CreateReplyPostRequestBody) : void { writer.writeStringValue("Comment", createReplyPostRequestBody.comment); - writer.writeObjectValue("Message", createReplyPostRequestBody.message, ); + writer.writeObjectValue("Message", createReplyPostRequestBody.message, serializeMessage); writer.writeAdditionalData(createReplyPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/mailFolders/item/childFolders/item/messages/item/createReplyAll/createReplyAllPostRequestBody.ts b/src/me/mailFolders/item/childFolders/item/messages/item/createReplyAll/createReplyAllPostRequestBody.ts index 6c913e2c6c3..c4dd8bedee6 100644 --- a/src/me/mailFolders/item/childFolders/item/messages/item/createReplyAll/createReplyAllPostRequestBody.ts +++ b/src/me/mailFolders/item/childFolders/item/messages/item/createReplyAll/createReplyAllPostRequestBody.ts @@ -30,7 +30,7 @@ export function deserializeIntoCreateReplyAllPostRequestBody(createReplyAllPostR } export function serializeCreateReplyAllPostRequestBody(writer: SerializationWriter, createReplyAllPostRequestBody: CreateReplyAllPostRequestBody | undefined = {} as CreateReplyAllPostRequestBody) : void { writer.writeStringValue("Comment", createReplyAllPostRequestBody.comment); - writer.writeObjectValue("Message", createReplyAllPostRequestBody.message, ); + writer.writeObjectValue("Message", createReplyAllPostRequestBody.message, serializeMessage); writer.writeAdditionalData(createReplyAllPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/mailFolders/item/childFolders/item/messages/item/forward/forwardPostRequestBody.ts b/src/me/mailFolders/item/childFolders/item/messages/item/forward/forwardPostRequestBody.ts index aa552a266a2..ca87bcf82e6 100644 --- a/src/me/mailFolders/item/childFolders/item/messages/item/forward/forwardPostRequestBody.ts +++ b/src/me/mailFolders/item/childFolders/item/messages/item/forward/forwardPostRequestBody.ts @@ -36,8 +36,8 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeObjectValue("Message", forwardPostRequestBody.message, ); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeObjectValue("Message", forwardPostRequestBody.message, serializeMessage); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/mailFolders/item/childFolders/item/messages/item/reply/replyPostRequestBody.ts b/src/me/mailFolders/item/childFolders/item/messages/item/reply/replyPostRequestBody.ts index 61f10ce7a01..2086d16b3f1 100644 --- a/src/me/mailFolders/item/childFolders/item/messages/item/reply/replyPostRequestBody.ts +++ b/src/me/mailFolders/item/childFolders/item/messages/item/reply/replyPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ReplyPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeReplyPostRequestBody(writer: SerializationWriter, replyPostRequestBody: ReplyPostRequestBody | undefined = {} as ReplyPostRequestBody) : void { writer.writeStringValue("Comment", replyPostRequestBody.comment); - writer.writeObjectValue("Message", replyPostRequestBody.message, ); + writer.writeObjectValue("Message", replyPostRequestBody.message, serializeMessage); writer.writeAdditionalData(replyPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/mailFolders/item/childFolders/item/messages/item/replyAll/replyAllPostRequestBody.ts b/src/me/mailFolders/item/childFolders/item/messages/item/replyAll/replyAllPostRequestBody.ts index 994de86e8f5..7a58fedde5e 100644 --- a/src/me/mailFolders/item/childFolders/item/messages/item/replyAll/replyAllPostRequestBody.ts +++ b/src/me/mailFolders/item/childFolders/item/messages/item/replyAll/replyAllPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ReplyAllPostRequestBody extends AdditionalDataHolder, Parsable } export function serializeReplyAllPostRequestBody(writer: SerializationWriter, replyAllPostRequestBody: ReplyAllPostRequestBody | undefined = {} as ReplyAllPostRequestBody) : void { writer.writeStringValue("Comment", replyAllPostRequestBody.comment); - writer.writeObjectValue("Message", replyAllPostRequestBody.message, ); + writer.writeObjectValue("Message", replyAllPostRequestBody.message, serializeMessage); writer.writeAdditionalData(replyAllPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/mailFolders/item/messages/delta/deltaGetResponse.ts b/src/me/mailFolders/item/messages/delta/deltaGetResponse.ts index ba504ea5471..bcaea4522e9 100644 --- a/src/me/mailFolders/item/messages/delta/deltaGetResponse.ts +++ b/src/me/mailFolders/item/messages/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeMessage); } // tslint:enable // eslint-enable diff --git a/src/me/mailFolders/item/messages/item/attachments/attachmentsRequestBuilder.ts b/src/me/mailFolders/item/messages/item/attachments/attachmentsRequestBuilder.ts index c788f991957..4a481e6a7a8 100644 --- a/src/me/mailFolders/item/messages/item/attachments/attachmentsRequestBuilder.ts +++ b/src/me/mailFolders/item/messages/item/attachments/attachmentsRequestBuilder.ts @@ -93,10 +93,10 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/attachments{?%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Retrieve a list of attachment objects. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of AttachmentCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-list-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/message-list-attachments?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: AttachmentsRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -109,11 +109,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/message-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -126,7 +126,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentFromDiscriminatorValue, errorMapping); }; /** - * Retrieve a list of attachment objects. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -144,7 +144,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/me/mailFolders/item/messages/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/me/mailFolders/item/messages/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 03bda6fd973..c62a27a840c 100644 --- a/src/me/mailFolders/item/messages/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/me/mailFolders/item/messages/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/mailFolders/item/messages/item/createForward/createForwardPostRequestBody.ts b/src/me/mailFolders/item/messages/item/createForward/createForwardPostRequestBody.ts index c07b9cf90e1..76c8b3ac384 100644 --- a/src/me/mailFolders/item/messages/item/createForward/createForwardPostRequestBody.ts +++ b/src/me/mailFolders/item/messages/item/createForward/createForwardPostRequestBody.ts @@ -36,8 +36,8 @@ export function deserializeIntoCreateForwardPostRequestBody(createForwardPostReq } export function serializeCreateForwardPostRequestBody(writer: SerializationWriter, createForwardPostRequestBody: CreateForwardPostRequestBody | undefined = {} as CreateForwardPostRequestBody) : void { writer.writeStringValue("Comment", createForwardPostRequestBody.comment); - writer.writeObjectValue("Message", createForwardPostRequestBody.message, ); - writer.writeCollectionOfObjectValues("ToRecipients", createForwardPostRequestBody.toRecipients, ); + writer.writeObjectValue("Message", createForwardPostRequestBody.message, serializeMessage); + writer.writeCollectionOfObjectValues("ToRecipients", createForwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(createForwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/mailFolders/item/messages/item/createReply/createReplyPostRequestBody.ts b/src/me/mailFolders/item/messages/item/createReply/createReplyPostRequestBody.ts index 68cce2e87e2..1bdd5e8923e 100644 --- a/src/me/mailFolders/item/messages/item/createReply/createReplyPostRequestBody.ts +++ b/src/me/mailFolders/item/messages/item/createReply/createReplyPostRequestBody.ts @@ -30,7 +30,7 @@ export function deserializeIntoCreateReplyPostRequestBody(createReplyPostRequest } export function serializeCreateReplyPostRequestBody(writer: SerializationWriter, createReplyPostRequestBody: CreateReplyPostRequestBody | undefined = {} as CreateReplyPostRequestBody) : void { writer.writeStringValue("Comment", createReplyPostRequestBody.comment); - writer.writeObjectValue("Message", createReplyPostRequestBody.message, ); + writer.writeObjectValue("Message", createReplyPostRequestBody.message, serializeMessage); writer.writeAdditionalData(createReplyPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/mailFolders/item/messages/item/createReplyAll/createReplyAllPostRequestBody.ts b/src/me/mailFolders/item/messages/item/createReplyAll/createReplyAllPostRequestBody.ts index eed8a90f34c..591c0ddffe6 100644 --- a/src/me/mailFolders/item/messages/item/createReplyAll/createReplyAllPostRequestBody.ts +++ b/src/me/mailFolders/item/messages/item/createReplyAll/createReplyAllPostRequestBody.ts @@ -30,7 +30,7 @@ export function deserializeIntoCreateReplyAllPostRequestBody(createReplyAllPostR } export function serializeCreateReplyAllPostRequestBody(writer: SerializationWriter, createReplyAllPostRequestBody: CreateReplyAllPostRequestBody | undefined = {} as CreateReplyAllPostRequestBody) : void { writer.writeStringValue("Comment", createReplyAllPostRequestBody.comment); - writer.writeObjectValue("Message", createReplyAllPostRequestBody.message, ); + writer.writeObjectValue("Message", createReplyAllPostRequestBody.message, serializeMessage); writer.writeAdditionalData(createReplyAllPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/mailFolders/item/messages/item/forward/forwardPostRequestBody.ts b/src/me/mailFolders/item/messages/item/forward/forwardPostRequestBody.ts index 20ce177b368..a7ef82b1bfa 100644 --- a/src/me/mailFolders/item/messages/item/forward/forwardPostRequestBody.ts +++ b/src/me/mailFolders/item/messages/item/forward/forwardPostRequestBody.ts @@ -36,8 +36,8 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeObjectValue("Message", forwardPostRequestBody.message, ); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeObjectValue("Message", forwardPostRequestBody.message, serializeMessage); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/mailFolders/item/messages/item/reply/replyPostRequestBody.ts b/src/me/mailFolders/item/messages/item/reply/replyPostRequestBody.ts index 8f9e6c0289c..2bb55b7e211 100644 --- a/src/me/mailFolders/item/messages/item/reply/replyPostRequestBody.ts +++ b/src/me/mailFolders/item/messages/item/reply/replyPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ReplyPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeReplyPostRequestBody(writer: SerializationWriter, replyPostRequestBody: ReplyPostRequestBody | undefined = {} as ReplyPostRequestBody) : void { writer.writeStringValue("Comment", replyPostRequestBody.comment); - writer.writeObjectValue("Message", replyPostRequestBody.message, ); + writer.writeObjectValue("Message", replyPostRequestBody.message, serializeMessage); writer.writeAdditionalData(replyPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/mailFolders/item/messages/item/replyAll/replyAllPostRequestBody.ts b/src/me/mailFolders/item/messages/item/replyAll/replyAllPostRequestBody.ts index 22ebab7eb3a..4bd65422196 100644 --- a/src/me/mailFolders/item/messages/item/replyAll/replyAllPostRequestBody.ts +++ b/src/me/mailFolders/item/messages/item/replyAll/replyAllPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ReplyAllPostRequestBody extends AdditionalDataHolder, Parsable } export function serializeReplyAllPostRequestBody(writer: SerializationWriter, replyAllPostRequestBody: ReplyAllPostRequestBody | undefined = {} as ReplyAllPostRequestBody) : void { writer.writeStringValue("Comment", replyAllPostRequestBody.comment); - writer.writeObjectValue("Message", replyAllPostRequestBody.message, ); + writer.writeObjectValue("Message", replyAllPostRequestBody.message, serializeMessage); writer.writeAdditionalData(replyAllPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/managedDevices/item/updateWindowsDeviceAccount/updateWindowsDeviceAccountPostRequestBody.ts b/src/me/managedDevices/item/updateWindowsDeviceAccount/updateWindowsDeviceAccountPostRequestBody.ts index c88df63f52e..ca95c48edf4 100644 --- a/src/me/managedDevices/item/updateWindowsDeviceAccount/updateWindowsDeviceAccountPostRequestBody.ts +++ b/src/me/managedDevices/item/updateWindowsDeviceAccount/updateWindowsDeviceAccountPostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoUpdateWindowsDeviceAccountPostRequestBody(updateW } } export function serializeUpdateWindowsDeviceAccountPostRequestBody(writer: SerializationWriter, updateWindowsDeviceAccountPostRequestBody: UpdateWindowsDeviceAccountPostRequestBody | undefined = {} as UpdateWindowsDeviceAccountPostRequestBody) : void { - writer.writeObjectValue("updateWindowsDeviceAccountActionParameter", updateWindowsDeviceAccountPostRequestBody.updateWindowsDeviceAccountActionParameter, ); + writer.writeObjectValue("updateWindowsDeviceAccountActionParameter", updateWindowsDeviceAccountPostRequestBody.updateWindowsDeviceAccountActionParameter, serializeUpdateWindowsDeviceAccountActionParameter); writer.writeAdditionalData(updateWindowsDeviceAccountPostRequestBody.additionalData); } export interface UpdateWindowsDeviceAccountPostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/me/meRequestBuilder.ts b/src/me/meRequestBuilder.ts index 2db53fca22f..b76ade288a1 100644 --- a/src/me/meRequestBuilder.ts +++ b/src/me/meRequestBuilder.ts @@ -556,10 +556,10 @@ export class MeRequestBuilder extends BaseRequestBuilder { return new ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder(this.pathParameters, this.requestAdapter, skip, top); }; /** - * Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of user object. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of User - * @see {@link https://learn.microsoft.com/graph/api/user-list-manager?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/user-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: MeRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -600,7 +600,7 @@ export class MeRequestBuilder extends BaseRequestBuilder { return new ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder(this.pathParameters, this.requestAdapter, endDateTime, startDateTime); }; /** - * Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of user object. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/me/messages/delta/deltaGetResponse.ts b/src/me/messages/delta/deltaGetResponse.ts index 439012aa41d..0621f515e38 100644 --- a/src/me/messages/delta/deltaGetResponse.ts +++ b/src/me/messages/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeMessage); } // tslint:enable // eslint-enable diff --git a/src/me/messages/item/attachments/attachmentsRequestBuilder.ts b/src/me/messages/item/attachments/attachmentsRequestBuilder.ts index 4ea3d6fa5ba..2307df1997b 100644 --- a/src/me/messages/item/attachments/attachmentsRequestBuilder.ts +++ b/src/me/messages/item/attachments/attachmentsRequestBuilder.ts @@ -93,10 +93,10 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/me/messages/{message%2Did}/attachments{?%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Retrieve a list of attachment objects. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of AttachmentCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-list-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/message-list-attachments?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: AttachmentsRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -109,11 +109,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/message-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: AttachmentsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -126,7 +126,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentFromDiscriminatorValue, errorMapping); }; /** - * Retrieve a list of attachment objects. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -144,7 +144,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/me/messages/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/me/messages/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 5767bf96b45..78386346d8c 100644 --- a/src/me/messages/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/me/messages/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, ); + writer.writeObjectValue("AttachmentItem", createUploadSessionPostRequestBody.attachmentItem, serializeAttachmentItem); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/messages/item/createForward/createForwardPostRequestBody.ts b/src/me/messages/item/createForward/createForwardPostRequestBody.ts index 668b2847987..f6bf1cb8aa5 100644 --- a/src/me/messages/item/createForward/createForwardPostRequestBody.ts +++ b/src/me/messages/item/createForward/createForwardPostRequestBody.ts @@ -36,8 +36,8 @@ export function deserializeIntoCreateForwardPostRequestBody(createForwardPostReq } export function serializeCreateForwardPostRequestBody(writer: SerializationWriter, createForwardPostRequestBody: CreateForwardPostRequestBody | undefined = {} as CreateForwardPostRequestBody) : void { writer.writeStringValue("Comment", createForwardPostRequestBody.comment); - writer.writeObjectValue("Message", createForwardPostRequestBody.message, ); - writer.writeCollectionOfObjectValues("ToRecipients", createForwardPostRequestBody.toRecipients, ); + writer.writeObjectValue("Message", createForwardPostRequestBody.message, serializeMessage); + writer.writeCollectionOfObjectValues("ToRecipients", createForwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(createForwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/messages/item/createReply/createReplyPostRequestBody.ts b/src/me/messages/item/createReply/createReplyPostRequestBody.ts index 7866fb7439e..8459b4c7ab3 100644 --- a/src/me/messages/item/createReply/createReplyPostRequestBody.ts +++ b/src/me/messages/item/createReply/createReplyPostRequestBody.ts @@ -30,7 +30,7 @@ export function deserializeIntoCreateReplyPostRequestBody(createReplyPostRequest } export function serializeCreateReplyPostRequestBody(writer: SerializationWriter, createReplyPostRequestBody: CreateReplyPostRequestBody | undefined = {} as CreateReplyPostRequestBody) : void { writer.writeStringValue("Comment", createReplyPostRequestBody.comment); - writer.writeObjectValue("Message", createReplyPostRequestBody.message, ); + writer.writeObjectValue("Message", createReplyPostRequestBody.message, serializeMessage); writer.writeAdditionalData(createReplyPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/messages/item/createReplyAll/createReplyAllPostRequestBody.ts b/src/me/messages/item/createReplyAll/createReplyAllPostRequestBody.ts index faa12c813e7..cb6e75efbcc 100644 --- a/src/me/messages/item/createReplyAll/createReplyAllPostRequestBody.ts +++ b/src/me/messages/item/createReplyAll/createReplyAllPostRequestBody.ts @@ -30,7 +30,7 @@ export function deserializeIntoCreateReplyAllPostRequestBody(createReplyAllPostR } export function serializeCreateReplyAllPostRequestBody(writer: SerializationWriter, createReplyAllPostRequestBody: CreateReplyAllPostRequestBody | undefined = {} as CreateReplyAllPostRequestBody) : void { writer.writeStringValue("Comment", createReplyAllPostRequestBody.comment); - writer.writeObjectValue("Message", createReplyAllPostRequestBody.message, ); + writer.writeObjectValue("Message", createReplyAllPostRequestBody.message, serializeMessage); writer.writeAdditionalData(createReplyAllPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/messages/item/forward/forwardPostRequestBody.ts b/src/me/messages/item/forward/forwardPostRequestBody.ts index a38f1d8cb49..27a45b00b1a 100644 --- a/src/me/messages/item/forward/forwardPostRequestBody.ts +++ b/src/me/messages/item/forward/forwardPostRequestBody.ts @@ -36,8 +36,8 @@ export interface ForwardPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeForwardPostRequestBody(writer: SerializationWriter, forwardPostRequestBody: ForwardPostRequestBody | undefined = {} as ForwardPostRequestBody) : void { writer.writeStringValue("Comment", forwardPostRequestBody.comment); - writer.writeObjectValue("Message", forwardPostRequestBody.message, ); - writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, ); + writer.writeObjectValue("Message", forwardPostRequestBody.message, serializeMessage); + writer.writeCollectionOfObjectValues("ToRecipients", forwardPostRequestBody.toRecipients, serializeRecipient); writer.writeAdditionalData(forwardPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/messages/item/messageItemRequestBuilder.ts b/src/me/messages/item/messageItemRequestBuilder.ts index d0600c788cd..9be68534a20 100644 --- a/src/me/messages/item/messageItemRequestBuilder.ts +++ b/src/me/messages/item/messageItemRequestBuilder.ts @@ -169,7 +169,7 @@ export class MessageItemRequestBuilder extends BaseRequestBuilder { * The messages in a mailbox or folder. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Message - * @see {@link https://learn.microsoft.com/graph/api/singlevaluelegacyextendedproperty-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/eventmessage-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: MessageItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( diff --git a/src/me/messages/item/reply/replyPostRequestBody.ts b/src/me/messages/item/reply/replyPostRequestBody.ts index a05a276aab9..a5c32068613 100644 --- a/src/me/messages/item/reply/replyPostRequestBody.ts +++ b/src/me/messages/item/reply/replyPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ReplyPostRequestBody extends AdditionalDataHolder, Parsable { } export function serializeReplyPostRequestBody(writer: SerializationWriter, replyPostRequestBody: ReplyPostRequestBody | undefined = {} as ReplyPostRequestBody) : void { writer.writeStringValue("Comment", replyPostRequestBody.comment); - writer.writeObjectValue("Message", replyPostRequestBody.message, ); + writer.writeObjectValue("Message", replyPostRequestBody.message, serializeMessage); writer.writeAdditionalData(replyPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/messages/item/replyAll/replyAllPostRequestBody.ts b/src/me/messages/item/replyAll/replyAllPostRequestBody.ts index f877d84308b..c7d7649a20e 100644 --- a/src/me/messages/item/replyAll/replyAllPostRequestBody.ts +++ b/src/me/messages/item/replyAll/replyAllPostRequestBody.ts @@ -30,7 +30,7 @@ export interface ReplyAllPostRequestBody extends AdditionalDataHolder, Parsable } export function serializeReplyAllPostRequestBody(writer: SerializationWriter, replyAllPostRequestBody: ReplyAllPostRequestBody | undefined = {} as ReplyAllPostRequestBody) : void { writer.writeStringValue("Comment", replyAllPostRequestBody.comment); - writer.writeObjectValue("Message", replyAllPostRequestBody.message, ); + writer.writeObjectValue("Message", replyAllPostRequestBody.message, serializeMessage); writer.writeAdditionalData(replyAllPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/messages/item/value/contentRequestBuilder.ts b/src/me/messages/item/value/contentRequestBuilder.ts index 9aa45423eff..5fc390f7716 100644 --- a/src/me/messages/item/value/contentRequestBuilder.ts +++ b/src/me/messages/item/value/contentRequestBuilder.ts @@ -41,7 +41,7 @@ export class ContentRequestBuilder extends BaseRequestBuilder { * Get media content for the navigation property messages from me * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ArrayBuffer - * @see {@link https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/user-list-messages?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: ContentRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( diff --git a/src/me/messages/messagesRequestBuilder.ts b/src/me/messages/messagesRequestBuilder.ts index e19249dd99c..5c8eee0b99b 100644 --- a/src/me/messages/messagesRequestBuilder.ts +++ b/src/me/messages/messagesRequestBuilder.ts @@ -112,7 +112,7 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { * The messages in a mailbox or folder. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of MessageCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/user-list-messages?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: MessagesRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -125,11 +125,11 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createMessageCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + * Create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment to the message.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- /* Add any attachments and S/MIME properties to the MIME content. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single operation, or create a draft to forward, reply and reply-all to an existing message. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Message - * @see {@link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/user-post-messages?view=graph-rest-1.0|Find more info here} */ public post(body: Message, requestConfiguration?: MessagesRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -160,7 +160,7 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + * Create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment to the message.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- /* Add any attachments and S/MIME properties to the MIME content. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single operation, or create a draft to forward, reply and reply-all to an existing message. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/me/onenote/notebooks/getRecentNotebooksWithIncludePersonalNotebooks/getRecentNotebooksWithIncludePersonalNotebooksGetResponse.ts b/src/me/onenote/notebooks/getRecentNotebooksWithIncludePersonalNotebooks/getRecentNotebooksWithIncludePersonalNotebooksGetResponse.ts index 2d52be10cab..67ab4b540ad 100644 --- a/src/me/onenote/notebooks/getRecentNotebooksWithIncludePersonalNotebooks/getRecentNotebooksWithIncludePersonalNotebooksGetResponse.ts +++ b/src/me/onenote/notebooks/getRecentNotebooksWithIncludePersonalNotebooks/getRecentNotebooksWithIncludePersonalNotebooksGetResponse.ts @@ -23,7 +23,7 @@ export interface GetRecentNotebooksWithIncludePersonalNotebooksGetResponse exten } export function serializeGetRecentNotebooksWithIncludePersonalNotebooksGetResponse(writer: SerializationWriter, getRecentNotebooksWithIncludePersonalNotebooksGetResponse: GetRecentNotebooksWithIncludePersonalNotebooksGetResponse | undefined = {} as GetRecentNotebooksWithIncludePersonalNotebooksGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, getRecentNotebooksWithIncludePersonalNotebooksGetResponse) - writer.writeCollectionOfObjectValues("value", getRecentNotebooksWithIncludePersonalNotebooksGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", getRecentNotebooksWithIncludePersonalNotebooksGetResponse.value, serializeRecentNotebook); } // tslint:enable // eslint-enable diff --git a/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts b/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts index a55e0c2e309..78d880acb09 100644 --- a/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts +++ b/src/me/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts @@ -24,7 +24,7 @@ export interface OnenotePatchContentPostRequestBody extends AdditionalDataHolder commands?: OnenotePatchContentCommand[]; } export function serializeOnenotePatchContentPostRequestBody(writer: SerializationWriter, onenotePatchContentPostRequestBody: OnenotePatchContentPostRequestBody | undefined = {} as OnenotePatchContentPostRequestBody) : void { - writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, ); + writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, serializeOnenotePatchContentCommand); writer.writeAdditionalData(onenotePatchContentPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/onenote/notebooks/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts b/src/me/onenote/notebooks/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts index fb0799297d8..1e62308910b 100644 --- a/src/me/onenote/notebooks/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts +++ b/src/me/onenote/notebooks/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts @@ -24,7 +24,7 @@ export interface OnenotePatchContentPostRequestBody extends AdditionalDataHolder commands?: OnenotePatchContentCommand[]; } export function serializeOnenotePatchContentPostRequestBody(writer: SerializationWriter, onenotePatchContentPostRequestBody: OnenotePatchContentPostRequestBody | undefined = {} as OnenotePatchContentPostRequestBody) : void { - writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, ); + writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, serializeOnenotePatchContentCommand); writer.writeAdditionalData(onenotePatchContentPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/onenote/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts b/src/me/onenote/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts index cf05435de98..990785cdd73 100644 --- a/src/me/onenote/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts +++ b/src/me/onenote/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts @@ -24,7 +24,7 @@ export interface OnenotePatchContentPostRequestBody extends AdditionalDataHolder commands?: OnenotePatchContentCommand[]; } export function serializeOnenotePatchContentPostRequestBody(writer: SerializationWriter, onenotePatchContentPostRequestBody: OnenotePatchContentPostRequestBody | undefined = {} as OnenotePatchContentPostRequestBody) : void { - writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, ); + writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, serializeOnenotePatchContentCommand); writer.writeAdditionalData(onenotePatchContentPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/onenote/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts b/src/me/onenote/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts index fb0799297d8..1e62308910b 100644 --- a/src/me/onenote/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts +++ b/src/me/onenote/sectionGroups/item/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts @@ -24,7 +24,7 @@ export interface OnenotePatchContentPostRequestBody extends AdditionalDataHolder commands?: OnenotePatchContentCommand[]; } export function serializeOnenotePatchContentPostRequestBody(writer: SerializationWriter, onenotePatchContentPostRequestBody: OnenotePatchContentPostRequestBody | undefined = {} as OnenotePatchContentPostRequestBody) : void { - writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, ); + writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, serializeOnenotePatchContentCommand); writer.writeAdditionalData(onenotePatchContentPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/onenote/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts b/src/me/onenote/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts index 9b149afaaa6..87992afeb5d 100644 --- a/src/me/onenote/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts +++ b/src/me/onenote/sections/item/pages/item/onenotePatchContent/onenotePatchContentPostRequestBody.ts @@ -24,7 +24,7 @@ export interface OnenotePatchContentPostRequestBody extends AdditionalDataHolder commands?: OnenotePatchContentCommand[]; } export function serializeOnenotePatchContentPostRequestBody(writer: SerializationWriter, onenotePatchContentPostRequestBody: OnenotePatchContentPostRequestBody | undefined = {} as OnenotePatchContentPostRequestBody) : void { - writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, ); + writer.writeCollectionOfObjectValues("commands", onenotePatchContentPostRequestBody.commands, serializeOnenotePatchContentCommand); writer.writeAdditionalData(onenotePatchContentPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/onlineMeetings/createOrGet/createOrGetPostRequestBody.ts b/src/me/onlineMeetings/createOrGet/createOrGetPostRequestBody.ts index 30c217d0931..bae27cce377 100644 --- a/src/me/onlineMeetings/createOrGet/createOrGetPostRequestBody.ts +++ b/src/me/onlineMeetings/createOrGet/createOrGetPostRequestBody.ts @@ -50,10 +50,10 @@ export function deserializeIntoCreateOrGetPostRequestBody(createOrGetPostRequest } } export function serializeCreateOrGetPostRequestBody(writer: SerializationWriter, createOrGetPostRequestBody: CreateOrGetPostRequestBody | undefined = {} as CreateOrGetPostRequestBody) : void { - writer.writeObjectValue("chatInfo", createOrGetPostRequestBody.chatInfo, ); + writer.writeObjectValue("chatInfo", createOrGetPostRequestBody.chatInfo, serializeChatInfo); writer.writeDateValue("endDateTime", createOrGetPostRequestBody.endDateTime); writer.writeStringValue("externalId", createOrGetPostRequestBody.externalId); - writer.writeObjectValue("participants", createOrGetPostRequestBody.participants, ); + writer.writeObjectValue("participants", createOrGetPostRequestBody.participants, serializeMeetingParticipants); writer.writeDateValue("startDateTime", createOrGetPostRequestBody.startDateTime); writer.writeStringValue("subject", createOrGetPostRequestBody.subject); writer.writeAdditionalData(createOrGetPostRequestBody.additionalData); diff --git a/src/me/outlook/supportedLanguages/supportedLanguagesGetResponse.ts b/src/me/outlook/supportedLanguages/supportedLanguagesGetResponse.ts index e830408bb0b..09b590f85a4 100644 --- a/src/me/outlook/supportedLanguages/supportedLanguagesGetResponse.ts +++ b/src/me/outlook/supportedLanguages/supportedLanguagesGetResponse.ts @@ -17,7 +17,7 @@ export function deserializeIntoSupportedLanguagesGetResponse(supportedLanguagesG } export function serializeSupportedLanguagesGetResponse(writer: SerializationWriter, supportedLanguagesGetResponse: SupportedLanguagesGetResponse | undefined = {} as SupportedLanguagesGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, supportedLanguagesGetResponse) - writer.writeCollectionOfObjectValues("value", supportedLanguagesGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", supportedLanguagesGetResponse.value, serializeLocaleInfo); } export interface SupportedLanguagesGetResponse extends BaseCollectionPaginationCountResponse, Parsable { /** diff --git a/src/me/outlook/supportedTimeZones/supportedTimeZonesGetResponse.ts b/src/me/outlook/supportedTimeZones/supportedTimeZonesGetResponse.ts index 0afa3d5abec..1fbd786df3f 100644 --- a/src/me/outlook/supportedTimeZones/supportedTimeZonesGetResponse.ts +++ b/src/me/outlook/supportedTimeZones/supportedTimeZonesGetResponse.ts @@ -17,7 +17,7 @@ export function deserializeIntoSupportedTimeZonesGetResponse(supportedTimeZonesG } export function serializeSupportedTimeZonesGetResponse(writer: SerializationWriter, supportedTimeZonesGetResponse: SupportedTimeZonesGetResponse | undefined = {} as SupportedTimeZonesGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, supportedTimeZonesGetResponse) - writer.writeCollectionOfObjectValues("value", supportedTimeZonesGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", supportedTimeZonesGetResponse.value, serializeTimeZoneInformation); } export interface SupportedTimeZonesGetResponse extends BaseCollectionPaginationCountResponse, Parsable { /** diff --git a/src/me/outlook/supportedTimeZonesWithTimeZoneStandard/supportedTimeZonesWithTimeZoneStandardGetResponse.ts b/src/me/outlook/supportedTimeZonesWithTimeZoneStandard/supportedTimeZonesWithTimeZoneStandardGetResponse.ts index 69cb2dbdec1..28a4e995f92 100644 --- a/src/me/outlook/supportedTimeZonesWithTimeZoneStandard/supportedTimeZonesWithTimeZoneStandardGetResponse.ts +++ b/src/me/outlook/supportedTimeZonesWithTimeZoneStandard/supportedTimeZonesWithTimeZoneStandardGetResponse.ts @@ -17,7 +17,7 @@ export function deserializeIntoSupportedTimeZonesWithTimeZoneStandardGetResponse } export function serializeSupportedTimeZonesWithTimeZoneStandardGetResponse(writer: SerializationWriter, supportedTimeZonesWithTimeZoneStandardGetResponse: SupportedTimeZonesWithTimeZoneStandardGetResponse | undefined = {} as SupportedTimeZonesWithTimeZoneStandardGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, supportedTimeZonesWithTimeZoneStandardGetResponse) - writer.writeCollectionOfObjectValues("value", supportedTimeZonesWithTimeZoneStandardGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", supportedTimeZonesWithTimeZoneStandardGetResponse.value, serializeTimeZoneInformation); } export interface SupportedTimeZonesWithTimeZoneStandardGetResponse extends BaseCollectionPaginationCountResponse, Parsable { /** diff --git a/src/me/photos/photosRequestBuilder.ts b/src/me/photos/photosRequestBuilder.ts index 80ff2e36411..bd737137e22 100644 --- a/src/me/photos/photosRequestBuilder.ts +++ b/src/me/photos/photosRequestBuilder.ts @@ -5,15 +5,10 @@ import { type ProfilePhotoCollectionResponse } from '../../models/'; import { type ODataError } from '../../models/oDataErrors/'; import { createODataErrorFromDiscriminatorValue, deserializeIntoODataError, serializeODataError } from '../../models/oDataErrors/oDataError'; import { createProfilePhotoCollectionResponseFromDiscriminatorValue } from '../../models/profilePhotoCollectionResponse'; -import { CountRequestBuilder } from './count/countRequestBuilder'; import { ProfilePhotoItemRequestBuilder } from './item/profilePhotoItemRequestBuilder'; import { BaseRequestBuilder, getPathParameters, HttpMethod, RequestInformation, type Parsable, type ParsableFactory, type RequestAdapter, type RequestOption } from '@microsoft/kiota-abstractions'; export interface PhotosRequestBuilderGetQueryParameters { - /** - * Include count of items - */ - count?: boolean; /** * Filter items by property values */ @@ -53,12 +48,6 @@ export interface PhotosRequestBuilderGetRequestConfiguration { * Provides operations to manage the photos property of the microsoft.graph.user entity. */ export class PhotosRequestBuilder extends BaseRequestBuilder { - /** - * Provides operations to count the resources in the collection. - */ - public get count(): CountRequestBuilder { - return new CountRequestBuilder(this.pathParameters, this.requestAdapter); - } /** * Provides operations to manage the photos property of the microsoft.graph.user entity. * @param profilePhotoId The unique identifier of profilePhoto @@ -76,7 +65,7 @@ export class PhotosRequestBuilder extends BaseRequestBuilder { * @param requestAdapter The request adapter to use to execute the requests. */ public constructor(pathParameters: Record | string | undefined, requestAdapter: RequestAdapter) { - super(pathParameters, requestAdapter, "{+baseurl}/me/photos{?%24top,%24skip,%24filter,%24count,%24orderby,%24select}"); + super(pathParameters, requestAdapter, "{+baseurl}/me/photos{?%24top,%24skip,%24filter,%24orderby,%24select}"); }; /** * Get photos from me diff --git a/src/me/presence/presenceRequestBuilder.ts b/src/me/presence/presenceRequestBuilder.ts index 436b673b22e..25b8fea1c29 100644 --- a/src/me/presence/presenceRequestBuilder.ts +++ b/src/me/presence/presenceRequestBuilder.ts @@ -112,10 +112,10 @@ export class PresenceRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Set a presence status message for a user. An optional expiration date and time can be supplied. This API is available in the following national cloud deployments. + * Get a user's presence information. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Presence - * @see {@link https://learn.microsoft.com/graph/api/presence-setstatusmessage?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/presence-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: PresenceRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -161,7 +161,7 @@ export class PresenceRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Set a presence status message for a user. An optional expiration date and time can be supplied. This API is available in the following national cloud deployments. + * Get a user's presence information. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/me/presence/setStatusMessage/setStatusMessagePostRequestBody.ts b/src/me/presence/setStatusMessage/setStatusMessagePostRequestBody.ts index 24f76404371..7daae388346 100644 --- a/src/me/presence/setStatusMessage/setStatusMessagePostRequestBody.ts +++ b/src/me/presence/setStatusMessage/setStatusMessagePostRequestBody.ts @@ -14,7 +14,7 @@ export function deserializeIntoSetStatusMessagePostRequestBody(setStatusMessageP } } export function serializeSetStatusMessagePostRequestBody(writer: SerializationWriter, setStatusMessagePostRequestBody: SetStatusMessagePostRequestBody | undefined = {} as SetStatusMessagePostRequestBody) : void { - writer.writeObjectValue("statusMessage", setStatusMessagePostRequestBody.statusMessage, ); + writer.writeObjectValue("statusMessage", setStatusMessagePostRequestBody.statusMessage, serializePresenceStatusMessage); writer.writeAdditionalData(setStatusMessagePostRequestBody.additionalData); } export interface SetStatusMessagePostRequestBody extends AdditionalDataHolder, Parsable { diff --git a/src/me/reminderViewWithStartDateTimeWithEndDateTime/reminderViewWithStartDateTimeWithEndDateTimeGetResponse.ts b/src/me/reminderViewWithStartDateTimeWithEndDateTime/reminderViewWithStartDateTimeWithEndDateTimeGetResponse.ts index 7aec59022f6..0822961406f 100644 --- a/src/me/reminderViewWithStartDateTimeWithEndDateTime/reminderViewWithStartDateTimeWithEndDateTimeGetResponse.ts +++ b/src/me/reminderViewWithStartDateTimeWithEndDateTime/reminderViewWithStartDateTimeWithEndDateTimeGetResponse.ts @@ -23,7 +23,7 @@ export interface ReminderViewWithStartDateTimeWithEndDateTimeGetResponse extends } export function serializeReminderViewWithStartDateTimeWithEndDateTimeGetResponse(writer: SerializationWriter, reminderViewWithStartDateTimeWithEndDateTimeGetResponse: ReminderViewWithStartDateTimeWithEndDateTimeGetResponse | undefined = {} as ReminderViewWithStartDateTimeWithEndDateTimeGetResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, reminderViewWithStartDateTimeWithEndDateTimeGetResponse) - writer.writeCollectionOfObjectValues("value", reminderViewWithStartDateTimeWithEndDateTimeGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", reminderViewWithStartDateTimeWithEndDateTimeGetResponse.value, serializeReminder); } // tslint:enable // eslint-enable diff --git a/src/me/sendMail/sendMailPostRequestBody.ts b/src/me/sendMail/sendMailPostRequestBody.ts index 792adbb9f5e..13cc522c587 100644 --- a/src/me/sendMail/sendMailPostRequestBody.ts +++ b/src/me/sendMail/sendMailPostRequestBody.ts @@ -29,7 +29,7 @@ export interface SendMailPostRequestBody extends AdditionalDataHolder, Parsable saveToSentItems?: boolean; } export function serializeSendMailPostRequestBody(writer: SerializationWriter, sendMailPostRequestBody: SendMailPostRequestBody | undefined = {} as SendMailPostRequestBody) : void { - writer.writeObjectValue("Message", sendMailPostRequestBody.message, ); + writer.writeObjectValue("Message", sendMailPostRequestBody.message, serializeMessage); writer.writeBooleanValue("SaveToSentItems", sendMailPostRequestBody.saveToSentItems); writer.writeAdditionalData(sendMailPostRequestBody.additionalData); } diff --git a/src/me/teamwork/sendActivityNotification/sendActivityNotificationPostRequestBody.ts b/src/me/teamwork/sendActivityNotification/sendActivityNotificationPostRequestBody.ts index da430d8e9ec..26774a19b1b 100644 --- a/src/me/teamwork/sendActivityNotification/sendActivityNotificationPostRequestBody.ts +++ b/src/me/teamwork/sendActivityNotification/sendActivityNotificationPostRequestBody.ts @@ -48,9 +48,9 @@ export interface SendActivityNotificationPostRequestBody extends AdditionalDataH export function serializeSendActivityNotificationPostRequestBody(writer: SerializationWriter, sendActivityNotificationPostRequestBody: SendActivityNotificationPostRequestBody | undefined = {} as SendActivityNotificationPostRequestBody) : void { writer.writeStringValue("activityType", sendActivityNotificationPostRequestBody.activityType); writer.writeNumberValue("chainId", sendActivityNotificationPostRequestBody.chainId); - writer.writeObjectValue("previewText", sendActivityNotificationPostRequestBody.previewText, ); - writer.writeCollectionOfObjectValues("templateParameters", sendActivityNotificationPostRequestBody.templateParameters, ); - writer.writeObjectValue("topic", sendActivityNotificationPostRequestBody.topic, ); + writer.writeObjectValue("previewText", sendActivityNotificationPostRequestBody.previewText, serializeItemBody); + writer.writeCollectionOfObjectValues("templateParameters", sendActivityNotificationPostRequestBody.templateParameters, serializeKeyValuePair); + writer.writeObjectValue("topic", sendActivityNotificationPostRequestBody.topic, serializeTeamworkActivityTopic); writer.writeAdditionalData(sendActivityNotificationPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/todo/lists/delta/deltaGetResponse.ts b/src/me/todo/lists/delta/deltaGetResponse.ts index 4cc217d91a2..4162ccc8da1 100644 --- a/src/me/todo/lists/delta/deltaGetResponse.ts +++ b/src/me/todo/lists/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeTodoTaskList); } // tslint:enable // eslint-enable diff --git a/src/me/todo/lists/item/tasks/delta/deltaGetResponse.ts b/src/me/todo/lists/item/tasks/delta/deltaGetResponse.ts index 61b81155157..10f5048ab5d 100644 --- a/src/me/todo/lists/item/tasks/delta/deltaGetResponse.ts +++ b/src/me/todo/lists/item/tasks/delta/deltaGetResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon } export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void { serializeBaseDeltaFunctionResponse(writer, deltaGetResponse) - writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, ); + writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeTodoTask); } // tslint:enable // eslint-enable diff --git a/src/me/todo/lists/item/tasks/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts b/src/me/todo/lists/item/tasks/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts index 7941979cac2..b480b89908a 100644 --- a/src/me/todo/lists/item/tasks/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts +++ b/src/me/todo/lists/item/tasks/item/attachments/createUploadSession/createUploadSessionPostRequestBody.ts @@ -24,7 +24,7 @@ export function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSe } } export function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody: CreateUploadSessionPostRequestBody | undefined = {} as CreateUploadSessionPostRequestBody) : void { - writer.writeObjectValue("attachmentInfo", createUploadSessionPostRequestBody.attachmentInfo, ); + writer.writeObjectValue("attachmentInfo", createUploadSessionPostRequestBody.attachmentInfo, serializeAttachmentInfo); writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData); } // tslint:enable diff --git a/src/me/translateExchangeIds/translateExchangeIdsPostResponse.ts b/src/me/translateExchangeIds/translateExchangeIdsPostResponse.ts index c61eec2a157..8d5609d5189 100644 --- a/src/me/translateExchangeIds/translateExchangeIdsPostResponse.ts +++ b/src/me/translateExchangeIds/translateExchangeIdsPostResponse.ts @@ -17,7 +17,7 @@ export function deserializeIntoTranslateExchangeIdsPostResponse(translateExchang } export function serializeTranslateExchangeIdsPostResponse(writer: SerializationWriter, translateExchangeIdsPostResponse: TranslateExchangeIdsPostResponse | undefined = {} as TranslateExchangeIdsPostResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, translateExchangeIdsPostResponse) - writer.writeCollectionOfObjectValues("value", translateExchangeIdsPostResponse.value, ); + writer.writeCollectionOfObjectValues("value", translateExchangeIdsPostResponse.value, serializeConvertIdResult); } export interface TranslateExchangeIdsPostResponse extends BaseCollectionPaginationCountResponse, Parsable { /** diff --git a/src/models/aadUserConversationMember.ts b/src/models/aadUserConversationMember.ts index 4c4f697a144..36537b0b4b9 100644 --- a/src/models/aadUserConversationMember.ts +++ b/src/models/aadUserConversationMember.ts @@ -40,7 +40,7 @@ export function serializeAadUserConversationMember(writer: SerializationWriter, serializeConversationMember(writer, aadUserConversationMember) writer.writeStringValue("email", aadUserConversationMember.email); writer.writeStringValue("tenantId", aadUserConversationMember.tenantId); - writer.writeObjectValue("user", aadUserConversationMember.user, ); + writer.writeObjectValue("user", aadUserConversationMember.user, serializeUser); writer.writeStringValue("userId", aadUserConversationMember.userId); } // tslint:enable diff --git a/src/models/accessPackage.ts b/src/models/accessPackage.ts index 54ef4f35e4c..221668fbc12 100644 --- a/src/models/accessPackage.ts +++ b/src/models/accessPackage.ts @@ -76,17 +76,17 @@ export function deserializeIntoAccessPackage(accessPackage: AccessPackage | unde } export function serializeAccessPackage(writer: SerializationWriter, accessPackage: AccessPackage | undefined = {} as AccessPackage) : void { serializeEntity(writer, accessPackage) - writer.writeCollectionOfObjectValues("accessPackagesIncompatibleWith", accessPackage.accessPackagesIncompatibleWith, ); - writer.writeCollectionOfObjectValues("assignmentPolicies", accessPackage.assignmentPolicies, ); - writer.writeObjectValue("catalog", accessPackage.catalog, ); + writer.writeCollectionOfObjectValues("accessPackagesIncompatibleWith", accessPackage.accessPackagesIncompatibleWith, serializeAccessPackage); + writer.writeCollectionOfObjectValues("assignmentPolicies", accessPackage.assignmentPolicies, serializeAccessPackageAssignmentPolicy); + writer.writeObjectValue("catalog", accessPackage.catalog, serializeAccessPackageCatalog); writer.writeDateValue("createdDateTime", accessPackage.createdDateTime); writer.writeStringValue("description", accessPackage.description); writer.writeStringValue("displayName", accessPackage.displayName); - writer.writeCollectionOfObjectValues("incompatibleAccessPackages", accessPackage.incompatibleAccessPackages, ); - writer.writeCollectionOfObjectValues("incompatibleGroups", accessPackage.incompatibleGroups, ); + writer.writeCollectionOfObjectValues("incompatibleAccessPackages", accessPackage.incompatibleAccessPackages, serializeAccessPackage); + writer.writeCollectionOfObjectValues("incompatibleGroups", accessPackage.incompatibleGroups, serializeGroup); writer.writeBooleanValue("isHidden", accessPackage.isHidden); writer.writeDateValue("modifiedDateTime", accessPackage.modifiedDateTime); - writer.writeCollectionOfObjectValues("resourceRoleScopes", accessPackage.resourceRoleScopes, ); + writer.writeCollectionOfObjectValues("resourceRoleScopes", accessPackage.resourceRoleScopes, serializeAccessPackageResourceRoleScope); } // tslint:enable // eslint-enable diff --git a/src/models/accessPackageAnswer.ts b/src/models/accessPackageAnswer.ts index 25153ee5188..9ea7bfea686 100644 --- a/src/models/accessPackageAnswer.ts +++ b/src/models/accessPackageAnswer.ts @@ -46,7 +46,7 @@ export function deserializeIntoAccessPackageAnswer(accessPackageAnswer: AccessPa } } export function serializeAccessPackageAnswer(writer: SerializationWriter, accessPackageAnswer: AccessPackageAnswer | undefined = {} as AccessPackageAnswer) : void { - writer.writeObjectValue("answeredQuestion", accessPackageAnswer.answeredQuestion, ); + writer.writeObjectValue("answeredQuestion", accessPackageAnswer.answeredQuestion, serializeAccessPackageQuestion); writer.writeStringValue("displayValue", accessPackageAnswer.displayValue); writer.writeStringValue("@odata.type", accessPackageAnswer.odataType); writer.writeAdditionalData(accessPackageAnswer.additionalData); diff --git a/src/models/accessPackageAnswerChoice.ts b/src/models/accessPackageAnswerChoice.ts index 1b2a665ad59..e5482e8925a 100644 --- a/src/models/accessPackageAnswerChoice.ts +++ b/src/models/accessPackageAnswerChoice.ts @@ -40,7 +40,7 @@ export function deserializeIntoAccessPackageAnswerChoice(accessPackageAnswerChoi } export function serializeAccessPackageAnswerChoice(writer: SerializationWriter, accessPackageAnswerChoice: AccessPackageAnswerChoice | undefined = {} as AccessPackageAnswerChoice) : void { writer.writeStringValue("actualValue", accessPackageAnswerChoice.actualValue); - writer.writeCollectionOfObjectValues("localizations", accessPackageAnswerChoice.localizations, ); + writer.writeCollectionOfObjectValues("localizations", accessPackageAnswerChoice.localizations, serializeAccessPackageLocalizedText); writer.writeStringValue("@odata.type", accessPackageAnswerChoice.odataType); writer.writeStringValue("text", accessPackageAnswerChoice.text); writer.writeAdditionalData(accessPackageAnswerChoice.additionalData); diff --git a/src/models/accessPackageApprovalStage.ts b/src/models/accessPackageApprovalStage.ts index a32faa23645..6df8d564129 100644 --- a/src/models/accessPackageApprovalStage.ts +++ b/src/models/accessPackageApprovalStage.ts @@ -66,13 +66,13 @@ export function deserializeIntoAccessPackageApprovalStage(accessPackageApprovalS export function serializeAccessPackageApprovalStage(writer: SerializationWriter, accessPackageApprovalStage: AccessPackageApprovalStage | undefined = {} as AccessPackageApprovalStage) : void { writer.writeDurationValue("durationBeforeAutomaticDenial", accessPackageApprovalStage.durationBeforeAutomaticDenial); writer.writeDurationValue("durationBeforeEscalation", accessPackageApprovalStage.durationBeforeEscalation); - writer.writeCollectionOfObjectValues("escalationApprovers", accessPackageApprovalStage.escalationApprovers, ); - writer.writeCollectionOfObjectValues("fallbackEscalationApprovers", accessPackageApprovalStage.fallbackEscalationApprovers, ); - writer.writeCollectionOfObjectValues("fallbackPrimaryApprovers", accessPackageApprovalStage.fallbackPrimaryApprovers, ); + writer.writeCollectionOfObjectValues("escalationApprovers", accessPackageApprovalStage.escalationApprovers, serializeSubjectSet); + writer.writeCollectionOfObjectValues("fallbackEscalationApprovers", accessPackageApprovalStage.fallbackEscalationApprovers, serializeSubjectSet); + writer.writeCollectionOfObjectValues("fallbackPrimaryApprovers", accessPackageApprovalStage.fallbackPrimaryApprovers, serializeSubjectSet); writer.writeBooleanValue("isApproverJustificationRequired", accessPackageApprovalStage.isApproverJustificationRequired); writer.writeBooleanValue("isEscalationEnabled", accessPackageApprovalStage.isEscalationEnabled); writer.writeStringValue("@odata.type", accessPackageApprovalStage.odataType); - writer.writeCollectionOfObjectValues("primaryApprovers", accessPackageApprovalStage.primaryApprovers, ); + writer.writeCollectionOfObjectValues("primaryApprovers", accessPackageApprovalStage.primaryApprovers, serializeSubjectSet); writer.writeAdditionalData(accessPackageApprovalStage.additionalData); } // tslint:enable diff --git a/src/models/accessPackageAssignment.ts b/src/models/accessPackageAssignment.ts index c574054f380..1c87aa26a89 100644 --- a/src/models/accessPackageAssignment.ts +++ b/src/models/accessPackageAssignment.ts @@ -63,14 +63,14 @@ export function deserializeIntoAccessPackageAssignment(accessPackageAssignment: } export function serializeAccessPackageAssignment(writer: SerializationWriter, accessPackageAssignment: AccessPackageAssignment | undefined = {} as AccessPackageAssignment) : void { serializeEntity(writer, accessPackageAssignment) - writer.writeObjectValue("accessPackage", accessPackageAssignment.accessPackage, ); - writer.writeObjectValue("assignmentPolicy", accessPackageAssignment.assignmentPolicy, ); - writer.writeCollectionOfObjectValues("customExtensionCalloutInstances", accessPackageAssignment.customExtensionCalloutInstances, ); + writer.writeObjectValue("accessPackage", accessPackageAssignment.accessPackage, serializeAccessPackage); + writer.writeObjectValue("assignmentPolicy", accessPackageAssignment.assignmentPolicy, serializeAccessPackageAssignmentPolicy); + writer.writeCollectionOfObjectValues("customExtensionCalloutInstances", accessPackageAssignment.customExtensionCalloutInstances, serializeCustomExtensionCalloutInstance); writer.writeDateValue("expiredDateTime", accessPackageAssignment.expiredDateTime); - writer.writeObjectValue("schedule", accessPackageAssignment.schedule, ); + writer.writeObjectValue("schedule", accessPackageAssignment.schedule, serializeEntitlementManagementSchedule); writer.writeEnumValue("state", accessPackageAssignment.state); writer.writeStringValue("status", accessPackageAssignment.status); - writer.writeObjectValue("target", accessPackageAssignment.target, ); + writer.writeObjectValue("target", accessPackageAssignment.target, serializeAccessPackageSubject); } // tslint:enable // eslint-enable diff --git a/src/models/accessPackageAssignmentApprovalSettings.ts b/src/models/accessPackageAssignmentApprovalSettings.ts index c5d0ea19480..33efeed7835 100644 --- a/src/models/accessPackageAssignmentApprovalSettings.ts +++ b/src/models/accessPackageAssignmentApprovalSettings.ts @@ -42,7 +42,7 @@ export function serializeAccessPackageAssignmentApprovalSettings(writer: Seriali writer.writeBooleanValue("isApprovalRequiredForAdd", accessPackageAssignmentApprovalSettings.isApprovalRequiredForAdd); writer.writeBooleanValue("isApprovalRequiredForUpdate", accessPackageAssignmentApprovalSettings.isApprovalRequiredForUpdate); writer.writeStringValue("@odata.type", accessPackageAssignmentApprovalSettings.odataType); - writer.writeCollectionOfObjectValues("stages", accessPackageAssignmentApprovalSettings.stages, ); + writer.writeCollectionOfObjectValues("stages", accessPackageAssignmentApprovalSettings.stages, serializeAccessPackageApprovalStage); writer.writeAdditionalData(accessPackageAssignmentApprovalSettings.additionalData); } // tslint:enable diff --git a/src/models/accessPackageAssignmentCollectionResponse.ts b/src/models/accessPackageAssignmentCollectionResponse.ts index 0cd14b8efd2..df6247eece1 100644 --- a/src/models/accessPackageAssignmentCollectionResponse.ts +++ b/src/models/accessPackageAssignmentCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAccessPackageAssignmentCollectionResponse(accessP } export function serializeAccessPackageAssignmentCollectionResponse(writer: SerializationWriter, accessPackageAssignmentCollectionResponse: AccessPackageAssignmentCollectionResponse | undefined = {} as AccessPackageAssignmentCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, accessPackageAssignmentCollectionResponse) - writer.writeCollectionOfObjectValues("value", accessPackageAssignmentCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", accessPackageAssignmentCollectionResponse.value, serializeAccessPackageAssignment); } // tslint:enable // eslint-enable diff --git a/src/models/accessPackageAssignmentPolicy.ts b/src/models/accessPackageAssignmentPolicy.ts index 5edba7d3ddb..e03fc147b0c 100644 --- a/src/models/accessPackageAssignmentPolicy.ts +++ b/src/models/accessPackageAssignmentPolicy.ts @@ -103,21 +103,21 @@ export function deserializeIntoAccessPackageAssignmentPolicy(accessPackageAssign } export function serializeAccessPackageAssignmentPolicy(writer: SerializationWriter, accessPackageAssignmentPolicy: AccessPackageAssignmentPolicy | undefined = {} as AccessPackageAssignmentPolicy) : void { serializeEntity(writer, accessPackageAssignmentPolicy) - writer.writeObjectValue("accessPackage", accessPackageAssignmentPolicy.accessPackage, ); + writer.writeObjectValue("accessPackage", accessPackageAssignmentPolicy.accessPackage, serializeAccessPackage); writer.writeEnumValue("allowedTargetScope", accessPackageAssignmentPolicy.allowedTargetScope); - writer.writeObjectValue("automaticRequestSettings", accessPackageAssignmentPolicy.automaticRequestSettings, ); - writer.writeObjectValue("catalog", accessPackageAssignmentPolicy.catalog, ); + writer.writeObjectValue("automaticRequestSettings", accessPackageAssignmentPolicy.automaticRequestSettings, serializeAccessPackageAutomaticRequestSettings); + writer.writeObjectValue("catalog", accessPackageAssignmentPolicy.catalog, serializeAccessPackageCatalog); writer.writeDateValue("createdDateTime", accessPackageAssignmentPolicy.createdDateTime); - writer.writeCollectionOfObjectValues("customExtensionStageSettings", accessPackageAssignmentPolicy.customExtensionStageSettings, ); + writer.writeCollectionOfObjectValues("customExtensionStageSettings", accessPackageAssignmentPolicy.customExtensionStageSettings, serializeCustomExtensionStageSetting); writer.writeStringValue("description", accessPackageAssignmentPolicy.description); writer.writeStringValue("displayName", accessPackageAssignmentPolicy.displayName); - writer.writeObjectValue("expiration", accessPackageAssignmentPolicy.expiration, ); + writer.writeObjectValue("expiration", accessPackageAssignmentPolicy.expiration, serializeExpirationPattern); writer.writeDateValue("modifiedDateTime", accessPackageAssignmentPolicy.modifiedDateTime); - writer.writeCollectionOfObjectValues("questions", accessPackageAssignmentPolicy.questions, ); - writer.writeObjectValue("requestApprovalSettings", accessPackageAssignmentPolicy.requestApprovalSettings, ); - writer.writeObjectValue("requestorSettings", accessPackageAssignmentPolicy.requestorSettings, ); - writer.writeObjectValue("reviewSettings", accessPackageAssignmentPolicy.reviewSettings, ); - writer.writeCollectionOfObjectValues("specificAllowedTargets", accessPackageAssignmentPolicy.specificAllowedTargets, ); + writer.writeCollectionOfObjectValues("questions", accessPackageAssignmentPolicy.questions, serializeAccessPackageQuestion); + writer.writeObjectValue("requestApprovalSettings", accessPackageAssignmentPolicy.requestApprovalSettings, serializeAccessPackageAssignmentApprovalSettings); + writer.writeObjectValue("requestorSettings", accessPackageAssignmentPolicy.requestorSettings, serializeAccessPackageAssignmentRequestorSettings); + writer.writeObjectValue("reviewSettings", accessPackageAssignmentPolicy.reviewSettings, serializeAccessPackageAssignmentReviewSettings); + writer.writeCollectionOfObjectValues("specificAllowedTargets", accessPackageAssignmentPolicy.specificAllowedTargets, serializeSubjectSet); } // tslint:enable // eslint-enable diff --git a/src/models/accessPackageAssignmentPolicyCollectionResponse.ts b/src/models/accessPackageAssignmentPolicyCollectionResponse.ts index 67367eeaae0..56e186f6eb1 100644 --- a/src/models/accessPackageAssignmentPolicyCollectionResponse.ts +++ b/src/models/accessPackageAssignmentPolicyCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAccessPackageAssignmentPolicyCollectionResponse(a } export function serializeAccessPackageAssignmentPolicyCollectionResponse(writer: SerializationWriter, accessPackageAssignmentPolicyCollectionResponse: AccessPackageAssignmentPolicyCollectionResponse | undefined = {} as AccessPackageAssignmentPolicyCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, accessPackageAssignmentPolicyCollectionResponse) - writer.writeCollectionOfObjectValues("value", accessPackageAssignmentPolicyCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", accessPackageAssignmentPolicyCollectionResponse.value, serializeAccessPackageAssignmentPolicy); } // tslint:enable // eslint-enable diff --git a/src/models/accessPackageAssignmentRequest.ts b/src/models/accessPackageAssignmentRequest.ts index 630c882e918..2a26af804d2 100644 --- a/src/models/accessPackageAssignmentRequest.ts +++ b/src/models/accessPackageAssignmentRequest.ts @@ -80,15 +80,15 @@ export function deserializeIntoAccessPackageAssignmentRequest(accessPackageAssig } export function serializeAccessPackageAssignmentRequest(writer: SerializationWriter, accessPackageAssignmentRequest: AccessPackageAssignmentRequest | undefined = {} as AccessPackageAssignmentRequest) : void { serializeEntity(writer, accessPackageAssignmentRequest) - writer.writeObjectValue("accessPackage", accessPackageAssignmentRequest.accessPackage, ); - writer.writeCollectionOfObjectValues("answers", accessPackageAssignmentRequest.answers, ); - writer.writeObjectValue("assignment", accessPackageAssignmentRequest.assignment, ); + writer.writeObjectValue("accessPackage", accessPackageAssignmentRequest.accessPackage, serializeAccessPackage); + writer.writeCollectionOfObjectValues("answers", accessPackageAssignmentRequest.answers, serializeAccessPackageAnswer); + writer.writeObjectValue("assignment", accessPackageAssignmentRequest.assignment, serializeAccessPackageAssignment); writer.writeDateValue("completedDateTime", accessPackageAssignmentRequest.completedDateTime); writer.writeDateValue("createdDateTime", accessPackageAssignmentRequest.createdDateTime); - writer.writeCollectionOfObjectValues("customExtensionCalloutInstances", accessPackageAssignmentRequest.customExtensionCalloutInstances, ); - writer.writeObjectValue("requestor", accessPackageAssignmentRequest.requestor, ); + writer.writeCollectionOfObjectValues("customExtensionCalloutInstances", accessPackageAssignmentRequest.customExtensionCalloutInstances, serializeCustomExtensionCalloutInstance); + writer.writeObjectValue("requestor", accessPackageAssignmentRequest.requestor, serializeAccessPackageSubject); writer.writeEnumValue("requestType", accessPackageAssignmentRequest.requestType); - writer.writeObjectValue("schedule", accessPackageAssignmentRequest.schedule, ); + writer.writeObjectValue("schedule", accessPackageAssignmentRequest.schedule, serializeEntitlementManagementSchedule); writer.writeEnumValue("state", accessPackageAssignmentRequest.state); writer.writeStringValue("status", accessPackageAssignmentRequest.status); } diff --git a/src/models/accessPackageAssignmentRequestCollectionResponse.ts b/src/models/accessPackageAssignmentRequestCollectionResponse.ts index 7421c16f1e2..debae3603e7 100644 --- a/src/models/accessPackageAssignmentRequestCollectionResponse.ts +++ b/src/models/accessPackageAssignmentRequestCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAccessPackageAssignmentRequestCollectionResponse( } export function serializeAccessPackageAssignmentRequestCollectionResponse(writer: SerializationWriter, accessPackageAssignmentRequestCollectionResponse: AccessPackageAssignmentRequestCollectionResponse | undefined = {} as AccessPackageAssignmentRequestCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, accessPackageAssignmentRequestCollectionResponse) - writer.writeCollectionOfObjectValues("value", accessPackageAssignmentRequestCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", accessPackageAssignmentRequestCollectionResponse.value, serializeAccessPackageAssignmentRequest); } // tslint:enable // eslint-enable diff --git a/src/models/accessPackageAssignmentRequestRequirements.ts b/src/models/accessPackageAssignmentRequestRequirements.ts index fc83fb96fd9..145f7f19ae2 100644 --- a/src/models/accessPackageAssignmentRequestRequirements.ts +++ b/src/models/accessPackageAssignmentRequestRequirements.ts @@ -72,8 +72,8 @@ export function serializeAccessPackageAssignmentRequestRequirements(writer: Seri writer.writeStringValue("policyDescription", accessPackageAssignmentRequestRequirements.policyDescription); writer.writeStringValue("policyDisplayName", accessPackageAssignmentRequestRequirements.policyDisplayName); writer.writeStringValue("policyId", accessPackageAssignmentRequestRequirements.policyId); - writer.writeCollectionOfObjectValues("questions", accessPackageAssignmentRequestRequirements.questions, ); - writer.writeObjectValue("schedule", accessPackageAssignmentRequestRequirements.schedule, ); + writer.writeCollectionOfObjectValues("questions", accessPackageAssignmentRequestRequirements.questions, serializeAccessPackageQuestion); + writer.writeObjectValue("schedule", accessPackageAssignmentRequestRequirements.schedule, serializeEntitlementManagementSchedule); writer.writeAdditionalData(accessPackageAssignmentRequestRequirements.additionalData); } // tslint:enable diff --git a/src/models/accessPackageAssignmentRequestWorkflowExtension.ts b/src/models/accessPackageAssignmentRequestWorkflowExtension.ts index c2694701686..085c234e092 100644 --- a/src/models/accessPackageAssignmentRequestWorkflowExtension.ts +++ b/src/models/accessPackageAssignmentRequestWorkflowExtension.ts @@ -43,7 +43,7 @@ export function deserializeIntoAccessPackageAssignmentRequestWorkflowExtension(a } export function serializeAccessPackageAssignmentRequestWorkflowExtension(writer: SerializationWriter, accessPackageAssignmentRequestWorkflowExtension: AccessPackageAssignmentRequestWorkflowExtension | undefined = {} as AccessPackageAssignmentRequestWorkflowExtension) : void { serializeCustomCalloutExtension(writer, accessPackageAssignmentRequestWorkflowExtension) - writer.writeObjectValue("callbackConfiguration", accessPackageAssignmentRequestWorkflowExtension.callbackConfiguration, ); + writer.writeObjectValue("callbackConfiguration", accessPackageAssignmentRequestWorkflowExtension.callbackConfiguration, serializeCustomExtensionCallbackConfiguration); writer.writeStringValue("createdBy", accessPackageAssignmentRequestWorkflowExtension.createdBy); writer.writeDateValue("createdDateTime", accessPackageAssignmentRequestWorkflowExtension.createdDateTime); writer.writeStringValue("lastModifiedBy", accessPackageAssignmentRequestWorkflowExtension.lastModifiedBy); diff --git a/src/models/accessPackageAssignmentRequestorSettings.ts b/src/models/accessPackageAssignmentRequestorSettings.ts index 45c32ce2739..42f83355924 100644 --- a/src/models/accessPackageAssignmentRequestorSettings.ts +++ b/src/models/accessPackageAssignmentRequestorSettings.ts @@ -72,7 +72,7 @@ export function serializeAccessPackageAssignmentRequestorSettings(writer: Serial writer.writeBooleanValue("enableTargetsToSelfRemoveAccess", accessPackageAssignmentRequestorSettings.enableTargetsToSelfRemoveAccess); writer.writeBooleanValue("enableTargetsToSelfUpdateAccess", accessPackageAssignmentRequestorSettings.enableTargetsToSelfUpdateAccess); writer.writeStringValue("@odata.type", accessPackageAssignmentRequestorSettings.odataType); - writer.writeCollectionOfObjectValues("onBehalfRequestors", accessPackageAssignmentRequestorSettings.onBehalfRequestors, ); + writer.writeCollectionOfObjectValues("onBehalfRequestors", accessPackageAssignmentRequestorSettings.onBehalfRequestors, serializeSubjectSet); writer.writeAdditionalData(accessPackageAssignmentRequestorSettings.additionalData); } // tslint:enable diff --git a/src/models/accessPackageAssignmentReviewSettings.ts b/src/models/accessPackageAssignmentReviewSettings.ts index dc51ca58726..60ea08b7379 100644 --- a/src/models/accessPackageAssignmentReviewSettings.ts +++ b/src/models/accessPackageAssignmentReviewSettings.ts @@ -67,14 +67,14 @@ export function deserializeIntoAccessPackageAssignmentReviewSettings(accessPacka } export function serializeAccessPackageAssignmentReviewSettings(writer: SerializationWriter, accessPackageAssignmentReviewSettings: AccessPackageAssignmentReviewSettings | undefined = {} as AccessPackageAssignmentReviewSettings) : void { writer.writeEnumValue("expirationBehavior", accessPackageAssignmentReviewSettings.expirationBehavior); - writer.writeCollectionOfObjectValues("fallbackReviewers", accessPackageAssignmentReviewSettings.fallbackReviewers, ); + writer.writeCollectionOfObjectValues("fallbackReviewers", accessPackageAssignmentReviewSettings.fallbackReviewers, serializeSubjectSet); writer.writeBooleanValue("isEnabled", accessPackageAssignmentReviewSettings.isEnabled); writer.writeBooleanValue("isRecommendationEnabled", accessPackageAssignmentReviewSettings.isRecommendationEnabled); writer.writeBooleanValue("isReviewerJustificationRequired", accessPackageAssignmentReviewSettings.isReviewerJustificationRequired); writer.writeBooleanValue("isSelfReview", accessPackageAssignmentReviewSettings.isSelfReview); writer.writeStringValue("@odata.type", accessPackageAssignmentReviewSettings.odataType); - writer.writeCollectionOfObjectValues("primaryReviewers", accessPackageAssignmentReviewSettings.primaryReviewers, ); - writer.writeObjectValue("schedule", accessPackageAssignmentReviewSettings.schedule, ); + writer.writeCollectionOfObjectValues("primaryReviewers", accessPackageAssignmentReviewSettings.primaryReviewers, serializeSubjectSet); + writer.writeObjectValue("schedule", accessPackageAssignmentReviewSettings.schedule, serializeEntitlementManagementSchedule); writer.writeAdditionalData(accessPackageAssignmentReviewSettings.additionalData); } // tslint:enable diff --git a/src/models/accessPackageAssignmentWorkflowExtension.ts b/src/models/accessPackageAssignmentWorkflowExtension.ts index 077779475d3..ed8af17134e 100644 --- a/src/models/accessPackageAssignmentWorkflowExtension.ts +++ b/src/models/accessPackageAssignmentWorkflowExtension.ts @@ -43,7 +43,7 @@ export function deserializeIntoAccessPackageAssignmentWorkflowExtension(accessPa } export function serializeAccessPackageAssignmentWorkflowExtension(writer: SerializationWriter, accessPackageAssignmentWorkflowExtension: AccessPackageAssignmentWorkflowExtension | undefined = {} as AccessPackageAssignmentWorkflowExtension) : void { serializeCustomCalloutExtension(writer, accessPackageAssignmentWorkflowExtension) - writer.writeObjectValue("callbackConfiguration", accessPackageAssignmentWorkflowExtension.callbackConfiguration, ); + writer.writeObjectValue("callbackConfiguration", accessPackageAssignmentWorkflowExtension.callbackConfiguration, serializeCustomExtensionCallbackConfiguration); writer.writeStringValue("createdBy", accessPackageAssignmentWorkflowExtension.createdBy); writer.writeDateValue("createdDateTime", accessPackageAssignmentWorkflowExtension.createdDateTime); writer.writeStringValue("lastModifiedBy", accessPackageAssignmentWorkflowExtension.lastModifiedBy); diff --git a/src/models/accessPackageCatalog.ts b/src/models/accessPackageCatalog.ts index b32fa5e2176..f6908e8c06e 100644 --- a/src/models/accessPackageCatalog.ts +++ b/src/models/accessPackageCatalog.ts @@ -84,17 +84,17 @@ export function deserializeIntoAccessPackageCatalog(accessPackageCatalog: Access } export function serializeAccessPackageCatalog(writer: SerializationWriter, accessPackageCatalog: AccessPackageCatalog | undefined = {} as AccessPackageCatalog) : void { serializeEntity(writer, accessPackageCatalog) - writer.writeCollectionOfObjectValues("accessPackages", accessPackageCatalog.accessPackages, ); + writer.writeCollectionOfObjectValues("accessPackages", accessPackageCatalog.accessPackages, serializeAccessPackage); writer.writeEnumValue("catalogType", accessPackageCatalog.catalogType); writer.writeDateValue("createdDateTime", accessPackageCatalog.createdDateTime); - writer.writeCollectionOfObjectValues("customWorkflowExtensions", accessPackageCatalog.customWorkflowExtensions, ); + writer.writeCollectionOfObjectValues("customWorkflowExtensions", accessPackageCatalog.customWorkflowExtensions, serializeCustomCalloutExtension); writer.writeStringValue("description", accessPackageCatalog.description); writer.writeStringValue("displayName", accessPackageCatalog.displayName); writer.writeBooleanValue("isExternallyVisible", accessPackageCatalog.isExternallyVisible); writer.writeDateValue("modifiedDateTime", accessPackageCatalog.modifiedDateTime); - writer.writeCollectionOfObjectValues("resourceRoles", accessPackageCatalog.resourceRoles, ); - writer.writeCollectionOfObjectValues("resources", accessPackageCatalog.resources, ); - writer.writeCollectionOfObjectValues("resourceScopes", accessPackageCatalog.resourceScopes, ); + writer.writeCollectionOfObjectValues("resourceRoles", accessPackageCatalog.resourceRoles, serializeAccessPackageResourceRole); + writer.writeCollectionOfObjectValues("resources", accessPackageCatalog.resources, serializeAccessPackageResource); + writer.writeCollectionOfObjectValues("resourceScopes", accessPackageCatalog.resourceScopes, serializeAccessPackageResourceScope); writer.writeEnumValue("state", accessPackageCatalog.state); } // tslint:enable diff --git a/src/models/accessPackageCatalogCollectionResponse.ts b/src/models/accessPackageCatalogCollectionResponse.ts index 6cd5e95c242..c8da917d526 100644 --- a/src/models/accessPackageCatalogCollectionResponse.ts +++ b/src/models/accessPackageCatalogCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAccessPackageCatalogCollectionResponse(accessPack } export function serializeAccessPackageCatalogCollectionResponse(writer: SerializationWriter, accessPackageCatalogCollectionResponse: AccessPackageCatalogCollectionResponse | undefined = {} as AccessPackageCatalogCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, accessPackageCatalogCollectionResponse) - writer.writeCollectionOfObjectValues("value", accessPackageCatalogCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", accessPackageCatalogCollectionResponse.value, serializeAccessPackageCatalog); } // tslint:enable // eslint-enable diff --git a/src/models/accessPackageCollectionResponse.ts b/src/models/accessPackageCollectionResponse.ts index e38dfae3bbc..4a0b3a43f7f 100644 --- a/src/models/accessPackageCollectionResponse.ts +++ b/src/models/accessPackageCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAccessPackageCollectionResponse(accessPackageColl } export function serializeAccessPackageCollectionResponse(writer: SerializationWriter, accessPackageCollectionResponse: AccessPackageCollectionResponse | undefined = {} as AccessPackageCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, accessPackageCollectionResponse) - writer.writeCollectionOfObjectValues("value", accessPackageCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", accessPackageCollectionResponse.value, serializeAccessPackage); } // tslint:enable // eslint-enable diff --git a/src/models/accessPackageMultipleChoiceQuestion.ts b/src/models/accessPackageMultipleChoiceQuestion.ts index 02649fbda11..1adc6babfe2 100644 --- a/src/models/accessPackageMultipleChoiceQuestion.ts +++ b/src/models/accessPackageMultipleChoiceQuestion.ts @@ -28,7 +28,7 @@ export function deserializeIntoAccessPackageMultipleChoiceQuestion(accessPackage } export function serializeAccessPackageMultipleChoiceQuestion(writer: SerializationWriter, accessPackageMultipleChoiceQuestion: AccessPackageMultipleChoiceQuestion | undefined = {} as AccessPackageMultipleChoiceQuestion) : void { serializeAccessPackageQuestion(writer, accessPackageMultipleChoiceQuestion) - writer.writeCollectionOfObjectValues("choices", accessPackageMultipleChoiceQuestion.choices, ); + writer.writeCollectionOfObjectValues("choices", accessPackageMultipleChoiceQuestion.choices, serializeAccessPackageAnswerChoice); writer.writeBooleanValue("isMultipleSelectionAllowed", accessPackageMultipleChoiceQuestion.isMultipleSelectionAllowed); } // tslint:enable diff --git a/src/models/accessPackageQuestion.ts b/src/models/accessPackageQuestion.ts index 1e21d83f74c..72ad82eabcf 100644 --- a/src/models/accessPackageQuestion.ts +++ b/src/models/accessPackageQuestion.ts @@ -60,7 +60,7 @@ export function serializeAccessPackageQuestion(writer: SerializationWriter, acce serializeEntity(writer, accessPackageQuestion) writer.writeBooleanValue("isAnswerEditable", accessPackageQuestion.isAnswerEditable); writer.writeBooleanValue("isRequired", accessPackageQuestion.isRequired); - writer.writeCollectionOfObjectValues("localizations", accessPackageQuestion.localizations, ); + writer.writeCollectionOfObjectValues("localizations", accessPackageQuestion.localizations, serializeAccessPackageLocalizedText); writer.writeNumberValue("sequence", accessPackageQuestion.sequence); writer.writeStringValue("text", accessPackageQuestion.text); } diff --git a/src/models/accessPackageQuestionCollectionResponse.ts b/src/models/accessPackageQuestionCollectionResponse.ts index f121059ed74..c2226ff2e48 100644 --- a/src/models/accessPackageQuestionCollectionResponse.ts +++ b/src/models/accessPackageQuestionCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAccessPackageQuestionCollectionResponse(accessPac } export function serializeAccessPackageQuestionCollectionResponse(writer: SerializationWriter, accessPackageQuestionCollectionResponse: AccessPackageQuestionCollectionResponse | undefined = {} as AccessPackageQuestionCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, accessPackageQuestionCollectionResponse) - writer.writeCollectionOfObjectValues("value", accessPackageQuestionCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", accessPackageQuestionCollectionResponse.value, serializeAccessPackageQuestion); } // tslint:enable // eslint-enable diff --git a/src/models/accessPackageResource.ts b/src/models/accessPackageResource.ts index baf8fce2cef..16cf41d5208 100644 --- a/src/models/accessPackageResource.ts +++ b/src/models/accessPackageResource.ts @@ -68,12 +68,12 @@ export function serializeAccessPackageResource(writer: SerializationWriter, acce writer.writeDateValue("createdDateTime", accessPackageResource.createdDateTime); writer.writeStringValue("description", accessPackageResource.description); writer.writeStringValue("displayName", accessPackageResource.displayName); - writer.writeObjectValue("environment", accessPackageResource.environment, ); + writer.writeObjectValue("environment", accessPackageResource.environment, serializeAccessPackageResourceEnvironment); writer.writeDateValue("modifiedDateTime", accessPackageResource.modifiedDateTime); writer.writeStringValue("originId", accessPackageResource.originId); writer.writeStringValue("originSystem", accessPackageResource.originSystem); - writer.writeCollectionOfObjectValues("roles", accessPackageResource.roles, ); - writer.writeCollectionOfObjectValues("scopes", accessPackageResource.scopes, ); + writer.writeCollectionOfObjectValues("roles", accessPackageResource.roles, serializeAccessPackageResourceRole); + writer.writeCollectionOfObjectValues("scopes", accessPackageResource.scopes, serializeAccessPackageResourceScope); } // tslint:enable // eslint-enable diff --git a/src/models/accessPackageResourceCollectionResponse.ts b/src/models/accessPackageResourceCollectionResponse.ts index c3dbab01533..69e596eb11a 100644 --- a/src/models/accessPackageResourceCollectionResponse.ts +++ b/src/models/accessPackageResourceCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAccessPackageResourceCollectionResponse(accessPac } export function serializeAccessPackageResourceCollectionResponse(writer: SerializationWriter, accessPackageResourceCollectionResponse: AccessPackageResourceCollectionResponse | undefined = {} as AccessPackageResourceCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, accessPackageResourceCollectionResponse) - writer.writeCollectionOfObjectValues("value", accessPackageResourceCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", accessPackageResourceCollectionResponse.value, serializeAccessPackageResource); } // tslint:enable // eslint-enable diff --git a/src/models/accessPackageResourceEnvironment.ts b/src/models/accessPackageResourceEnvironment.ts index 0366d6e7ca9..73243aa9b76 100644 --- a/src/models/accessPackageResourceEnvironment.ts +++ b/src/models/accessPackageResourceEnvironment.ts @@ -65,7 +65,7 @@ export function serializeAccessPackageResourceEnvironment(writer: SerializationW writer.writeDateValue("modifiedDateTime", accessPackageResourceEnvironment.modifiedDateTime); writer.writeStringValue("originId", accessPackageResourceEnvironment.originId); writer.writeStringValue("originSystem", accessPackageResourceEnvironment.originSystem); - writer.writeCollectionOfObjectValues("resources", accessPackageResourceEnvironment.resources, ); + writer.writeCollectionOfObjectValues("resources", accessPackageResourceEnvironment.resources, serializeAccessPackageResource); } // tslint:enable // eslint-enable diff --git a/src/models/accessPackageResourceEnvironmentCollectionResponse.ts b/src/models/accessPackageResourceEnvironmentCollectionResponse.ts index 1856a043e0d..a9e17edc4ca 100644 --- a/src/models/accessPackageResourceEnvironmentCollectionResponse.ts +++ b/src/models/accessPackageResourceEnvironmentCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAccessPackageResourceEnvironmentCollectionRespons } export function serializeAccessPackageResourceEnvironmentCollectionResponse(writer: SerializationWriter, accessPackageResourceEnvironmentCollectionResponse: AccessPackageResourceEnvironmentCollectionResponse | undefined = {} as AccessPackageResourceEnvironmentCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, accessPackageResourceEnvironmentCollectionResponse) - writer.writeCollectionOfObjectValues("value", accessPackageResourceEnvironmentCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", accessPackageResourceEnvironmentCollectionResponse.value, serializeAccessPackageResourceEnvironment); } // tslint:enable // eslint-enable diff --git a/src/models/accessPackageResourceRequest.ts b/src/models/accessPackageResourceRequest.ts index 11f5c771aa4..257d8d14007 100644 --- a/src/models/accessPackageResourceRequest.ts +++ b/src/models/accessPackageResourceRequest.ts @@ -46,10 +46,10 @@ export function deserializeIntoAccessPackageResourceRequest(accessPackageResourc } export function serializeAccessPackageResourceRequest(writer: SerializationWriter, accessPackageResourceRequest: AccessPackageResourceRequest | undefined = {} as AccessPackageResourceRequest) : void { serializeEntity(writer, accessPackageResourceRequest) - writer.writeObjectValue("catalog", accessPackageResourceRequest.catalog, ); + writer.writeObjectValue("catalog", accessPackageResourceRequest.catalog, serializeAccessPackageCatalog); writer.writeDateValue("createdDateTime", accessPackageResourceRequest.createdDateTime); writer.writeEnumValue("requestType", accessPackageResourceRequest.requestType); - writer.writeObjectValue("resource", accessPackageResourceRequest.resource, ); + writer.writeObjectValue("resource", accessPackageResourceRequest.resource, serializeAccessPackageResource); writer.writeEnumValue("state", accessPackageResourceRequest.state); } // tslint:enable diff --git a/src/models/accessPackageResourceRequestCollectionResponse.ts b/src/models/accessPackageResourceRequestCollectionResponse.ts index 6e85c9b1c0b..65da70526a5 100644 --- a/src/models/accessPackageResourceRequestCollectionResponse.ts +++ b/src/models/accessPackageResourceRequestCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAccessPackageResourceRequestCollectionResponse(ac } export function serializeAccessPackageResourceRequestCollectionResponse(writer: SerializationWriter, accessPackageResourceRequestCollectionResponse: AccessPackageResourceRequestCollectionResponse | undefined = {} as AccessPackageResourceRequestCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, accessPackageResourceRequestCollectionResponse) - writer.writeCollectionOfObjectValues("value", accessPackageResourceRequestCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", accessPackageResourceRequestCollectionResponse.value, serializeAccessPackageResourceRequest); } // tslint:enable // eslint-enable diff --git a/src/models/accessPackageResourceRole.ts b/src/models/accessPackageResourceRole.ts index b4b45c082d1..618c409bae0 100644 --- a/src/models/accessPackageResourceRole.ts +++ b/src/models/accessPackageResourceRole.ts @@ -47,7 +47,7 @@ export function serializeAccessPackageResourceRole(writer: SerializationWriter, writer.writeStringValue("displayName", accessPackageResourceRole.displayName); writer.writeStringValue("originId", accessPackageResourceRole.originId); writer.writeStringValue("originSystem", accessPackageResourceRole.originSystem); - writer.writeObjectValue("resource", accessPackageResourceRole.resource, ); + writer.writeObjectValue("resource", accessPackageResourceRole.resource, serializeAccessPackageResource); } // tslint:enable // eslint-enable diff --git a/src/models/accessPackageResourceRoleCollectionResponse.ts b/src/models/accessPackageResourceRoleCollectionResponse.ts index b72890ff13c..6b7b4e0bd20 100644 --- a/src/models/accessPackageResourceRoleCollectionResponse.ts +++ b/src/models/accessPackageResourceRoleCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAccessPackageResourceRoleCollectionResponse(acces } export function serializeAccessPackageResourceRoleCollectionResponse(writer: SerializationWriter, accessPackageResourceRoleCollectionResponse: AccessPackageResourceRoleCollectionResponse | undefined = {} as AccessPackageResourceRoleCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, accessPackageResourceRoleCollectionResponse) - writer.writeCollectionOfObjectValues("value", accessPackageResourceRoleCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", accessPackageResourceRoleCollectionResponse.value, serializeAccessPackageResourceRole); } // tslint:enable // eslint-enable diff --git a/src/models/accessPackageResourceRoleScope.ts b/src/models/accessPackageResourceRoleScope.ts index 1c18fc477c1..30a174c0ea8 100644 --- a/src/models/accessPackageResourceRoleScope.ts +++ b/src/models/accessPackageResourceRoleScope.ts @@ -35,8 +35,8 @@ export function deserializeIntoAccessPackageResourceRoleScope(accessPackageResou export function serializeAccessPackageResourceRoleScope(writer: SerializationWriter, accessPackageResourceRoleScope: AccessPackageResourceRoleScope | undefined = {} as AccessPackageResourceRoleScope) : void { serializeEntity(writer, accessPackageResourceRoleScope) writer.writeDateValue("createdDateTime", accessPackageResourceRoleScope.createdDateTime); - writer.writeObjectValue("role", accessPackageResourceRoleScope.role, ); - writer.writeObjectValue("scope", accessPackageResourceRoleScope.scope, ); + writer.writeObjectValue("role", accessPackageResourceRoleScope.role, serializeAccessPackageResourceRole); + writer.writeObjectValue("scope", accessPackageResourceRoleScope.scope, serializeAccessPackageResourceScope); } // tslint:enable // eslint-enable diff --git a/src/models/accessPackageResourceRoleScopeCollectionResponse.ts b/src/models/accessPackageResourceRoleScopeCollectionResponse.ts index 9f0b40788f7..0280a363a2a 100644 --- a/src/models/accessPackageResourceRoleScopeCollectionResponse.ts +++ b/src/models/accessPackageResourceRoleScopeCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAccessPackageResourceRoleScopeCollectionResponse( } export function serializeAccessPackageResourceRoleScopeCollectionResponse(writer: SerializationWriter, accessPackageResourceRoleScopeCollectionResponse: AccessPackageResourceRoleScopeCollectionResponse | undefined = {} as AccessPackageResourceRoleScopeCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, accessPackageResourceRoleScopeCollectionResponse) - writer.writeCollectionOfObjectValues("value", accessPackageResourceRoleScopeCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", accessPackageResourceRoleScopeCollectionResponse.value, serializeAccessPackageResourceRoleScope); } // tslint:enable // eslint-enable diff --git a/src/models/accessPackageResourceScope.ts b/src/models/accessPackageResourceScope.ts index d8dd9b099c3..737fe922ade 100644 --- a/src/models/accessPackageResourceScope.ts +++ b/src/models/accessPackageResourceScope.ts @@ -53,7 +53,7 @@ export function serializeAccessPackageResourceScope(writer: SerializationWriter, writer.writeBooleanValue("isRootScope", accessPackageResourceScope.isRootScope); writer.writeStringValue("originId", accessPackageResourceScope.originId); writer.writeStringValue("originSystem", accessPackageResourceScope.originSystem); - writer.writeObjectValue("resource", accessPackageResourceScope.resource, ); + writer.writeObjectValue("resource", accessPackageResourceScope.resource, serializeAccessPackageResource); } // tslint:enable // eslint-enable diff --git a/src/models/accessPackageResourceScopeCollectionResponse.ts b/src/models/accessPackageResourceScopeCollectionResponse.ts index f2ce46a2cad..396e4e667e3 100644 --- a/src/models/accessPackageResourceScopeCollectionResponse.ts +++ b/src/models/accessPackageResourceScopeCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAccessPackageResourceScopeCollectionResponse(acce } export function serializeAccessPackageResourceScopeCollectionResponse(writer: SerializationWriter, accessPackageResourceScopeCollectionResponse: AccessPackageResourceScopeCollectionResponse | undefined = {} as AccessPackageResourceScopeCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, accessPackageResourceScopeCollectionResponse) - writer.writeCollectionOfObjectValues("value", accessPackageResourceScopeCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", accessPackageResourceScopeCollectionResponse.value, serializeAccessPackageResourceScope); } // tslint:enable // eslint-enable diff --git a/src/models/accessPackageSubject.ts b/src/models/accessPackageSubject.ts index d7926bd8b39..a372759fc9b 100644 --- a/src/models/accessPackageSubject.ts +++ b/src/models/accessPackageSubject.ts @@ -54,7 +54,7 @@ export function deserializeIntoAccessPackageSubject(accessPackageSubject: Access } export function serializeAccessPackageSubject(writer: SerializationWriter, accessPackageSubject: AccessPackageSubject | undefined = {} as AccessPackageSubject) : void { serializeEntity(writer, accessPackageSubject) - writer.writeObjectValue("connectedOrganization", accessPackageSubject.connectedOrganization, ); + writer.writeObjectValue("connectedOrganization", accessPackageSubject.connectedOrganization, serializeConnectedOrganization); writer.writeStringValue("displayName", accessPackageSubject.displayName); writer.writeStringValue("email", accessPackageSubject.email); writer.writeStringValue("objectId", accessPackageSubject.objectId); diff --git a/src/models/accessReviewHistoryDefinition.ts b/src/models/accessReviewHistoryDefinition.ts index 794966e5a6b..0f28c98290c 100644 --- a/src/models/accessReviewHistoryDefinition.ts +++ b/src/models/accessReviewHistoryDefinition.ts @@ -73,16 +73,16 @@ export function deserializeIntoAccessReviewHistoryDefinition(accessReviewHistory } export function serializeAccessReviewHistoryDefinition(writer: SerializationWriter, accessReviewHistoryDefinition: AccessReviewHistoryDefinition | undefined = {} as AccessReviewHistoryDefinition) : void { serializeEntity(writer, accessReviewHistoryDefinition) - writer.writeObjectValue("createdBy", accessReviewHistoryDefinition.createdBy, ); + writer.writeObjectValue("createdBy", accessReviewHistoryDefinition.createdBy, serializeUserIdentity); writer.writeDateValue("createdDateTime", accessReviewHistoryDefinition.createdDateTime); if(accessReviewHistoryDefinition.decisions) writer.writeEnumValue("decisions", ...accessReviewHistoryDefinition.decisions); writer.writeStringValue("displayName", accessReviewHistoryDefinition.displayName); - writer.writeCollectionOfObjectValues("instances", accessReviewHistoryDefinition.instances, ); + writer.writeCollectionOfObjectValues("instances", accessReviewHistoryDefinition.instances, serializeAccessReviewHistoryInstance); writer.writeDateValue("reviewHistoryPeriodEndDateTime", accessReviewHistoryDefinition.reviewHistoryPeriodEndDateTime); writer.writeDateValue("reviewHistoryPeriodStartDateTime", accessReviewHistoryDefinition.reviewHistoryPeriodStartDateTime); - writer.writeObjectValue("scheduleSettings", accessReviewHistoryDefinition.scheduleSettings, ); - writer.writeCollectionOfObjectValues("scopes", accessReviewHistoryDefinition.scopes, ); + writer.writeObjectValue("scheduleSettings", accessReviewHistoryDefinition.scheduleSettings, serializeAccessReviewHistoryScheduleSettings); + writer.writeCollectionOfObjectValues("scopes", accessReviewHistoryDefinition.scopes, serializeAccessReviewScope); writer.writeEnumValue("status", accessReviewHistoryDefinition.status); } // tslint:enable diff --git a/src/models/accessReviewHistoryDefinitionCollectionResponse.ts b/src/models/accessReviewHistoryDefinitionCollectionResponse.ts index 5ce54a30e77..da50a08464d 100644 --- a/src/models/accessReviewHistoryDefinitionCollectionResponse.ts +++ b/src/models/accessReviewHistoryDefinitionCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAccessReviewHistoryDefinitionCollectionResponse(a } export function serializeAccessReviewHistoryDefinitionCollectionResponse(writer: SerializationWriter, accessReviewHistoryDefinitionCollectionResponse: AccessReviewHistoryDefinitionCollectionResponse | undefined = {} as AccessReviewHistoryDefinitionCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, accessReviewHistoryDefinitionCollectionResponse) - writer.writeCollectionOfObjectValues("value", accessReviewHistoryDefinitionCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", accessReviewHistoryDefinitionCollectionResponse.value, serializeAccessReviewHistoryDefinition); } // tslint:enable // eslint-enable diff --git a/src/models/accessReviewHistoryInstanceCollectionResponse.ts b/src/models/accessReviewHistoryInstanceCollectionResponse.ts index e645794df1e..9483d331be9 100644 --- a/src/models/accessReviewHistoryInstanceCollectionResponse.ts +++ b/src/models/accessReviewHistoryInstanceCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAccessReviewHistoryInstanceCollectionResponse(acc } export function serializeAccessReviewHistoryInstanceCollectionResponse(writer: SerializationWriter, accessReviewHistoryInstanceCollectionResponse: AccessReviewHistoryInstanceCollectionResponse | undefined = {} as AccessReviewHistoryInstanceCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, accessReviewHistoryInstanceCollectionResponse) - writer.writeCollectionOfObjectValues("value", accessReviewHistoryInstanceCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", accessReviewHistoryInstanceCollectionResponse.value, serializeAccessReviewHistoryInstance); } // tslint:enable // eslint-enable diff --git a/src/models/accessReviewHistoryScheduleSettings.ts b/src/models/accessReviewHistoryScheduleSettings.ts index 1584ed5f39f..366761f08bb 100644 --- a/src/models/accessReviewHistoryScheduleSettings.ts +++ b/src/models/accessReviewHistoryScheduleSettings.ts @@ -35,7 +35,7 @@ export function deserializeIntoAccessReviewHistoryScheduleSettings(accessReviewH } export function serializeAccessReviewHistoryScheduleSettings(writer: SerializationWriter, accessReviewHistoryScheduleSettings: AccessReviewHistoryScheduleSettings | undefined = {} as AccessReviewHistoryScheduleSettings) : void { writer.writeStringValue("@odata.type", accessReviewHistoryScheduleSettings.odataType); - writer.writeObjectValue("recurrence", accessReviewHistoryScheduleSettings.recurrence, ); + writer.writeObjectValue("recurrence", accessReviewHistoryScheduleSettings.recurrence, serializePatternedRecurrence); writer.writeStringValue("reportRange", accessReviewHistoryScheduleSettings.reportRange); writer.writeAdditionalData(accessReviewHistoryScheduleSettings.additionalData); } diff --git a/src/models/accessReviewInstance.ts b/src/models/accessReviewInstance.ts index 927446a3661..df4050c1a19 100644 --- a/src/models/accessReviewInstance.ts +++ b/src/models/accessReviewInstance.ts @@ -67,13 +67,13 @@ export function deserializeIntoAccessReviewInstance(accessReviewInstance: Access } export function serializeAccessReviewInstance(writer: SerializationWriter, accessReviewInstance: AccessReviewInstance | undefined = {} as AccessReviewInstance) : void { serializeEntity(writer, accessReviewInstance) - writer.writeCollectionOfObjectValues("contactedReviewers", accessReviewInstance.contactedReviewers, ); - writer.writeCollectionOfObjectValues("decisions", accessReviewInstance.decisions, ); + writer.writeCollectionOfObjectValues("contactedReviewers", accessReviewInstance.contactedReviewers, serializeAccessReviewReviewer); + writer.writeCollectionOfObjectValues("decisions", accessReviewInstance.decisions, serializeAccessReviewInstanceDecisionItem); writer.writeDateValue("endDateTime", accessReviewInstance.endDateTime); - writer.writeCollectionOfObjectValues("fallbackReviewers", accessReviewInstance.fallbackReviewers, ); - writer.writeCollectionOfObjectValues("reviewers", accessReviewInstance.reviewers, ); - writer.writeObjectValue("scope", accessReviewInstance.scope, ); - writer.writeCollectionOfObjectValues("stages", accessReviewInstance.stages, ); + writer.writeCollectionOfObjectValues("fallbackReviewers", accessReviewInstance.fallbackReviewers, serializeAccessReviewReviewerScope); + writer.writeCollectionOfObjectValues("reviewers", accessReviewInstance.reviewers, serializeAccessReviewReviewerScope); + writer.writeObjectValue("scope", accessReviewInstance.scope, serializeAccessReviewScope); + writer.writeCollectionOfObjectValues("stages", accessReviewInstance.stages, serializeAccessReviewStage); writer.writeDateValue("startDateTime", accessReviewInstance.startDateTime); writer.writeStringValue("status", accessReviewInstance.status); } diff --git a/src/models/accessReviewInstanceCollectionResponse.ts b/src/models/accessReviewInstanceCollectionResponse.ts index 37e907a7583..60c8fc4dd0f 100644 --- a/src/models/accessReviewInstanceCollectionResponse.ts +++ b/src/models/accessReviewInstanceCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAccessReviewInstanceCollectionResponse(accessRevi } export function serializeAccessReviewInstanceCollectionResponse(writer: SerializationWriter, accessReviewInstanceCollectionResponse: AccessReviewInstanceCollectionResponse | undefined = {} as AccessReviewInstanceCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, accessReviewInstanceCollectionResponse) - writer.writeCollectionOfObjectValues("value", accessReviewInstanceCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", accessReviewInstanceCollectionResponse.value, serializeAccessReviewInstance); } // tslint:enable // eslint-enable diff --git a/src/models/accessReviewInstanceDecisionItem.ts b/src/models/accessReviewInstanceDecisionItem.ts index 484e3072c57..650174023bf 100644 --- a/src/models/accessReviewInstanceDecisionItem.ts +++ b/src/models/accessReviewInstanceDecisionItem.ts @@ -92,18 +92,18 @@ export function deserializeIntoAccessReviewInstanceDecisionItem(accessReviewInst export function serializeAccessReviewInstanceDecisionItem(writer: SerializationWriter, accessReviewInstanceDecisionItem: AccessReviewInstanceDecisionItem | undefined = {} as AccessReviewInstanceDecisionItem) : void { serializeEntity(writer, accessReviewInstanceDecisionItem) writer.writeStringValue("accessReviewId", accessReviewInstanceDecisionItem.accessReviewId); - writer.writeObjectValue("appliedBy", accessReviewInstanceDecisionItem.appliedBy, ); + writer.writeObjectValue("appliedBy", accessReviewInstanceDecisionItem.appliedBy, serializeUserIdentity); writer.writeDateValue("appliedDateTime", accessReviewInstanceDecisionItem.appliedDateTime); writer.writeStringValue("applyResult", accessReviewInstanceDecisionItem.applyResult); writer.writeStringValue("decision", accessReviewInstanceDecisionItem.decision); - writer.writeCollectionOfObjectValues("insights", accessReviewInstanceDecisionItem.insights, ); + writer.writeCollectionOfObjectValues("insights", accessReviewInstanceDecisionItem.insights, serializeGovernanceInsight); writer.writeStringValue("justification", accessReviewInstanceDecisionItem.justification); - writer.writeObjectValue("principal", accessReviewInstanceDecisionItem.principal, ); + writer.writeObjectValue("principal", accessReviewInstanceDecisionItem.principal, serializeIdentity); writer.writeStringValue("principalLink", accessReviewInstanceDecisionItem.principalLink); writer.writeStringValue("recommendation", accessReviewInstanceDecisionItem.recommendation); - writer.writeObjectValue("resource", accessReviewInstanceDecisionItem.resource, ); + writer.writeObjectValue("resource", accessReviewInstanceDecisionItem.resource, serializeAccessReviewInstanceDecisionItemResource); writer.writeStringValue("resourceLink", accessReviewInstanceDecisionItem.resourceLink); - writer.writeObjectValue("reviewedBy", accessReviewInstanceDecisionItem.reviewedBy, ); + writer.writeObjectValue("reviewedBy", accessReviewInstanceDecisionItem.reviewedBy, serializeUserIdentity); writer.writeDateValue("reviewedDateTime", accessReviewInstanceDecisionItem.reviewedDateTime); } // tslint:enable diff --git a/src/models/accessReviewInstanceDecisionItemAzureRoleResource.ts b/src/models/accessReviewInstanceDecisionItemAzureRoleResource.ts index 5176c4a1100..af231eb2d73 100644 --- a/src/models/accessReviewInstanceDecisionItemAzureRoleResource.ts +++ b/src/models/accessReviewInstanceDecisionItemAzureRoleResource.ts @@ -22,7 +22,7 @@ export function deserializeIntoAccessReviewInstanceDecisionItemAzureRoleResource } export function serializeAccessReviewInstanceDecisionItemAzureRoleResource(writer: SerializationWriter, accessReviewInstanceDecisionItemAzureRoleResource: AccessReviewInstanceDecisionItemAzureRoleResource | undefined = {} as AccessReviewInstanceDecisionItemAzureRoleResource) : void { serializeAccessReviewInstanceDecisionItemResource(writer, accessReviewInstanceDecisionItemAzureRoleResource) - writer.writeObjectValue("scope", accessReviewInstanceDecisionItemAzureRoleResource.scope, ); + writer.writeObjectValue("scope", accessReviewInstanceDecisionItemAzureRoleResource.scope, serializeAccessReviewInstanceDecisionItemResource); } // tslint:enable // eslint-enable diff --git a/src/models/accessReviewInstanceDecisionItemCollectionResponse.ts b/src/models/accessReviewInstanceDecisionItemCollectionResponse.ts index 35baea76a27..0f2560d93b0 100644 --- a/src/models/accessReviewInstanceDecisionItemCollectionResponse.ts +++ b/src/models/accessReviewInstanceDecisionItemCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAccessReviewInstanceDecisionItemCollectionRespons } export function serializeAccessReviewInstanceDecisionItemCollectionResponse(writer: SerializationWriter, accessReviewInstanceDecisionItemCollectionResponse: AccessReviewInstanceDecisionItemCollectionResponse | undefined = {} as AccessReviewInstanceDecisionItemCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, accessReviewInstanceDecisionItemCollectionResponse) - writer.writeCollectionOfObjectValues("value", accessReviewInstanceDecisionItemCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", accessReviewInstanceDecisionItemCollectionResponse.value, serializeAccessReviewInstanceDecisionItem); } // tslint:enable // eslint-enable diff --git a/src/models/accessReviewNotificationRecipientItem.ts b/src/models/accessReviewNotificationRecipientItem.ts index b907c443f37..bcb99fcee4f 100644 --- a/src/models/accessReviewNotificationRecipientItem.ts +++ b/src/models/accessReviewNotificationRecipientItem.ts @@ -34,7 +34,7 @@ export function deserializeIntoAccessReviewNotificationRecipientItem(accessRevie } } export function serializeAccessReviewNotificationRecipientItem(writer: SerializationWriter, accessReviewNotificationRecipientItem: AccessReviewNotificationRecipientItem | undefined = {} as AccessReviewNotificationRecipientItem) : void { - writer.writeObjectValue("notificationRecipientScope", accessReviewNotificationRecipientItem.notificationRecipientScope, ); + writer.writeObjectValue("notificationRecipientScope", accessReviewNotificationRecipientItem.notificationRecipientScope, serializeAccessReviewNotificationRecipientScope); writer.writeStringValue("notificationTemplateType", accessReviewNotificationRecipientItem.notificationTemplateType); writer.writeStringValue("@odata.type", accessReviewNotificationRecipientItem.odataType); writer.writeAdditionalData(accessReviewNotificationRecipientItem.additionalData); diff --git a/src/models/accessReviewReviewerCollectionResponse.ts b/src/models/accessReviewReviewerCollectionResponse.ts index 314d9933649..cbd0307221e 100644 --- a/src/models/accessReviewReviewerCollectionResponse.ts +++ b/src/models/accessReviewReviewerCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAccessReviewReviewerCollectionResponse(accessRevi } export function serializeAccessReviewReviewerCollectionResponse(writer: SerializationWriter, accessReviewReviewerCollectionResponse: AccessReviewReviewerCollectionResponse | undefined = {} as AccessReviewReviewerCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, accessReviewReviewerCollectionResponse) - writer.writeCollectionOfObjectValues("value", accessReviewReviewerCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", accessReviewReviewerCollectionResponse.value, serializeAccessReviewReviewer); } // tslint:enable // eslint-enable diff --git a/src/models/accessReviewScheduleDefinition.ts b/src/models/accessReviewScheduleDefinition.ts index 6a961d968ed..9231c80559d 100644 --- a/src/models/accessReviewScheduleDefinition.ts +++ b/src/models/accessReviewScheduleDefinition.ts @@ -99,20 +99,20 @@ export function deserializeIntoAccessReviewScheduleDefinition(accessReviewSchedu } export function serializeAccessReviewScheduleDefinition(writer: SerializationWriter, accessReviewScheduleDefinition: AccessReviewScheduleDefinition | undefined = {} as AccessReviewScheduleDefinition) : void { serializeEntity(writer, accessReviewScheduleDefinition) - writer.writeCollectionOfObjectValues("additionalNotificationRecipients", accessReviewScheduleDefinition.additionalNotificationRecipients, ); - writer.writeObjectValue("createdBy", accessReviewScheduleDefinition.createdBy, ); + writer.writeCollectionOfObjectValues("additionalNotificationRecipients", accessReviewScheduleDefinition.additionalNotificationRecipients, serializeAccessReviewNotificationRecipientItem); + writer.writeObjectValue("createdBy", accessReviewScheduleDefinition.createdBy, serializeUserIdentity); writer.writeDateValue("createdDateTime", accessReviewScheduleDefinition.createdDateTime); writer.writeStringValue("descriptionForAdmins", accessReviewScheduleDefinition.descriptionForAdmins); writer.writeStringValue("descriptionForReviewers", accessReviewScheduleDefinition.descriptionForReviewers); writer.writeStringValue("displayName", accessReviewScheduleDefinition.displayName); - writer.writeCollectionOfObjectValues("fallbackReviewers", accessReviewScheduleDefinition.fallbackReviewers, ); - writer.writeObjectValue("instanceEnumerationScope", accessReviewScheduleDefinition.instanceEnumerationScope, ); - writer.writeCollectionOfObjectValues("instances", accessReviewScheduleDefinition.instances, ); + writer.writeCollectionOfObjectValues("fallbackReviewers", accessReviewScheduleDefinition.fallbackReviewers, serializeAccessReviewReviewerScope); + writer.writeObjectValue("instanceEnumerationScope", accessReviewScheduleDefinition.instanceEnumerationScope, serializeAccessReviewScope); + writer.writeCollectionOfObjectValues("instances", accessReviewScheduleDefinition.instances, serializeAccessReviewInstance); writer.writeDateValue("lastModifiedDateTime", accessReviewScheduleDefinition.lastModifiedDateTime); - writer.writeCollectionOfObjectValues("reviewers", accessReviewScheduleDefinition.reviewers, ); - writer.writeObjectValue("scope", accessReviewScheduleDefinition.scope, ); - writer.writeObjectValue("settings", accessReviewScheduleDefinition.settings, ); - writer.writeCollectionOfObjectValues("stageSettings", accessReviewScheduleDefinition.stageSettings, ); + writer.writeCollectionOfObjectValues("reviewers", accessReviewScheduleDefinition.reviewers, serializeAccessReviewReviewerScope); + writer.writeObjectValue("scope", accessReviewScheduleDefinition.scope, serializeAccessReviewScope); + writer.writeObjectValue("settings", accessReviewScheduleDefinition.settings, serializeAccessReviewScheduleSettings); + writer.writeCollectionOfObjectValues("stageSettings", accessReviewScheduleDefinition.stageSettings, serializeAccessReviewStageSettings); writer.writeStringValue("status", accessReviewScheduleDefinition.status); } // tslint:enable diff --git a/src/models/accessReviewScheduleDefinitionCollectionResponse.ts b/src/models/accessReviewScheduleDefinitionCollectionResponse.ts index eddec5273f9..aaa2061466a 100644 --- a/src/models/accessReviewScheduleDefinitionCollectionResponse.ts +++ b/src/models/accessReviewScheduleDefinitionCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAccessReviewScheduleDefinitionCollectionResponse( } export function serializeAccessReviewScheduleDefinitionCollectionResponse(writer: SerializationWriter, accessReviewScheduleDefinitionCollectionResponse: AccessReviewScheduleDefinitionCollectionResponse | undefined = {} as AccessReviewScheduleDefinitionCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, accessReviewScheduleDefinitionCollectionResponse) - writer.writeCollectionOfObjectValues("value", accessReviewScheduleDefinitionCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", accessReviewScheduleDefinitionCollectionResponse.value, serializeAccessReviewScheduleDefinition); } // tslint:enable // eslint-enable diff --git a/src/models/accessReviewScheduleSettings.ts b/src/models/accessReviewScheduleSettings.ts index a68c241540f..7e433d87a4b 100644 --- a/src/models/accessReviewScheduleSettings.ts +++ b/src/models/accessReviewScheduleSettings.ts @@ -91,7 +91,7 @@ export function deserializeIntoAccessReviewScheduleSettings(accessReviewSchedule } } export function serializeAccessReviewScheduleSettings(writer: SerializationWriter, accessReviewScheduleSettings: AccessReviewScheduleSettings | undefined = {} as AccessReviewScheduleSettings) : void { - writer.writeCollectionOfObjectValues("applyActions", accessReviewScheduleSettings.applyActions, ); + writer.writeCollectionOfObjectValues("applyActions", accessReviewScheduleSettings.applyActions, serializeAccessReviewApplyAction); writer.writeBooleanValue("autoApplyDecisionsEnabled", accessReviewScheduleSettings.autoApplyDecisionsEnabled); writer.writeBooleanValue("decisionHistoriesForReviewersEnabled", accessReviewScheduleSettings.decisionHistoriesForReviewersEnabled); writer.writeStringValue("defaultDecision", accessReviewScheduleSettings.defaultDecision); @@ -100,10 +100,10 @@ export function serializeAccessReviewScheduleSettings(writer: SerializationWrite writer.writeBooleanValue("justificationRequiredOnApproval", accessReviewScheduleSettings.justificationRequiredOnApproval); writer.writeBooleanValue("mailNotificationsEnabled", accessReviewScheduleSettings.mailNotificationsEnabled); writer.writeStringValue("@odata.type", accessReviewScheduleSettings.odataType); - writer.writeCollectionOfObjectValues("recommendationInsightSettings", accessReviewScheduleSettings.recommendationInsightSettings, ); + writer.writeCollectionOfObjectValues("recommendationInsightSettings", accessReviewScheduleSettings.recommendationInsightSettings, serializeAccessReviewRecommendationInsightSetting); writer.writeDurationValue("recommendationLookBackDuration", accessReviewScheduleSettings.recommendationLookBackDuration); writer.writeBooleanValue("recommendationsEnabled", accessReviewScheduleSettings.recommendationsEnabled); - writer.writeObjectValue("recurrence", accessReviewScheduleSettings.recurrence, ); + writer.writeObjectValue("recurrence", accessReviewScheduleSettings.recurrence, serializePatternedRecurrence); writer.writeBooleanValue("reminderNotificationsEnabled", accessReviewScheduleSettings.reminderNotificationsEnabled); writer.writeAdditionalData(accessReviewScheduleSettings.additionalData); } diff --git a/src/models/accessReviewSet.ts b/src/models/accessReviewSet.ts index 074353d513a..513e053b920 100644 --- a/src/models/accessReviewSet.ts +++ b/src/models/accessReviewSet.ts @@ -29,8 +29,8 @@ export function deserializeIntoAccessReviewSet(accessReviewSet: AccessReviewSet } export function serializeAccessReviewSet(writer: SerializationWriter, accessReviewSet: AccessReviewSet | undefined = {} as AccessReviewSet) : void { serializeEntity(writer, accessReviewSet) - writer.writeCollectionOfObjectValues("definitions", accessReviewSet.definitions, ); - writer.writeCollectionOfObjectValues("historyDefinitions", accessReviewSet.historyDefinitions, ); + writer.writeCollectionOfObjectValues("definitions", accessReviewSet.definitions, serializeAccessReviewScheduleDefinition); + writer.writeCollectionOfObjectValues("historyDefinitions", accessReviewSet.historyDefinitions, serializeAccessReviewHistoryDefinition); } // tslint:enable // eslint-enable diff --git a/src/models/accessReviewStage.ts b/src/models/accessReviewStage.ts index b9bf42d7daa..0d76b35b28f 100644 --- a/src/models/accessReviewStage.ts +++ b/src/models/accessReviewStage.ts @@ -49,10 +49,10 @@ export function deserializeIntoAccessReviewStage(accessReviewStage: AccessReview } export function serializeAccessReviewStage(writer: SerializationWriter, accessReviewStage: AccessReviewStage | undefined = {} as AccessReviewStage) : void { serializeEntity(writer, accessReviewStage) - writer.writeCollectionOfObjectValues("decisions", accessReviewStage.decisions, ); + writer.writeCollectionOfObjectValues("decisions", accessReviewStage.decisions, serializeAccessReviewInstanceDecisionItem); writer.writeDateValue("endDateTime", accessReviewStage.endDateTime); - writer.writeCollectionOfObjectValues("fallbackReviewers", accessReviewStage.fallbackReviewers, ); - writer.writeCollectionOfObjectValues("reviewers", accessReviewStage.reviewers, ); + writer.writeCollectionOfObjectValues("fallbackReviewers", accessReviewStage.fallbackReviewers, serializeAccessReviewReviewerScope); + writer.writeCollectionOfObjectValues("reviewers", accessReviewStage.reviewers, serializeAccessReviewReviewerScope); writer.writeDateValue("startDateTime", accessReviewStage.startDateTime); writer.writeStringValue("status", accessReviewStage.status); } diff --git a/src/models/accessReviewStageCollectionResponse.ts b/src/models/accessReviewStageCollectionResponse.ts index 09eba0bf860..f199259a6dd 100644 --- a/src/models/accessReviewStageCollectionResponse.ts +++ b/src/models/accessReviewStageCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAccessReviewStageCollectionResponse(accessReviewS } export function serializeAccessReviewStageCollectionResponse(writer: SerializationWriter, accessReviewStageCollectionResponse: AccessReviewStageCollectionResponse | undefined = {} as AccessReviewStageCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, accessReviewStageCollectionResponse) - writer.writeCollectionOfObjectValues("value", accessReviewStageCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", accessReviewStageCollectionResponse.value, serializeAccessReviewStage); } // tslint:enable // eslint-enable diff --git a/src/models/accessReviewStageSettings.ts b/src/models/accessReviewStageSettings.ts index 41a17800393..579c34e67eb 100644 --- a/src/models/accessReviewStageSettings.ts +++ b/src/models/accessReviewStageSettings.ts @@ -68,11 +68,11 @@ export function serializeAccessReviewStageSettings(writer: SerializationWriter, writer.writeCollectionOfPrimitiveValues("decisionsThatWillMoveToNextStage", accessReviewStageSettings.decisionsThatWillMoveToNextStage); writer.writeCollectionOfPrimitiveValues("dependsOn", accessReviewStageSettings.dependsOn); writer.writeNumberValue("durationInDays", accessReviewStageSettings.durationInDays); - writer.writeCollectionOfObjectValues("fallbackReviewers", accessReviewStageSettings.fallbackReviewers, ); + writer.writeCollectionOfObjectValues("fallbackReviewers", accessReviewStageSettings.fallbackReviewers, serializeAccessReviewReviewerScope); writer.writeStringValue("@odata.type", accessReviewStageSettings.odataType); - writer.writeCollectionOfObjectValues("recommendationInsightSettings", accessReviewStageSettings.recommendationInsightSettings, ); + writer.writeCollectionOfObjectValues("recommendationInsightSettings", accessReviewStageSettings.recommendationInsightSettings, serializeAccessReviewRecommendationInsightSetting); writer.writeBooleanValue("recommendationsEnabled", accessReviewStageSettings.recommendationsEnabled); - writer.writeCollectionOfObjectValues("reviewers", accessReviewStageSettings.reviewers, ); + writer.writeCollectionOfObjectValues("reviewers", accessReviewStageSettings.reviewers, serializeAccessReviewReviewerScope); writer.writeStringValue("stageId", accessReviewStageSettings.stageId); writer.writeAdditionalData(accessReviewStageSettings.additionalData); } diff --git a/src/models/accountTargetContent.ts b/src/models/accountTargetContent.ts index b091c32171b..a58aac16612 100644 --- a/src/models/accountTargetContent.ts +++ b/src/models/accountTargetContent.ts @@ -17,7 +17,7 @@ export interface AccountTargetContent extends AdditionalDataHolder, Parsable { */ odataType?: string; /** - * The type property + * The type of account target content. Possible values are: unknown, includeAll, addressBook, unknownFutureValue. */ type?: AccountTargetContentType; } diff --git a/src/models/actionResultPart.ts b/src/models/actionResultPart.ts index 391c9a572cc..790c7d05362 100644 --- a/src/models/actionResultPart.ts +++ b/src/models/actionResultPart.ts @@ -41,7 +41,7 @@ export function deserializeIntoActionResultPart(actionResultPart: ActionResultPa } } export function serializeActionResultPart(writer: SerializationWriter, actionResultPart: ActionResultPart | undefined = {} as ActionResultPart) : void { - writer.writeObjectValue("error", actionResultPart.errorEscaped, ); + writer.writeObjectValue("error", actionResultPart.errorEscaped, serializePublicError); writer.writeStringValue("@odata.type", actionResultPart.odataType); writer.writeAdditionalData(actionResultPart.additionalData); } diff --git a/src/models/activityBasedTimeoutPolicyCollectionResponse.ts b/src/models/activityBasedTimeoutPolicyCollectionResponse.ts index c9da39a15be..830cafa60c4 100644 --- a/src/models/activityBasedTimeoutPolicyCollectionResponse.ts +++ b/src/models/activityBasedTimeoutPolicyCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoActivityBasedTimeoutPolicyCollectionResponse(acti } export function serializeActivityBasedTimeoutPolicyCollectionResponse(writer: SerializationWriter, activityBasedTimeoutPolicyCollectionResponse: ActivityBasedTimeoutPolicyCollectionResponse | undefined = {} as ActivityBasedTimeoutPolicyCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, activityBasedTimeoutPolicyCollectionResponse) - writer.writeCollectionOfObjectValues("value", activityBasedTimeoutPolicyCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", activityBasedTimeoutPolicyCollectionResponse.value, serializeActivityBasedTimeoutPolicy); } // tslint:enable // eslint-enable diff --git a/src/models/activityHistoryItem.ts b/src/models/activityHistoryItem.ts index 962051ad335..70ed2429e96 100644 --- a/src/models/activityHistoryItem.ts +++ b/src/models/activityHistoryItem.ts @@ -65,7 +65,7 @@ export function deserializeIntoActivityHistoryItem(activityHistoryItem: Activity export function serializeActivityHistoryItem(writer: SerializationWriter, activityHistoryItem: ActivityHistoryItem | undefined = {} as ActivityHistoryItem) : void { serializeEntity(writer, activityHistoryItem) writer.writeNumberValue("activeDurationSeconds", activityHistoryItem.activeDurationSeconds); - writer.writeObjectValue("activity", activityHistoryItem.activity, ); + writer.writeObjectValue("activity", activityHistoryItem.activity, serializeUserActivity); writer.writeDateValue("createdDateTime", activityHistoryItem.createdDateTime); writer.writeDateValue("expirationDateTime", activityHistoryItem.expirationDateTime); writer.writeDateValue("lastActiveDateTime", activityHistoryItem.lastActiveDateTime); diff --git a/src/models/activityHistoryItemCollectionResponse.ts b/src/models/activityHistoryItemCollectionResponse.ts index 85af50d016a..1e1016fd0b8 100644 --- a/src/models/activityHistoryItemCollectionResponse.ts +++ b/src/models/activityHistoryItemCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoActivityHistoryItemCollectionResponse(activityHis } export function serializeActivityHistoryItemCollectionResponse(writer: SerializationWriter, activityHistoryItemCollectionResponse: ActivityHistoryItemCollectionResponse | undefined = {} as ActivityHistoryItemCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, activityHistoryItemCollectionResponse) - writer.writeCollectionOfObjectValues("value", activityHistoryItemCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", activityHistoryItemCollectionResponse.value, serializeActivityHistoryItem); } // tslint:enable // eslint-enable diff --git a/src/models/addIn.ts b/src/models/addIn.ts index 17846a6471e..e66deb296e6 100644 --- a/src/models/addIn.ts +++ b/src/models/addIn.ts @@ -42,7 +42,7 @@ export function deserializeIntoAddIn(addIn: AddIn | undefined = {} as AddIn) : R export function serializeAddIn(writer: SerializationWriter, addIn: AddIn | undefined = {} as AddIn) : void { writer.writeGuidValue("id", addIn.id); writer.writeStringValue("@odata.type", addIn.odataType); - writer.writeCollectionOfObjectValues("properties", addIn.properties, ); + writer.writeCollectionOfObjectValues("properties", addIn.properties, serializeKeyValue); writer.writeStringValue("type", addIn.type); writer.writeAdditionalData(addIn.additionalData); } diff --git a/src/models/addressBookAccountTargetContent.ts b/src/models/addressBookAccountTargetContent.ts index bffeefcb9f7..81b10dc9977 100644 --- a/src/models/addressBookAccountTargetContent.ts +++ b/src/models/addressBookAccountTargetContent.ts @@ -6,7 +6,7 @@ import { type Parsable, type ParseNode, type SerializationWriter } from '@micros export interface AddressBookAccountTargetContent extends AccountTargetContent, Parsable { /** - * The accountTargetEmails property + * List of user emails targeted for an attack simulation training campaign. */ accountTargetEmails?: string[]; } diff --git a/src/models/admin.ts b/src/models/admin.ts index 712e9ece400..dc53d6e7f46 100644 --- a/src/models/admin.ts +++ b/src/models/admin.ts @@ -47,11 +47,11 @@ export function deserializeIntoAdmin(admin: Admin | undefined = {} as Admin) : R } } export function serializeAdmin(writer: SerializationWriter, admin: Admin | undefined = {} as Admin) : void { - writer.writeObjectValue("edge", admin.edge, ); + writer.writeObjectValue("edge", admin.edge, serializeEdge); writer.writeStringValue("@odata.type", admin.odataType); - writer.writeObjectValue("people", admin.people, ); - writer.writeObjectValue("serviceAnnouncement", admin.serviceAnnouncement, ); - writer.writeObjectValue("sharepoint", admin.sharepoint, ); + writer.writeObjectValue("people", admin.people, serializePeopleAdminSettings); + writer.writeObjectValue("serviceAnnouncement", admin.serviceAnnouncement, serializeServiceAnnouncement); + writer.writeObjectValue("sharepoint", admin.sharepoint, serializeSharepoint); writer.writeAdditionalData(admin.additionalData); } // tslint:enable diff --git a/src/models/adminConsentRequestPolicy.ts b/src/models/adminConsentRequestPolicy.ts index 218ec5d03ec..17ced9c06e0 100644 --- a/src/models/adminConsentRequestPolicy.ts +++ b/src/models/adminConsentRequestPolicy.ts @@ -52,7 +52,7 @@ export function serializeAdminConsentRequestPolicy(writer: SerializationWriter, writer.writeBooleanValue("notifyReviewers", adminConsentRequestPolicy.notifyReviewers); writer.writeBooleanValue("remindersEnabled", adminConsentRequestPolicy.remindersEnabled); writer.writeNumberValue("requestDurationInDays", adminConsentRequestPolicy.requestDurationInDays); - writer.writeCollectionOfObjectValues("reviewers", adminConsentRequestPolicy.reviewers, ); + writer.writeCollectionOfObjectValues("reviewers", adminConsentRequestPolicy.reviewers, serializeAccessReviewReviewerScope); writer.writeNumberValue("version", adminConsentRequestPolicy.version); } // tslint:enable diff --git a/src/models/administrativeUnit.ts b/src/models/administrativeUnit.ts index 5d0e9a3c7c9..17346007444 100644 --- a/src/models/administrativeUnit.ts +++ b/src/models/administrativeUnit.ts @@ -51,9 +51,9 @@ export function serializeAdministrativeUnit(writer: SerializationWriter, adminis serializeDirectoryObject(writer, administrativeUnit) writer.writeStringValue("description", administrativeUnit.description); writer.writeStringValue("displayName", administrativeUnit.displayName); - writer.writeCollectionOfObjectValues("extensions", administrativeUnit.extensions, ); - writer.writeCollectionOfObjectValues("members", administrativeUnit.members, ); - writer.writeCollectionOfObjectValues("scopedRoleMembers", administrativeUnit.scopedRoleMembers, ); + writer.writeCollectionOfObjectValues("extensions", administrativeUnit.extensions, serializeExtension); + writer.writeCollectionOfObjectValues("members", administrativeUnit.members, serializeDirectoryObject); + writer.writeCollectionOfObjectValues("scopedRoleMembers", administrativeUnit.scopedRoleMembers, serializeScopedRoleMembership); writer.writeStringValue("visibility", administrativeUnit.visibility); } // tslint:enable diff --git a/src/models/administrativeUnitCollectionResponse.ts b/src/models/administrativeUnitCollectionResponse.ts index b699b296a28..24da4d1622d 100644 --- a/src/models/administrativeUnitCollectionResponse.ts +++ b/src/models/administrativeUnitCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAdministrativeUnitCollectionResponse(administrati } export function serializeAdministrativeUnitCollectionResponse(writer: SerializationWriter, administrativeUnitCollectionResponse: AdministrativeUnitCollectionResponse | undefined = {} as AdministrativeUnitCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, administrativeUnitCollectionResponse) - writer.writeCollectionOfObjectValues("value", administrativeUnitCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", administrativeUnitCollectionResponse.value, serializeAdministrativeUnit); } // tslint:enable // eslint-enable diff --git a/src/models/aggregationOption.ts b/src/models/aggregationOption.ts index 7ec504edfe5..60ef015ce08 100644 --- a/src/models/aggregationOption.ts +++ b/src/models/aggregationOption.ts @@ -39,7 +39,7 @@ export function deserializeIntoAggregationOption(aggregationOption: AggregationO } } export function serializeAggregationOption(writer: SerializationWriter, aggregationOption: AggregationOption | undefined = {} as AggregationOption) : void { - writer.writeObjectValue("bucketDefinition", aggregationOption.bucketDefinition, ); + writer.writeObjectValue("bucketDefinition", aggregationOption.bucketDefinition, serializeBucketAggregationDefinition); writer.writeStringValue("field", aggregationOption.field); writer.writeStringValue("@odata.type", aggregationOption.odataType); writer.writeNumberValue("size", aggregationOption.size); diff --git a/src/models/agreement.ts b/src/models/agreement.ts index 9a56ae2eb1f..36f3bb2c32a 100644 --- a/src/models/agreement.ts +++ b/src/models/agreement.ts @@ -61,13 +61,13 @@ export function deserializeIntoAgreement(agreement: Agreement | undefined = {} a } export function serializeAgreement(writer: SerializationWriter, agreement: Agreement | undefined = {} as Agreement) : void { serializeEntity(writer, agreement) - writer.writeCollectionOfObjectValues("acceptances", agreement.acceptances, ); + writer.writeCollectionOfObjectValues("acceptances", agreement.acceptances, serializeAgreementAcceptance); writer.writeStringValue("displayName", agreement.displayName); - writer.writeObjectValue("file", agreement.file, ); - writer.writeCollectionOfObjectValues("files", agreement.files, ); + writer.writeObjectValue("file", agreement.file, serializeAgreementFile); + writer.writeCollectionOfObjectValues("files", agreement.files, serializeAgreementFileLocalization); writer.writeBooleanValue("isPerDeviceAcceptanceRequired", agreement.isPerDeviceAcceptanceRequired); writer.writeBooleanValue("isViewingBeforeAcceptanceRequired", agreement.isViewingBeforeAcceptanceRequired); - writer.writeObjectValue("termsExpiration", agreement.termsExpiration, ); + writer.writeObjectValue("termsExpiration", agreement.termsExpiration, serializeTermsExpiration); writer.writeDurationValue("userReacceptRequiredFrequency", agreement.userReacceptRequiredFrequency); } // tslint:enable diff --git a/src/models/agreementAcceptanceCollectionResponse.ts b/src/models/agreementAcceptanceCollectionResponse.ts index deec63d978a..352b1296e63 100644 --- a/src/models/agreementAcceptanceCollectionResponse.ts +++ b/src/models/agreementAcceptanceCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAgreementAcceptanceCollectionResponse(agreementAc } export function serializeAgreementAcceptanceCollectionResponse(writer: SerializationWriter, agreementAcceptanceCollectionResponse: AgreementAcceptanceCollectionResponse | undefined = {} as AgreementAcceptanceCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, agreementAcceptanceCollectionResponse) - writer.writeCollectionOfObjectValues("value", agreementAcceptanceCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", agreementAcceptanceCollectionResponse.value, serializeAgreementAcceptance); } // tslint:enable // eslint-enable diff --git a/src/models/agreementCollectionResponse.ts b/src/models/agreementCollectionResponse.ts index 823e5aa24ec..e477ad26285 100644 --- a/src/models/agreementCollectionResponse.ts +++ b/src/models/agreementCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAgreementCollectionResponse(agreementCollectionRe } export function serializeAgreementCollectionResponse(writer: SerializationWriter, agreementCollectionResponse: AgreementCollectionResponse | undefined = {} as AgreementCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, agreementCollectionResponse) - writer.writeCollectionOfObjectValues("value", agreementCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", agreementCollectionResponse.value, serializeAgreement); } // tslint:enable // eslint-enable diff --git a/src/models/agreementFile.ts b/src/models/agreementFile.ts index 179823c90ca..06153a01ab2 100644 --- a/src/models/agreementFile.ts +++ b/src/models/agreementFile.ts @@ -23,7 +23,7 @@ export function deserializeIntoAgreementFile(agreementFile: AgreementFile | unde } export function serializeAgreementFile(writer: SerializationWriter, agreementFile: AgreementFile | undefined = {} as AgreementFile) : void { serializeAgreementFileProperties(writer, agreementFile) - writer.writeCollectionOfObjectValues("localizations", agreementFile.localizations, ); + writer.writeCollectionOfObjectValues("localizations", agreementFile.localizations, serializeAgreementFileLocalization); } // tslint:enable // eslint-enable diff --git a/src/models/agreementFileLocalization.ts b/src/models/agreementFileLocalization.ts index 2bc6a55b00e..220d61302e0 100644 --- a/src/models/agreementFileLocalization.ts +++ b/src/models/agreementFileLocalization.ts @@ -23,7 +23,7 @@ export function deserializeIntoAgreementFileLocalization(agreementFileLocalizati } export function serializeAgreementFileLocalization(writer: SerializationWriter, agreementFileLocalization: AgreementFileLocalization | undefined = {} as AgreementFileLocalization) : void { serializeAgreementFileProperties(writer, agreementFileLocalization) - writer.writeCollectionOfObjectValues("versions", agreementFileLocalization.versions, ); + writer.writeCollectionOfObjectValues("versions", agreementFileLocalization.versions, serializeAgreementFileVersion); } // tslint:enable // eslint-enable diff --git a/src/models/agreementFileLocalizationCollectionResponse.ts b/src/models/agreementFileLocalizationCollectionResponse.ts index 0ef422ed5fa..762c786ac72 100644 --- a/src/models/agreementFileLocalizationCollectionResponse.ts +++ b/src/models/agreementFileLocalizationCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAgreementFileLocalizationCollectionResponse(agree } export function serializeAgreementFileLocalizationCollectionResponse(writer: SerializationWriter, agreementFileLocalizationCollectionResponse: AgreementFileLocalizationCollectionResponse | undefined = {} as AgreementFileLocalizationCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, agreementFileLocalizationCollectionResponse) - writer.writeCollectionOfObjectValues("value", agreementFileLocalizationCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", agreementFileLocalizationCollectionResponse.value, serializeAgreementFileLocalization); } // tslint:enable // eslint-enable diff --git a/src/models/agreementFileProperties.ts b/src/models/agreementFileProperties.ts index b6e20f26acc..2c6f0be4e7a 100644 --- a/src/models/agreementFileProperties.ts +++ b/src/models/agreementFileProperties.ts @@ -73,7 +73,7 @@ export function serializeAgreementFileProperties(writer: SerializationWriter, ag serializeEntity(writer, agreementFileProperties) writer.writeDateValue("createdDateTime", agreementFileProperties.createdDateTime); writer.writeStringValue("displayName", agreementFileProperties.displayName); - writer.writeObjectValue("fileData", agreementFileProperties.fileData, ); + writer.writeObjectValue("fileData", agreementFileProperties.fileData, serializeAgreementFileData); writer.writeStringValue("fileName", agreementFileProperties.fileName); writer.writeBooleanValue("isDefault", agreementFileProperties.isDefault); writer.writeBooleanValue("isMajorVersion", agreementFileProperties.isMajorVersion); diff --git a/src/models/agreementFileVersionCollectionResponse.ts b/src/models/agreementFileVersionCollectionResponse.ts index c410f1e5c87..a46e28efa47 100644 --- a/src/models/agreementFileVersionCollectionResponse.ts +++ b/src/models/agreementFileVersionCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAgreementFileVersionCollectionResponse(agreementF } export function serializeAgreementFileVersionCollectionResponse(writer: SerializationWriter, agreementFileVersionCollectionResponse: AgreementFileVersionCollectionResponse | undefined = {} as AgreementFileVersionCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, agreementFileVersionCollectionResponse) - writer.writeCollectionOfObjectValues("value", agreementFileVersionCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", agreementFileVersionCollectionResponse.value, serializeAgreementFileVersion); } // tslint:enable // eslint-enable diff --git a/src/models/alert.ts b/src/models/alert.ts index 0dd9c36a136..1d34a8ea659 100644 --- a/src/models/alert.ts +++ b/src/models/alert.ts @@ -233,13 +233,13 @@ export function deserializeIntoAlert(alert: Alert | undefined = {} as Alert) : R export function serializeAlert(writer: SerializationWriter, alert: Alert | undefined = {} as Alert) : void { serializeEntity(writer, alert) writer.writeStringValue("activityGroupName", alert.activityGroupName); - writer.writeCollectionOfObjectValues("alertDetections", alert.alertDetections, ); + writer.writeCollectionOfObjectValues("alertDetections", alert.alertDetections, serializeAlertDetection); writer.writeStringValue("assignedTo", alert.assignedTo); writer.writeStringValue("azureSubscriptionId", alert.azureSubscriptionId); writer.writeStringValue("azureTenantId", alert.azureTenantId); writer.writeStringValue("category", alert.category); writer.writeDateValue("closedDateTime", alert.closedDateTime); - writer.writeCollectionOfObjectValues("cloudAppStates", alert.cloudAppStates, ); + writer.writeCollectionOfObjectValues("cloudAppStates", alert.cloudAppStates, serializeCloudAppSecurityState); writer.writeCollectionOfPrimitiveValues("comments", alert.comments); writer.writeNumberValue("confidence", alert.confidence); writer.writeDateValue("createdDateTime", alert.createdDateTime); @@ -247,30 +247,30 @@ export function serializeAlert(writer: SerializationWriter, alert: Alert | undef writer.writeCollectionOfPrimitiveValues("detectionIds", alert.detectionIds); writer.writeDateValue("eventDateTime", alert.eventDateTime); writer.writeEnumValue("feedback", alert.feedback); - writer.writeCollectionOfObjectValues("fileStates", alert.fileStates, ); - writer.writeCollectionOfObjectValues("historyStates", alert.historyStates, ); - writer.writeCollectionOfObjectValues("hostStates", alert.hostStates, ); + writer.writeCollectionOfObjectValues("fileStates", alert.fileStates, serializeFileSecurityState); + writer.writeCollectionOfObjectValues("historyStates", alert.historyStates, serializeAlertHistoryState); + writer.writeCollectionOfObjectValues("hostStates", alert.hostStates, serializeHostSecurityState); writer.writeCollectionOfPrimitiveValues("incidentIds", alert.incidentIds); - writer.writeCollectionOfObjectValues("investigationSecurityStates", alert.investigationSecurityStates, ); + writer.writeCollectionOfObjectValues("investigationSecurityStates", alert.investigationSecurityStates, serializeInvestigationSecurityState); writer.writeDateValue("lastEventDateTime", alert.lastEventDateTime); writer.writeDateValue("lastModifiedDateTime", alert.lastModifiedDateTime); - writer.writeCollectionOfObjectValues("malwareStates", alert.malwareStates, ); - writer.writeCollectionOfObjectValues("messageSecurityStates", alert.messageSecurityStates, ); - writer.writeCollectionOfObjectValues("networkConnections", alert.networkConnections, ); - writer.writeCollectionOfObjectValues("processes", alert.processes, ); + writer.writeCollectionOfObjectValues("malwareStates", alert.malwareStates, serializeMalwareState); + writer.writeCollectionOfObjectValues("messageSecurityStates", alert.messageSecurityStates, serializeMessageSecurityState); + writer.writeCollectionOfObjectValues("networkConnections", alert.networkConnections, serializeNetworkConnection); + writer.writeCollectionOfObjectValues("processes", alert.processes, serializeProcess); writer.writeCollectionOfPrimitiveValues("recommendedActions", alert.recommendedActions); - writer.writeCollectionOfObjectValues("registryKeyStates", alert.registryKeyStates, ); - writer.writeCollectionOfObjectValues("securityResources", alert.securityResources, ); + writer.writeCollectionOfObjectValues("registryKeyStates", alert.registryKeyStates, serializeRegistryKeyState); + writer.writeCollectionOfObjectValues("securityResources", alert.securityResources, serializeSecurityResource); writer.writeEnumValue("severity", alert.severity); writer.writeCollectionOfPrimitiveValues("sourceMaterials", alert.sourceMaterials); writer.writeEnumValue("status", alert.status); writer.writeCollectionOfPrimitiveValues("tags", alert.tags); writer.writeStringValue("title", alert.title); - writer.writeCollectionOfObjectValues("triggers", alert.triggers, ); - writer.writeCollectionOfObjectValues("uriClickSecurityStates", alert.uriClickSecurityStates, ); - writer.writeCollectionOfObjectValues("userStates", alert.userStates, ); - writer.writeObjectValue("vendorInformation", alert.vendorInformation, ); - writer.writeCollectionOfObjectValues("vulnerabilityStates", alert.vulnerabilityStates, ); + writer.writeCollectionOfObjectValues("triggers", alert.triggers, serializeAlertTrigger); + writer.writeCollectionOfObjectValues("uriClickSecurityStates", alert.uriClickSecurityStates, serializeUriClickSecurityState); + writer.writeCollectionOfObjectValues("userStates", alert.userStates, serializeUserSecurityState); + writer.writeObjectValue("vendorInformation", alert.vendorInformation, serializeSecurityVendorInformation); + writer.writeCollectionOfObjectValues("vulnerabilityStates", alert.vulnerabilityStates, serializeVulnerabilityState); } // tslint:enable // eslint-enable diff --git a/src/models/alertCollectionResponse.ts b/src/models/alertCollectionResponse.ts index 4e44caf85e7..6c3bfc24d52 100644 --- a/src/models/alertCollectionResponse.ts +++ b/src/models/alertCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAlertCollectionResponse(alertCollectionResponse: } export function serializeAlertCollectionResponse(writer: SerializationWriter, alertCollectionResponse: AlertCollectionResponse | undefined = {} as AlertCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, alertCollectionResponse) - writer.writeCollectionOfObjectValues("value", alertCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", alertCollectionResponse.value, serializeAlert); } // tslint:enable // eslint-enable diff --git a/src/models/allowedValueCollectionResponse.ts b/src/models/allowedValueCollectionResponse.ts index 2bcf4ce7823..8f6297c61d9 100644 --- a/src/models/allowedValueCollectionResponse.ts +++ b/src/models/allowedValueCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAllowedValueCollectionResponse(allowedValueCollec } export function serializeAllowedValueCollectionResponse(writer: SerializationWriter, allowedValueCollectionResponse: AllowedValueCollectionResponse | undefined = {} as AllowedValueCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, allowedValueCollectionResponse) - writer.writeCollectionOfObjectValues("value", allowedValueCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", allowedValueCollectionResponse.value, serializeAllowedValue); } // tslint:enable // eslint-enable diff --git a/src/models/alterationResponse.ts b/src/models/alterationResponse.ts index 67f0c8e7abe..9034f649629 100644 --- a/src/models/alterationResponse.ts +++ b/src/models/alterationResponse.ts @@ -42,7 +42,7 @@ export function deserializeIntoAlterationResponse(alterationResponse: Alteration export function serializeAlterationResponse(writer: SerializationWriter, alterationResponse: AlterationResponse | undefined = {} as AlterationResponse) : void { writer.writeStringValue("@odata.type", alterationResponse.odataType); writer.writeStringValue("originalQueryString", alterationResponse.originalQueryString); - writer.writeObjectValue("queryAlteration", alterationResponse.queryAlteration, ); + writer.writeObjectValue("queryAlteration", alterationResponse.queryAlteration, serializeSearchAlteration); writer.writeEnumValue("queryAlterationType", alterationResponse.queryAlterationType); writer.writeAdditionalData(alterationResponse.additionalData); } diff --git a/src/models/androidCustomConfiguration.ts b/src/models/androidCustomConfiguration.ts index de02a4b71e1..35681d3884e 100644 --- a/src/models/androidCustomConfiguration.ts +++ b/src/models/androidCustomConfiguration.ts @@ -23,7 +23,7 @@ export function deserializeIntoAndroidCustomConfiguration(androidCustomConfigura } export function serializeAndroidCustomConfiguration(writer: SerializationWriter, androidCustomConfiguration: AndroidCustomConfiguration | undefined = {} as AndroidCustomConfiguration) : void { serializeDeviceConfiguration(writer, androidCustomConfiguration) - writer.writeCollectionOfObjectValues("omaSettings", androidCustomConfiguration.omaSettings, ); + writer.writeCollectionOfObjectValues("omaSettings", androidCustomConfiguration.omaSettings, serializeOmaSetting); } // tslint:enable // eslint-enable diff --git a/src/models/androidGeneralDeviceConfiguration.ts b/src/models/androidGeneralDeviceConfiguration.ts index 37c6955a642..4d852cc6f25 100644 --- a/src/models/androidGeneralDeviceConfiguration.ts +++ b/src/models/androidGeneralDeviceConfiguration.ts @@ -264,9 +264,9 @@ export function serializeAndroidGeneralDeviceConfiguration(writer: Serialization writer.writeBooleanValue("appsBlockClipboardSharing", androidGeneralDeviceConfiguration.appsBlockClipboardSharing); writer.writeBooleanValue("appsBlockCopyPaste", androidGeneralDeviceConfiguration.appsBlockCopyPaste); writer.writeBooleanValue("appsBlockYouTube", androidGeneralDeviceConfiguration.appsBlockYouTube); - writer.writeCollectionOfObjectValues("appsHideList", androidGeneralDeviceConfiguration.appsHideList, ); - writer.writeCollectionOfObjectValues("appsInstallAllowList", androidGeneralDeviceConfiguration.appsInstallAllowList, ); - writer.writeCollectionOfObjectValues("appsLaunchBlockList", androidGeneralDeviceConfiguration.appsLaunchBlockList, ); + writer.writeCollectionOfObjectValues("appsHideList", androidGeneralDeviceConfiguration.appsHideList, serializeAppListItem); + writer.writeCollectionOfObjectValues("appsInstallAllowList", androidGeneralDeviceConfiguration.appsInstallAllowList, serializeAppListItem); + writer.writeCollectionOfObjectValues("appsLaunchBlockList", androidGeneralDeviceConfiguration.appsLaunchBlockList, serializeAppListItem); writer.writeBooleanValue("bluetoothBlocked", androidGeneralDeviceConfiguration.bluetoothBlocked); writer.writeBooleanValue("cameraBlocked", androidGeneralDeviceConfiguration.cameraBlocked); writer.writeBooleanValue("cellularBlockDataRoaming", androidGeneralDeviceConfiguration.cellularBlockDataRoaming); @@ -274,13 +274,13 @@ export function serializeAndroidGeneralDeviceConfiguration(writer: Serialization writer.writeBooleanValue("cellularBlockVoiceRoaming", androidGeneralDeviceConfiguration.cellularBlockVoiceRoaming); writer.writeBooleanValue("cellularBlockWiFiTethering", androidGeneralDeviceConfiguration.cellularBlockWiFiTethering); writer.writeEnumValue("compliantAppListType", androidGeneralDeviceConfiguration.compliantAppListType); - writer.writeCollectionOfObjectValues("compliantAppsList", androidGeneralDeviceConfiguration.compliantAppsList, ); + writer.writeCollectionOfObjectValues("compliantAppsList", androidGeneralDeviceConfiguration.compliantAppsList, serializeAppListItem); writer.writeBooleanValue("deviceSharingAllowed", androidGeneralDeviceConfiguration.deviceSharingAllowed); writer.writeBooleanValue("diagnosticDataBlockSubmission", androidGeneralDeviceConfiguration.diagnosticDataBlockSubmission); writer.writeBooleanValue("factoryResetBlocked", androidGeneralDeviceConfiguration.factoryResetBlocked); writer.writeBooleanValue("googleAccountBlockAutoSync", androidGeneralDeviceConfiguration.googleAccountBlockAutoSync); writer.writeBooleanValue("googlePlayStoreBlocked", androidGeneralDeviceConfiguration.googlePlayStoreBlocked); - writer.writeCollectionOfObjectValues("kioskModeApps", androidGeneralDeviceConfiguration.kioskModeApps, ); + writer.writeCollectionOfObjectValues("kioskModeApps", androidGeneralDeviceConfiguration.kioskModeApps, serializeAppListItem); writer.writeBooleanValue("kioskModeBlockSleepButton", androidGeneralDeviceConfiguration.kioskModeBlockSleepButton); writer.writeBooleanValue("kioskModeBlockVolumeButtons", androidGeneralDeviceConfiguration.kioskModeBlockVolumeButtons); writer.writeBooleanValue("locationServicesBlocked", androidGeneralDeviceConfiguration.locationServicesBlocked); diff --git a/src/models/androidLobApp.ts b/src/models/androidLobApp.ts index d3aeedbbd71..7b68ba39c5e 100644 --- a/src/models/androidLobApp.ts +++ b/src/models/androidLobApp.ts @@ -38,7 +38,7 @@ export function deserializeIntoAndroidLobApp(androidLobApp: AndroidLobApp | unde } export function serializeAndroidLobApp(writer: SerializationWriter, androidLobApp: AndroidLobApp | undefined = {} as AndroidLobApp) : void { serializeMobileLobApp(writer, androidLobApp) - writer.writeObjectValue("minimumSupportedOperatingSystem", androidLobApp.minimumSupportedOperatingSystem, ); + writer.writeObjectValue("minimumSupportedOperatingSystem", androidLobApp.minimumSupportedOperatingSystem, serializeAndroidMinimumOperatingSystem); writer.writeStringValue("packageId", androidLobApp.packageId); writer.writeStringValue("versionCode", androidLobApp.versionCode); writer.writeStringValue("versionName", androidLobApp.versionName); diff --git a/src/models/androidLobAppCollectionResponse.ts b/src/models/androidLobAppCollectionResponse.ts index 36265a157dc..c2c362b641b 100644 --- a/src/models/androidLobAppCollectionResponse.ts +++ b/src/models/androidLobAppCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAndroidLobAppCollectionResponse(androidLobAppColl } export function serializeAndroidLobAppCollectionResponse(writer: SerializationWriter, androidLobAppCollectionResponse: AndroidLobAppCollectionResponse | undefined = {} as AndroidLobAppCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, androidLobAppCollectionResponse) - writer.writeCollectionOfObjectValues("value", androidLobAppCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", androidLobAppCollectionResponse.value, serializeAndroidLobApp); } // tslint:enable // eslint-enable diff --git a/src/models/androidManagedAppProtection.ts b/src/models/androidManagedAppProtection.ts index 1830780119d..cf1a181db27 100644 --- a/src/models/androidManagedAppProtection.ts +++ b/src/models/androidManagedAppProtection.ts @@ -69,11 +69,11 @@ export function deserializeIntoAndroidManagedAppProtection(androidManagedAppProt } export function serializeAndroidManagedAppProtection(writer: SerializationWriter, androidManagedAppProtection: AndroidManagedAppProtection | undefined = {} as AndroidManagedAppProtection) : void { serializeTargetedManagedAppProtection(writer, androidManagedAppProtection) - writer.writeCollectionOfObjectValues("apps", androidManagedAppProtection.apps, ); + writer.writeCollectionOfObjectValues("apps", androidManagedAppProtection.apps, serializeManagedMobileApp); writer.writeStringValue("customBrowserDisplayName", androidManagedAppProtection.customBrowserDisplayName); writer.writeStringValue("customBrowserPackageId", androidManagedAppProtection.customBrowserPackageId); writer.writeNumberValue("deployedAppCount", androidManagedAppProtection.deployedAppCount); - writer.writeObjectValue("deploymentSummary", androidManagedAppProtection.deploymentSummary, ); + writer.writeObjectValue("deploymentSummary", androidManagedAppProtection.deploymentSummary, serializeManagedAppPolicyDeploymentSummary); writer.writeBooleanValue("disableAppEncryptionIfDeviceEncryptionIsEnabled", androidManagedAppProtection.disableAppEncryptionIfDeviceEncryptionIsEnabled); writer.writeBooleanValue("encryptAppData", androidManagedAppProtection.encryptAppData); writer.writeStringValue("minimumRequiredPatchVersion", androidManagedAppProtection.minimumRequiredPatchVersion); diff --git a/src/models/androidManagedAppProtectionCollectionResponse.ts b/src/models/androidManagedAppProtectionCollectionResponse.ts index 1cbc602bdce..1a637adef5c 100644 --- a/src/models/androidManagedAppProtectionCollectionResponse.ts +++ b/src/models/androidManagedAppProtectionCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAndroidManagedAppProtectionCollectionResponse(and } export function serializeAndroidManagedAppProtectionCollectionResponse(writer: SerializationWriter, androidManagedAppProtectionCollectionResponse: AndroidManagedAppProtectionCollectionResponse | undefined = {} as AndroidManagedAppProtectionCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, androidManagedAppProtectionCollectionResponse) - writer.writeCollectionOfObjectValues("value", androidManagedAppProtectionCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", androidManagedAppProtectionCollectionResponse.value, serializeAndroidManagedAppProtection); } // tslint:enable // eslint-enable diff --git a/src/models/androidStoreApp.ts b/src/models/androidStoreApp.ts index 9e9aa2647fd..8cc0d98eb7f 100644 --- a/src/models/androidStoreApp.ts +++ b/src/models/androidStoreApp.ts @@ -34,7 +34,7 @@ export function deserializeIntoAndroidStoreApp(androidStoreApp: AndroidStoreApp export function serializeAndroidStoreApp(writer: SerializationWriter, androidStoreApp: AndroidStoreApp | undefined = {} as AndroidStoreApp) : void { serializeMobileApp(writer, androidStoreApp) writer.writeStringValue("appStoreUrl", androidStoreApp.appStoreUrl); - writer.writeObjectValue("minimumSupportedOperatingSystem", androidStoreApp.minimumSupportedOperatingSystem, ); + writer.writeObjectValue("minimumSupportedOperatingSystem", androidStoreApp.minimumSupportedOperatingSystem, serializeAndroidMinimumOperatingSystem); writer.writeStringValue("packageId", androidStoreApp.packageId); } // tslint:enable diff --git a/src/models/androidStoreAppCollectionResponse.ts b/src/models/androidStoreAppCollectionResponse.ts index 606f1c1d03a..33030f1a5e3 100644 --- a/src/models/androidStoreAppCollectionResponse.ts +++ b/src/models/androidStoreAppCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAndroidStoreAppCollectionResponse(androidStoreApp } export function serializeAndroidStoreAppCollectionResponse(writer: SerializationWriter, androidStoreAppCollectionResponse: AndroidStoreAppCollectionResponse | undefined = {} as AndroidStoreAppCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, androidStoreAppCollectionResponse) - writer.writeCollectionOfObjectValues("value", androidStoreAppCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", androidStoreAppCollectionResponse.value, serializeAndroidStoreApp); } // tslint:enable // eslint-enable diff --git a/src/models/androidWorkProfileCustomConfiguration.ts b/src/models/androidWorkProfileCustomConfiguration.ts index 9905fe1a583..5a4d506b96c 100644 --- a/src/models/androidWorkProfileCustomConfiguration.ts +++ b/src/models/androidWorkProfileCustomConfiguration.ts @@ -23,7 +23,7 @@ export function deserializeIntoAndroidWorkProfileCustomConfiguration(androidWork } export function serializeAndroidWorkProfileCustomConfiguration(writer: SerializationWriter, androidWorkProfileCustomConfiguration: AndroidWorkProfileCustomConfiguration | undefined = {} as AndroidWorkProfileCustomConfiguration) : void { serializeDeviceConfiguration(writer, androidWorkProfileCustomConfiguration) - writer.writeCollectionOfObjectValues("omaSettings", androidWorkProfileCustomConfiguration.omaSettings, ); + writer.writeCollectionOfObjectValues("omaSettings", androidWorkProfileCustomConfiguration.omaSettings, serializeOmaSetting); } // tslint:enable // eslint-enable diff --git a/src/models/apiApplication.ts b/src/models/apiApplication.ts index 7d880a25bdd..483998106c5 100644 --- a/src/models/apiApplication.ts +++ b/src/models/apiApplication.ts @@ -53,9 +53,9 @@ export function deserializeIntoApiApplication(apiApplication: ApiApplication | u export function serializeApiApplication(writer: SerializationWriter, apiApplication: ApiApplication | undefined = {} as ApiApplication) : void { writer.writeBooleanValue("acceptMappedClaims", apiApplication.acceptMappedClaims); writer.writeCollectionOfPrimitiveValues("knownClientApplications", apiApplication.knownClientApplications); - writer.writeCollectionOfObjectValues("oauth2PermissionScopes", apiApplication.oauth2PermissionScopes, ); + writer.writeCollectionOfObjectValues("oauth2PermissionScopes", apiApplication.oauth2PermissionScopes, serializePermissionScope); writer.writeStringValue("@odata.type", apiApplication.odataType); - writer.writeCollectionOfObjectValues("preAuthorizedApplications", apiApplication.preAuthorizedApplications, ); + writer.writeCollectionOfObjectValues("preAuthorizedApplications", apiApplication.preAuthorizedApplications, serializePreAuthorizedApplication); writer.writeNumberValue("requestedAccessTokenVersion", apiApplication.requestedAccessTokenVersion); writer.writeAdditionalData(apiApplication.additionalData); } diff --git a/src/models/appCatalogs.ts b/src/models/appCatalogs.ts index b377e16bea2..de9746ea2a0 100644 --- a/src/models/appCatalogs.ts +++ b/src/models/appCatalogs.ts @@ -23,7 +23,7 @@ export function deserializeIntoAppCatalogs(appCatalogs: AppCatalogs | undefined } export function serializeAppCatalogs(writer: SerializationWriter, appCatalogs: AppCatalogs | undefined = {} as AppCatalogs) : void { serializeEntity(writer, appCatalogs) - writer.writeCollectionOfObjectValues("teamsApps", appCatalogs.teamsApps, ); + writer.writeCollectionOfObjectValues("teamsApps", appCatalogs.teamsApps, serializeTeamsApp); } // tslint:enable // eslint-enable diff --git a/src/models/appConsentApprovalRoute.ts b/src/models/appConsentApprovalRoute.ts index 7354fa076a2..bbdd8f48bef 100644 --- a/src/models/appConsentApprovalRoute.ts +++ b/src/models/appConsentApprovalRoute.ts @@ -23,7 +23,7 @@ export function deserializeIntoAppConsentApprovalRoute(appConsentApprovalRoute: } export function serializeAppConsentApprovalRoute(writer: SerializationWriter, appConsentApprovalRoute: AppConsentApprovalRoute | undefined = {} as AppConsentApprovalRoute) : void { serializeEntity(writer, appConsentApprovalRoute) - writer.writeCollectionOfObjectValues("appConsentRequests", appConsentApprovalRoute.appConsentRequests, ); + writer.writeCollectionOfObjectValues("appConsentRequests", appConsentApprovalRoute.appConsentRequests, serializeAppConsentRequest); } // tslint:enable // eslint-enable diff --git a/src/models/appConsentRequest.ts b/src/models/appConsentRequest.ts index e83804935aa..71640b8e332 100644 --- a/src/models/appConsentRequest.ts +++ b/src/models/appConsentRequest.ts @@ -41,8 +41,8 @@ export function serializeAppConsentRequest(writer: SerializationWriter, appConse serializeEntity(writer, appConsentRequest) writer.writeStringValue("appDisplayName", appConsentRequest.appDisplayName); writer.writeStringValue("appId", appConsentRequest.appId); - writer.writeCollectionOfObjectValues("pendingScopes", appConsentRequest.pendingScopes, ); - writer.writeCollectionOfObjectValues("userConsentRequests", appConsentRequest.userConsentRequests, ); + writer.writeCollectionOfObjectValues("pendingScopes", appConsentRequest.pendingScopes, serializeAppConsentRequestScope); + writer.writeCollectionOfObjectValues("userConsentRequests", appConsentRequest.userConsentRequests, serializeUserConsentRequest); } // tslint:enable // eslint-enable diff --git a/src/models/appConsentRequestCollectionResponse.ts b/src/models/appConsentRequestCollectionResponse.ts index f69e4d2dc6c..7e80e8fb012 100644 --- a/src/models/appConsentRequestCollectionResponse.ts +++ b/src/models/appConsentRequestCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAppConsentRequestCollectionResponse(appConsentReq } export function serializeAppConsentRequestCollectionResponse(writer: SerializationWriter, appConsentRequestCollectionResponse: AppConsentRequestCollectionResponse | undefined = {} as AppConsentRequestCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, appConsentRequestCollectionResponse) - writer.writeCollectionOfObjectValues("value", appConsentRequestCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", appConsentRequestCollectionResponse.value, serializeAppConsentRequest); } // tslint:enable // eslint-enable diff --git a/src/models/appLogCollectionRequestCollectionResponse.ts b/src/models/appLogCollectionRequestCollectionResponse.ts index 56f8fdb1a01..8d8bbcd9015 100644 --- a/src/models/appLogCollectionRequestCollectionResponse.ts +++ b/src/models/appLogCollectionRequestCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAppLogCollectionRequestCollectionResponse(appLogC } export function serializeAppLogCollectionRequestCollectionResponse(writer: SerializationWriter, appLogCollectionRequestCollectionResponse: AppLogCollectionRequestCollectionResponse | undefined = {} as AppLogCollectionRequestCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, appLogCollectionRequestCollectionResponse) - writer.writeCollectionOfObjectValues("value", appLogCollectionRequestCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", appLogCollectionRequestCollectionResponse.value, serializeAppLogCollectionRequest); } // tslint:enable // eslint-enable diff --git a/src/models/appManagementConfiguration.ts b/src/models/appManagementConfiguration.ts index 72303a6330f..218c89edda6 100644 --- a/src/models/appManagementConfiguration.ts +++ b/src/models/appManagementConfiguration.ts @@ -35,9 +35,9 @@ export function deserializeIntoAppManagementConfiguration(appManagementConfigura } } export function serializeAppManagementConfiguration(writer: SerializationWriter, appManagementConfiguration: AppManagementConfiguration | undefined = {} as AppManagementConfiguration) : void { - writer.writeCollectionOfObjectValues("keyCredentials", appManagementConfiguration.keyCredentials, ); + writer.writeCollectionOfObjectValues("keyCredentials", appManagementConfiguration.keyCredentials, serializeKeyCredentialConfiguration); writer.writeStringValue("@odata.type", appManagementConfiguration.odataType); - writer.writeCollectionOfObjectValues("passwordCredentials", appManagementConfiguration.passwordCredentials, ); + writer.writeCollectionOfObjectValues("passwordCredentials", appManagementConfiguration.passwordCredentials, serializePasswordCredentialConfiguration); writer.writeAdditionalData(appManagementConfiguration.additionalData); } // tslint:enable diff --git a/src/models/appManagementPolicy.ts b/src/models/appManagementPolicy.ts index db3faab2bbc..c17bf23f1e5 100644 --- a/src/models/appManagementPolicy.ts +++ b/src/models/appManagementPolicy.ts @@ -34,9 +34,9 @@ export function deserializeIntoAppManagementPolicy(appManagementPolicy: AppManag } export function serializeAppManagementPolicy(writer: SerializationWriter, appManagementPolicy: AppManagementPolicy | undefined = {} as AppManagementPolicy) : void { serializePolicyBase(writer, appManagementPolicy) - writer.writeCollectionOfObjectValues("appliesTo", appManagementPolicy.appliesTo, ); + writer.writeCollectionOfObjectValues("appliesTo", appManagementPolicy.appliesTo, serializeDirectoryObject); writer.writeBooleanValue("isEnabled", appManagementPolicy.isEnabled); - writer.writeObjectValue("restrictions", appManagementPolicy.restrictions, ); + writer.writeObjectValue("restrictions", appManagementPolicy.restrictions, serializeAppManagementConfiguration); } // tslint:enable // eslint-enable diff --git a/src/models/appManagementPolicyCollectionResponse.ts b/src/models/appManagementPolicyCollectionResponse.ts index 314f2e7c70d..92740637663 100644 --- a/src/models/appManagementPolicyCollectionResponse.ts +++ b/src/models/appManagementPolicyCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAppManagementPolicyCollectionResponse(appManageme } export function serializeAppManagementPolicyCollectionResponse(writer: SerializationWriter, appManagementPolicyCollectionResponse: AppManagementPolicyCollectionResponse | undefined = {} as AppManagementPolicyCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, appManagementPolicyCollectionResponse) - writer.writeCollectionOfObjectValues("value", appManagementPolicyCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", appManagementPolicyCollectionResponse.value, serializeAppManagementPolicy); } // tslint:enable // eslint-enable diff --git a/src/models/appRoleAssignmentCollectionResponse.ts b/src/models/appRoleAssignmentCollectionResponse.ts index 309d4330206..7ba551a5d97 100644 --- a/src/models/appRoleAssignmentCollectionResponse.ts +++ b/src/models/appRoleAssignmentCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAppRoleAssignmentCollectionResponse(appRoleAssign } export function serializeAppRoleAssignmentCollectionResponse(writer: SerializationWriter, appRoleAssignmentCollectionResponse: AppRoleAssignmentCollectionResponse | undefined = {} as AppRoleAssignmentCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, appRoleAssignmentCollectionResponse) - writer.writeCollectionOfObjectValues("value", appRoleAssignmentCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", appRoleAssignmentCollectionResponse.value, serializeAppRoleAssignment); } // tslint:enable // eslint-enable diff --git a/src/models/application.ts b/src/models/application.ts index 978ef085377..d528dee53b9 100644 --- a/src/models/application.ts +++ b/src/models/application.ts @@ -266,51 +266,51 @@ export function deserializeIntoApplication(application: Application | undefined } export function serializeApplication(writer: SerializationWriter, application: Application | undefined = {} as Application) : void { serializeDirectoryObject(writer, application) - writer.writeCollectionOfObjectValues("addIns", application.addIns, ); - writer.writeObjectValue("api", application.api, ); + writer.writeCollectionOfObjectValues("addIns", application.addIns, serializeAddIn); + writer.writeObjectValue("api", application.api, serializeApiApplication); writer.writeStringValue("appId", application.appId); writer.writeStringValue("applicationTemplateId", application.applicationTemplateId); - writer.writeCollectionOfObjectValues("appManagementPolicies", application.appManagementPolicies, ); - writer.writeCollectionOfObjectValues("appRoles", application.appRoles, ); - writer.writeObjectValue("certification", application.certification, ); + writer.writeCollectionOfObjectValues("appManagementPolicies", application.appManagementPolicies, serializeAppManagementPolicy); + writer.writeCollectionOfObjectValues("appRoles", application.appRoles, serializeAppRole); + writer.writeObjectValue("certification", application.certification, serializeCertification); writer.writeDateValue("createdDateTime", application.createdDateTime); - writer.writeObjectValue("createdOnBehalfOf", application.createdOnBehalfOf, ); + writer.writeObjectValue("createdOnBehalfOf", application.createdOnBehalfOf, serializeDirectoryObject); writer.writeStringValue("defaultRedirectUri", application.defaultRedirectUri); writer.writeStringValue("description", application.description); writer.writeStringValue("disabledByMicrosoftStatus", application.disabledByMicrosoftStatus); writer.writeStringValue("displayName", application.displayName); - writer.writeCollectionOfObjectValues("extensionProperties", application.extensionProperties, ); - writer.writeCollectionOfObjectValues("federatedIdentityCredentials", application.federatedIdentityCredentials, ); + writer.writeCollectionOfObjectValues("extensionProperties", application.extensionProperties, serializeExtensionProperty); + writer.writeCollectionOfObjectValues("federatedIdentityCredentials", application.federatedIdentityCredentials, serializeFederatedIdentityCredential); writer.writeStringValue("groupMembershipClaims", application.groupMembershipClaims); - writer.writeCollectionOfObjectValues("homeRealmDiscoveryPolicies", application.homeRealmDiscoveryPolicies, ); + writer.writeCollectionOfObjectValues("homeRealmDiscoveryPolicies", application.homeRealmDiscoveryPolicies, serializeHomeRealmDiscoveryPolicy); writer.writeCollectionOfPrimitiveValues("identifierUris", application.identifierUris); - writer.writeObjectValue("info", application.info, ); + writer.writeObjectValue("info", application.info, serializeInformationalUrl); writer.writeBooleanValue("isDeviceOnlyAuthSupported", application.isDeviceOnlyAuthSupported); writer.writeBooleanValue("isFallbackPublicClient", application.isFallbackPublicClient); - writer.writeCollectionOfObjectValues("keyCredentials", application.keyCredentials, ); + writer.writeCollectionOfObjectValues("keyCredentials", application.keyCredentials, serializeKeyCredential); writer.writeStringValue("logo", application.logo); writer.writeStringValue("notes", application.notes); writer.writeBooleanValue("oauth2RequirePostResponse", application.oauth2RequirePostResponse); - writer.writeObjectValue("optionalClaims", application.optionalClaims, ); - writer.writeCollectionOfObjectValues("owners", application.owners, ); - writer.writeObjectValue("parentalControlSettings", application.parentalControlSettings, ); - writer.writeCollectionOfObjectValues("passwordCredentials", application.passwordCredentials, ); - writer.writeObjectValue("publicClient", application.publicClient, ); + writer.writeObjectValue("optionalClaims", application.optionalClaims, serializeOptionalClaims); + writer.writeCollectionOfObjectValues("owners", application.owners, serializeDirectoryObject); + writer.writeObjectValue("parentalControlSettings", application.parentalControlSettings, serializeParentalControlSettings); + writer.writeCollectionOfObjectValues("passwordCredentials", application.passwordCredentials, serializePasswordCredential); + writer.writeObjectValue("publicClient", application.publicClient, serializePublicClientApplication); writer.writeStringValue("publisherDomain", application.publisherDomain); - writer.writeObjectValue("requestSignatureVerification", application.requestSignatureVerification, ); - writer.writeCollectionOfObjectValues("requiredResourceAccess", application.requiredResourceAccess, ); + writer.writeObjectValue("requestSignatureVerification", application.requestSignatureVerification, serializeRequestSignatureVerification); + writer.writeCollectionOfObjectValues("requiredResourceAccess", application.requiredResourceAccess, serializeRequiredResourceAccess); writer.writeStringValue("samlMetadataUrl", application.samlMetadataUrl); writer.writeStringValue("serviceManagementReference", application.serviceManagementReference); - writer.writeObjectValue("servicePrincipalLockConfiguration", application.servicePrincipalLockConfiguration, ); + writer.writeObjectValue("servicePrincipalLockConfiguration", application.servicePrincipalLockConfiguration, serializeServicePrincipalLockConfiguration); writer.writeStringValue("signInAudience", application.signInAudience); - writer.writeObjectValue("spa", application.spa, ); - writer.writeObjectValue("synchronization", application.synchronization, ); + writer.writeObjectValue("spa", application.spa, serializeSpaApplication); + writer.writeObjectValue("synchronization", application.synchronization, serializeSynchronization); writer.writeCollectionOfPrimitiveValues("tags", application.tags); writer.writeGuidValue("tokenEncryptionKeyId", application.tokenEncryptionKeyId); - writer.writeCollectionOfObjectValues("tokenIssuancePolicies", application.tokenIssuancePolicies, ); - writer.writeCollectionOfObjectValues("tokenLifetimePolicies", application.tokenLifetimePolicies, ); - writer.writeObjectValue("verifiedPublisher", application.verifiedPublisher, ); - writer.writeObjectValue("web", application.web, ); + writer.writeCollectionOfObjectValues("tokenIssuancePolicies", application.tokenIssuancePolicies, serializeTokenIssuancePolicy); + writer.writeCollectionOfObjectValues("tokenLifetimePolicies", application.tokenLifetimePolicies, serializeTokenLifetimePolicy); + writer.writeObjectValue("verifiedPublisher", application.verifiedPublisher, serializeVerifiedPublisher); + writer.writeObjectValue("web", application.web, serializeWebApplication); } // tslint:enable // eslint-enable diff --git a/src/models/applicationCollectionResponse.ts b/src/models/applicationCollectionResponse.ts index 3b19d96149f..6b427ac3fcc 100644 --- a/src/models/applicationCollectionResponse.ts +++ b/src/models/applicationCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoApplicationCollectionResponse(applicationCollecti } export function serializeApplicationCollectionResponse(writer: SerializationWriter, applicationCollectionResponse: ApplicationCollectionResponse | undefined = {} as ApplicationCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, applicationCollectionResponse) - writer.writeCollectionOfObjectValues("value", applicationCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", applicationCollectionResponse.value, serializeApplication); } // tslint:enable // eslint-enable diff --git a/src/models/applicationServicePrincipal.ts b/src/models/applicationServicePrincipal.ts index 49d55f1b240..2342b9c63d7 100644 --- a/src/models/applicationServicePrincipal.ts +++ b/src/models/applicationServicePrincipal.ts @@ -35,9 +35,9 @@ export function deserializeIntoApplicationServicePrincipal(applicationServicePri } } export function serializeApplicationServicePrincipal(writer: SerializationWriter, applicationServicePrincipal: ApplicationServicePrincipal | undefined = {} as ApplicationServicePrincipal) : void { - writer.writeObjectValue("application", applicationServicePrincipal.application, ); + writer.writeObjectValue("application", applicationServicePrincipal.application, serializeApplication); writer.writeStringValue("@odata.type", applicationServicePrincipal.odataType); - writer.writeObjectValue("servicePrincipal", applicationServicePrincipal.servicePrincipal, ); + writer.writeObjectValue("servicePrincipal", applicationServicePrincipal.servicePrincipal, serializeServicePrincipal); writer.writeAdditionalData(applicationServicePrincipal.additionalData); } // tslint:enable diff --git a/src/models/applicationTemplateCollectionResponse.ts b/src/models/applicationTemplateCollectionResponse.ts index 74dbd41bf92..4ba7af52da9 100644 --- a/src/models/applicationTemplateCollectionResponse.ts +++ b/src/models/applicationTemplateCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoApplicationTemplateCollectionResponse(application } export function serializeApplicationTemplateCollectionResponse(writer: SerializationWriter, applicationTemplateCollectionResponse: ApplicationTemplateCollectionResponse | undefined = {} as ApplicationTemplateCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, applicationTemplateCollectionResponse) - writer.writeCollectionOfObjectValues("value", applicationTemplateCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", applicationTemplateCollectionResponse.value, serializeApplicationTemplate); } // tslint:enable // eslint-enable diff --git a/src/models/approval.ts b/src/models/approval.ts index c67aa140879..461bd4bd72d 100644 --- a/src/models/approval.ts +++ b/src/models/approval.ts @@ -23,7 +23,7 @@ export function deserializeIntoApproval(approval: Approval | undefined = {} as A } export function serializeApproval(writer: SerializationWriter, approval: Approval | undefined = {} as Approval) : void { serializeEntity(writer, approval) - writer.writeCollectionOfObjectValues("stages", approval.stages, ); + writer.writeCollectionOfObjectValues("stages", approval.stages, serializeApprovalStage); } // tslint:enable // eslint-enable diff --git a/src/models/approvalCollectionResponse.ts b/src/models/approvalCollectionResponse.ts index 90a3ab48b8c..e7710afce3b 100644 --- a/src/models/approvalCollectionResponse.ts +++ b/src/models/approvalCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoApprovalCollectionResponse(approvalCollectionResp } export function serializeApprovalCollectionResponse(writer: SerializationWriter, approvalCollectionResponse: ApprovalCollectionResponse | undefined = {} as ApprovalCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, approvalCollectionResponse) - writer.writeCollectionOfObjectValues("value", approvalCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", approvalCollectionResponse.value, serializeApproval); } // tslint:enable // eslint-enable diff --git a/src/models/approvalSettings.ts b/src/models/approvalSettings.ts index 4678db7526e..c2a8da5db9e 100644 --- a/src/models/approvalSettings.ts +++ b/src/models/approvalSettings.ts @@ -50,7 +50,7 @@ export function deserializeIntoApprovalSettings(approvalSettings: ApprovalSettin } export function serializeApprovalSettings(writer: SerializationWriter, approvalSettings: ApprovalSettings | undefined = {} as ApprovalSettings) : void { writer.writeStringValue("approvalMode", approvalSettings.approvalMode); - writer.writeCollectionOfObjectValues("approvalStages", approvalSettings.approvalStages, ); + writer.writeCollectionOfObjectValues("approvalStages", approvalSettings.approvalStages, serializeUnifiedApprovalStage); writer.writeBooleanValue("isApprovalRequired", approvalSettings.isApprovalRequired); writer.writeBooleanValue("isApprovalRequiredForExtension", approvalSettings.isApprovalRequiredForExtension); writer.writeBooleanValue("isRequestorJustificationRequired", approvalSettings.isRequestorJustificationRequired); diff --git a/src/models/approvalStage.ts b/src/models/approvalStage.ts index 3937f98447d..7126e3d77e3 100644 --- a/src/models/approvalStage.ts +++ b/src/models/approvalStage.ts @@ -56,7 +56,7 @@ export function serializeApprovalStage(writer: SerializationWriter, approvalStag writer.writeBooleanValue("assignedToMe", approvalStage.assignedToMe); writer.writeStringValue("displayName", approvalStage.displayName); writer.writeStringValue("justification", approvalStage.justification); - writer.writeObjectValue("reviewedBy", approvalStage.reviewedBy, ); + writer.writeObjectValue("reviewedBy", approvalStage.reviewedBy, serializeIdentity); writer.writeDateValue("reviewedDateTime", approvalStage.reviewedDateTime); writer.writeStringValue("reviewResult", approvalStage.reviewResult); writer.writeStringValue("status", approvalStage.status); diff --git a/src/models/approvalStageCollectionResponse.ts b/src/models/approvalStageCollectionResponse.ts index 47d509724df..fb8ecd64046 100644 --- a/src/models/approvalStageCollectionResponse.ts +++ b/src/models/approvalStageCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoApprovalStageCollectionResponse(approvalStageColl } export function serializeApprovalStageCollectionResponse(writer: SerializationWriter, approvalStageCollectionResponse: ApprovalStageCollectionResponse | undefined = {} as ApprovalStageCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, approvalStageCollectionResponse) - writer.writeCollectionOfObjectValues("value", approvalStageCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", approvalStageCollectionResponse.value, serializeApprovalStage); } // tslint:enable // eslint-enable diff --git a/src/models/archivedPrintJob.ts b/src/models/archivedPrintJob.ts index 65fa6c0450d..00194f8ebcb 100644 --- a/src/models/archivedPrintJob.ts +++ b/src/models/archivedPrintJob.ts @@ -79,7 +79,7 @@ export function serializeArchivedPrintJob(writer: SerializationWriter, archivedP writer.writeDateValue("acquiredDateTime", archivedPrintJob.acquiredDateTime); writer.writeDateValue("completionDateTime", archivedPrintJob.completionDateTime); writer.writeNumberValue("copiesPrinted", archivedPrintJob.copiesPrinted); - writer.writeObjectValue("createdBy", archivedPrintJob.createdBy, ); + writer.writeObjectValue("createdBy", archivedPrintJob.createdBy, serializeUserIdentity); writer.writeDateValue("createdDateTime", archivedPrintJob.createdDateTime); writer.writeStringValue("id", archivedPrintJob.id); writer.writeStringValue("@odata.type", archivedPrintJob.odataType); diff --git a/src/models/associatedTeamInfoCollectionResponse.ts b/src/models/associatedTeamInfoCollectionResponse.ts index 7b42cb16967..92105368c08 100644 --- a/src/models/associatedTeamInfoCollectionResponse.ts +++ b/src/models/associatedTeamInfoCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAssociatedTeamInfoCollectionResponse(associatedTe } export function serializeAssociatedTeamInfoCollectionResponse(writer: SerializationWriter, associatedTeamInfoCollectionResponse: AssociatedTeamInfoCollectionResponse | undefined = {} as AssociatedTeamInfoCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, associatedTeamInfoCollectionResponse) - writer.writeCollectionOfObjectValues("value", associatedTeamInfoCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", associatedTeamInfoCollectionResponse.value, serializeAssociatedTeamInfo); } // tslint:enable // eslint-enable diff --git a/src/models/attachmentBaseCollectionResponse.ts b/src/models/attachmentBaseCollectionResponse.ts index 29ecd1279ef..e6946d8656c 100644 --- a/src/models/attachmentBaseCollectionResponse.ts +++ b/src/models/attachmentBaseCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAttachmentBaseCollectionResponse(attachmentBaseCo } export function serializeAttachmentBaseCollectionResponse(writer: SerializationWriter, attachmentBaseCollectionResponse: AttachmentBaseCollectionResponse | undefined = {} as AttachmentBaseCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, attachmentBaseCollectionResponse) - writer.writeCollectionOfObjectValues("value", attachmentBaseCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", attachmentBaseCollectionResponse.value, serializeAttachmentBase); } // tslint:enable // eslint-enable diff --git a/src/models/attachmentCollectionResponse.ts b/src/models/attachmentCollectionResponse.ts index c8f42b64dac..36046bbfb65 100644 --- a/src/models/attachmentCollectionResponse.ts +++ b/src/models/attachmentCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAttachmentCollectionResponse(attachmentCollection } export function serializeAttachmentCollectionResponse(writer: SerializationWriter, attachmentCollectionResponse: AttachmentCollectionResponse | undefined = {} as AttachmentCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, attachmentCollectionResponse) - writer.writeCollectionOfObjectValues("value", attachmentCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", attachmentCollectionResponse.value, serializeAttachment); } // tslint:enable // eslint-enable diff --git a/src/models/attachmentSessionCollectionResponse.ts b/src/models/attachmentSessionCollectionResponse.ts index 0c6af334664..4cb1fd3f9a0 100644 --- a/src/models/attachmentSessionCollectionResponse.ts +++ b/src/models/attachmentSessionCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAttachmentSessionCollectionResponse(attachmentSes } export function serializeAttachmentSessionCollectionResponse(writer: SerializationWriter, attachmentSessionCollectionResponse: AttachmentSessionCollectionResponse | undefined = {} as AttachmentSessionCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, attachmentSessionCollectionResponse) - writer.writeCollectionOfObjectValues("value", attachmentSessionCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", attachmentSessionCollectionResponse.value, serializeAttachmentSession); } // tslint:enable // eslint-enable diff --git a/src/models/attackSimulationOperation.ts b/src/models/attackSimulationOperation.ts index 65672315e2a..5797e6d2b77 100644 --- a/src/models/attackSimulationOperation.ts +++ b/src/models/attackSimulationOperation.ts @@ -7,15 +7,15 @@ import { type Parsable, type ParseNode, type SerializationWriter } from '@micros export interface AttackSimulationOperation extends LongRunningOperation, Parsable { /** - * The percentageCompleted property + * Percentage of completion of the respective operation. */ percentageCompleted?: number; /** - * The tenantId property + * Tenant identifier. */ tenantId?: string; /** - * The type property + * The attack simulation operation type. Possible values are: createSimulation, updateSimulation, unknownFutureValue. */ type?: AttackSimulationOperationType; } diff --git a/src/models/attackSimulationOperationCollectionResponse.ts b/src/models/attackSimulationOperationCollectionResponse.ts index c65eab8ad7f..318ea51d01e 100644 --- a/src/models/attackSimulationOperationCollectionResponse.ts +++ b/src/models/attackSimulationOperationCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAttackSimulationOperationCollectionResponse(attac } export function serializeAttackSimulationOperationCollectionResponse(writer: SerializationWriter, attackSimulationOperationCollectionResponse: AttackSimulationOperationCollectionResponse | undefined = {} as AttackSimulationOperationCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, attackSimulationOperationCollectionResponse) - writer.writeCollectionOfObjectValues("value", attackSimulationOperationCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", attackSimulationOperationCollectionResponse.value, serializeAttackSimulationOperation); } // tslint:enable // eslint-enable diff --git a/src/models/attackSimulationRepeatOffender.ts b/src/models/attackSimulationRepeatOffender.ts index 7d86fa1376a..6d2d1dcd612 100644 --- a/src/models/attackSimulationRepeatOffender.ts +++ b/src/models/attackSimulationRepeatOffender.ts @@ -34,7 +34,7 @@ export function deserializeIntoAttackSimulationRepeatOffender(attackSimulationRe } } export function serializeAttackSimulationRepeatOffender(writer: SerializationWriter, attackSimulationRepeatOffender: AttackSimulationRepeatOffender | undefined = {} as AttackSimulationRepeatOffender) : void { - writer.writeObjectValue("attackSimulationUser", attackSimulationRepeatOffender.attackSimulationUser, ); + writer.writeObjectValue("attackSimulationUser", attackSimulationRepeatOffender.attackSimulationUser, serializeAttackSimulationUser); writer.writeStringValue("@odata.type", attackSimulationRepeatOffender.odataType); writer.writeNumberValue("repeatOffenceCount", attackSimulationRepeatOffender.repeatOffenceCount); writer.writeAdditionalData(attackSimulationRepeatOffender.additionalData); diff --git a/src/models/attackSimulationRoot.ts b/src/models/attackSimulationRoot.ts index dd1e9ab75a4..6efd3e459f3 100644 --- a/src/models/attackSimulationRoot.ts +++ b/src/models/attackSimulationRoot.ts @@ -14,23 +14,23 @@ import { type Parsable, type ParseNode, type SerializationWriter } from '@micros export interface AttackSimulationRoot extends Entity, Parsable { /** - * The endUserNotifications property + * Represents an end user's notification for an attack simulation training. */ endUserNotifications?: EndUserNotification[]; /** - * The landingPages property + * Represents an attack simulation training landing page. */ landingPages?: LandingPage[]; /** - * The loginPages property + * Represents an attack simulation training login page. */ loginPages?: LoginPage[]; /** - * The operations property + * Represents an attack simulation training operation. */ operations?: AttackSimulationOperation[]; /** - * The payloads property + * Represents an attack simulation training campaign payload in a tenant. */ payloads?: Payload[]; /** @@ -42,7 +42,7 @@ export interface AttackSimulationRoot extends Entity, Parsable { */ simulations?: Simulation[]; /** - * The trainings property + * Represents details about attack simulation trainings. */ trainings?: Training[]; } @@ -65,14 +65,14 @@ export function deserializeIntoAttackSimulationRoot(attackSimulationRoot: Attack } export function serializeAttackSimulationRoot(writer: SerializationWriter, attackSimulationRoot: AttackSimulationRoot | undefined = {} as AttackSimulationRoot) : void { serializeEntity(writer, attackSimulationRoot) - writer.writeCollectionOfObjectValues("endUserNotifications", attackSimulationRoot.endUserNotifications, ); - writer.writeCollectionOfObjectValues("landingPages", attackSimulationRoot.landingPages, ); - writer.writeCollectionOfObjectValues("loginPages", attackSimulationRoot.loginPages, ); - writer.writeCollectionOfObjectValues("operations", attackSimulationRoot.operations, ); - writer.writeCollectionOfObjectValues("payloads", attackSimulationRoot.payloads, ); - writer.writeCollectionOfObjectValues("simulationAutomations", attackSimulationRoot.simulationAutomations, ); - writer.writeCollectionOfObjectValues("simulations", attackSimulationRoot.simulations, ); - writer.writeCollectionOfObjectValues("trainings", attackSimulationRoot.trainings, ); + writer.writeCollectionOfObjectValues("endUserNotifications", attackSimulationRoot.endUserNotifications, serializeEndUserNotification); + writer.writeCollectionOfObjectValues("landingPages", attackSimulationRoot.landingPages, serializeLandingPage); + writer.writeCollectionOfObjectValues("loginPages", attackSimulationRoot.loginPages, serializeLoginPage); + writer.writeCollectionOfObjectValues("operations", attackSimulationRoot.operations, serializeAttackSimulationOperation); + writer.writeCollectionOfObjectValues("payloads", attackSimulationRoot.payloads, serializePayload); + writer.writeCollectionOfObjectValues("simulationAutomations", attackSimulationRoot.simulationAutomations, serializeSimulationAutomation); + writer.writeCollectionOfObjectValues("simulations", attackSimulationRoot.simulations, serializeSimulation); + writer.writeCollectionOfObjectValues("trainings", attackSimulationRoot.trainings, serializeTraining); } // tslint:enable // eslint-enable diff --git a/src/models/attackSimulationSimulationUserCoverage.ts b/src/models/attackSimulationSimulationUserCoverage.ts index ff0f82ef141..64df3c84183 100644 --- a/src/models/attackSimulationSimulationUserCoverage.ts +++ b/src/models/attackSimulationSimulationUserCoverage.ts @@ -49,7 +49,7 @@ export function deserializeIntoAttackSimulationSimulationUserCoverage(attackSimu } } export function serializeAttackSimulationSimulationUserCoverage(writer: SerializationWriter, attackSimulationSimulationUserCoverage: AttackSimulationSimulationUserCoverage | undefined = {} as AttackSimulationSimulationUserCoverage) : void { - writer.writeObjectValue("attackSimulationUser", attackSimulationSimulationUserCoverage.attackSimulationUser, ); + writer.writeObjectValue("attackSimulationUser", attackSimulationSimulationUserCoverage.attackSimulationUser, serializeAttackSimulationUser); writer.writeNumberValue("clickCount", attackSimulationSimulationUserCoverage.clickCount); writer.writeNumberValue("compromisedCount", attackSimulationSimulationUserCoverage.compromisedCount); writer.writeDateValue("latestSimulationDateTime", attackSimulationSimulationUserCoverage.latestSimulationDateTime); diff --git a/src/models/attackSimulationTrainingUserCoverage.ts b/src/models/attackSimulationTrainingUserCoverage.ts index 36d5e3236b4..772939e5982 100644 --- a/src/models/attackSimulationTrainingUserCoverage.ts +++ b/src/models/attackSimulationTrainingUserCoverage.ts @@ -35,9 +35,9 @@ export function deserializeIntoAttackSimulationTrainingUserCoverage(attackSimula } } export function serializeAttackSimulationTrainingUserCoverage(writer: SerializationWriter, attackSimulationTrainingUserCoverage: AttackSimulationTrainingUserCoverage | undefined = {} as AttackSimulationTrainingUserCoverage) : void { - writer.writeObjectValue("attackSimulationUser", attackSimulationTrainingUserCoverage.attackSimulationUser, ); + writer.writeObjectValue("attackSimulationUser", attackSimulationTrainingUserCoverage.attackSimulationUser, serializeAttackSimulationUser); writer.writeStringValue("@odata.type", attackSimulationTrainingUserCoverage.odataType); - writer.writeCollectionOfObjectValues("userTrainings", attackSimulationTrainingUserCoverage.userTrainings, ); + writer.writeCollectionOfObjectValues("userTrainings", attackSimulationTrainingUserCoverage.userTrainings, serializeUserTrainingStatusInfo); writer.writeAdditionalData(attackSimulationTrainingUserCoverage.additionalData); } // tslint:enable diff --git a/src/models/attendanceRecord.ts b/src/models/attendanceRecord.ts index 1249f4329f0..890d09a24b8 100644 --- a/src/models/attendanceRecord.ts +++ b/src/models/attendanceRecord.ts @@ -44,9 +44,9 @@ export function deserializeIntoAttendanceRecord(attendanceRecord: AttendanceReco } export function serializeAttendanceRecord(writer: SerializationWriter, attendanceRecord: AttendanceRecord | undefined = {} as AttendanceRecord) : void { serializeEntity(writer, attendanceRecord) - writer.writeCollectionOfObjectValues("attendanceIntervals", attendanceRecord.attendanceIntervals, ); + writer.writeCollectionOfObjectValues("attendanceIntervals", attendanceRecord.attendanceIntervals, serializeAttendanceInterval); writer.writeStringValue("emailAddress", attendanceRecord.emailAddress); - writer.writeObjectValue("identity", attendanceRecord.identity, ); + writer.writeObjectValue("identity", attendanceRecord.identity, serializeIdentity); writer.writeStringValue("role", attendanceRecord.role); writer.writeNumberValue("totalAttendanceInSeconds", attendanceRecord.totalAttendanceInSeconds); } diff --git a/src/models/attendanceRecordCollectionResponse.ts b/src/models/attendanceRecordCollectionResponse.ts index 2875d7b106b..4fdd19aff90 100644 --- a/src/models/attendanceRecordCollectionResponse.ts +++ b/src/models/attendanceRecordCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAttendanceRecordCollectionResponse(attendanceReco } export function serializeAttendanceRecordCollectionResponse(writer: SerializationWriter, attendanceRecordCollectionResponse: AttendanceRecordCollectionResponse | undefined = {} as AttendanceRecordCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, attendanceRecordCollectionResponse) - writer.writeCollectionOfObjectValues("value", attendanceRecordCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", attendanceRecordCollectionResponse.value, serializeAttendanceRecord); } // tslint:enable // eslint-enable diff --git a/src/models/attendee.ts b/src/models/attendee.ts index be5e38187d5..d2d9bb55568 100644 --- a/src/models/attendee.ts +++ b/src/models/attendee.ts @@ -29,8 +29,8 @@ export function deserializeIntoAttendee(attendee: Attendee | undefined = {} as A } export function serializeAttendee(writer: SerializationWriter, attendee: Attendee | undefined = {} as Attendee) : void { serializeAttendeeBase(writer, attendee) - writer.writeObjectValue("proposedNewTime", attendee.proposedNewTime, ); - writer.writeObjectValue("status", attendee.status, ); + writer.writeObjectValue("proposedNewTime", attendee.proposedNewTime, serializeTimeSlot); + writer.writeObjectValue("status", attendee.status, serializeResponseStatus); } // tslint:enable // eslint-enable diff --git a/src/models/attendeeAvailability.ts b/src/models/attendeeAvailability.ts index c1fea3dd240..7bf95e47f8e 100644 --- a/src/models/attendeeAvailability.ts +++ b/src/models/attendeeAvailability.ts @@ -35,7 +35,7 @@ export function deserializeIntoAttendeeAvailability(attendeeAvailability: Attend } } export function serializeAttendeeAvailability(writer: SerializationWriter, attendeeAvailability: AttendeeAvailability | undefined = {} as AttendeeAvailability) : void { - writer.writeObjectValue("attendee", attendeeAvailability.attendee, ); + writer.writeObjectValue("attendee", attendeeAvailability.attendee, serializeAttendeeBase); writer.writeEnumValue("availability", attendeeAvailability.availability); writer.writeStringValue("@odata.type", attendeeAvailability.odataType); writer.writeAdditionalData(attendeeAvailability.additionalData); diff --git a/src/models/attributeDefinition.ts b/src/models/attributeDefinition.ts index 46e7d0ed790..f6d618a89af 100644 --- a/src/models/attributeDefinition.ts +++ b/src/models/attributeDefinition.ts @@ -89,16 +89,16 @@ export function deserializeIntoAttributeDefinition(attributeDefinition: Attribut } export function serializeAttributeDefinition(writer: SerializationWriter, attributeDefinition: AttributeDefinition | undefined = {} as AttributeDefinition) : void { writer.writeBooleanValue("anchor", attributeDefinition.anchor); - writer.writeCollectionOfObjectValues("apiExpressions", attributeDefinition.apiExpressions, ); + writer.writeCollectionOfObjectValues("apiExpressions", attributeDefinition.apiExpressions, serializeStringKeyStringValuePair); writer.writeBooleanValue("caseExact", attributeDefinition.caseExact); writer.writeStringValue("defaultValue", attributeDefinition.defaultValue); writer.writeBooleanValue("flowNullValues", attributeDefinition.flowNullValues); - writer.writeCollectionOfObjectValues("metadata", attributeDefinition.metadata, ); + writer.writeCollectionOfObjectValues("metadata", attributeDefinition.metadata, serializeAttributeDefinitionMetadataEntry); writer.writeBooleanValue("multivalued", attributeDefinition.multivalued); writer.writeEnumValue("mutability", attributeDefinition.mutability); writer.writeStringValue("name", attributeDefinition.name); writer.writeStringValue("@odata.type", attributeDefinition.odataType); - writer.writeCollectionOfObjectValues("referencedObjects", attributeDefinition.referencedObjects, ); + writer.writeCollectionOfObjectValues("referencedObjects", attributeDefinition.referencedObjects, serializeReferencedObject); writer.writeBooleanValue("required", attributeDefinition.required); writer.writeEnumValue("type", attributeDefinition.type); writer.writeAdditionalData(attributeDefinition.additionalData); diff --git a/src/models/attributeMapping.ts b/src/models/attributeMapping.ts index 816ab5ae113..0917a34fa63 100644 --- a/src/models/attributeMapping.ts +++ b/src/models/attributeMapping.ts @@ -67,7 +67,7 @@ export function serializeAttributeMapping(writer: SerializationWriter, attribute writer.writeEnumValue("flowType", attributeMapping.flowType); writer.writeNumberValue("matchingPriority", attributeMapping.matchingPriority); writer.writeStringValue("@odata.type", attributeMapping.odataType); - writer.writeObjectValue("source", attributeMapping.source, ); + writer.writeObjectValue("source", attributeMapping.source, serializeAttributeMappingSource); writer.writeStringValue("targetAttributeName", attributeMapping.targetAttributeName); writer.writeAdditionalData(attributeMapping.additionalData); } diff --git a/src/models/attributeMappingFunctionSchema.ts b/src/models/attributeMappingFunctionSchema.ts index b8960284ffd..d508a7ce10e 100644 --- a/src/models/attributeMappingFunctionSchema.ts +++ b/src/models/attributeMappingFunctionSchema.ts @@ -23,7 +23,7 @@ export function deserializeIntoAttributeMappingFunctionSchema(attributeMappingFu } export function serializeAttributeMappingFunctionSchema(writer: SerializationWriter, attributeMappingFunctionSchema: AttributeMappingFunctionSchema | undefined = {} as AttributeMappingFunctionSchema) : void { serializeEntity(writer, attributeMappingFunctionSchema) - writer.writeCollectionOfObjectValues("parameters", attributeMappingFunctionSchema.parameters, ); + writer.writeCollectionOfObjectValues("parameters", attributeMappingFunctionSchema.parameters, serializeAttributeMappingParameterSchema); } // tslint:enable // eslint-enable diff --git a/src/models/attributeMappingFunctionSchemaCollectionResponse.ts b/src/models/attributeMappingFunctionSchemaCollectionResponse.ts index b9a38480997..9509ffa6281 100644 --- a/src/models/attributeMappingFunctionSchemaCollectionResponse.ts +++ b/src/models/attributeMappingFunctionSchemaCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAttributeMappingFunctionSchemaCollectionResponse( } export function serializeAttributeMappingFunctionSchemaCollectionResponse(writer: SerializationWriter, attributeMappingFunctionSchemaCollectionResponse: AttributeMappingFunctionSchemaCollectionResponse | undefined = {} as AttributeMappingFunctionSchemaCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, attributeMappingFunctionSchemaCollectionResponse) - writer.writeCollectionOfObjectValues("value", attributeMappingFunctionSchemaCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", attributeMappingFunctionSchemaCollectionResponse.value, serializeAttributeMappingFunctionSchema); } // tslint:enable // eslint-enable diff --git a/src/models/attributeMappingSource.ts b/src/models/attributeMappingSource.ts index 6e0a833f511..fab8aee314e 100644 --- a/src/models/attributeMappingSource.ts +++ b/src/models/attributeMappingSource.ts @@ -48,7 +48,7 @@ export function serializeAttributeMappingSource(writer: SerializationWriter, att writer.writeStringValue("expression", attributeMappingSource.expression); writer.writeStringValue("name", attributeMappingSource.name); writer.writeStringValue("@odata.type", attributeMappingSource.odataType); - writer.writeCollectionOfObjectValues("parameters", attributeMappingSource.parameters, ); + writer.writeCollectionOfObjectValues("parameters", attributeMappingSource.parameters, serializeStringKeyAttributeMappingSourceValuePair); writer.writeEnumValue("type", attributeMappingSource.type); writer.writeAdditionalData(attributeMappingSource.additionalData); } diff --git a/src/models/attributeSetCollectionResponse.ts b/src/models/attributeSetCollectionResponse.ts index 30015512ffe..8e1a7129d12 100644 --- a/src/models/attributeSetCollectionResponse.ts +++ b/src/models/attributeSetCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAttributeSetCollectionResponse(attributeSetCollec } export function serializeAttributeSetCollectionResponse(writer: SerializationWriter, attributeSetCollectionResponse: AttributeSetCollectionResponse | undefined = {} as AttributeSetCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, attributeSetCollectionResponse) - writer.writeCollectionOfObjectValues("value", attributeSetCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", attributeSetCollectionResponse.value, serializeAttributeSet); } // tslint:enable // eslint-enable diff --git a/src/models/audioRoutingGroupCollectionResponse.ts b/src/models/audioRoutingGroupCollectionResponse.ts index 46549777df5..61b01341e11 100644 --- a/src/models/audioRoutingGroupCollectionResponse.ts +++ b/src/models/audioRoutingGroupCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAudioRoutingGroupCollectionResponse(audioRoutingG } export function serializeAudioRoutingGroupCollectionResponse(writer: SerializationWriter, audioRoutingGroupCollectionResponse: AudioRoutingGroupCollectionResponse | undefined = {} as AudioRoutingGroupCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, audioRoutingGroupCollectionResponse) - writer.writeCollectionOfObjectValues("value", audioRoutingGroupCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", audioRoutingGroupCollectionResponse.value, serializeAudioRoutingGroup); } // tslint:enable // eslint-enable diff --git a/src/models/auditActivityInitiator.ts b/src/models/auditActivityInitiator.ts index e46e265ae4f..01a37a67d5f 100644 --- a/src/models/auditActivityInitiator.ts +++ b/src/models/auditActivityInitiator.ts @@ -35,9 +35,9 @@ export function deserializeIntoAuditActivityInitiator(auditActivityInitiator: Au } } export function serializeAuditActivityInitiator(writer: SerializationWriter, auditActivityInitiator: AuditActivityInitiator | undefined = {} as AuditActivityInitiator) : void { - writer.writeObjectValue("app", auditActivityInitiator.app, ); + writer.writeObjectValue("app", auditActivityInitiator.app, serializeAppIdentity); writer.writeStringValue("@odata.type", auditActivityInitiator.odataType); - writer.writeObjectValue("user", auditActivityInitiator.user, ); + writer.writeObjectValue("user", auditActivityInitiator.user, serializeUserIdentity); writer.writeAdditionalData(auditActivityInitiator.additionalData); } // tslint:enable diff --git a/src/models/auditEvent.ts b/src/models/auditEvent.ts index 22dfe570eee..95b3404915d 100644 --- a/src/models/auditEvent.ts +++ b/src/models/auditEvent.ts @@ -80,12 +80,12 @@ export function serializeAuditEvent(writer: SerializationWriter, auditEvent: Aud writer.writeStringValue("activityOperationType", auditEvent.activityOperationType); writer.writeStringValue("activityResult", auditEvent.activityResult); writer.writeStringValue("activityType", auditEvent.activityType); - writer.writeObjectValue("actor", auditEvent.actor, ); + writer.writeObjectValue("actor", auditEvent.actor, serializeAuditActor); writer.writeStringValue("category", auditEvent.category); writer.writeStringValue("componentName", auditEvent.componentName); writer.writeGuidValue("correlationId", auditEvent.correlationId); writer.writeStringValue("displayName", auditEvent.displayName); - writer.writeCollectionOfObjectValues("resources", auditEvent.resources, ); + writer.writeCollectionOfObjectValues("resources", auditEvent.resources, serializeAuditResource); } // tslint:enable // eslint-enable diff --git a/src/models/auditEventCollectionResponse.ts b/src/models/auditEventCollectionResponse.ts index 7fc0948ff14..4d6b34dd70a 100644 --- a/src/models/auditEventCollectionResponse.ts +++ b/src/models/auditEventCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAuditEventCollectionResponse(auditEventCollection } export function serializeAuditEventCollectionResponse(writer: SerializationWriter, auditEventCollectionResponse: AuditEventCollectionResponse | undefined = {} as AuditEventCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, auditEventCollectionResponse) - writer.writeCollectionOfObjectValues("value", auditEventCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", auditEventCollectionResponse.value, serializeAuditEvent); } // tslint:enable // eslint-enable diff --git a/src/models/auditLogRoot.ts b/src/models/auditLogRoot.ts index eb0943ac710..10a933152c4 100644 --- a/src/models/auditLogRoot.ts +++ b/src/models/auditLogRoot.ts @@ -35,9 +35,9 @@ export function deserializeIntoAuditLogRoot(auditLogRoot: AuditLogRoot | undefin } export function serializeAuditLogRoot(writer: SerializationWriter, auditLogRoot: AuditLogRoot | undefined = {} as AuditLogRoot) : void { serializeEntity(writer, auditLogRoot) - writer.writeCollectionOfObjectValues("directoryAudits", auditLogRoot.directoryAudits, ); - writer.writeCollectionOfObjectValues("provisioning", auditLogRoot.provisioning, ); - writer.writeCollectionOfObjectValues("signIns", auditLogRoot.signIns, ); + writer.writeCollectionOfObjectValues("directoryAudits", auditLogRoot.directoryAudits, serializeDirectoryAudit); + writer.writeCollectionOfObjectValues("provisioning", auditLogRoot.provisioning, serializeProvisioningObjectSummary); + writer.writeCollectionOfObjectValues("signIns", auditLogRoot.signIns, serializeSignIn); } // tslint:enable // eslint-enable diff --git a/src/models/auditResource.ts b/src/models/auditResource.ts index 9f68f963603..d12a97985c0 100644 --- a/src/models/auditResource.ts +++ b/src/models/auditResource.ts @@ -46,7 +46,7 @@ export function deserializeIntoAuditResource(auditResource: AuditResource | unde export function serializeAuditResource(writer: SerializationWriter, auditResource: AuditResource | undefined = {} as AuditResource) : void { writer.writeStringValue("auditResourceType", auditResource.auditResourceType); writer.writeStringValue("displayName", auditResource.displayName); - writer.writeCollectionOfObjectValues("modifiedProperties", auditResource.modifiedProperties, ); + writer.writeCollectionOfObjectValues("modifiedProperties", auditResource.modifiedProperties, serializeAuditProperty); writer.writeStringValue("@odata.type", auditResource.odataType); writer.writeStringValue("resourceId", auditResource.resourceId); writer.writeAdditionalData(auditResource.additionalData); diff --git a/src/models/authentication.ts b/src/models/authentication.ts index fb594305b0d..13cb608a946 100644 --- a/src/models/authentication.ts +++ b/src/models/authentication.ts @@ -77,16 +77,16 @@ export function deserializeIntoAuthentication(authentication: Authentication | u } export function serializeAuthentication(writer: SerializationWriter, authentication: Authentication | undefined = {} as Authentication) : void { serializeEntity(writer, authentication) - writer.writeCollectionOfObjectValues("emailMethods", authentication.emailMethods, ); - writer.writeCollectionOfObjectValues("fido2Methods", authentication.fido2Methods, ); - writer.writeCollectionOfObjectValues("methods", authentication.methods, ); - writer.writeCollectionOfObjectValues("microsoftAuthenticatorMethods", authentication.microsoftAuthenticatorMethods, ); - writer.writeCollectionOfObjectValues("operations", authentication.operations, ); - writer.writeCollectionOfObjectValues("passwordMethods", authentication.passwordMethods, ); - writer.writeCollectionOfObjectValues("phoneMethods", authentication.phoneMethods, ); - writer.writeCollectionOfObjectValues("softwareOathMethods", authentication.softwareOathMethods, ); - writer.writeCollectionOfObjectValues("temporaryAccessPassMethods", authentication.temporaryAccessPassMethods, ); - writer.writeCollectionOfObjectValues("windowsHelloForBusinessMethods", authentication.windowsHelloForBusinessMethods, ); + writer.writeCollectionOfObjectValues("emailMethods", authentication.emailMethods, serializeEmailAuthenticationMethod); + writer.writeCollectionOfObjectValues("fido2Methods", authentication.fido2Methods, serializeFido2AuthenticationMethod); + writer.writeCollectionOfObjectValues("methods", authentication.methods, serializeAuthenticationMethod); + writer.writeCollectionOfObjectValues("microsoftAuthenticatorMethods", authentication.microsoftAuthenticatorMethods, serializeMicrosoftAuthenticatorAuthenticationMethod); + writer.writeCollectionOfObjectValues("operations", authentication.operations, serializeLongRunningOperation); + writer.writeCollectionOfObjectValues("passwordMethods", authentication.passwordMethods, serializePasswordAuthenticationMethod); + writer.writeCollectionOfObjectValues("phoneMethods", authentication.phoneMethods, serializePhoneAuthenticationMethod); + writer.writeCollectionOfObjectValues("softwareOathMethods", authentication.softwareOathMethods, serializeSoftwareOathAuthenticationMethod); + writer.writeCollectionOfObjectValues("temporaryAccessPassMethods", authentication.temporaryAccessPassMethods, serializeTemporaryAccessPassAuthenticationMethod); + writer.writeCollectionOfObjectValues("windowsHelloForBusinessMethods", authentication.windowsHelloForBusinessMethods, serializeWindowsHelloForBusinessAuthenticationMethod); } // tslint:enable // eslint-enable diff --git a/src/models/authenticationCombinationConfigurationCollectionResponse.ts b/src/models/authenticationCombinationConfigurationCollectionResponse.ts index 8ef265bfd96..a724813e589 100644 --- a/src/models/authenticationCombinationConfigurationCollectionResponse.ts +++ b/src/models/authenticationCombinationConfigurationCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAuthenticationCombinationConfigurationCollectionR } export function serializeAuthenticationCombinationConfigurationCollectionResponse(writer: SerializationWriter, authenticationCombinationConfigurationCollectionResponse: AuthenticationCombinationConfigurationCollectionResponse | undefined = {} as AuthenticationCombinationConfigurationCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, authenticationCombinationConfigurationCollectionResponse) - writer.writeCollectionOfObjectValues("value", authenticationCombinationConfigurationCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", authenticationCombinationConfigurationCollectionResponse.value, serializeAuthenticationCombinationConfiguration); } // tslint:enable // eslint-enable diff --git a/src/models/authenticationContextClassReferenceCollectionResponse.ts b/src/models/authenticationContextClassReferenceCollectionResponse.ts index f074478490a..a067d670a62 100644 --- a/src/models/authenticationContextClassReferenceCollectionResponse.ts +++ b/src/models/authenticationContextClassReferenceCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAuthenticationContextClassReferenceCollectionResp } export function serializeAuthenticationContextClassReferenceCollectionResponse(writer: SerializationWriter, authenticationContextClassReferenceCollectionResponse: AuthenticationContextClassReferenceCollectionResponse | undefined = {} as AuthenticationContextClassReferenceCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, authenticationContextClassReferenceCollectionResponse) - writer.writeCollectionOfObjectValues("value", authenticationContextClassReferenceCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", authenticationContextClassReferenceCollectionResponse.value, serializeAuthenticationContextClassReference); } // tslint:enable // eslint-enable diff --git a/src/models/authenticationFlowsPolicy.ts b/src/models/authenticationFlowsPolicy.ts index 64adad54191..6246941f98a 100644 --- a/src/models/authenticationFlowsPolicy.ts +++ b/src/models/authenticationFlowsPolicy.ts @@ -35,7 +35,7 @@ export function serializeAuthenticationFlowsPolicy(writer: SerializationWriter, serializeEntity(writer, authenticationFlowsPolicy) writer.writeStringValue("description", authenticationFlowsPolicy.description); writer.writeStringValue("displayName", authenticationFlowsPolicy.displayName); - writer.writeObjectValue("selfServiceSignUp", authenticationFlowsPolicy.selfServiceSignUp, ); + writer.writeObjectValue("selfServiceSignUp", authenticationFlowsPolicy.selfServiceSignUp, serializeSelfServiceSignUpAuthenticationFlowConfiguration); } // tslint:enable // eslint-enable diff --git a/src/models/authenticationMethodCollectionResponse.ts b/src/models/authenticationMethodCollectionResponse.ts index 2feb831e071..a57c4938656 100644 --- a/src/models/authenticationMethodCollectionResponse.ts +++ b/src/models/authenticationMethodCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAuthenticationMethodCollectionResponse(authentica } export function serializeAuthenticationMethodCollectionResponse(writer: SerializationWriter, authenticationMethodCollectionResponse: AuthenticationMethodCollectionResponse | undefined = {} as AuthenticationMethodCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, authenticationMethodCollectionResponse) - writer.writeCollectionOfObjectValues("value", authenticationMethodCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", authenticationMethodCollectionResponse.value, serializeAuthenticationMethod); } // tslint:enable // eslint-enable diff --git a/src/models/authenticationMethodConfiguration.ts b/src/models/authenticationMethodConfiguration.ts index 5a4c272a76a..0a9d8978142 100644 --- a/src/models/authenticationMethodConfiguration.ts +++ b/src/models/authenticationMethodConfiguration.ts @@ -62,7 +62,7 @@ export function deserializeIntoAuthenticationMethodConfiguration(authenticationM } export function serializeAuthenticationMethodConfiguration(writer: SerializationWriter, authenticationMethodConfiguration: AuthenticationMethodConfiguration | undefined = {} as AuthenticationMethodConfiguration) : void { serializeEntity(writer, authenticationMethodConfiguration) - writer.writeCollectionOfObjectValues("excludeTargets", authenticationMethodConfiguration.excludeTargets, ); + writer.writeCollectionOfObjectValues("excludeTargets", authenticationMethodConfiguration.excludeTargets, serializeExcludeTarget); writer.writeEnumValue("state", authenticationMethodConfiguration.state); } // tslint:enable diff --git a/src/models/authenticationMethodConfigurationCollectionResponse.ts b/src/models/authenticationMethodConfigurationCollectionResponse.ts index a494076ad02..37eccab5588 100644 --- a/src/models/authenticationMethodConfigurationCollectionResponse.ts +++ b/src/models/authenticationMethodConfigurationCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAuthenticationMethodConfigurationCollectionRespon } export function serializeAuthenticationMethodConfigurationCollectionResponse(writer: SerializationWriter, authenticationMethodConfigurationCollectionResponse: AuthenticationMethodConfigurationCollectionResponse | undefined = {} as AuthenticationMethodConfigurationCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, authenticationMethodConfigurationCollectionResponse) - writer.writeCollectionOfObjectValues("value", authenticationMethodConfigurationCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", authenticationMethodConfigurationCollectionResponse.value, serializeAuthenticationMethodConfiguration); } // tslint:enable // eslint-enable diff --git a/src/models/authenticationMethodFeatureConfiguration.ts b/src/models/authenticationMethodFeatureConfiguration.ts index 2e284449c33..51c734b68f4 100644 --- a/src/models/authenticationMethodFeatureConfiguration.ts +++ b/src/models/authenticationMethodFeatureConfiguration.ts @@ -40,8 +40,8 @@ export function deserializeIntoAuthenticationMethodFeatureConfiguration(authenti } } export function serializeAuthenticationMethodFeatureConfiguration(writer: SerializationWriter, authenticationMethodFeatureConfiguration: AuthenticationMethodFeatureConfiguration | undefined = {} as AuthenticationMethodFeatureConfiguration) : void { - writer.writeObjectValue("excludeTarget", authenticationMethodFeatureConfiguration.excludeTarget, ); - writer.writeObjectValue("includeTarget", authenticationMethodFeatureConfiguration.includeTarget, ); + writer.writeObjectValue("excludeTarget", authenticationMethodFeatureConfiguration.excludeTarget, serializeFeatureTarget); + writer.writeObjectValue("includeTarget", authenticationMethodFeatureConfiguration.includeTarget, serializeFeatureTarget); writer.writeStringValue("@odata.type", authenticationMethodFeatureConfiguration.odataType); writer.writeEnumValue("state", authenticationMethodFeatureConfiguration.state); writer.writeAdditionalData(authenticationMethodFeatureConfiguration.additionalData); diff --git a/src/models/authenticationMethodModeDetailCollectionResponse.ts b/src/models/authenticationMethodModeDetailCollectionResponse.ts index e0c4420463a..2c1a1d79a71 100644 --- a/src/models/authenticationMethodModeDetailCollectionResponse.ts +++ b/src/models/authenticationMethodModeDetailCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAuthenticationMethodModeDetailCollectionResponse( } export function serializeAuthenticationMethodModeDetailCollectionResponse(writer: SerializationWriter, authenticationMethodModeDetailCollectionResponse: AuthenticationMethodModeDetailCollectionResponse | undefined = {} as AuthenticationMethodModeDetailCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, authenticationMethodModeDetailCollectionResponse) - writer.writeCollectionOfObjectValues("value", authenticationMethodModeDetailCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", authenticationMethodModeDetailCollectionResponse.value, serializeAuthenticationMethodModeDetail); } // tslint:enable // eslint-enable diff --git a/src/models/authenticationMethodsPolicy.ts b/src/models/authenticationMethodsPolicy.ts index 437e867d77b..704762cee5f 100644 --- a/src/models/authenticationMethodsPolicy.ts +++ b/src/models/authenticationMethodsPolicy.ts @@ -60,14 +60,14 @@ export function deserializeIntoAuthenticationMethodsPolicy(authenticationMethods } export function serializeAuthenticationMethodsPolicy(writer: SerializationWriter, authenticationMethodsPolicy: AuthenticationMethodsPolicy | undefined = {} as AuthenticationMethodsPolicy) : void { serializeEntity(writer, authenticationMethodsPolicy) - writer.writeCollectionOfObjectValues("authenticationMethodConfigurations", authenticationMethodsPolicy.authenticationMethodConfigurations, ); + writer.writeCollectionOfObjectValues("authenticationMethodConfigurations", authenticationMethodsPolicy.authenticationMethodConfigurations, serializeAuthenticationMethodConfiguration); writer.writeStringValue("description", authenticationMethodsPolicy.description); writer.writeStringValue("displayName", authenticationMethodsPolicy.displayName); writer.writeDateValue("lastModifiedDateTime", authenticationMethodsPolicy.lastModifiedDateTime); writer.writeEnumValue("policyMigrationState", authenticationMethodsPolicy.policyMigrationState); writer.writeStringValue("policyVersion", authenticationMethodsPolicy.policyVersion); writer.writeNumberValue("reconfirmationInDays", authenticationMethodsPolicy.reconfirmationInDays); - writer.writeObjectValue("registrationEnforcement", authenticationMethodsPolicy.registrationEnforcement, ); + writer.writeObjectValue("registrationEnforcement", authenticationMethodsPolicy.registrationEnforcement, serializeRegistrationEnforcement); } // tslint:enable // eslint-enable diff --git a/src/models/authenticationMethodsRegistrationCampaign.ts b/src/models/authenticationMethodsRegistrationCampaign.ts index 5215e39eaee..d7489ff2612 100644 --- a/src/models/authenticationMethodsRegistrationCampaign.ts +++ b/src/models/authenticationMethodsRegistrationCampaign.ts @@ -46,8 +46,8 @@ export function deserializeIntoAuthenticationMethodsRegistrationCampaign(authent } } export function serializeAuthenticationMethodsRegistrationCampaign(writer: SerializationWriter, authenticationMethodsRegistrationCampaign: AuthenticationMethodsRegistrationCampaign | undefined = {} as AuthenticationMethodsRegistrationCampaign) : void { - writer.writeCollectionOfObjectValues("excludeTargets", authenticationMethodsRegistrationCampaign.excludeTargets, ); - writer.writeCollectionOfObjectValues("includeTargets", authenticationMethodsRegistrationCampaign.includeTargets, ); + writer.writeCollectionOfObjectValues("excludeTargets", authenticationMethodsRegistrationCampaign.excludeTargets, serializeExcludeTarget); + writer.writeCollectionOfObjectValues("includeTargets", authenticationMethodsRegistrationCampaign.includeTargets, serializeAuthenticationMethodsRegistrationCampaignIncludeTarget); writer.writeStringValue("@odata.type", authenticationMethodsRegistrationCampaign.odataType); writer.writeNumberValue("snoozeDurationInDays", authenticationMethodsRegistrationCampaign.snoozeDurationInDays); writer.writeEnumValue("state", authenticationMethodsRegistrationCampaign.state); diff --git a/src/models/authenticationMethodsRoot.ts b/src/models/authenticationMethodsRoot.ts index ccb538a67e6..edb605a7068 100644 --- a/src/models/authenticationMethodsRoot.ts +++ b/src/models/authenticationMethodsRoot.ts @@ -23,7 +23,7 @@ export function deserializeIntoAuthenticationMethodsRoot(authenticationMethodsRo } export function serializeAuthenticationMethodsRoot(writer: SerializationWriter, authenticationMethodsRoot: AuthenticationMethodsRoot | undefined = {} as AuthenticationMethodsRoot) : void { serializeEntity(writer, authenticationMethodsRoot) - writer.writeCollectionOfObjectValues("userRegistrationDetails", authenticationMethodsRoot.userRegistrationDetails, ); + writer.writeCollectionOfObjectValues("userRegistrationDetails", authenticationMethodsRoot.userRegistrationDetails, serializeUserRegistrationDetails); } // tslint:enable // eslint-enable diff --git a/src/models/authenticationStrengthPolicy.ts b/src/models/authenticationStrengthPolicy.ts index c3c2617a785..12cdedb1b6b 100644 --- a/src/models/authenticationStrengthPolicy.ts +++ b/src/models/authenticationStrengthPolicy.ts @@ -63,7 +63,7 @@ export function serializeAuthenticationStrengthPolicy(writer: SerializationWrite serializeEntity(writer, authenticationStrengthPolicy) if(authenticationStrengthPolicy.allowedCombinations) writer.writeEnumValue("allowedCombinations", ...authenticationStrengthPolicy.allowedCombinations); - writer.writeCollectionOfObjectValues("combinationConfigurations", authenticationStrengthPolicy.combinationConfigurations, ); + writer.writeCollectionOfObjectValues("combinationConfigurations", authenticationStrengthPolicy.combinationConfigurations, serializeAuthenticationCombinationConfiguration); writer.writeDateValue("createdDateTime", authenticationStrengthPolicy.createdDateTime); writer.writeStringValue("description", authenticationStrengthPolicy.description); writer.writeStringValue("displayName", authenticationStrengthPolicy.displayName); diff --git a/src/models/authenticationStrengthPolicyCollectionResponse.ts b/src/models/authenticationStrengthPolicyCollectionResponse.ts index 212efcf48d2..d3396954528 100644 --- a/src/models/authenticationStrengthPolicyCollectionResponse.ts +++ b/src/models/authenticationStrengthPolicyCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAuthenticationStrengthPolicyCollectionResponse(au } export function serializeAuthenticationStrengthPolicyCollectionResponse(writer: SerializationWriter, authenticationStrengthPolicyCollectionResponse: AuthenticationStrengthPolicyCollectionResponse | undefined = {} as AuthenticationStrengthPolicyCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, authenticationStrengthPolicyCollectionResponse) - writer.writeCollectionOfObjectValues("value", authenticationStrengthPolicyCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", authenticationStrengthPolicyCollectionResponse.value, serializeAuthenticationStrengthPolicy); } // tslint:enable // eslint-enable diff --git a/src/models/authenticationStrengthRoot.ts b/src/models/authenticationStrengthRoot.ts index 875657b90d1..23e38c2c57f 100644 --- a/src/models/authenticationStrengthRoot.ts +++ b/src/models/authenticationStrengthRoot.ts @@ -35,10 +35,10 @@ export function deserializeIntoAuthenticationStrengthRoot(authenticationStrength } export function serializeAuthenticationStrengthRoot(writer: SerializationWriter, authenticationStrengthRoot: AuthenticationStrengthRoot | undefined = {} as AuthenticationStrengthRoot) : void { serializeEntity(writer, authenticationStrengthRoot) - writer.writeCollectionOfObjectValues("authenticationMethodModes", authenticationStrengthRoot.authenticationMethodModes, ); + writer.writeCollectionOfObjectValues("authenticationMethodModes", authenticationStrengthRoot.authenticationMethodModes, serializeAuthenticationMethodModeDetail); if(authenticationStrengthRoot.combinations) writer.writeEnumValue("combinations", ...authenticationStrengthRoot.combinations); - writer.writeCollectionOfObjectValues("policies", authenticationStrengthRoot.policies, ); + writer.writeCollectionOfObjectValues("policies", authenticationStrengthRoot.policies, serializeAuthenticationStrengthPolicy); } // tslint:enable // eslint-enable diff --git a/src/models/authenticationStrengthUsage.ts b/src/models/authenticationStrengthUsage.ts index f6cffb7502c..2465a131bac 100644 --- a/src/models/authenticationStrengthUsage.ts +++ b/src/models/authenticationStrengthUsage.ts @@ -34,8 +34,8 @@ export function deserializeIntoAuthenticationStrengthUsage(authenticationStrengt } } export function serializeAuthenticationStrengthUsage(writer: SerializationWriter, authenticationStrengthUsage: AuthenticationStrengthUsage | undefined = {} as AuthenticationStrengthUsage) : void { - writer.writeCollectionOfObjectValues("mfa", authenticationStrengthUsage.mfa, ); - writer.writeCollectionOfObjectValues("none", authenticationStrengthUsage.none, ); + writer.writeCollectionOfObjectValues("mfa", authenticationStrengthUsage.mfa, serializeConditionalAccessPolicy); + writer.writeCollectionOfObjectValues("none", authenticationStrengthUsage.none, serializeConditionalAccessPolicy); writer.writeStringValue("@odata.type", authenticationStrengthUsage.odataType); writer.writeAdditionalData(authenticationStrengthUsage.additionalData); } diff --git a/src/models/authoredNote.ts b/src/models/authoredNote.ts index 61cbd4a22f4..c7d422ffbef 100644 --- a/src/models/authoredNote.ts +++ b/src/models/authoredNote.ts @@ -34,8 +34,8 @@ export function deserializeIntoAuthoredNote(authoredNote: AuthoredNote | undefin } export function serializeAuthoredNote(writer: SerializationWriter, authoredNote: AuthoredNote | undefined = {} as AuthoredNote) : void { serializeEntity(writer, authoredNote) - writer.writeObjectValue("author", authoredNote.author, ); - writer.writeObjectValue("content", authoredNote.content, ); + writer.writeObjectValue("author", authoredNote.author, serializeIdentity); + writer.writeObjectValue("content", authoredNote.content, serializeItemBody); writer.writeDateValue("createdDateTime", authoredNote.createdDateTime); } // tslint:enable diff --git a/src/models/authoredNoteCollectionResponse.ts b/src/models/authoredNoteCollectionResponse.ts index 73e09fe57ea..ae7da8ca07d 100644 --- a/src/models/authoredNoteCollectionResponse.ts +++ b/src/models/authoredNoteCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoAuthoredNoteCollectionResponse(authoredNoteCollec } export function serializeAuthoredNoteCollectionResponse(writer: SerializationWriter, authoredNoteCollectionResponse: AuthoredNoteCollectionResponse | undefined = {} as AuthoredNoteCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, authoredNoteCollectionResponse) - writer.writeCollectionOfObjectValues("value", authoredNoteCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", authoredNoteCollectionResponse.value, serializeAuthoredNote); } // tslint:enable // eslint-enable diff --git a/src/models/authorizationPolicy.ts b/src/models/authorizationPolicy.ts index bb657a6c7a6..7d106863eb6 100644 --- a/src/models/authorizationPolicy.ts +++ b/src/models/authorizationPolicy.ts @@ -13,7 +13,7 @@ export interface AuthorizationPolicy extends Parsable, PolicyBase { */ allowedToSignUpEmailBasedSubscriptions?: boolean; /** - * Indicates whether users can use the Self-Serve Password Reset feature on the tenant. + * Indicates whether users can use the Self-Service Password Reset feature on the tenant. */ allowedToUseSSPR?: boolean; /** @@ -66,7 +66,7 @@ export function serializeAuthorizationPolicy(writer: SerializationWriter, author writer.writeEnumValue("allowInvitesFrom", authorizationPolicy.allowInvitesFrom); writer.writeBooleanValue("allowUserConsentForRiskyApps", authorizationPolicy.allowUserConsentForRiskyApps); writer.writeBooleanValue("blockMsolPowerShell", authorizationPolicy.blockMsolPowerShell); - writer.writeObjectValue("defaultUserRolePermissions", authorizationPolicy.defaultUserRolePermissions, ); + writer.writeObjectValue("defaultUserRolePermissions", authorizationPolicy.defaultUserRolePermissions, serializeDefaultUserRolePermissions); writer.writeGuidValue("guestUserRoleId", authorizationPolicy.guestUserRoleId); } // tslint:enable diff --git a/src/models/automaticRepliesMailTips.ts b/src/models/automaticRepliesMailTips.ts index 3862981587d..e98f8d74cb7 100644 --- a/src/models/automaticRepliesMailTips.ts +++ b/src/models/automaticRepliesMailTips.ts @@ -46,10 +46,10 @@ export function deserializeIntoAutomaticRepliesMailTips(automaticRepliesMailTips } export function serializeAutomaticRepliesMailTips(writer: SerializationWriter, automaticRepliesMailTips: AutomaticRepliesMailTips | undefined = {} as AutomaticRepliesMailTips) : void { writer.writeStringValue("message", automaticRepliesMailTips.message); - writer.writeObjectValue("messageLanguage", automaticRepliesMailTips.messageLanguage, ); + writer.writeObjectValue("messageLanguage", automaticRepliesMailTips.messageLanguage, serializeLocaleInfo); writer.writeStringValue("@odata.type", automaticRepliesMailTips.odataType); - writer.writeObjectValue("scheduledEndTime", automaticRepliesMailTips.scheduledEndTime, ); - writer.writeObjectValue("scheduledStartTime", automaticRepliesMailTips.scheduledStartTime, ); + writer.writeObjectValue("scheduledEndTime", automaticRepliesMailTips.scheduledEndTime, serializeDateTimeTimeZone); + writer.writeObjectValue("scheduledStartTime", automaticRepliesMailTips.scheduledStartTime, serializeDateTimeTimeZone); writer.writeAdditionalData(automaticRepliesMailTips.additionalData); } // tslint:enable diff --git a/src/models/automaticRepliesSetting.ts b/src/models/automaticRepliesSetting.ts index 1705f0f5aad..49921f976af 100644 --- a/src/models/automaticRepliesSetting.ts +++ b/src/models/automaticRepliesSetting.ts @@ -60,8 +60,8 @@ export function serializeAutomaticRepliesSetting(writer: SerializationWriter, au writer.writeStringValue("externalReplyMessage", automaticRepliesSetting.externalReplyMessage); writer.writeStringValue("internalReplyMessage", automaticRepliesSetting.internalReplyMessage); writer.writeStringValue("@odata.type", automaticRepliesSetting.odataType); - writer.writeObjectValue("scheduledEndDateTime", automaticRepliesSetting.scheduledEndDateTime, ); - writer.writeObjectValue("scheduledStartDateTime", automaticRepliesSetting.scheduledStartDateTime, ); + writer.writeObjectValue("scheduledEndDateTime", automaticRepliesSetting.scheduledEndDateTime, serializeDateTimeTimeZone); + writer.writeObjectValue("scheduledStartDateTime", automaticRepliesSetting.scheduledStartDateTime, serializeDateTimeTimeZone); writer.writeEnumValue("status", automaticRepliesSetting.status); writer.writeAdditionalData(automaticRepliesSetting.additionalData); } diff --git a/src/models/availabilityItem.ts b/src/models/availabilityItem.ts index 4e5eb59d3d0..f5a4d476677 100644 --- a/src/models/availabilityItem.ts +++ b/src/models/availabilityItem.ts @@ -45,10 +45,10 @@ export function deserializeIntoAvailabilityItem(availabilityItem: AvailabilityIt } } export function serializeAvailabilityItem(writer: SerializationWriter, availabilityItem: AvailabilityItem | undefined = {} as AvailabilityItem) : void { - writer.writeObjectValue("endDateTime", availabilityItem.endDateTime, ); + writer.writeObjectValue("endDateTime", availabilityItem.endDateTime, serializeDateTimeTimeZone); writer.writeStringValue("@odata.type", availabilityItem.odataType); writer.writeStringValue("serviceId", availabilityItem.serviceId); - writer.writeObjectValue("startDateTime", availabilityItem.startDateTime, ); + writer.writeObjectValue("startDateTime", availabilityItem.startDateTime, serializeDateTimeTimeZone); writer.writeEnumValue("status", availabilityItem.status); writer.writeAdditionalData(availabilityItem.additionalData); } diff --git a/src/models/b2xIdentityUserFlow.ts b/src/models/b2xIdentityUserFlow.ts index 07fc3331bd5..9e2882d3daf 100644 --- a/src/models/b2xIdentityUserFlow.ts +++ b/src/models/b2xIdentityUserFlow.ts @@ -47,11 +47,11 @@ export function deserializeIntoB2xIdentityUserFlow(b2xIdentityUserFlow: B2xIdent } export function serializeB2xIdentityUserFlow(writer: SerializationWriter, b2xIdentityUserFlow: B2xIdentityUserFlow | undefined = {} as B2xIdentityUserFlow) : void { serializeIdentityUserFlow(writer, b2xIdentityUserFlow) - writer.writeObjectValue("apiConnectorConfiguration", b2xIdentityUserFlow.apiConnectorConfiguration, ); - writer.writeCollectionOfObjectValues("identityProviders", b2xIdentityUserFlow.identityProviders, ); - writer.writeCollectionOfObjectValues("languages", b2xIdentityUserFlow.languages, ); - writer.writeCollectionOfObjectValues("userAttributeAssignments", b2xIdentityUserFlow.userAttributeAssignments, ); - writer.writeCollectionOfObjectValues("userFlowIdentityProviders", b2xIdentityUserFlow.userFlowIdentityProviders, ); + writer.writeObjectValue("apiConnectorConfiguration", b2xIdentityUserFlow.apiConnectorConfiguration, serializeUserFlowApiConnectorConfiguration); + writer.writeCollectionOfObjectValues("identityProviders", b2xIdentityUserFlow.identityProviders, serializeIdentityProvider); + writer.writeCollectionOfObjectValues("languages", b2xIdentityUserFlow.languages, serializeUserFlowLanguageConfiguration); + writer.writeCollectionOfObjectValues("userAttributeAssignments", b2xIdentityUserFlow.userAttributeAssignments, serializeIdentityUserFlowAttributeAssignment); + writer.writeCollectionOfObjectValues("userFlowIdentityProviders", b2xIdentityUserFlow.userFlowIdentityProviders, serializeIdentityProviderBase); } // tslint:enable // eslint-enable diff --git a/src/models/b2xIdentityUserFlowCollectionResponse.ts b/src/models/b2xIdentityUserFlowCollectionResponse.ts index 2580889eee6..fd0d383940c 100644 --- a/src/models/b2xIdentityUserFlowCollectionResponse.ts +++ b/src/models/b2xIdentityUserFlowCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoB2xIdentityUserFlowCollectionResponse(b2xIdentity } export function serializeB2xIdentityUserFlowCollectionResponse(writer: SerializationWriter, b2xIdentityUserFlowCollectionResponse: B2xIdentityUserFlowCollectionResponse | undefined = {} as B2xIdentityUserFlowCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, b2xIdentityUserFlowCollectionResponse) - writer.writeCollectionOfObjectValues("value", b2xIdentityUserFlowCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", b2xIdentityUserFlowCollectionResponse.value, serializeB2xIdentityUserFlow); } // tslint:enable // eslint-enable diff --git a/src/models/baseCollectionPaginationCountResponse.ts b/src/models/baseCollectionPaginationCountResponse.ts index 5d175497fd4..071532f6e07 100644 --- a/src/models/baseCollectionPaginationCountResponse.ts +++ b/src/models/baseCollectionPaginationCountResponse.ts @@ -134,6 +134,7 @@ import { deserializeIntoDeviceConfigurationStateCollectionResponse } from './dev import { deserializeIntoDeviceConfigurationUserStatusCollectionResponse } from './deviceConfigurationUserStatusCollectionResponse'; import { deserializeIntoDeviceEnrollmentConfigurationCollectionResponse } from './deviceEnrollmentConfigurationCollectionResponse'; import { deserializeIntoDeviceInstallStateCollectionResponse } from './deviceInstallStateCollectionResponse'; +import { deserializeIntoDeviceLocalCredentialInfoCollectionResponse } from './deviceLocalCredentialInfoCollectionResponse'; import { deserializeIntoDeviceLogCollectionResponseCollectionResponse } from './deviceLogCollectionResponseCollectionResponse'; import { deserializeIntoDeviceManagementExchangeConnectorCollectionResponse } from './deviceManagementExchangeConnectorCollectionResponse'; import { deserializeIntoDeviceManagementExportJobCollectionResponse } from './deviceManagementExportJobCollectionResponse'; @@ -344,6 +345,7 @@ import { deserializeIntoHostCollectionResponse } from './security/hostCollection import { deserializeIntoHostComponentCollectionResponse } from './security/hostComponentCollectionResponse'; import { deserializeIntoHostCookieCollectionResponse } from './security/hostCookieCollectionResponse'; import { deserializeIntoHostPairCollectionResponse } from './security/hostPairCollectionResponse'; +import { deserializeIntoHostPortCollectionResponse } from './security/hostPortCollectionResponse'; import { deserializeIntoHostSslCertificateCollectionResponse } from './security/hostSslCertificateCollectionResponse'; import { deserializeIntoHostTrackerCollectionResponse } from './security/hostTrackerCollectionResponse'; import { deserializeIntoIncidentCollectionResponse } from './security/incidentCollectionResponse'; diff --git a/src/models/baseEndUserNotification.ts b/src/models/baseEndUserNotification.ts index 6978f7c65d9..f55bbec37ef 100644 --- a/src/models/baseEndUserNotification.ts +++ b/src/models/baseEndUserNotification.ts @@ -14,7 +14,7 @@ export interface BaseEndUserNotification extends AdditionalDataHolder, Parsable */ additionalData?: Record; /** - * The defaultLanguage property + * The default language for the end user notification. */ defaultLanguage?: string; /** @@ -53,7 +53,7 @@ export function deserializeIntoBaseEndUserNotification(baseEndUserNotification: } export function serializeBaseEndUserNotification(writer: SerializationWriter, baseEndUserNotification: BaseEndUserNotification | undefined = {} as BaseEndUserNotification) : void { writer.writeStringValue("defaultLanguage", baseEndUserNotification.defaultLanguage); - writer.writeObjectValue("endUserNotification", baseEndUserNotification.endUserNotification, ); + writer.writeObjectValue("endUserNotification", baseEndUserNotification.endUserNotification, serializeEndUserNotification); writer.writeStringValue("@odata.type", baseEndUserNotification.odataType); writer.writeAdditionalData(baseEndUserNotification.additionalData); } diff --git a/src/models/baseItem.ts b/src/models/baseItem.ts index 68916813c63..fd13b82d825 100644 --- a/src/models/baseItem.ts +++ b/src/models/baseItem.ts @@ -102,16 +102,16 @@ export function deserializeIntoBaseItem(baseItem: BaseItem | undefined = {} as B } export function serializeBaseItem(writer: SerializationWriter, baseItem: BaseItem | undefined = {} as BaseItem) : void { serializeEntity(writer, baseItem) - writer.writeObjectValue("createdBy", baseItem.createdBy, ); - writer.writeObjectValue("createdByUser", baseItem.createdByUser, ); + writer.writeObjectValue("createdBy", baseItem.createdBy, serializeIdentitySet); + writer.writeObjectValue("createdByUser", baseItem.createdByUser, serializeUser); writer.writeDateValue("createdDateTime", baseItem.createdDateTime); writer.writeStringValue("description", baseItem.description); writer.writeStringValue("eTag", baseItem.eTag); - writer.writeObjectValue("lastModifiedBy", baseItem.lastModifiedBy, ); - writer.writeObjectValue("lastModifiedByUser", baseItem.lastModifiedByUser, ); + writer.writeObjectValue("lastModifiedBy", baseItem.lastModifiedBy, serializeIdentitySet); + writer.writeObjectValue("lastModifiedByUser", baseItem.lastModifiedByUser, serializeUser); writer.writeDateValue("lastModifiedDateTime", baseItem.lastModifiedDateTime); writer.writeStringValue("name", baseItem.name); - writer.writeObjectValue("parentReference", baseItem.parentReference, ); + writer.writeObjectValue("parentReference", baseItem.parentReference, serializeItemReference); writer.writeStringValue("webUrl", baseItem.webUrl); } // tslint:enable diff --git a/src/models/baseItemCollectionResponse.ts b/src/models/baseItemCollectionResponse.ts index cc8fd47cbb0..9c1783f53e4 100644 --- a/src/models/baseItemCollectionResponse.ts +++ b/src/models/baseItemCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoBaseItemCollectionResponse(baseItemCollectionResp } export function serializeBaseItemCollectionResponse(writer: SerializationWriter, baseItemCollectionResponse: BaseItemCollectionResponse | undefined = {} as BaseItemCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, baseItemCollectionResponse) - writer.writeCollectionOfObjectValues("value", baseItemCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", baseItemCollectionResponse.value, serializeBaseItem); } // tslint:enable // eslint-enable diff --git a/src/models/baseItemVersion.ts b/src/models/baseItemVersion.ts index 2cd36ebd2df..98bb579b932 100644 --- a/src/models/baseItemVersion.ts +++ b/src/models/baseItemVersion.ts @@ -52,9 +52,9 @@ export function deserializeIntoBaseItemVersion(baseItemVersion: BaseItemVersion } export function serializeBaseItemVersion(writer: SerializationWriter, baseItemVersion: BaseItemVersion | undefined = {} as BaseItemVersion) : void { serializeEntity(writer, baseItemVersion) - writer.writeObjectValue("lastModifiedBy", baseItemVersion.lastModifiedBy, ); + writer.writeObjectValue("lastModifiedBy", baseItemVersion.lastModifiedBy, serializeIdentitySet); writer.writeDateValue("lastModifiedDateTime", baseItemVersion.lastModifiedDateTime); - writer.writeObjectValue("publication", baseItemVersion.publication, ); + writer.writeObjectValue("publication", baseItemVersion.publication, serializePublicationFacet); } // tslint:enable // eslint-enable diff --git a/src/models/bitlocker.ts b/src/models/bitlocker.ts index 47f8b30a283..942cdc120d9 100644 --- a/src/models/bitlocker.ts +++ b/src/models/bitlocker.ts @@ -23,7 +23,7 @@ export function deserializeIntoBitlocker(bitlocker: Bitlocker | undefined = {} a } export function serializeBitlocker(writer: SerializationWriter, bitlocker: Bitlocker | undefined = {} as Bitlocker) : void { serializeEntity(writer, bitlocker) - writer.writeCollectionOfObjectValues("recoveryKeys", bitlocker.recoveryKeys, ); + writer.writeCollectionOfObjectValues("recoveryKeys", bitlocker.recoveryKeys, serializeBitlockerRecoveryKey); } // tslint:enable // eslint-enable diff --git a/src/models/bitlockerRecoveryKeyCollectionResponse.ts b/src/models/bitlockerRecoveryKeyCollectionResponse.ts index 405cca83502..404cd42a12f 100644 --- a/src/models/bitlockerRecoveryKeyCollectionResponse.ts +++ b/src/models/bitlockerRecoveryKeyCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoBitlockerRecoveryKeyCollectionResponse(bitlockerR } export function serializeBitlockerRecoveryKeyCollectionResponse(writer: SerializationWriter, bitlockerRecoveryKeyCollectionResponse: BitlockerRecoveryKeyCollectionResponse | undefined = {} as BitlockerRecoveryKeyCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, bitlockerRecoveryKeyCollectionResponse) - writer.writeCollectionOfObjectValues("value", bitlockerRecoveryKeyCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", bitlockerRecoveryKeyCollectionResponse.value, serializeBitlockerRecoveryKey); } // tslint:enable // eslint-enable diff --git a/src/models/bookingAppointment.ts b/src/models/bookingAppointment.ts index ef689191fc1..a4260dd5f7e 100644 --- a/src/models/bookingAppointment.ts +++ b/src/models/bookingAppointment.ts @@ -144,9 +144,9 @@ export function serializeBookingAppointment(writer: SerializationWriter, booking serializeEntity(writer, bookingAppointment) writer.writeStringValue("additionalInformation", bookingAppointment.additionalInformation); writer.writeStringValue("anonymousJoinWebUrl", bookingAppointment.anonymousJoinWebUrl); - writer.writeCollectionOfObjectValues("customers", bookingAppointment.customers, ); + writer.writeCollectionOfObjectValues("customers", bookingAppointment.customers, serializeBookingCustomerInformationBase); writer.writeStringValue("customerTimeZone", bookingAppointment.customerTimeZone); - writer.writeObjectValue("endDateTime", bookingAppointment.endDateTime, ); + writer.writeObjectValue("endDateTime", bookingAppointment.endDateTime, serializeDateTimeTimeZone); writer.writeBooleanValue("isLocationOnline", bookingAppointment.isLocationOnline); writer.writeStringValue("joinWebUrl", bookingAppointment.joinWebUrl); writer.writeNumberValue("maximumAttendeesCount", bookingAppointment.maximumAttendeesCount); @@ -155,15 +155,15 @@ export function serializeBookingAppointment(writer: SerializationWriter, booking writer.writeDurationValue("preBuffer", bookingAppointment.preBuffer); writer.writeNumberValue("price", bookingAppointment.price); writer.writeEnumValue("priceType", bookingAppointment.priceType); - writer.writeCollectionOfObjectValues("reminders", bookingAppointment.reminders, ); + writer.writeCollectionOfObjectValues("reminders", bookingAppointment.reminders, serializeBookingReminder); writer.writeStringValue("selfServiceAppointmentId", bookingAppointment.selfServiceAppointmentId); writer.writeStringValue("serviceId", bookingAppointment.serviceId); - writer.writeObjectValue("serviceLocation", bookingAppointment.serviceLocation, ); + writer.writeObjectValue("serviceLocation", bookingAppointment.serviceLocation, serializeLocation); writer.writeStringValue("serviceName", bookingAppointment.serviceName); writer.writeStringValue("serviceNotes", bookingAppointment.serviceNotes); writer.writeBooleanValue("smsNotificationsEnabled", bookingAppointment.smsNotificationsEnabled); writer.writeCollectionOfPrimitiveValues("staffMemberIds", bookingAppointment.staffMemberIds); - writer.writeObjectValue("startDateTime", bookingAppointment.startDateTime, ); + writer.writeObjectValue("startDateTime", bookingAppointment.startDateTime, serializeDateTimeTimeZone); } // tslint:enable // eslint-enable diff --git a/src/models/bookingAppointmentCollectionResponse.ts b/src/models/bookingAppointmentCollectionResponse.ts index ac5a683b8a9..851d54d2e71 100644 --- a/src/models/bookingAppointmentCollectionResponse.ts +++ b/src/models/bookingAppointmentCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoBookingAppointmentCollectionResponse(bookingAppoi } export function serializeBookingAppointmentCollectionResponse(writer: SerializationWriter, bookingAppointmentCollectionResponse: BookingAppointmentCollectionResponse | undefined = {} as BookingAppointmentCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, bookingAppointmentCollectionResponse) - writer.writeCollectionOfObjectValues("value", bookingAppointmentCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", bookingAppointmentCollectionResponse.value, serializeBookingAppointment); } // tslint:enable // eslint-enable diff --git a/src/models/bookingBusiness.ts b/src/models/bookingBusiness.ts index 3d7f981bb46..aa41359f34d 100644 --- a/src/models/bookingBusiness.ts +++ b/src/models/bookingBusiness.ts @@ -115,21 +115,21 @@ export function deserializeIntoBookingBusiness(bookingBusiness: BookingBusiness } export function serializeBookingBusiness(writer: SerializationWriter, bookingBusiness: BookingBusiness | undefined = {} as BookingBusiness) : void { serializeEntity(writer, bookingBusiness) - writer.writeObjectValue("address", bookingBusiness.address, ); - writer.writeCollectionOfObjectValues("appointments", bookingBusiness.appointments, ); - writer.writeCollectionOfObjectValues("businessHours", bookingBusiness.businessHours, ); + writer.writeObjectValue("address", bookingBusiness.address, serializePhysicalAddress); + writer.writeCollectionOfObjectValues("appointments", bookingBusiness.appointments, serializeBookingAppointment); + writer.writeCollectionOfObjectValues("businessHours", bookingBusiness.businessHours, serializeBookingWorkHours); writer.writeStringValue("businessType", bookingBusiness.businessType); - writer.writeCollectionOfObjectValues("calendarView", bookingBusiness.calendarView, ); - writer.writeCollectionOfObjectValues("customers", bookingBusiness.customers, ); - writer.writeCollectionOfObjectValues("customQuestions", bookingBusiness.customQuestions, ); + writer.writeCollectionOfObjectValues("calendarView", bookingBusiness.calendarView, serializeBookingAppointment); + writer.writeCollectionOfObjectValues("customers", bookingBusiness.customers, serializeBookingCustomerBase); + writer.writeCollectionOfObjectValues("customQuestions", bookingBusiness.customQuestions, serializeBookingCustomQuestion); writer.writeStringValue("defaultCurrencyIso", bookingBusiness.defaultCurrencyIso); writer.writeStringValue("displayName", bookingBusiness.displayName); writer.writeStringValue("email", bookingBusiness.email); writer.writeStringValue("languageTag", bookingBusiness.languageTag); writer.writeStringValue("phone", bookingBusiness.phone); - writer.writeObjectValue("schedulingPolicy", bookingBusiness.schedulingPolicy, ); - writer.writeCollectionOfObjectValues("services", bookingBusiness.services, ); - writer.writeCollectionOfObjectValues("staffMembers", bookingBusiness.staffMembers, ); + writer.writeObjectValue("schedulingPolicy", bookingBusiness.schedulingPolicy, serializeBookingSchedulingPolicy); + writer.writeCollectionOfObjectValues("services", bookingBusiness.services, serializeBookingService); + writer.writeCollectionOfObjectValues("staffMembers", bookingBusiness.staffMembers, serializeBookingStaffMemberBase); writer.writeStringValue("webSiteUrl", bookingBusiness.webSiteUrl); } // tslint:enable diff --git a/src/models/bookingBusinessCollectionResponse.ts b/src/models/bookingBusinessCollectionResponse.ts index b7782fd4f6d..f94725a9059 100644 --- a/src/models/bookingBusinessCollectionResponse.ts +++ b/src/models/bookingBusinessCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoBookingBusinessCollectionResponse(bookingBusiness } export function serializeBookingBusinessCollectionResponse(writer: SerializationWriter, bookingBusinessCollectionResponse: BookingBusinessCollectionResponse | undefined = {} as BookingBusinessCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, bookingBusinessCollectionResponse) - writer.writeCollectionOfObjectValues("value", bookingBusinessCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", bookingBusinessCollectionResponse.value, serializeBookingBusiness); } // tslint:enable // eslint-enable diff --git a/src/models/bookingCurrencyCollectionResponse.ts b/src/models/bookingCurrencyCollectionResponse.ts index 0bad614b5e4..2f9b70b311a 100644 --- a/src/models/bookingCurrencyCollectionResponse.ts +++ b/src/models/bookingCurrencyCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoBookingCurrencyCollectionResponse(bookingCurrency } export function serializeBookingCurrencyCollectionResponse(writer: SerializationWriter, bookingCurrencyCollectionResponse: BookingCurrencyCollectionResponse | undefined = {} as BookingCurrencyCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, bookingCurrencyCollectionResponse) - writer.writeCollectionOfObjectValues("value", bookingCurrencyCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", bookingCurrencyCollectionResponse.value, serializeBookingCurrency); } // tslint:enable // eslint-enable diff --git a/src/models/bookingCustomQuestionCollectionResponse.ts b/src/models/bookingCustomQuestionCollectionResponse.ts index 725a7dd3441..f580e67f76b 100644 --- a/src/models/bookingCustomQuestionCollectionResponse.ts +++ b/src/models/bookingCustomQuestionCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoBookingCustomQuestionCollectionResponse(bookingCu } export function serializeBookingCustomQuestionCollectionResponse(writer: SerializationWriter, bookingCustomQuestionCollectionResponse: BookingCustomQuestionCollectionResponse | undefined = {} as BookingCustomQuestionCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, bookingCustomQuestionCollectionResponse) - writer.writeCollectionOfObjectValues("value", bookingCustomQuestionCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", bookingCustomQuestionCollectionResponse.value, serializeBookingCustomQuestion); } // tslint:enable // eslint-enable diff --git a/src/models/bookingCustomer.ts b/src/models/bookingCustomer.ts index 8f416af1e5d..52c5545d7c9 100644 --- a/src/models/bookingCustomer.ts +++ b/src/models/bookingCustomer.ts @@ -39,10 +39,10 @@ export function deserializeIntoBookingCustomer(bookingCustomer: BookingCustomer } export function serializeBookingCustomer(writer: SerializationWriter, bookingCustomer: BookingCustomer | undefined = {} as BookingCustomer) : void { serializeBookingCustomerBase(writer, bookingCustomer) - writer.writeCollectionOfObjectValues("addresses", bookingCustomer.addresses, ); + writer.writeCollectionOfObjectValues("addresses", bookingCustomer.addresses, serializePhysicalAddress); writer.writeStringValue("displayName", bookingCustomer.displayName); writer.writeStringValue("emailAddress", bookingCustomer.emailAddress); - writer.writeCollectionOfObjectValues("phones", bookingCustomer.phones, ); + writer.writeCollectionOfObjectValues("phones", bookingCustomer.phones, serializePhone); } // tslint:enable // eslint-enable diff --git a/src/models/bookingCustomerBaseCollectionResponse.ts b/src/models/bookingCustomerBaseCollectionResponse.ts index 939f04c3043..e98fdcadbb5 100644 --- a/src/models/bookingCustomerBaseCollectionResponse.ts +++ b/src/models/bookingCustomerBaseCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoBookingCustomerBaseCollectionResponse(bookingCust } export function serializeBookingCustomerBaseCollectionResponse(writer: SerializationWriter, bookingCustomerBaseCollectionResponse: BookingCustomerBaseCollectionResponse | undefined = {} as BookingCustomerBaseCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, bookingCustomerBaseCollectionResponse) - writer.writeCollectionOfObjectValues("value", bookingCustomerBaseCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", bookingCustomerBaseCollectionResponse.value, serializeBookingCustomerBase); } // tslint:enable // eslint-enable diff --git a/src/models/bookingCustomerInformation.ts b/src/models/bookingCustomerInformation.ts index 3eb8c72cafd..b712768e82d 100644 --- a/src/models/bookingCustomerInformation.ts +++ b/src/models/bookingCustomerInformation.ts @@ -60,9 +60,9 @@ export function deserializeIntoBookingCustomerInformation(bookingCustomerInforma export function serializeBookingCustomerInformation(writer: SerializationWriter, bookingCustomerInformation: BookingCustomerInformation | undefined = {} as BookingCustomerInformation) : void { serializeBookingCustomerInformationBase(writer, bookingCustomerInformation) writer.writeStringValue("customerId", bookingCustomerInformation.customerId); - writer.writeCollectionOfObjectValues("customQuestionAnswers", bookingCustomerInformation.customQuestionAnswers, ); + writer.writeCollectionOfObjectValues("customQuestionAnswers", bookingCustomerInformation.customQuestionAnswers, serializeBookingQuestionAnswer); writer.writeStringValue("emailAddress", bookingCustomerInformation.emailAddress); - writer.writeObjectValue("location", bookingCustomerInformation.location, ); + writer.writeObjectValue("location", bookingCustomerInformation.location, serializeLocation); writer.writeStringValue("name", bookingCustomerInformation.name); writer.writeStringValue("notes", bookingCustomerInformation.notes); writer.writeStringValue("phone", bookingCustomerInformation.phone); diff --git a/src/models/bookingService.ts b/src/models/bookingService.ts index ace9f8a79f1..996e10bd222 100644 --- a/src/models/bookingService.ts +++ b/src/models/bookingService.ts @@ -128,12 +128,12 @@ export function deserializeIntoBookingService(bookingService: BookingService | u export function serializeBookingService(writer: SerializationWriter, bookingService: BookingService | undefined = {} as BookingService) : void { serializeEntity(writer, bookingService) writer.writeStringValue("additionalInformation", bookingService.additionalInformation); - writer.writeCollectionOfObjectValues("customQuestions", bookingService.customQuestions, ); + writer.writeCollectionOfObjectValues("customQuestions", bookingService.customQuestions, serializeBookingQuestionAssignment); writer.writeDurationValue("defaultDuration", bookingService.defaultDuration); - writer.writeObjectValue("defaultLocation", bookingService.defaultLocation, ); + writer.writeObjectValue("defaultLocation", bookingService.defaultLocation, serializeLocation); writer.writeNumberValue("defaultPrice", bookingService.defaultPrice); writer.writeEnumValue("defaultPriceType", bookingService.defaultPriceType); - writer.writeCollectionOfObjectValues("defaultReminders", bookingService.defaultReminders, ); + writer.writeCollectionOfObjectValues("defaultReminders", bookingService.defaultReminders, serializeBookingReminder); writer.writeStringValue("description", bookingService.description); writer.writeStringValue("displayName", bookingService.displayName); writer.writeBooleanValue("isAnonymousJoinEnabled", bookingService.isAnonymousJoinEnabled); @@ -144,7 +144,7 @@ export function serializeBookingService(writer: SerializationWriter, bookingServ writer.writeStringValue("notes", bookingService.notes); writer.writeDurationValue("postBuffer", bookingService.postBuffer); writer.writeDurationValue("preBuffer", bookingService.preBuffer); - writer.writeObjectValue("schedulingPolicy", bookingService.schedulingPolicy, ); + writer.writeObjectValue("schedulingPolicy", bookingService.schedulingPolicy, serializeBookingSchedulingPolicy); writer.writeBooleanValue("smsNotificationsEnabled", bookingService.smsNotificationsEnabled); writer.writeCollectionOfPrimitiveValues("staffMemberIds", bookingService.staffMemberIds); } diff --git a/src/models/bookingServiceCollectionResponse.ts b/src/models/bookingServiceCollectionResponse.ts index 38a33d88f40..e87bb93d46a 100644 --- a/src/models/bookingServiceCollectionResponse.ts +++ b/src/models/bookingServiceCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoBookingServiceCollectionResponse(bookingServiceCo } export function serializeBookingServiceCollectionResponse(writer: SerializationWriter, bookingServiceCollectionResponse: BookingServiceCollectionResponse | undefined = {} as BookingServiceCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, bookingServiceCollectionResponse) - writer.writeCollectionOfObjectValues("value", bookingServiceCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", bookingServiceCollectionResponse.value, serializeBookingService); } // tslint:enable // eslint-enable diff --git a/src/models/bookingStaffMember.ts b/src/models/bookingStaffMember.ts index 684e9e22d65..cb82718e0a0 100644 --- a/src/models/bookingStaffMember.ts +++ b/src/models/bookingStaffMember.ts @@ -66,7 +66,7 @@ export function serializeBookingStaffMember(writer: SerializationWriter, booking writer.writeEnumValue("role", bookingStaffMember.role); writer.writeStringValue("timeZone", bookingStaffMember.timeZone); writer.writeBooleanValue("useBusinessHours", bookingStaffMember.useBusinessHours); - writer.writeCollectionOfObjectValues("workingHours", bookingStaffMember.workingHours, ); + writer.writeCollectionOfObjectValues("workingHours", bookingStaffMember.workingHours, serializeBookingWorkHours); } // tslint:enable // eslint-enable diff --git a/src/models/bookingStaffMemberBaseCollectionResponse.ts b/src/models/bookingStaffMemberBaseCollectionResponse.ts index be45c205aa8..7fded3732d6 100644 --- a/src/models/bookingStaffMemberBaseCollectionResponse.ts +++ b/src/models/bookingStaffMemberBaseCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoBookingStaffMemberBaseCollectionResponse(bookingS } export function serializeBookingStaffMemberBaseCollectionResponse(writer: SerializationWriter, bookingStaffMemberBaseCollectionResponse: BookingStaffMemberBaseCollectionResponse | undefined = {} as BookingStaffMemberBaseCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, bookingStaffMemberBaseCollectionResponse) - writer.writeCollectionOfObjectValues("value", bookingStaffMemberBaseCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", bookingStaffMemberBaseCollectionResponse.value, serializeBookingStaffMemberBase); } // tslint:enable // eslint-enable diff --git a/src/models/bookingWorkHours.ts b/src/models/bookingWorkHours.ts index 2174cdd14ec..dbab7690154 100644 --- a/src/models/bookingWorkHours.ts +++ b/src/models/bookingWorkHours.ts @@ -37,7 +37,7 @@ export function deserializeIntoBookingWorkHours(bookingWorkHours: BookingWorkHou export function serializeBookingWorkHours(writer: SerializationWriter, bookingWorkHours: BookingWorkHours | undefined = {} as BookingWorkHours) : void { writer.writeEnumValue("day", bookingWorkHours.day); writer.writeStringValue("@odata.type", bookingWorkHours.odataType); - writer.writeCollectionOfObjectValues("timeSlots", bookingWorkHours.timeSlots, ); + writer.writeCollectionOfObjectValues("timeSlots", bookingWorkHours.timeSlots, serializeBookingWorkTimeSlot); writer.writeAdditionalData(bookingWorkHours.additionalData); } // tslint:enable diff --git a/src/models/broadcastMeetingSettings.ts b/src/models/broadcastMeetingSettings.ts index 8f4fec23189..5a921fff382 100644 --- a/src/models/broadcastMeetingSettings.ts +++ b/src/models/broadcastMeetingSettings.ts @@ -56,7 +56,7 @@ export function deserializeIntoBroadcastMeetingSettings(broadcastMeetingSettings } export function serializeBroadcastMeetingSettings(writer: SerializationWriter, broadcastMeetingSettings: BroadcastMeetingSettings | undefined = {} as BroadcastMeetingSettings) : void { writer.writeEnumValue("allowedAudience", broadcastMeetingSettings.allowedAudience); - writer.writeObjectValue("captions", broadcastMeetingSettings.captions, ); + writer.writeObjectValue("captions", broadcastMeetingSettings.captions, serializeBroadcastMeetingCaptionSettings); writer.writeBooleanValue("isAttendeeReportEnabled", broadcastMeetingSettings.isAttendeeReportEnabled); writer.writeBooleanValue("isQuestionAndAnswerEnabled", broadcastMeetingSettings.isQuestionAndAnswerEnabled); writer.writeBooleanValue("isRecordingEnabled", broadcastMeetingSettings.isRecordingEnabled); diff --git a/src/models/browserSharedCookie.ts b/src/models/browserSharedCookie.ts index 11e5f892c5f..9264b8aeb24 100644 --- a/src/models/browserSharedCookie.ts +++ b/src/models/browserSharedCookie.ts @@ -85,10 +85,10 @@ export function serializeBrowserSharedCookie(writer: SerializationWriter, browse writer.writeDateValue("createdDateTime", browserSharedCookie.createdDateTime); writer.writeDateValue("deletedDateTime", browserSharedCookie.deletedDateTime); writer.writeStringValue("displayName", browserSharedCookie.displayName); - writer.writeCollectionOfObjectValues("history", browserSharedCookie.history, ); + writer.writeCollectionOfObjectValues("history", browserSharedCookie.history, serializeBrowserSharedCookieHistory); writer.writeBooleanValue("hostOnly", browserSharedCookie.hostOnly); writer.writeStringValue("hostOrDomain", browserSharedCookie.hostOrDomain); - writer.writeObjectValue("lastModifiedBy", browserSharedCookie.lastModifiedBy, ); + writer.writeObjectValue("lastModifiedBy", browserSharedCookie.lastModifiedBy, serializeIdentitySet); writer.writeDateValue("lastModifiedDateTime", browserSharedCookie.lastModifiedDateTime); writer.writeStringValue("path", browserSharedCookie.path); writer.writeEnumValue("sourceEnvironment", browserSharedCookie.sourceEnvironment); diff --git a/src/models/browserSharedCookieCollectionResponse.ts b/src/models/browserSharedCookieCollectionResponse.ts index c26b382151c..1c04dfcc457 100644 --- a/src/models/browserSharedCookieCollectionResponse.ts +++ b/src/models/browserSharedCookieCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoBrowserSharedCookieCollectionResponse(browserShar } export function serializeBrowserSharedCookieCollectionResponse(writer: SerializationWriter, browserSharedCookieCollectionResponse: BrowserSharedCookieCollectionResponse | undefined = {} as BrowserSharedCookieCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, browserSharedCookieCollectionResponse) - writer.writeCollectionOfObjectValues("value", browserSharedCookieCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", browserSharedCookieCollectionResponse.value, serializeBrowserSharedCookie); } // tslint:enable // eslint-enable diff --git a/src/models/browserSharedCookieHistory.ts b/src/models/browserSharedCookieHistory.ts index 6515d1c9d67..909e8d80e9f 100644 --- a/src/models/browserSharedCookieHistory.ts +++ b/src/models/browserSharedCookieHistory.ts @@ -69,7 +69,7 @@ export function serializeBrowserSharedCookieHistory(writer: SerializationWriter, writer.writeStringValue("displayName", browserSharedCookieHistory.displayName); writer.writeBooleanValue("hostOnly", browserSharedCookieHistory.hostOnly); writer.writeStringValue("hostOrDomain", browserSharedCookieHistory.hostOrDomain); - writer.writeObjectValue("lastModifiedBy", browserSharedCookieHistory.lastModifiedBy, ); + writer.writeObjectValue("lastModifiedBy", browserSharedCookieHistory.lastModifiedBy, serializeIdentitySet); writer.writeStringValue("@odata.type", browserSharedCookieHistory.odataType); writer.writeStringValue("path", browserSharedCookieHistory.path); writer.writeDateValue("publishedDateTime", browserSharedCookieHistory.publishedDateTime); diff --git a/src/models/browserSite.ts b/src/models/browserSite.ts index 7091822d087..41e04c06c93 100644 --- a/src/models/browserSite.ts +++ b/src/models/browserSite.ts @@ -88,8 +88,8 @@ export function serializeBrowserSite(writer: SerializationWriter, browserSite: B writer.writeEnumValue("compatibilityMode", browserSite.compatibilityMode); writer.writeDateValue("createdDateTime", browserSite.createdDateTime); writer.writeDateValue("deletedDateTime", browserSite.deletedDateTime); - writer.writeCollectionOfObjectValues("history", browserSite.history, ); - writer.writeObjectValue("lastModifiedBy", browserSite.lastModifiedBy, ); + writer.writeCollectionOfObjectValues("history", browserSite.history, serializeBrowserSiteHistory); + writer.writeObjectValue("lastModifiedBy", browserSite.lastModifiedBy, serializeIdentitySet); writer.writeDateValue("lastModifiedDateTime", browserSite.lastModifiedDateTime); writer.writeEnumValue("mergeType", browserSite.mergeType); writer.writeEnumValue("status", browserSite.status); diff --git a/src/models/browserSiteCollectionResponse.ts b/src/models/browserSiteCollectionResponse.ts index 0ac3597c60e..466935071c5 100644 --- a/src/models/browserSiteCollectionResponse.ts +++ b/src/models/browserSiteCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoBrowserSiteCollectionResponse(browserSiteCollecti } export function serializeBrowserSiteCollectionResponse(writer: SerializationWriter, browserSiteCollectionResponse: BrowserSiteCollectionResponse | undefined = {} as BrowserSiteCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, browserSiteCollectionResponse) - writer.writeCollectionOfObjectValues("value", browserSiteCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", browserSiteCollectionResponse.value, serializeBrowserSite); } // tslint:enable // eslint-enable diff --git a/src/models/browserSiteHistory.ts b/src/models/browserSiteHistory.ts index 5f967c36f5b..dde665a3894 100644 --- a/src/models/browserSiteHistory.ts +++ b/src/models/browserSiteHistory.ts @@ -65,7 +65,7 @@ export function serializeBrowserSiteHistory(writer: SerializationWriter, browser writer.writeBooleanValue("allowRedirect", browserSiteHistory.allowRedirect); writer.writeStringValue("comment", browserSiteHistory.comment); writer.writeEnumValue("compatibilityMode", browserSiteHistory.compatibilityMode); - writer.writeObjectValue("lastModifiedBy", browserSiteHistory.lastModifiedBy, ); + writer.writeObjectValue("lastModifiedBy", browserSiteHistory.lastModifiedBy, serializeIdentitySet); writer.writeEnumValue("mergeType", browserSiteHistory.mergeType); writer.writeStringValue("@odata.type", browserSiteHistory.odataType); writer.writeDateValue("publishedDateTime", browserSiteHistory.publishedDateTime); diff --git a/src/models/browserSiteList.ts b/src/models/browserSiteList.ts index 33b56da765d..45dfe7ccca5 100644 --- a/src/models/browserSiteList.ts +++ b/src/models/browserSiteList.ts @@ -73,13 +73,13 @@ export function serializeBrowserSiteList(writer: SerializationWriter, browserSit serializeEntity(writer, browserSiteList) writer.writeStringValue("description", browserSiteList.description); writer.writeStringValue("displayName", browserSiteList.displayName); - writer.writeObjectValue("lastModifiedBy", browserSiteList.lastModifiedBy, ); + writer.writeObjectValue("lastModifiedBy", browserSiteList.lastModifiedBy, serializeIdentitySet); writer.writeDateValue("lastModifiedDateTime", browserSiteList.lastModifiedDateTime); - writer.writeObjectValue("publishedBy", browserSiteList.publishedBy, ); + writer.writeObjectValue("publishedBy", browserSiteList.publishedBy, serializeIdentitySet); writer.writeDateValue("publishedDateTime", browserSiteList.publishedDateTime); writer.writeStringValue("revision", browserSiteList.revision); - writer.writeCollectionOfObjectValues("sharedCookies", browserSiteList.sharedCookies, ); - writer.writeCollectionOfObjectValues("sites", browserSiteList.sites, ); + writer.writeCollectionOfObjectValues("sharedCookies", browserSiteList.sharedCookies, serializeBrowserSharedCookie); + writer.writeCollectionOfObjectValues("sites", browserSiteList.sites, serializeBrowserSite); writer.writeEnumValue("status", browserSiteList.status); } // tslint:enable diff --git a/src/models/browserSiteListCollectionResponse.ts b/src/models/browserSiteListCollectionResponse.ts index 4804409240c..bc672777af2 100644 --- a/src/models/browserSiteListCollectionResponse.ts +++ b/src/models/browserSiteListCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoBrowserSiteListCollectionResponse(browserSiteList } export function serializeBrowserSiteListCollectionResponse(writer: SerializationWriter, browserSiteListCollectionResponse: BrowserSiteListCollectionResponse | undefined = {} as BrowserSiteListCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, browserSiteListCollectionResponse) - writer.writeCollectionOfObjectValues("value", browserSiteListCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", browserSiteListCollectionResponse.value, serializeBrowserSiteList); } // tslint:enable // eslint-enable diff --git a/src/models/bucketAggregationDefinition.ts b/src/models/bucketAggregationDefinition.ts index 2e925df48e7..c15f6d335b5 100644 --- a/src/models/bucketAggregationDefinition.ts +++ b/src/models/bucketAggregationDefinition.ts @@ -54,7 +54,7 @@ export function serializeBucketAggregationDefinition(writer: SerializationWriter writer.writeNumberValue("minimumCount", bucketAggregationDefinition.minimumCount); writer.writeStringValue("@odata.type", bucketAggregationDefinition.odataType); writer.writeStringValue("prefixFilter", bucketAggregationDefinition.prefixFilter); - writer.writeCollectionOfObjectValues("ranges", bucketAggregationDefinition.ranges, ); + writer.writeCollectionOfObjectValues("ranges", bucketAggregationDefinition.ranges, serializeBucketAggregationRange); writer.writeEnumValue("sortBy", bucketAggregationDefinition.sortBy); writer.writeAdditionalData(bucketAggregationDefinition.additionalData); } diff --git a/src/models/bundle.ts b/src/models/bundle.ts index 8333af5f84f..f564c552cef 100644 --- a/src/models/bundle.ts +++ b/src/models/bundle.ts @@ -34,7 +34,7 @@ export function deserializeIntoBundle(bundle: Bundle | undefined = {} as Bundle) } } export function serializeBundle(writer: SerializationWriter, bundle: Bundle | undefined = {} as Bundle) : void { - writer.writeObjectValue("album", bundle.album, ); + writer.writeObjectValue("album", bundle.album, serializeAlbum); writer.writeNumberValue("childCount", bundle.childCount); writer.writeStringValue("@odata.type", bundle.odataType); writer.writeAdditionalData(bundle.additionalData); diff --git a/src/models/calendar.ts b/src/models/calendar.ts index 9cbd36a5400..99c7f3fda1f 100644 --- a/src/models/calendar.ts +++ b/src/models/calendar.ts @@ -116,23 +116,23 @@ export function serializeCalendar(writer: SerializationWriter, calendar: Calenda serializeEntity(writer, calendar) if(calendar.allowedOnlineMeetingProviders) writer.writeEnumValue("allowedOnlineMeetingProviders", ...calendar.allowedOnlineMeetingProviders); - writer.writeCollectionOfObjectValues("calendarPermissions", calendar.calendarPermissions, ); - writer.writeCollectionOfObjectValues("calendarView", calendar.calendarView, ); + writer.writeCollectionOfObjectValues("calendarPermissions", calendar.calendarPermissions, serializeCalendarPermission); + writer.writeCollectionOfObjectValues("calendarView", calendar.calendarView, serializeEvent); writer.writeBooleanValue("canEdit", calendar.canEdit); writer.writeBooleanValue("canShare", calendar.canShare); writer.writeBooleanValue("canViewPrivateItems", calendar.canViewPrivateItems); writer.writeStringValue("changeKey", calendar.changeKey); writer.writeEnumValue("color", calendar.color); writer.writeEnumValue("defaultOnlineMeetingProvider", calendar.defaultOnlineMeetingProvider); - writer.writeCollectionOfObjectValues("events", calendar.events, ); + writer.writeCollectionOfObjectValues("events", calendar.events, serializeEvent); writer.writeStringValue("hexColor", calendar.hexColor); writer.writeBooleanValue("isDefaultCalendar", calendar.isDefaultCalendar); writer.writeBooleanValue("isRemovable", calendar.isRemovable); writer.writeBooleanValue("isTallyingResponses", calendar.isTallyingResponses); - writer.writeCollectionOfObjectValues("multiValueExtendedProperties", calendar.multiValueExtendedProperties, ); + writer.writeCollectionOfObjectValues("multiValueExtendedProperties", calendar.multiValueExtendedProperties, serializeMultiValueLegacyExtendedProperty); writer.writeStringValue("name", calendar.name); - writer.writeObjectValue("owner", calendar.owner, ); - writer.writeCollectionOfObjectValues("singleValueExtendedProperties", calendar.singleValueExtendedProperties, ); + writer.writeObjectValue("owner", calendar.owner, serializeEmailAddress); + writer.writeCollectionOfObjectValues("singleValueExtendedProperties", calendar.singleValueExtendedProperties, serializeSingleValueLegacyExtendedProperty); } // tslint:enable // eslint-enable diff --git a/src/models/calendarCollectionResponse.ts b/src/models/calendarCollectionResponse.ts index 24977ac6eff..33ee391cc8e 100644 --- a/src/models/calendarCollectionResponse.ts +++ b/src/models/calendarCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoCalendarCollectionResponse(calendarCollectionResp } export function serializeCalendarCollectionResponse(writer: SerializationWriter, calendarCollectionResponse: CalendarCollectionResponse | undefined = {} as CalendarCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, calendarCollectionResponse) - writer.writeCollectionOfObjectValues("value", calendarCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", calendarCollectionResponse.value, serializeCalendar); } // tslint:enable // eslint-enable diff --git a/src/models/calendarGroup.ts b/src/models/calendarGroup.ts index 1504ff51102..5c9c8cb3695 100644 --- a/src/models/calendarGroup.ts +++ b/src/models/calendarGroup.ts @@ -39,7 +39,7 @@ export function deserializeIntoCalendarGroup(calendarGroup: CalendarGroup | unde } export function serializeCalendarGroup(writer: SerializationWriter, calendarGroup: CalendarGroup | undefined = {} as CalendarGroup) : void { serializeEntity(writer, calendarGroup) - writer.writeCollectionOfObjectValues("calendars", calendarGroup.calendars, ); + writer.writeCollectionOfObjectValues("calendars", calendarGroup.calendars, serializeCalendar); writer.writeStringValue("changeKey", calendarGroup.changeKey); writer.writeGuidValue("classId", calendarGroup.classId); writer.writeStringValue("name", calendarGroup.name); diff --git a/src/models/calendarGroupCollectionResponse.ts b/src/models/calendarGroupCollectionResponse.ts index 95b3fc5a743..8986af44c79 100644 --- a/src/models/calendarGroupCollectionResponse.ts +++ b/src/models/calendarGroupCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoCalendarGroupCollectionResponse(calendarGroupColl } export function serializeCalendarGroupCollectionResponse(writer: SerializationWriter, calendarGroupCollectionResponse: CalendarGroupCollectionResponse | undefined = {} as CalendarGroupCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, calendarGroupCollectionResponse) - writer.writeCollectionOfObjectValues("value", calendarGroupCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", calendarGroupCollectionResponse.value, serializeCalendarGroup); } // tslint:enable // eslint-enable diff --git a/src/models/calendarPermission.ts b/src/models/calendarPermission.ts index 01d6e205d45..727a0c3e1c0 100644 --- a/src/models/calendarPermission.ts +++ b/src/models/calendarPermission.ts @@ -46,7 +46,7 @@ export function serializeCalendarPermission(writer: SerializationWriter, calenda serializeEntity(writer, calendarPermission) if(calendarPermission.allowedRoles) writer.writeEnumValue("allowedRoles", ...calendarPermission.allowedRoles); - writer.writeObjectValue("emailAddress", calendarPermission.emailAddress, ); + writer.writeObjectValue("emailAddress", calendarPermission.emailAddress, serializeEmailAddress); writer.writeBooleanValue("isInsideOrganization", calendarPermission.isInsideOrganization); writer.writeBooleanValue("isRemovable", calendarPermission.isRemovable); writer.writeEnumValue("role", calendarPermission.role); diff --git a/src/models/calendarPermissionCollectionResponse.ts b/src/models/calendarPermissionCollectionResponse.ts index 23a1ae39ffd..8c6fa15b0d2 100644 --- a/src/models/calendarPermissionCollectionResponse.ts +++ b/src/models/calendarPermissionCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoCalendarPermissionCollectionResponse(calendarPerm } export function serializeCalendarPermissionCollectionResponse(writer: SerializationWriter, calendarPermissionCollectionResponse: CalendarPermissionCollectionResponse | undefined = {} as CalendarPermissionCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, calendarPermissionCollectionResponse) - writer.writeCollectionOfObjectValues("value", calendarPermissionCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", calendarPermissionCollectionResponse.value, serializeCalendarPermission); } // tslint:enable // eslint-enable diff --git a/src/models/calendarSharingMessage.ts b/src/models/calendarSharingMessage.ts index 53ce43b1e29..fe0dec0419c 100644 --- a/src/models/calendarSharingMessage.ts +++ b/src/models/calendarSharingMessage.ts @@ -39,8 +39,8 @@ export function deserializeIntoCalendarSharingMessage(calendarSharingMessage: Ca export function serializeCalendarSharingMessage(writer: SerializationWriter, calendarSharingMessage: CalendarSharingMessage | undefined = {} as CalendarSharingMessage) : void { serializeMessage(writer, calendarSharingMessage) writer.writeBooleanValue("canAccept", calendarSharingMessage.canAccept); - writer.writeObjectValue("sharingMessageAction", calendarSharingMessage.sharingMessageAction, ); - writer.writeCollectionOfObjectValues("sharingMessageActions", calendarSharingMessage.sharingMessageActions, ); + writer.writeObjectValue("sharingMessageAction", calendarSharingMessage.sharingMessageAction, serializeCalendarSharingMessageAction); + writer.writeCollectionOfObjectValues("sharingMessageActions", calendarSharingMessage.sharingMessageActions, serializeCalendarSharingMessageAction); writer.writeStringValue("suggestedCalendarName", calendarSharingMessage.suggestedCalendarName); } // tslint:enable diff --git a/src/models/call.ts b/src/models/call.ts index 0483c0bfe13..83234d51ce6 100644 --- a/src/models/call.ts +++ b/src/models/call.ts @@ -156,31 +156,31 @@ export function deserializeIntoCall(call: Call | undefined = {} as Call) : Recor } export function serializeCall(writer: SerializationWriter, call: Call | undefined = {} as Call) : void { serializeEntity(writer, call) - writer.writeCollectionOfObjectValues("audioRoutingGroups", call.audioRoutingGroups, ); + writer.writeCollectionOfObjectValues("audioRoutingGroups", call.audioRoutingGroups, serializeAudioRoutingGroup); writer.writeStringValue("callbackUri", call.callbackUri); writer.writeStringValue("callChainId", call.callChainId); - writer.writeObjectValue("callOptions", call.callOptions, ); - writer.writeCollectionOfObjectValues("callRoutes", call.callRoutes, ); - writer.writeObjectValue("chatInfo", call.chatInfo, ); - writer.writeCollectionOfObjectValues("contentSharingSessions", call.contentSharingSessions, ); + writer.writeObjectValue("callOptions", call.callOptions, serializeCallOptions); + writer.writeCollectionOfObjectValues("callRoutes", call.callRoutes, serializeCallRoute); + writer.writeObjectValue("chatInfo", call.chatInfo, serializeChatInfo); + writer.writeCollectionOfObjectValues("contentSharingSessions", call.contentSharingSessions, serializeContentSharingSession); writer.writeEnumValue("direction", call.direction); - writer.writeObjectValue("incomingContext", call.incomingContext, ); - writer.writeObjectValue("mediaConfig", call.mediaConfig, ); - writer.writeObjectValue("mediaState", call.mediaState, ); - writer.writeObjectValue("meetingInfo", call.meetingInfo, ); + writer.writeObjectValue("incomingContext", call.incomingContext, serializeIncomingContext); + writer.writeObjectValue("mediaConfig", call.mediaConfig, serializeMediaConfig); + writer.writeObjectValue("mediaState", call.mediaState, serializeCallMediaState); + writer.writeObjectValue("meetingInfo", call.meetingInfo, serializeMeetingInfo); writer.writeStringValue("myParticipantId", call.myParticipantId); - writer.writeCollectionOfObjectValues("operations", call.operations, ); - writer.writeCollectionOfObjectValues("participants", call.participants, ); + writer.writeCollectionOfObjectValues("operations", call.operations, serializeCommsOperation); + writer.writeCollectionOfObjectValues("participants", call.participants, serializeParticipant); if(call.requestedModalities) writer.writeEnumValue("requestedModalities", ...call.requestedModalities); - writer.writeObjectValue("resultInfo", call.resultInfo, ); - writer.writeObjectValue("source", call.source, ); + writer.writeObjectValue("resultInfo", call.resultInfo, serializeResultInfo); + writer.writeObjectValue("source", call.source, serializeParticipantInfo); writer.writeEnumValue("state", call.state); writer.writeStringValue("subject", call.subject); - writer.writeCollectionOfObjectValues("targets", call.targets, ); + writer.writeCollectionOfObjectValues("targets", call.targets, serializeInvitationParticipantInfo); writer.writeStringValue("tenantId", call.tenantId); - writer.writeObjectValue("toneInfo", call.toneInfo, ); - writer.writeObjectValue("transcription", call.transcription, ); + writer.writeObjectValue("toneInfo", call.toneInfo, serializeToneInfo); + writer.writeObjectValue("transcription", call.transcription, serializeCallTranscriptionInfo); } // tslint:enable // eslint-enable diff --git a/src/models/callCollectionResponse.ts b/src/models/callCollectionResponse.ts index bab01fe599b..e22cb7f1a7f 100644 --- a/src/models/callCollectionResponse.ts +++ b/src/models/callCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoCallCollectionResponse(callCollectionResponse: Ca } export function serializeCallCollectionResponse(writer: SerializationWriter, callCollectionResponse: CallCollectionResponse | undefined = {} as CallCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, callCollectionResponse) - writer.writeCollectionOfObjectValues("value", callCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", callCollectionResponse.value, serializeCall); } // tslint:enable // eslint-enable diff --git a/src/models/callEndedEventMessageDetail.ts b/src/models/callEndedEventMessageDetail.ts index 62a7febb6c5..4c34ca4d627 100644 --- a/src/models/callEndedEventMessageDetail.ts +++ b/src/models/callEndedEventMessageDetail.ts @@ -48,8 +48,8 @@ export function serializeCallEndedEventMessageDetail(writer: SerializationWriter writer.writeDurationValue("callDuration", callEndedEventMessageDetail.callDuration); writer.writeEnumValue("callEventType", callEndedEventMessageDetail.callEventType); writer.writeStringValue("callId", callEndedEventMessageDetail.callId); - writer.writeCollectionOfObjectValues("callParticipants", callEndedEventMessageDetail.callParticipants, ); - writer.writeObjectValue("initiator", callEndedEventMessageDetail.initiator, ); + writer.writeCollectionOfObjectValues("callParticipants", callEndedEventMessageDetail.callParticipants, serializeCallParticipantInfo); + writer.writeObjectValue("initiator", callEndedEventMessageDetail.initiator, serializeIdentitySet); } // tslint:enable // eslint-enable diff --git a/src/models/callParticipantInfo.ts b/src/models/callParticipantInfo.ts index 8f2875891d2..bfb958c0a65 100644 --- a/src/models/callParticipantInfo.ts +++ b/src/models/callParticipantInfo.ts @@ -30,7 +30,7 @@ export function deserializeIntoCallParticipantInfo(callParticipantInfo: CallPart } export function serializeCallParticipantInfo(writer: SerializationWriter, callParticipantInfo: CallParticipantInfo | undefined = {} as CallParticipantInfo) : void { writer.writeStringValue("@odata.type", callParticipantInfo.odataType); - writer.writeObjectValue("participant", callParticipantInfo.participant, ); + writer.writeObjectValue("participant", callParticipantInfo.participant, serializeIdentitySet); writer.writeAdditionalData(callParticipantInfo.additionalData); } // tslint:enable diff --git a/src/models/callRecordingEventMessageDetail.ts b/src/models/callRecordingEventMessageDetail.ts index bdcd09704b2..1c2e822a50e 100644 --- a/src/models/callRecordingEventMessageDetail.ts +++ b/src/models/callRecordingEventMessageDetail.ts @@ -59,8 +59,8 @@ export function serializeCallRecordingEventMessageDetail(writer: SerializationWr writer.writeDurationValue("callRecordingDuration", callRecordingEventMessageDetail.callRecordingDuration); writer.writeEnumValue("callRecordingStatus", callRecordingEventMessageDetail.callRecordingStatus); writer.writeStringValue("callRecordingUrl", callRecordingEventMessageDetail.callRecordingUrl); - writer.writeObjectValue("initiator", callRecordingEventMessageDetail.initiator, ); - writer.writeObjectValue("meetingOrganizer", callRecordingEventMessageDetail.meetingOrganizer, ); + writer.writeObjectValue("initiator", callRecordingEventMessageDetail.initiator, serializeIdentitySet); + writer.writeObjectValue("meetingOrganizer", callRecordingEventMessageDetail.meetingOrganizer, serializeIdentitySet); } // tslint:enable // eslint-enable diff --git a/src/models/callRecords/callRecord.ts b/src/models/callRecords/callRecord.ts index 5cce3c6f368..d4cda7c641e 100644 --- a/src/models/callRecords/callRecord.ts +++ b/src/models/callRecords/callRecord.ts @@ -76,9 +76,9 @@ export function serializeCallRecord(writer: SerializationWriter, callRecord: Cal writer.writeDateValue("lastModifiedDateTime", callRecord.lastModifiedDateTime); if(callRecord.modalities) writer.writeEnumValue("modalities", ...callRecord.modalities); - writer.writeObjectValue("organizer", callRecord.organizer, ); - writer.writeCollectionOfObjectValues("participants", callRecord.participants, ); - writer.writeCollectionOfObjectValues("sessions", callRecord.sessions, ); + writer.writeObjectValue("organizer", callRecord.organizer, serializeIdentitySet); + writer.writeCollectionOfObjectValues("participants", callRecord.participants, serializeIdentitySet); + writer.writeCollectionOfObjectValues("sessions", callRecord.sessions, serializeSession); writer.writeDateValue("startDateTime", callRecord.startDateTime); writer.writeEnumValue("type", callRecord.type); writer.writeNumberValue("version", callRecord.version); diff --git a/src/models/callRecords/callRecordCollectionResponse.ts b/src/models/callRecords/callRecordCollectionResponse.ts index 0dc12256e29..9c817fb6334 100644 --- a/src/models/callRecords/callRecordCollectionResponse.ts +++ b/src/models/callRecords/callRecordCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoCallRecordCollectionResponse(callRecordCollection } export function serializeCallRecordCollectionResponse(writer: SerializationWriter, callRecordCollectionResponse: CallRecordCollectionResponse | undefined = {} as CallRecordCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, callRecordCollectionResponse) - writer.writeCollectionOfObjectValues("value", callRecordCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", callRecordCollectionResponse.value, serializeCallRecord); } // tslint:enable // eslint-enable diff --git a/src/models/callRecords/endpoint.ts b/src/models/callRecords/endpoint.ts index 763ad6429ec..7974b2b3f7d 100644 --- a/src/models/callRecords/endpoint.ts +++ b/src/models/callRecords/endpoint.ts @@ -45,7 +45,7 @@ export interface Endpoint extends AdditionalDataHolder, Parsable { } export function serializeEndpoint(writer: SerializationWriter, endpoint: Endpoint | undefined = {} as Endpoint) : void { writer.writeStringValue("@odata.type", endpoint.odataType); - writer.writeObjectValue("userAgent", endpoint.userAgent, ); + writer.writeObjectValue("userAgent", endpoint.userAgent, serializeUserAgent); writer.writeAdditionalData(endpoint.additionalData); } // tslint:enable diff --git a/src/models/callRecords/media.ts b/src/models/callRecords/media.ts index f5973aad8f1..75f6cf13ac5 100644 --- a/src/models/callRecords/media.ts +++ b/src/models/callRecords/media.ts @@ -56,13 +56,13 @@ export interface Media extends AdditionalDataHolder, Parsable { streams?: MediaStream[]; } export function serializeMedia(writer: SerializationWriter, media: Media | undefined = {} as Media) : void { - writer.writeObjectValue("calleeDevice", media.calleeDevice, ); - writer.writeObjectValue("calleeNetwork", media.calleeNetwork, ); - writer.writeObjectValue("callerDevice", media.callerDevice, ); - writer.writeObjectValue("callerNetwork", media.callerNetwork, ); + writer.writeObjectValue("calleeDevice", media.calleeDevice, serializeDeviceInfo); + writer.writeObjectValue("calleeNetwork", media.calleeNetwork, serializeNetworkInfo); + writer.writeObjectValue("callerDevice", media.callerDevice, serializeDeviceInfo); + writer.writeObjectValue("callerNetwork", media.callerNetwork, serializeNetworkInfo); writer.writeStringValue("label", media.label); writer.writeStringValue("@odata.type", media.odataType); - writer.writeCollectionOfObjectValues("streams", media.streams, ); + writer.writeCollectionOfObjectValues("streams", media.streams, serializeMediaStream); writer.writeAdditionalData(media.additionalData); } // tslint:enable diff --git a/src/models/callRecords/networkInfo.ts b/src/models/callRecords/networkInfo.ts index 3fa5f0e1a14..e16f2999cde 100644 --- a/src/models/callRecords/networkInfo.ts +++ b/src/models/callRecords/networkInfo.ts @@ -175,7 +175,7 @@ export function serializeNetworkInfo(writer: SerializationWriter, networkInfo: N writer.writeNumberValue("relayPort", networkInfo.relayPort); writer.writeNumberValue("sentQualityEventRatio", networkInfo.sentQualityEventRatio); writer.writeStringValue("subnet", networkInfo.subnet); - writer.writeCollectionOfObjectValues("traceRouteHops", networkInfo.traceRouteHops, ); + writer.writeCollectionOfObjectValues("traceRouteHops", networkInfo.traceRouteHops, serializeTraceRouteHop); writer.writeEnumValue("wifiBand", networkInfo.wifiBand); writer.writeNumberValue("wifiBatteryCharge", networkInfo.wifiBatteryCharge); writer.writeNumberValue("wifiChannel", networkInfo.wifiChannel); diff --git a/src/models/callRecords/participantEndpoint.ts b/src/models/callRecords/participantEndpoint.ts index a1243bb9135..20e0949ed9c 100644 --- a/src/models/callRecords/participantEndpoint.ts +++ b/src/models/callRecords/participantEndpoint.ts @@ -52,8 +52,8 @@ export function serializeParticipantEndpoint(writer: SerializationWriter, partic writer.writeNumberValue("cpuCoresCount", participantEndpoint.cpuCoresCount); writer.writeStringValue("cpuName", participantEndpoint.cpuName); writer.writeNumberValue("cpuProcessorSpeedInMhz", participantEndpoint.cpuProcessorSpeedInMhz); - writer.writeObjectValue("feedback", participantEndpoint.feedback, ); - writer.writeObjectValue("identity", participantEndpoint.identity, ); + writer.writeObjectValue("feedback", participantEndpoint.feedback, serializeUserFeedback); + writer.writeObjectValue("identity", participantEndpoint.identity, serializeIdentitySet); writer.writeStringValue("name", participantEndpoint.name); } // tslint:enable diff --git a/src/models/callRecords/segment.ts b/src/models/callRecords/segment.ts index e86ea287cc7..5818745537f 100644 --- a/src/models/callRecords/segment.ts +++ b/src/models/callRecords/segment.ts @@ -50,11 +50,11 @@ export interface Segment extends Entity, Parsable { } export function serializeSegment(writer: SerializationWriter, segment: Segment | undefined = {} as Segment) : void { serializeEntity(writer, segment) - writer.writeObjectValue("callee", segment.callee, ); - writer.writeObjectValue("caller", segment.caller, ); + writer.writeObjectValue("callee", segment.callee, serializeEndpoint); + writer.writeObjectValue("caller", segment.caller, serializeEndpoint); writer.writeDateValue("endDateTime", segment.endDateTime); - writer.writeObjectValue("failureInfo", segment.failureInfo, ); - writer.writeCollectionOfObjectValues("media", segment.media, ); + writer.writeObjectValue("failureInfo", segment.failureInfo, serializeFailureInfo); + writer.writeCollectionOfObjectValues("media", segment.media, serializeMedia); writer.writeDateValue("startDateTime", segment.startDateTime); } // tslint:enable diff --git a/src/models/callRecords/segmentCollectionResponse.ts b/src/models/callRecords/segmentCollectionResponse.ts index ab94833ca9a..15e44cd18ea 100644 --- a/src/models/callRecords/segmentCollectionResponse.ts +++ b/src/models/callRecords/segmentCollectionResponse.ts @@ -23,7 +23,7 @@ export interface SegmentCollectionResponse extends BaseCollectionPaginationCount } export function serializeSegmentCollectionResponse(writer: SerializationWriter, segmentCollectionResponse: SegmentCollectionResponse | undefined = {} as SegmentCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, segmentCollectionResponse) - writer.writeCollectionOfObjectValues("value", segmentCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", segmentCollectionResponse.value, serializeSegment); } // tslint:enable // eslint-enable diff --git a/src/models/callRecords/session.ts b/src/models/callRecords/session.ts index 696277fe8b2..c4df7d7ea73 100644 --- a/src/models/callRecords/session.ts +++ b/src/models/callRecords/session.ts @@ -27,14 +27,14 @@ export function deserializeIntoSession(session: Session | undefined = {} as Sess } export function serializeSession(writer: SerializationWriter, session: Session | undefined = {} as Session) : void { serializeEntity(writer, session) - writer.writeObjectValue("callee", session.callee, ); - writer.writeObjectValue("caller", session.caller, ); + writer.writeObjectValue("callee", session.callee, serializeEndpoint); + writer.writeObjectValue("caller", session.caller, serializeEndpoint); writer.writeDateValue("endDateTime", session.endDateTime); - writer.writeObjectValue("failureInfo", session.failureInfo, ); + writer.writeObjectValue("failureInfo", session.failureInfo, serializeFailureInfo); writer.writeBooleanValue("isTest", session.isTest); if(session.modalities) writer.writeEnumValue("modalities", ...session.modalities); - writer.writeCollectionOfObjectValues("segments", session.segments, ); + writer.writeCollectionOfObjectValues("segments", session.segments, serializeSegment); writer.writeDateValue("startDateTime", session.startDateTime); } export interface Session extends Entity, Parsable { diff --git a/src/models/callRecords/sessionCollectionResponse.ts b/src/models/callRecords/sessionCollectionResponse.ts index c5525563592..409bcc8a508 100644 --- a/src/models/callRecords/sessionCollectionResponse.ts +++ b/src/models/callRecords/sessionCollectionResponse.ts @@ -17,7 +17,7 @@ export function deserializeIntoSessionCollectionResponse(sessionCollectionRespon } export function serializeSessionCollectionResponse(writer: SerializationWriter, sessionCollectionResponse: SessionCollectionResponse | undefined = {} as SessionCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, sessionCollectionResponse) - writer.writeCollectionOfObjectValues("value", sessionCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", sessionCollectionResponse.value, serializeSession); } export interface SessionCollectionResponse extends BaseCollectionPaginationCountResponse, Parsable { /** diff --git a/src/models/callRecords/userFeedback.ts b/src/models/callRecords/userFeedback.ts index f4774608fbf..7a2f055cecc 100644 --- a/src/models/callRecords/userFeedback.ts +++ b/src/models/callRecords/userFeedback.ts @@ -21,7 +21,7 @@ export function serializeUserFeedback(writer: SerializationWriter, userFeedback: writer.writeStringValue("@odata.type", userFeedback.odataType); writer.writeEnumValue("rating", userFeedback.rating); writer.writeStringValue("text", userFeedback.text); - writer.writeObjectValue("tokens", userFeedback.tokens, ); + writer.writeObjectValue("tokens", userFeedback.tokens, serializeFeedbackTokenSet); writer.writeAdditionalData(userFeedback.additionalData); } export interface UserFeedback extends AdditionalDataHolder, Parsable { diff --git a/src/models/callRoute.ts b/src/models/callRoute.ts index f568a64f404..960489d9e6e 100644 --- a/src/models/callRoute.ts +++ b/src/models/callRoute.ts @@ -40,9 +40,9 @@ export function deserializeIntoCallRoute(callRoute: CallRoute | undefined = {} a } } export function serializeCallRoute(writer: SerializationWriter, callRoute: CallRoute | undefined = {} as CallRoute) : void { - writer.writeObjectValue("final", callRoute.final, ); + writer.writeObjectValue("final", callRoute.final, serializeIdentitySet); writer.writeStringValue("@odata.type", callRoute.odataType); - writer.writeObjectValue("original", callRoute.original, ); + writer.writeObjectValue("original", callRoute.original, serializeIdentitySet); writer.writeEnumValue("routingType", callRoute.routingType); writer.writeAdditionalData(callRoute.additionalData); } diff --git a/src/models/callStartedEventMessageDetail.ts b/src/models/callStartedEventMessageDetail.ts index 63c4c721751..ddc63e874de 100644 --- a/src/models/callStartedEventMessageDetail.ts +++ b/src/models/callStartedEventMessageDetail.ts @@ -36,7 +36,7 @@ export function serializeCallStartedEventMessageDetail(writer: SerializationWrit serializeEventMessageDetail(writer, callStartedEventMessageDetail) writer.writeEnumValue("callEventType", callStartedEventMessageDetail.callEventType); writer.writeStringValue("callId", callStartedEventMessageDetail.callId); - writer.writeObjectValue("initiator", callStartedEventMessageDetail.initiator, ); + writer.writeObjectValue("initiator", callStartedEventMessageDetail.initiator, serializeIdentitySet); } // tslint:enable // eslint-enable diff --git a/src/models/callTranscript.ts b/src/models/callTranscript.ts index f830e0aea54..14e8a797df4 100644 --- a/src/models/callTranscript.ts +++ b/src/models/callTranscript.ts @@ -51,7 +51,7 @@ export function serializeCallTranscript(writer: SerializationWriter, callTranscr writer.writeStringValue("content", callTranscript.content); writer.writeDateValue("createdDateTime", callTranscript.createdDateTime); writer.writeStringValue("meetingId", callTranscript.meetingId); - writer.writeObjectValue("meetingOrganizer", callTranscript.meetingOrganizer, ); + writer.writeObjectValue("meetingOrganizer", callTranscript.meetingOrganizer, serializeIdentitySet); writer.writeStringValue("metadataContent", callTranscript.metadataContent); writer.writeStringValue("transcriptContentUrl", callTranscript.transcriptContentUrl); } diff --git a/src/models/callTranscriptCollectionResponse.ts b/src/models/callTranscriptCollectionResponse.ts index 08734d86ea4..c921e2a34b3 100644 --- a/src/models/callTranscriptCollectionResponse.ts +++ b/src/models/callTranscriptCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoCallTranscriptCollectionResponse(callTranscriptCo } export function serializeCallTranscriptCollectionResponse(writer: SerializationWriter, callTranscriptCollectionResponse: CallTranscriptCollectionResponse | undefined = {} as CallTranscriptCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, callTranscriptCollectionResponse) - writer.writeCollectionOfObjectValues("value", callTranscriptCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", callTranscriptCollectionResponse.value, serializeCallTranscript); } // tslint:enable // eslint-enable diff --git a/src/models/callTranscriptEventMessageDetail.ts b/src/models/callTranscriptEventMessageDetail.ts index f229d1f3cb4..6e20e9bf7f9 100644 --- a/src/models/callTranscriptEventMessageDetail.ts +++ b/src/models/callTranscriptEventMessageDetail.ts @@ -35,7 +35,7 @@ export function serializeCallTranscriptEventMessageDetail(writer: SerializationW serializeEventMessageDetail(writer, callTranscriptEventMessageDetail) writer.writeStringValue("callId", callTranscriptEventMessageDetail.callId); writer.writeStringValue("callTranscriptICalUid", callTranscriptEventMessageDetail.callTranscriptICalUid); - writer.writeObjectValue("meetingOrganizer", callTranscriptEventMessageDetail.meetingOrganizer, ); + writer.writeObjectValue("meetingOrganizer", callTranscriptEventMessageDetail.meetingOrganizer, serializeIdentitySet); } // tslint:enable // eslint-enable diff --git a/src/models/certificateBasedAuthConfiguration.ts b/src/models/certificateBasedAuthConfiguration.ts index 62730085f60..e41d8d5b54f 100644 --- a/src/models/certificateBasedAuthConfiguration.ts +++ b/src/models/certificateBasedAuthConfiguration.ts @@ -23,7 +23,7 @@ export function deserializeIntoCertificateBasedAuthConfiguration(certificateBase } export function serializeCertificateBasedAuthConfiguration(writer: SerializationWriter, certificateBasedAuthConfiguration: CertificateBasedAuthConfiguration | undefined = {} as CertificateBasedAuthConfiguration) : void { serializeEntity(writer, certificateBasedAuthConfiguration) - writer.writeCollectionOfObjectValues("certificateAuthorities", certificateBasedAuthConfiguration.certificateAuthorities, ); + writer.writeCollectionOfObjectValues("certificateAuthorities", certificateBasedAuthConfiguration.certificateAuthorities, serializeCertificateAuthority); } // tslint:enable // eslint-enable diff --git a/src/models/certificateBasedAuthConfigurationCollectionResponse.ts b/src/models/certificateBasedAuthConfigurationCollectionResponse.ts index d60f6612675..a56938abd22 100644 --- a/src/models/certificateBasedAuthConfigurationCollectionResponse.ts +++ b/src/models/certificateBasedAuthConfigurationCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoCertificateBasedAuthConfigurationCollectionRespon } export function serializeCertificateBasedAuthConfigurationCollectionResponse(writer: SerializationWriter, certificateBasedAuthConfigurationCollectionResponse: CertificateBasedAuthConfigurationCollectionResponse | undefined = {} as CertificateBasedAuthConfigurationCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, certificateBasedAuthConfigurationCollectionResponse) - writer.writeCollectionOfObjectValues("value", certificateBasedAuthConfigurationCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", certificateBasedAuthConfigurationCollectionResponse.value, serializeCertificateBasedAuthConfiguration); } // tslint:enable // eslint-enable diff --git a/src/models/channel.ts b/src/models/channel.ts index 7b2d4fbd2bf..4402bf2f6de 100644 --- a/src/models/channel.ts +++ b/src/models/channel.ts @@ -2,6 +2,7 @@ // eslint-disable // Generated by Microsoft Kiota import { ChannelMembershipType } from './channelMembershipType'; +import { createChannelSummaryFromDiscriminatorValue, serializeChannelSummary, type ChannelSummary } from './channelSummary'; import { createChatMessageFromDiscriminatorValue, serializeChatMessage, type ChatMessage } from './chatMessage'; import { createConversationMemberFromDiscriminatorValue, serializeConversationMember, type ConversationMember } from './conversationMember'; import { createDriveItemFromDiscriminatorValue, serializeDriveItem, type DriveItem } from './driveItem'; @@ -51,6 +52,10 @@ export interface Channel extends Entity, Parsable { * A collection of teams with which a channel is shared. */ sharedWithTeams?: SharedWithChannelTeamInfo[]; + /** + * Contains summary information about the channel, including number of owners, members, guests, and an indicator for members from other tenants. The summary property will only be returned if it is specified in the $select clause of the Get channel method. + */ + summary?: ChannelSummary; /** * A collection of all the tabs in the channel. A navigation property. */ @@ -81,6 +86,7 @@ export function deserializeIntoChannel(channel: Channel | undefined = {} as Chan "membershipType": n => { channel.membershipType = n.getEnumValue(ChannelMembershipType); }, "messages": n => { channel.messages = n.getCollectionOfObjectValues(createChatMessageFromDiscriminatorValue); }, "sharedWithTeams": n => { channel.sharedWithTeams = n.getCollectionOfObjectValues(createSharedWithChannelTeamInfoFromDiscriminatorValue); }, + "summary": n => { channel.summary = n.getObjectValue(createChannelSummaryFromDiscriminatorValue); }, "tabs": n => { channel.tabs = n.getCollectionOfObjectValues(createTeamsTabFromDiscriminatorValue); }, "tenantId": n => { channel.tenantId = n.getStringValue(); }, "webUrl": n => { channel.webUrl = n.getStringValue(); }, @@ -92,13 +98,14 @@ export function serializeChannel(writer: SerializationWriter, channel: Channel | writer.writeStringValue("description", channel.description); writer.writeStringValue("displayName", channel.displayName); writer.writeStringValue("email", channel.email); - writer.writeObjectValue("filesFolder", channel.filesFolder, ); + writer.writeObjectValue("filesFolder", channel.filesFolder, serializeDriveItem); writer.writeBooleanValue("isFavoriteByDefault", channel.isFavoriteByDefault); - writer.writeCollectionOfObjectValues("members", channel.members, ); + writer.writeCollectionOfObjectValues("members", channel.members, serializeConversationMember); writer.writeEnumValue("membershipType", channel.membershipType); - writer.writeCollectionOfObjectValues("messages", channel.messages, ); - writer.writeCollectionOfObjectValues("sharedWithTeams", channel.sharedWithTeams, ); - writer.writeCollectionOfObjectValues("tabs", channel.tabs, ); + writer.writeCollectionOfObjectValues("messages", channel.messages, serializeChatMessage); + writer.writeCollectionOfObjectValues("sharedWithTeams", channel.sharedWithTeams, serializeSharedWithChannelTeamInfo); + writer.writeObjectValue("summary", channel.summary, serializeChannelSummary); + writer.writeCollectionOfObjectValues("tabs", channel.tabs, serializeTeamsTab); writer.writeStringValue("tenantId", channel.tenantId); writer.writeStringValue("webUrl", channel.webUrl); } diff --git a/src/models/channelAddedEventMessageDetail.ts b/src/models/channelAddedEventMessageDetail.ts index 8052a09e6b4..c39575ff591 100644 --- a/src/models/channelAddedEventMessageDetail.ts +++ b/src/models/channelAddedEventMessageDetail.ts @@ -35,7 +35,7 @@ export function serializeChannelAddedEventMessageDetail(writer: SerializationWri serializeEventMessageDetail(writer, channelAddedEventMessageDetail) writer.writeStringValue("channelDisplayName", channelAddedEventMessageDetail.channelDisplayName); writer.writeStringValue("channelId", channelAddedEventMessageDetail.channelId); - writer.writeObjectValue("initiator", channelAddedEventMessageDetail.initiator, ); + writer.writeObjectValue("initiator", channelAddedEventMessageDetail.initiator, serializeIdentitySet); } // tslint:enable // eslint-enable diff --git a/src/models/channelCollectionResponse.ts b/src/models/channelCollectionResponse.ts index 1cc1044c1e6..8de70339253 100644 --- a/src/models/channelCollectionResponse.ts +++ b/src/models/channelCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoChannelCollectionResponse(channelCollectionRespon } export function serializeChannelCollectionResponse(writer: SerializationWriter, channelCollectionResponse: ChannelCollectionResponse | undefined = {} as ChannelCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, channelCollectionResponse) - writer.writeCollectionOfObjectValues("value", channelCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", channelCollectionResponse.value, serializeChannel); } // tslint:enable // eslint-enable diff --git a/src/models/channelDeletedEventMessageDetail.ts b/src/models/channelDeletedEventMessageDetail.ts index 3bb3792bfe0..389ea853b8f 100644 --- a/src/models/channelDeletedEventMessageDetail.ts +++ b/src/models/channelDeletedEventMessageDetail.ts @@ -35,7 +35,7 @@ export function serializeChannelDeletedEventMessageDetail(writer: SerializationW serializeEventMessageDetail(writer, channelDeletedEventMessageDetail) writer.writeStringValue("channelDisplayName", channelDeletedEventMessageDetail.channelDisplayName); writer.writeStringValue("channelId", channelDeletedEventMessageDetail.channelId); - writer.writeObjectValue("initiator", channelDeletedEventMessageDetail.initiator, ); + writer.writeObjectValue("initiator", channelDeletedEventMessageDetail.initiator, serializeIdentitySet); } // tslint:enable // eslint-enable diff --git a/src/models/channelDescriptionUpdatedEventMessageDetail.ts b/src/models/channelDescriptionUpdatedEventMessageDetail.ts index 62e521696a9..1c14ccd7830 100644 --- a/src/models/channelDescriptionUpdatedEventMessageDetail.ts +++ b/src/models/channelDescriptionUpdatedEventMessageDetail.ts @@ -35,7 +35,7 @@ export function serializeChannelDescriptionUpdatedEventMessageDetail(writer: Ser serializeEventMessageDetail(writer, channelDescriptionUpdatedEventMessageDetail) writer.writeStringValue("channelDescription", channelDescriptionUpdatedEventMessageDetail.channelDescription); writer.writeStringValue("channelId", channelDescriptionUpdatedEventMessageDetail.channelId); - writer.writeObjectValue("initiator", channelDescriptionUpdatedEventMessageDetail.initiator, ); + writer.writeObjectValue("initiator", channelDescriptionUpdatedEventMessageDetail.initiator, serializeIdentitySet); } // tslint:enable // eslint-enable diff --git a/src/models/channelRenamedEventMessageDetail.ts b/src/models/channelRenamedEventMessageDetail.ts index 9549880d413..7c29193a904 100644 --- a/src/models/channelRenamedEventMessageDetail.ts +++ b/src/models/channelRenamedEventMessageDetail.ts @@ -35,7 +35,7 @@ export function serializeChannelRenamedEventMessageDetail(writer: SerializationW serializeEventMessageDetail(writer, channelRenamedEventMessageDetail) writer.writeStringValue("channelDisplayName", channelRenamedEventMessageDetail.channelDisplayName); writer.writeStringValue("channelId", channelRenamedEventMessageDetail.channelId); - writer.writeObjectValue("initiator", channelRenamedEventMessageDetail.initiator, ); + writer.writeObjectValue("initiator", channelRenamedEventMessageDetail.initiator, serializeIdentitySet); } // tslint:enable // eslint-enable diff --git a/src/models/channelSetAsFavoriteByDefaultEventMessageDetail.ts b/src/models/channelSetAsFavoriteByDefaultEventMessageDetail.ts index 92d9700f5be..45de9c4aa30 100644 --- a/src/models/channelSetAsFavoriteByDefaultEventMessageDetail.ts +++ b/src/models/channelSetAsFavoriteByDefaultEventMessageDetail.ts @@ -29,7 +29,7 @@ export function deserializeIntoChannelSetAsFavoriteByDefaultEventMessageDetail(c export function serializeChannelSetAsFavoriteByDefaultEventMessageDetail(writer: SerializationWriter, channelSetAsFavoriteByDefaultEventMessageDetail: ChannelSetAsFavoriteByDefaultEventMessageDetail | undefined = {} as ChannelSetAsFavoriteByDefaultEventMessageDetail) : void { serializeEventMessageDetail(writer, channelSetAsFavoriteByDefaultEventMessageDetail) writer.writeStringValue("channelId", channelSetAsFavoriteByDefaultEventMessageDetail.channelId); - writer.writeObjectValue("initiator", channelSetAsFavoriteByDefaultEventMessageDetail.initiator, ); + writer.writeObjectValue("initiator", channelSetAsFavoriteByDefaultEventMessageDetail.initiator, serializeIdentitySet); } // tslint:enable // eslint-enable diff --git a/src/models/channelSummary.ts b/src/models/channelSummary.ts new file mode 100644 index 00000000000..5d5e9319cfa --- /dev/null +++ b/src/models/channelSummary.ts @@ -0,0 +1,54 @@ +// tslint:disable +// eslint-disable +// Generated by Microsoft Kiota +import { type AdditionalDataHolder, type Parsable, type ParseNode, type SerializationWriter } from '@microsoft/kiota-abstractions'; + +export interface ChannelSummary extends AdditionalDataHolder, Parsable { + /** + * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + */ + additionalData?: Record; + /** + * Count of guests in a channel. + */ + guestsCount?: number; + /** + * Indicates whether external members are included on the channel. + */ + hasMembersFromOtherTenants?: boolean; + /** + * Count of members in a channel. + */ + membersCount?: number; + /** + * The OdataType property + */ + odataType?: string; + /** + * Count of owners in a channel. + */ + ownersCount?: number; +} +export function createChannelSummaryFromDiscriminatorValue(parseNode: ParseNode | undefined) { + if(!parseNode) throw new Error("parseNode cannot be undefined"); + return deserializeIntoChannelSummary; +} +export function deserializeIntoChannelSummary(channelSummary: ChannelSummary | undefined = {} as ChannelSummary) : Record void> { + return { + "guestsCount": n => { channelSummary.guestsCount = n.getNumberValue(); }, + "hasMembersFromOtherTenants": n => { channelSummary.hasMembersFromOtherTenants = n.getBooleanValue(); }, + "membersCount": n => { channelSummary.membersCount = n.getNumberValue(); }, + "@odata.type": n => { channelSummary.odataType = n.getStringValue(); }, + "ownersCount": n => { channelSummary.ownersCount = n.getNumberValue(); }, + } +} +export function serializeChannelSummary(writer: SerializationWriter, channelSummary: ChannelSummary | undefined = {} as ChannelSummary) : void { + writer.writeNumberValue("guestsCount", channelSummary.guestsCount); + writer.writeBooleanValue("hasMembersFromOtherTenants", channelSummary.hasMembersFromOtherTenants); + writer.writeNumberValue("membersCount", channelSummary.membersCount); + writer.writeStringValue("@odata.type", channelSummary.odataType); + writer.writeNumberValue("ownersCount", channelSummary.ownersCount); + writer.writeAdditionalData(channelSummary.additionalData); +} +// tslint:enable +// eslint-enable diff --git a/src/models/channelUnsetAsFavoriteByDefaultEventMessageDetail.ts b/src/models/channelUnsetAsFavoriteByDefaultEventMessageDetail.ts index 7d548715322..e12a2a7bc1a 100644 --- a/src/models/channelUnsetAsFavoriteByDefaultEventMessageDetail.ts +++ b/src/models/channelUnsetAsFavoriteByDefaultEventMessageDetail.ts @@ -29,7 +29,7 @@ export function deserializeIntoChannelUnsetAsFavoriteByDefaultEventMessageDetail export function serializeChannelUnsetAsFavoriteByDefaultEventMessageDetail(writer: SerializationWriter, channelUnsetAsFavoriteByDefaultEventMessageDetail: ChannelUnsetAsFavoriteByDefaultEventMessageDetail | undefined = {} as ChannelUnsetAsFavoriteByDefaultEventMessageDetail) : void { serializeEventMessageDetail(writer, channelUnsetAsFavoriteByDefaultEventMessageDetail) writer.writeStringValue("channelId", channelUnsetAsFavoriteByDefaultEventMessageDetail.channelId); - writer.writeObjectValue("initiator", channelUnsetAsFavoriteByDefaultEventMessageDetail.initiator, ); + writer.writeObjectValue("initiator", channelUnsetAsFavoriteByDefaultEventMessageDetail.initiator, serializeIdentitySet); } // tslint:enable // eslint-enable diff --git a/src/models/chat.ts b/src/models/chat.ts index 6afb3ab9237..42696971683 100644 --- a/src/models/chat.ts +++ b/src/models/chat.ts @@ -104,18 +104,18 @@ export function serializeChat(writer: SerializationWriter, chat: Chat | undefine serializeEntity(writer, chat) writer.writeEnumValue("chatType", chat.chatType); writer.writeDateValue("createdDateTime", chat.createdDateTime); - writer.writeCollectionOfObjectValues("installedApps", chat.installedApps, ); - writer.writeObjectValue("lastMessagePreview", chat.lastMessagePreview, ); + writer.writeCollectionOfObjectValues("installedApps", chat.installedApps, serializeTeamsAppInstallation); + writer.writeObjectValue("lastMessagePreview", chat.lastMessagePreview, serializeChatMessageInfo); writer.writeDateValue("lastUpdatedDateTime", chat.lastUpdatedDateTime); - writer.writeCollectionOfObjectValues("members", chat.members, ); - writer.writeCollectionOfObjectValues("messages", chat.messages, ); - writer.writeObjectValue("onlineMeetingInfo", chat.onlineMeetingInfo, ); - writer.writeCollectionOfObjectValues("permissionGrants", chat.permissionGrants, ); - writer.writeCollectionOfObjectValues("pinnedMessages", chat.pinnedMessages, ); - writer.writeCollectionOfObjectValues("tabs", chat.tabs, ); + writer.writeCollectionOfObjectValues("members", chat.members, serializeConversationMember); + writer.writeCollectionOfObjectValues("messages", chat.messages, serializeChatMessage); + writer.writeObjectValue("onlineMeetingInfo", chat.onlineMeetingInfo, serializeTeamworkOnlineMeetingInfo); + writer.writeCollectionOfObjectValues("permissionGrants", chat.permissionGrants, serializeResourceSpecificPermissionGrant); + writer.writeCollectionOfObjectValues("pinnedMessages", chat.pinnedMessages, serializePinnedChatMessageInfo); + writer.writeCollectionOfObjectValues("tabs", chat.tabs, serializeTeamsTab); writer.writeStringValue("tenantId", chat.tenantId); writer.writeStringValue("topic", chat.topic); - writer.writeObjectValue("viewpoint", chat.viewpoint, ); + writer.writeObjectValue("viewpoint", chat.viewpoint, serializeChatViewpoint); writer.writeStringValue("webUrl", chat.webUrl); } // tslint:enable diff --git a/src/models/chatCollectionResponse.ts b/src/models/chatCollectionResponse.ts index 2abfaeaae9b..bde4a5ceded 100644 --- a/src/models/chatCollectionResponse.ts +++ b/src/models/chatCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoChatCollectionResponse(chatCollectionResponse: Ch } export function serializeChatCollectionResponse(writer: SerializationWriter, chatCollectionResponse: ChatCollectionResponse | undefined = {} as ChatCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, chatCollectionResponse) - writer.writeCollectionOfObjectValues("value", chatCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", chatCollectionResponse.value, serializeChat); } // tslint:enable // eslint-enable diff --git a/src/models/chatMessage.ts b/src/models/chatMessage.ts index e360411716b..1d30d662ad6 100644 --- a/src/models/chatMessage.ts +++ b/src/models/chatMessage.ts @@ -149,26 +149,26 @@ export function deserializeIntoChatMessage(chatMessage: ChatMessage | undefined } export function serializeChatMessage(writer: SerializationWriter, chatMessage: ChatMessage | undefined = {} as ChatMessage) : void { serializeEntity(writer, chatMessage) - writer.writeCollectionOfObjectValues("attachments", chatMessage.attachments, ); - writer.writeObjectValue("body", chatMessage.body, ); - writer.writeObjectValue("channelIdentity", chatMessage.channelIdentity, ); + writer.writeCollectionOfObjectValues("attachments", chatMessage.attachments, serializeChatMessageAttachment); + writer.writeObjectValue("body", chatMessage.body, serializeItemBody); + writer.writeObjectValue("channelIdentity", chatMessage.channelIdentity, serializeChannelIdentity); writer.writeStringValue("chatId", chatMessage.chatId); writer.writeDateValue("createdDateTime", chatMessage.createdDateTime); writer.writeDateValue("deletedDateTime", chatMessage.deletedDateTime); writer.writeStringValue("etag", chatMessage.etag); - writer.writeObjectValue("eventDetail", chatMessage.eventDetail, ); - writer.writeObjectValue("from", chatMessage.from, ); - writer.writeCollectionOfObjectValues("hostedContents", chatMessage.hostedContents, ); + writer.writeObjectValue("eventDetail", chatMessage.eventDetail, serializeEventMessageDetail); + writer.writeObjectValue("from", chatMessage.from, serializeChatMessageFromIdentitySet); + writer.writeCollectionOfObjectValues("hostedContents", chatMessage.hostedContents, serializeChatMessageHostedContent); writer.writeEnumValue("importance", chatMessage.importance); writer.writeDateValue("lastEditedDateTime", chatMessage.lastEditedDateTime); writer.writeDateValue("lastModifiedDateTime", chatMessage.lastModifiedDateTime); writer.writeStringValue("locale", chatMessage.locale); - writer.writeCollectionOfObjectValues("mentions", chatMessage.mentions, ); - writer.writeCollectionOfObjectValues("messageHistory", chatMessage.messageHistory, ); + writer.writeCollectionOfObjectValues("mentions", chatMessage.mentions, serializeChatMessageMention); + writer.writeCollectionOfObjectValues("messageHistory", chatMessage.messageHistory, serializeChatMessageHistoryItem); writer.writeEnumValue("messageType", chatMessage.messageType); - writer.writeObjectValue("policyViolation", chatMessage.policyViolation, ); - writer.writeCollectionOfObjectValues("reactions", chatMessage.reactions, ); - writer.writeCollectionOfObjectValues("replies", chatMessage.replies, ); + writer.writeObjectValue("policyViolation", chatMessage.policyViolation, serializeChatMessagePolicyViolation); + writer.writeCollectionOfObjectValues("reactions", chatMessage.reactions, serializeChatMessageReaction); + writer.writeCollectionOfObjectValues("replies", chatMessage.replies, serializeChatMessage); writer.writeStringValue("replyToId", chatMessage.replyToId); writer.writeStringValue("subject", chatMessage.subject); writer.writeStringValue("summary", chatMessage.summary); diff --git a/src/models/chatMessageCollectionResponse.ts b/src/models/chatMessageCollectionResponse.ts index 85c3179cc2c..ed94e018027 100644 --- a/src/models/chatMessageCollectionResponse.ts +++ b/src/models/chatMessageCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoChatMessageCollectionResponse(chatMessageCollecti } export function serializeChatMessageCollectionResponse(writer: SerializationWriter, chatMessageCollectionResponse: ChatMessageCollectionResponse | undefined = {} as ChatMessageCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, chatMessageCollectionResponse) - writer.writeCollectionOfObjectValues("value", chatMessageCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", chatMessageCollectionResponse.value, serializeChatMessage); } // tslint:enable // eslint-enable diff --git a/src/models/chatMessageHistoryItem.ts b/src/models/chatMessageHistoryItem.ts index 967325654b4..404619cac0d 100644 --- a/src/models/chatMessageHistoryItem.ts +++ b/src/models/chatMessageHistoryItem.ts @@ -43,7 +43,7 @@ export function serializeChatMessageHistoryItem(writer: SerializationWriter, cha writer.writeEnumValue("actions", chatMessageHistoryItem.actions); writer.writeDateValue("modifiedDateTime", chatMessageHistoryItem.modifiedDateTime); writer.writeStringValue("@odata.type", chatMessageHistoryItem.odataType); - writer.writeObjectValue("reaction", chatMessageHistoryItem.reaction, ); + writer.writeObjectValue("reaction", chatMessageHistoryItem.reaction, serializeChatMessageReaction); writer.writeAdditionalData(chatMessageHistoryItem.additionalData); } // tslint:enable diff --git a/src/models/chatMessageHostedContentCollectionResponse.ts b/src/models/chatMessageHostedContentCollectionResponse.ts index 0b90bba76b1..3c207452304 100644 --- a/src/models/chatMessageHostedContentCollectionResponse.ts +++ b/src/models/chatMessageHostedContentCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoChatMessageHostedContentCollectionResponse(chatMe } export function serializeChatMessageHostedContentCollectionResponse(writer: SerializationWriter, chatMessageHostedContentCollectionResponse: ChatMessageHostedContentCollectionResponse | undefined = {} as ChatMessageHostedContentCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, chatMessageHostedContentCollectionResponse) - writer.writeCollectionOfObjectValues("value", chatMessageHostedContentCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", chatMessageHostedContentCollectionResponse.value, serializeChatMessageHostedContent); } // tslint:enable // eslint-enable diff --git a/src/models/chatMessageInfo.ts b/src/models/chatMessageInfo.ts index 0f611c2e1b9..fce4d1e81ef 100644 --- a/src/models/chatMessageInfo.ts +++ b/src/models/chatMessageInfo.ts @@ -51,10 +51,10 @@ export function deserializeIntoChatMessageInfo(chatMessageInfo: ChatMessageInfo } export function serializeChatMessageInfo(writer: SerializationWriter, chatMessageInfo: ChatMessageInfo | undefined = {} as ChatMessageInfo) : void { serializeEntity(writer, chatMessageInfo) - writer.writeObjectValue("body", chatMessageInfo.body, ); + writer.writeObjectValue("body", chatMessageInfo.body, serializeItemBody); writer.writeDateValue("createdDateTime", chatMessageInfo.createdDateTime); - writer.writeObjectValue("eventDetail", chatMessageInfo.eventDetail, ); - writer.writeObjectValue("from", chatMessageInfo.from, ); + writer.writeObjectValue("eventDetail", chatMessageInfo.eventDetail, serializeEventMessageDetail); + writer.writeObjectValue("from", chatMessageInfo.from, serializeChatMessageFromIdentitySet); writer.writeBooleanValue("isDeleted", chatMessageInfo.isDeleted); writer.writeEnumValue("messageType", chatMessageInfo.messageType); } diff --git a/src/models/chatMessageMention.ts b/src/models/chatMessageMention.ts index 73eb2db67bd..cd45dbf9a0b 100644 --- a/src/models/chatMessageMention.ts +++ b/src/models/chatMessageMention.ts @@ -40,7 +40,7 @@ export function deserializeIntoChatMessageMention(chatMessageMention: ChatMessag } export function serializeChatMessageMention(writer: SerializationWriter, chatMessageMention: ChatMessageMention | undefined = {} as ChatMessageMention) : void { writer.writeNumberValue("id", chatMessageMention.id); - writer.writeObjectValue("mentioned", chatMessageMention.mentioned, ); + writer.writeObjectValue("mentioned", chatMessageMention.mentioned, serializeChatMessageMentionedIdentitySet); writer.writeStringValue("mentionText", chatMessageMention.mentionText); writer.writeStringValue("@odata.type", chatMessageMention.odataType); writer.writeAdditionalData(chatMessageMention.additionalData); diff --git a/src/models/chatMessageMentionedIdentitySet.ts b/src/models/chatMessageMentionedIdentitySet.ts index be91a5d9043..342e7467a41 100644 --- a/src/models/chatMessageMentionedIdentitySet.ts +++ b/src/models/chatMessageMentionedIdentitySet.ts @@ -23,7 +23,7 @@ export function deserializeIntoChatMessageMentionedIdentitySet(chatMessageMentio } export function serializeChatMessageMentionedIdentitySet(writer: SerializationWriter, chatMessageMentionedIdentitySet: ChatMessageMentionedIdentitySet | undefined = {} as ChatMessageMentionedIdentitySet) : void { serializeIdentitySet(writer, chatMessageMentionedIdentitySet) - writer.writeObjectValue("conversation", chatMessageMentionedIdentitySet.conversation, ); + writer.writeObjectValue("conversation", chatMessageMentionedIdentitySet.conversation, serializeTeamworkConversationIdentity); } // tslint:enable // eslint-enable diff --git a/src/models/chatMessagePolicyViolation.ts b/src/models/chatMessagePolicyViolation.ts index 805b5dbc46a..b8ce4ab2609 100644 --- a/src/models/chatMessagePolicyViolation.ts +++ b/src/models/chatMessagePolicyViolation.ts @@ -55,7 +55,7 @@ export function serializeChatMessagePolicyViolation(writer: SerializationWriter, writer.writeEnumValue("dlpAction", chatMessagePolicyViolation.dlpAction); writer.writeStringValue("justificationText", chatMessagePolicyViolation.justificationText); writer.writeStringValue("@odata.type", chatMessagePolicyViolation.odataType); - writer.writeObjectValue("policyTip", chatMessagePolicyViolation.policyTip, ); + writer.writeObjectValue("policyTip", chatMessagePolicyViolation.policyTip, serializeChatMessagePolicyViolationPolicyTip); writer.writeEnumValue("userAction", chatMessagePolicyViolation.userAction); writer.writeEnumValue("verdictDetails", chatMessagePolicyViolation.verdictDetails); writer.writeAdditionalData(chatMessagePolicyViolation.additionalData); diff --git a/src/models/chatMessageReaction.ts b/src/models/chatMessageReaction.ts index b72ca6bbb9b..1770b28880d 100644 --- a/src/models/chatMessageReaction.ts +++ b/src/models/chatMessageReaction.ts @@ -42,7 +42,7 @@ export function serializeChatMessageReaction(writer: SerializationWriter, chatMe writer.writeDateValue("createdDateTime", chatMessageReaction.createdDateTime); writer.writeStringValue("@odata.type", chatMessageReaction.odataType); writer.writeStringValue("reactionType", chatMessageReaction.reactionType); - writer.writeObjectValue("user", chatMessageReaction.user, ); + writer.writeObjectValue("user", chatMessageReaction.user, serializeChatMessageReactionIdentitySet); writer.writeAdditionalData(chatMessageReaction.additionalData); } // tslint:enable diff --git a/src/models/chatRenamedEventMessageDetail.ts b/src/models/chatRenamedEventMessageDetail.ts index 68f60263320..1888a0d318f 100644 --- a/src/models/chatRenamedEventMessageDetail.ts +++ b/src/models/chatRenamedEventMessageDetail.ts @@ -35,7 +35,7 @@ export function serializeChatRenamedEventMessageDetail(writer: SerializationWrit serializeEventMessageDetail(writer, chatRenamedEventMessageDetail) writer.writeStringValue("chatDisplayName", chatRenamedEventMessageDetail.chatDisplayName); writer.writeStringValue("chatId", chatRenamedEventMessageDetail.chatId); - writer.writeObjectValue("initiator", chatRenamedEventMessageDetail.initiator, ); + writer.writeObjectValue("initiator", chatRenamedEventMessageDetail.initiator, serializeIdentitySet); } // tslint:enable // eslint-enable diff --git a/src/models/checklistItemCollectionResponse.ts b/src/models/checklistItemCollectionResponse.ts index d4114ec5431..369be95d954 100644 --- a/src/models/checklistItemCollectionResponse.ts +++ b/src/models/checklistItemCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoChecklistItemCollectionResponse(checklistItemColl } export function serializeChecklistItemCollectionResponse(writer: SerializationWriter, checklistItemCollectionResponse: ChecklistItemCollectionResponse | undefined = {} as ChecklistItemCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, checklistItemCollectionResponse) - writer.writeCollectionOfObjectValues("value", checklistItemCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", checklistItemCollectionResponse.value, serializeChecklistItem); } // tslint:enable // eslint-enable diff --git a/src/models/claimsMappingPolicyCollectionResponse.ts b/src/models/claimsMappingPolicyCollectionResponse.ts index 721e9689258..4546c6c55df 100644 --- a/src/models/claimsMappingPolicyCollectionResponse.ts +++ b/src/models/claimsMappingPolicyCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoClaimsMappingPolicyCollectionResponse(claimsMappi } export function serializeClaimsMappingPolicyCollectionResponse(writer: SerializationWriter, claimsMappingPolicyCollectionResponse: ClaimsMappingPolicyCollectionResponse | undefined = {} as ClaimsMappingPolicyCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, claimsMappingPolicyCollectionResponse) - writer.writeCollectionOfObjectValues("value", claimsMappingPolicyCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", claimsMappingPolicyCollectionResponse.value, serializeClaimsMappingPolicy); } // tslint:enable // eslint-enable diff --git a/src/models/clientCertificateAuthentication.ts b/src/models/clientCertificateAuthentication.ts index f872d5fad52..5a9148bf704 100644 --- a/src/models/clientCertificateAuthentication.ts +++ b/src/models/clientCertificateAuthentication.ts @@ -23,7 +23,7 @@ export function deserializeIntoClientCertificateAuthentication(clientCertificate } export function serializeClientCertificateAuthentication(writer: SerializationWriter, clientCertificateAuthentication: ClientCertificateAuthentication | undefined = {} as ClientCertificateAuthentication) : void { serializeApiAuthenticationConfigurationBase(writer, clientCertificateAuthentication) - writer.writeCollectionOfObjectValues("certificateList", clientCertificateAuthentication.certificateList, ); + writer.writeCollectionOfObjectValues("certificateList", clientCertificateAuthentication.certificateList, serializePkcs12CertificateInformation); } // tslint:enable // eslint-enable diff --git a/src/models/cloudCommunications.ts b/src/models/cloudCommunications.ts index 213383f790a..a7cb752fb5a 100644 --- a/src/models/cloudCommunications.ts +++ b/src/models/cloudCommunications.ts @@ -47,11 +47,11 @@ export function deserializeIntoCloudCommunications(cloudCommunications: CloudCom } } export function serializeCloudCommunications(writer: SerializationWriter, cloudCommunications: CloudCommunications | undefined = {} as CloudCommunications) : void { - writer.writeCollectionOfObjectValues("callRecords", cloudCommunications.callRecords, ); - writer.writeCollectionOfObjectValues("calls", cloudCommunications.calls, ); + writer.writeCollectionOfObjectValues("callRecords", cloudCommunications.callRecords, serializeCallRecord); + writer.writeCollectionOfObjectValues("calls", cloudCommunications.calls, serializeCall); writer.writeStringValue("@odata.type", cloudCommunications.odataType); - writer.writeCollectionOfObjectValues("onlineMeetings", cloudCommunications.onlineMeetings, ); - writer.writeCollectionOfObjectValues("presences", cloudCommunications.presences, ); + writer.writeCollectionOfObjectValues("onlineMeetings", cloudCommunications.onlineMeetings, serializeOnlineMeeting); + writer.writeCollectionOfObjectValues("presences", cloudCommunications.presences, serializePresence); writer.writeAdditionalData(cloudCommunications.additionalData); } // tslint:enable diff --git a/src/models/coachmarkLocation.ts b/src/models/coachmarkLocation.ts index 8afe223f242..5e9f516ccd7 100644 --- a/src/models/coachmarkLocation.ts +++ b/src/models/coachmarkLocation.ts @@ -10,7 +10,7 @@ export interface CoachmarkLocation extends AdditionalDataHolder, Parsable { */ additionalData?: Record; /** - * The length property + * Length of coachmark. */ length?: number; /** @@ -18,11 +18,11 @@ export interface CoachmarkLocation extends AdditionalDataHolder, Parsable { */ odataType?: string; /** - * The offset property + * Offset of coachmark. */ offset?: number; /** - * The type property + * Type of coachmark location. The possible values are: unknown, fromEmail, subject, externalTag, displayName, messageBody, unknownFutureValue. */ type?: CoachmarkLocationType; } diff --git a/src/models/columnDefinition.ts b/src/models/columnDefinition.ts index d047eb686e9..bafe7f143ed 100644 --- a/src/models/columnDefinition.ts +++ b/src/models/columnDefinition.ts @@ -195,38 +195,38 @@ export function deserializeIntoColumnDefinition(columnDefinition: ColumnDefiniti } export function serializeColumnDefinition(writer: SerializationWriter, columnDefinition: ColumnDefinition | undefined = {} as ColumnDefinition) : void { serializeEntity(writer, columnDefinition) - writer.writeObjectValue("boolean", columnDefinition.boolean, ); - writer.writeObjectValue("calculated", columnDefinition.calculated, ); - writer.writeObjectValue("choice", columnDefinition.choice, ); + writer.writeObjectValue("boolean", columnDefinition.boolean, serializeBooleanColumn); + writer.writeObjectValue("calculated", columnDefinition.calculated, serializeCalculatedColumn); + writer.writeObjectValue("choice", columnDefinition.choice, serializeChoiceColumn); writer.writeStringValue("columnGroup", columnDefinition.columnGroup); - writer.writeObjectValue("contentApprovalStatus", columnDefinition.contentApprovalStatus, ); - writer.writeObjectValue("currency", columnDefinition.currency, ); - writer.writeObjectValue("dateTime", columnDefinition.dateTime, ); - writer.writeObjectValue("defaultValue", columnDefinition.defaultValue, ); + writer.writeObjectValue("contentApprovalStatus", columnDefinition.contentApprovalStatus, serializeContentApprovalStatusColumn); + writer.writeObjectValue("currency", columnDefinition.currency, serializeCurrencyColumn); + writer.writeObjectValue("dateTime", columnDefinition.dateTime, serializeDateTimeColumn); + writer.writeObjectValue("defaultValue", columnDefinition.defaultValue, serializeDefaultColumnValue); writer.writeStringValue("description", columnDefinition.description); writer.writeStringValue("displayName", columnDefinition.displayName); writer.writeBooleanValue("enforceUniqueValues", columnDefinition.enforceUniqueValues); - writer.writeObjectValue("geolocation", columnDefinition.geolocation, ); + writer.writeObjectValue("geolocation", columnDefinition.geolocation, serializeGeolocationColumn); writer.writeBooleanValue("hidden", columnDefinition.hidden); - writer.writeObjectValue("hyperlinkOrPicture", columnDefinition.hyperlinkOrPicture, ); + writer.writeObjectValue("hyperlinkOrPicture", columnDefinition.hyperlinkOrPicture, serializeHyperlinkOrPictureColumn); writer.writeBooleanValue("indexed", columnDefinition.indexed); writer.writeBooleanValue("isDeletable", columnDefinition.isDeletable); writer.writeBooleanValue("isReorderable", columnDefinition.isReorderable); writer.writeBooleanValue("isSealed", columnDefinition.isSealed); - writer.writeObjectValue("lookup", columnDefinition.lookup, ); + writer.writeObjectValue("lookup", columnDefinition.lookup, serializeLookupColumn); writer.writeStringValue("name", columnDefinition.name); - writer.writeObjectValue("number", columnDefinition.number, ); - writer.writeObjectValue("personOrGroup", columnDefinition.personOrGroup, ); + writer.writeObjectValue("number", columnDefinition.number, serializeNumberColumn); + writer.writeObjectValue("personOrGroup", columnDefinition.personOrGroup, serializePersonOrGroupColumn); writer.writeBooleanValue("propagateChanges", columnDefinition.propagateChanges); writer.writeBooleanValue("readOnly", columnDefinition.readOnly); writer.writeBooleanValue("required", columnDefinition.required); - writer.writeObjectValue("sourceColumn", columnDefinition.sourceColumn, ); - writer.writeObjectValue("sourceContentType", columnDefinition.sourceContentType, ); - writer.writeObjectValue("term", columnDefinition.term, ); - writer.writeObjectValue("text", columnDefinition.text, ); - writer.writeObjectValue("thumbnail", columnDefinition.thumbnail, ); + writer.writeObjectValue("sourceColumn", columnDefinition.sourceColumn, serializeColumnDefinition); + writer.writeObjectValue("sourceContentType", columnDefinition.sourceContentType, serializeContentTypeInfo); + writer.writeObjectValue("term", columnDefinition.term, serializeTermColumn); + writer.writeObjectValue("text", columnDefinition.text, serializeTextColumn); + writer.writeObjectValue("thumbnail", columnDefinition.thumbnail, serializeThumbnailColumn); writer.writeEnumValue("type", columnDefinition.type); - writer.writeObjectValue("validation", columnDefinition.validation, ); + writer.writeObjectValue("validation", columnDefinition.validation, serializeColumnValidation); } // tslint:enable // eslint-enable diff --git a/src/models/columnDefinitionCollectionResponse.ts b/src/models/columnDefinitionCollectionResponse.ts index 45705c5ff01..f54e6080f78 100644 --- a/src/models/columnDefinitionCollectionResponse.ts +++ b/src/models/columnDefinitionCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoColumnDefinitionCollectionResponse(columnDefiniti } export function serializeColumnDefinitionCollectionResponse(writer: SerializationWriter, columnDefinitionCollectionResponse: ColumnDefinitionCollectionResponse | undefined = {} as ColumnDefinitionCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, columnDefinitionCollectionResponse) - writer.writeCollectionOfObjectValues("value", columnDefinitionCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", columnDefinitionCollectionResponse.value, serializeColumnDefinition); } // tslint:enable // eslint-enable diff --git a/src/models/columnLinkCollectionResponse.ts b/src/models/columnLinkCollectionResponse.ts index 20c84106b8f..51c9a50e0fb 100644 --- a/src/models/columnLinkCollectionResponse.ts +++ b/src/models/columnLinkCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoColumnLinkCollectionResponse(columnLinkCollection } export function serializeColumnLinkCollectionResponse(writer: SerializationWriter, columnLinkCollectionResponse: ColumnLinkCollectionResponse | undefined = {} as ColumnLinkCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, columnLinkCollectionResponse) - writer.writeCollectionOfObjectValues("value", columnLinkCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", columnLinkCollectionResponse.value, serializeColumnLink); } // tslint:enable // eslint-enable diff --git a/src/models/columnValidation.ts b/src/models/columnValidation.ts index 368215b36a5..1bbd2a784e8 100644 --- a/src/models/columnValidation.ts +++ b/src/models/columnValidation.ts @@ -40,7 +40,7 @@ export function deserializeIntoColumnValidation(columnValidation: ColumnValidati } export function serializeColumnValidation(writer: SerializationWriter, columnValidation: ColumnValidation | undefined = {} as ColumnValidation) : void { writer.writeStringValue("defaultLanguage", columnValidation.defaultLanguage); - writer.writeCollectionOfObjectValues("descriptions", columnValidation.descriptions, ); + writer.writeCollectionOfObjectValues("descriptions", columnValidation.descriptions, serializeDisplayNameLocalization); writer.writeStringValue("formula", columnValidation.formula); writer.writeStringValue("@odata.type", columnValidation.odataType); writer.writeAdditionalData(columnValidation.additionalData); diff --git a/src/models/commsOperation.ts b/src/models/commsOperation.ts index 000de335c6d..6d5b7f5ea95 100644 --- a/src/models/commsOperation.ts +++ b/src/models/commsOperation.ts @@ -77,7 +77,7 @@ export function deserializeIntoCommsOperation(commsOperation: CommsOperation | u export function serializeCommsOperation(writer: SerializationWriter, commsOperation: CommsOperation | undefined = {} as CommsOperation) : void { serializeEntity(writer, commsOperation) writer.writeStringValue("clientContext", commsOperation.clientContext); - writer.writeObjectValue("resultInfo", commsOperation.resultInfo, ); + writer.writeObjectValue("resultInfo", commsOperation.resultInfo, serializeResultInfo); writer.writeEnumValue("status", commsOperation.status); } // tslint:enable diff --git a/src/models/commsOperationCollectionResponse.ts b/src/models/commsOperationCollectionResponse.ts index adbf5528948..b1a0de6e1b9 100644 --- a/src/models/commsOperationCollectionResponse.ts +++ b/src/models/commsOperationCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoCommsOperationCollectionResponse(commsOperationCo } export function serializeCommsOperationCollectionResponse(writer: SerializationWriter, commsOperationCollectionResponse: CommsOperationCollectionResponse | undefined = {} as CommsOperationCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, commsOperationCollectionResponse) - writer.writeCollectionOfObjectValues("value", commsOperationCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", commsOperationCollectionResponse.value, serializeCommsOperation); } // tslint:enable // eslint-enable diff --git a/src/models/communicationsIdentitySet.ts b/src/models/communicationsIdentitySet.ts index 19f70368ff0..2410efc40b4 100644 --- a/src/models/communicationsIdentitySet.ts +++ b/src/models/communicationsIdentitySet.ts @@ -59,14 +59,14 @@ export function deserializeIntoCommunicationsIdentitySet(communicationsIdentityS } export function serializeCommunicationsIdentitySet(writer: SerializationWriter, communicationsIdentitySet: CommunicationsIdentitySet | undefined = {} as CommunicationsIdentitySet) : void { serializeIdentitySet(writer, communicationsIdentitySet) - writer.writeObjectValue("applicationInstance", communicationsIdentitySet.applicationInstance, ); - writer.writeObjectValue("assertedIdentity", communicationsIdentitySet.assertedIdentity, ); - writer.writeObjectValue("azureCommunicationServicesUser", communicationsIdentitySet.azureCommunicationServicesUser, ); - writer.writeObjectValue("encrypted", communicationsIdentitySet.encrypted, ); + writer.writeObjectValue("applicationInstance", communicationsIdentitySet.applicationInstance, serializeIdentity); + writer.writeObjectValue("assertedIdentity", communicationsIdentitySet.assertedIdentity, serializeIdentity); + writer.writeObjectValue("azureCommunicationServicesUser", communicationsIdentitySet.azureCommunicationServicesUser, serializeIdentity); + writer.writeObjectValue("encrypted", communicationsIdentitySet.encrypted, serializeIdentity); writer.writeEnumValue("endpointType", communicationsIdentitySet.endpointType); - writer.writeObjectValue("guest", communicationsIdentitySet.guest, ); - writer.writeObjectValue("onPremises", communicationsIdentitySet.onPremises, ); - writer.writeObjectValue("phone", communicationsIdentitySet.phone, ); + writer.writeObjectValue("guest", communicationsIdentitySet.guest, serializeIdentity); + writer.writeObjectValue("onPremises", communicationsIdentitySet.onPremises, serializeIdentity); + writer.writeObjectValue("phone", communicationsIdentitySet.phone, serializeIdentity); } // tslint:enable // eslint-enable diff --git a/src/models/complianceInformation.ts b/src/models/complianceInformation.ts index 390c6a17415..63d0cb712b3 100644 --- a/src/models/complianceInformation.ts +++ b/src/models/complianceInformation.ts @@ -34,7 +34,7 @@ export function deserializeIntoComplianceInformation(complianceInformation: Comp } } export function serializeComplianceInformation(writer: SerializationWriter, complianceInformation: ComplianceInformation | undefined = {} as ComplianceInformation) : void { - writer.writeCollectionOfObjectValues("certificationControls", complianceInformation.certificationControls, ); + writer.writeCollectionOfObjectValues("certificationControls", complianceInformation.certificationControls, serializeCertificationControl); writer.writeStringValue("certificationName", complianceInformation.certificationName); writer.writeStringValue("@odata.type", complianceInformation.odataType); writer.writeAdditionalData(complianceInformation.additionalData); diff --git a/src/models/complianceManagementPartner.ts b/src/models/complianceManagementPartner.ts index 9ed51f59852..8175b000a4a 100644 --- a/src/models/complianceManagementPartner.ts +++ b/src/models/complianceManagementPartner.ts @@ -64,13 +64,13 @@ export function deserializeIntoComplianceManagementPartner(complianceManagementP } export function serializeComplianceManagementPartner(writer: SerializationWriter, complianceManagementPartner: ComplianceManagementPartner | undefined = {} as ComplianceManagementPartner) : void { serializeEntity(writer, complianceManagementPartner) - writer.writeCollectionOfObjectValues("androidEnrollmentAssignments", complianceManagementPartner.androidEnrollmentAssignments, ); + writer.writeCollectionOfObjectValues("androidEnrollmentAssignments", complianceManagementPartner.androidEnrollmentAssignments, serializeComplianceManagementPartnerAssignment); writer.writeBooleanValue("androidOnboarded", complianceManagementPartner.androidOnboarded); writer.writeStringValue("displayName", complianceManagementPartner.displayName); - writer.writeCollectionOfObjectValues("iosEnrollmentAssignments", complianceManagementPartner.iosEnrollmentAssignments, ); + writer.writeCollectionOfObjectValues("iosEnrollmentAssignments", complianceManagementPartner.iosEnrollmentAssignments, serializeComplianceManagementPartnerAssignment); writer.writeBooleanValue("iosOnboarded", complianceManagementPartner.iosOnboarded); writer.writeDateValue("lastHeartbeatDateTime", complianceManagementPartner.lastHeartbeatDateTime); - writer.writeCollectionOfObjectValues("macOsEnrollmentAssignments", complianceManagementPartner.macOsEnrollmentAssignments, ); + writer.writeCollectionOfObjectValues("macOsEnrollmentAssignments", complianceManagementPartner.macOsEnrollmentAssignments, serializeComplianceManagementPartnerAssignment); writer.writeBooleanValue("macOsOnboarded", complianceManagementPartner.macOsOnboarded); writer.writeEnumValue("partnerState", complianceManagementPartner.partnerState); } diff --git a/src/models/complianceManagementPartnerAssignment.ts b/src/models/complianceManagementPartnerAssignment.ts index 31f817a5c4e..8b3bead9778 100644 --- a/src/models/complianceManagementPartnerAssignment.ts +++ b/src/models/complianceManagementPartnerAssignment.ts @@ -30,7 +30,7 @@ export function deserializeIntoComplianceManagementPartnerAssignment(complianceM } export function serializeComplianceManagementPartnerAssignment(writer: SerializationWriter, complianceManagementPartnerAssignment: ComplianceManagementPartnerAssignment | undefined = {} as ComplianceManagementPartnerAssignment) : void { writer.writeStringValue("@odata.type", complianceManagementPartnerAssignment.odataType); - writer.writeObjectValue("target", complianceManagementPartnerAssignment.target, ); + writer.writeObjectValue("target", complianceManagementPartnerAssignment.target, serializeDeviceAndAppManagementAssignmentTarget); writer.writeAdditionalData(complianceManagementPartnerAssignment.additionalData); } // tslint:enable diff --git a/src/models/complianceManagementPartnerCollectionResponse.ts b/src/models/complianceManagementPartnerCollectionResponse.ts index 6c815cb5e0c..c23e85aa219 100644 --- a/src/models/complianceManagementPartnerCollectionResponse.ts +++ b/src/models/complianceManagementPartnerCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoComplianceManagementPartnerCollectionResponse(com } export function serializeComplianceManagementPartnerCollectionResponse(writer: SerializationWriter, complianceManagementPartnerCollectionResponse: ComplianceManagementPartnerCollectionResponse | undefined = {} as ComplianceManagementPartnerCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, complianceManagementPartnerCollectionResponse) - writer.writeCollectionOfObjectValues("value", complianceManagementPartnerCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", complianceManagementPartnerCollectionResponse.value, serializeComplianceManagementPartner); } // tslint:enable // eslint-enable diff --git a/src/models/conditionalAccessApplications.ts b/src/models/conditionalAccessApplications.ts index 87df5908cad..e76af361603 100644 --- a/src/models/conditionalAccessApplications.ts +++ b/src/models/conditionalAccessApplications.ts @@ -49,7 +49,7 @@ export function deserializeIntoConditionalAccessApplications(conditionalAccessAp } } export function serializeConditionalAccessApplications(writer: SerializationWriter, conditionalAccessApplications: ConditionalAccessApplications | undefined = {} as ConditionalAccessApplications) : void { - writer.writeObjectValue("applicationFilter", conditionalAccessApplications.applicationFilter, ); + writer.writeObjectValue("applicationFilter", conditionalAccessApplications.applicationFilter, serializeConditionalAccessFilter); writer.writeCollectionOfPrimitiveValues("excludeApplications", conditionalAccessApplications.excludeApplications); writer.writeCollectionOfPrimitiveValues("includeApplications", conditionalAccessApplications.includeApplications); writer.writeCollectionOfPrimitiveValues("includeAuthenticationContextClassReferences", conditionalAccessApplications.includeAuthenticationContextClassReferences); diff --git a/src/models/conditionalAccessClientApplications.ts b/src/models/conditionalAccessClientApplications.ts index 108d30dedef..f8dbb9afc27 100644 --- a/src/models/conditionalAccessClientApplications.ts +++ b/src/models/conditionalAccessClientApplications.ts @@ -42,7 +42,7 @@ export function serializeConditionalAccessClientApplications(writer: Serializati writer.writeCollectionOfPrimitiveValues("excludeServicePrincipals", conditionalAccessClientApplications.excludeServicePrincipals); writer.writeCollectionOfPrimitiveValues("includeServicePrincipals", conditionalAccessClientApplications.includeServicePrincipals); writer.writeStringValue("@odata.type", conditionalAccessClientApplications.odataType); - writer.writeObjectValue("servicePrincipalFilter", conditionalAccessClientApplications.servicePrincipalFilter, ); + writer.writeObjectValue("servicePrincipalFilter", conditionalAccessClientApplications.servicePrincipalFilter, serializeConditionalAccessFilter); writer.writeAdditionalData(conditionalAccessClientApplications.additionalData); } // tslint:enable diff --git a/src/models/conditionalAccessConditionSet.ts b/src/models/conditionalAccessConditionSet.ts index c908cc240d9..edcc72cbcec 100644 --- a/src/models/conditionalAccessConditionSet.ts +++ b/src/models/conditionalAccessConditionSet.ts @@ -81,21 +81,21 @@ export function deserializeIntoConditionalAccessConditionSet(conditionalAccessCo } } export function serializeConditionalAccessConditionSet(writer: SerializationWriter, conditionalAccessConditionSet: ConditionalAccessConditionSet | undefined = {} as ConditionalAccessConditionSet) : void { - writer.writeObjectValue("applications", conditionalAccessConditionSet.applications, ); - writer.writeObjectValue("clientApplications", conditionalAccessConditionSet.clientApplications, ); + writer.writeObjectValue("applications", conditionalAccessConditionSet.applications, serializeConditionalAccessApplications); + writer.writeObjectValue("clientApplications", conditionalAccessConditionSet.clientApplications, serializeConditionalAccessClientApplications); if(conditionalAccessConditionSet.clientAppTypes) writer.writeEnumValue("clientAppTypes", ...conditionalAccessConditionSet.clientAppTypes); - writer.writeObjectValue("devices", conditionalAccessConditionSet.devices, ); - writer.writeObjectValue("locations", conditionalAccessConditionSet.locations, ); + writer.writeObjectValue("devices", conditionalAccessConditionSet.devices, serializeConditionalAccessDevices); + writer.writeObjectValue("locations", conditionalAccessConditionSet.locations, serializeConditionalAccessLocations); writer.writeStringValue("@odata.type", conditionalAccessConditionSet.odataType); - writer.writeObjectValue("platforms", conditionalAccessConditionSet.platforms, ); + writer.writeObjectValue("platforms", conditionalAccessConditionSet.platforms, serializeConditionalAccessPlatforms); if(conditionalAccessConditionSet.servicePrincipalRiskLevels) writer.writeEnumValue("servicePrincipalRiskLevels", ...conditionalAccessConditionSet.servicePrincipalRiskLevels); if(conditionalAccessConditionSet.signInRiskLevels) writer.writeEnumValue("signInRiskLevels", ...conditionalAccessConditionSet.signInRiskLevels); if(conditionalAccessConditionSet.userRiskLevels) writer.writeEnumValue("userRiskLevels", ...conditionalAccessConditionSet.userRiskLevels); - writer.writeObjectValue("users", conditionalAccessConditionSet.users, ); + writer.writeObjectValue("users", conditionalAccessConditionSet.users, serializeConditionalAccessUsers); writer.writeAdditionalData(conditionalAccessConditionSet.additionalData); } // tslint:enable diff --git a/src/models/conditionalAccessDevices.ts b/src/models/conditionalAccessDevices.ts index 90ed5b01ea7..661549e67d1 100644 --- a/src/models/conditionalAccessDevices.ts +++ b/src/models/conditionalAccessDevices.ts @@ -29,7 +29,7 @@ export function deserializeIntoConditionalAccessDevices(conditionalAccessDevices } } export function serializeConditionalAccessDevices(writer: SerializationWriter, conditionalAccessDevices: ConditionalAccessDevices | undefined = {} as ConditionalAccessDevices) : void { - writer.writeObjectValue("deviceFilter", conditionalAccessDevices.deviceFilter, ); + writer.writeObjectValue("deviceFilter", conditionalAccessDevices.deviceFilter, serializeConditionalAccessFilter); writer.writeStringValue("@odata.type", conditionalAccessDevices.odataType); writer.writeAdditionalData(conditionalAccessDevices.additionalData); } diff --git a/src/models/conditionalAccessGrantControls.ts b/src/models/conditionalAccessGrantControls.ts index 77c08fb7cf7..a3d431fce08 100644 --- a/src/models/conditionalAccessGrantControls.ts +++ b/src/models/conditionalAccessGrantControls.ts @@ -50,7 +50,7 @@ export function deserializeIntoConditionalAccessGrantControls(conditionalAccessG } } export function serializeConditionalAccessGrantControls(writer: SerializationWriter, conditionalAccessGrantControls: ConditionalAccessGrantControls | undefined = {} as ConditionalAccessGrantControls) : void { - writer.writeObjectValue("authenticationStrength", conditionalAccessGrantControls.authenticationStrength, ); + writer.writeObjectValue("authenticationStrength", conditionalAccessGrantControls.authenticationStrength, serializeAuthenticationStrengthPolicy); if(conditionalAccessGrantControls.builtInControls) writer.writeEnumValue("builtInControls", ...conditionalAccessGrantControls.builtInControls); writer.writeCollectionOfPrimitiveValues("customAuthenticationFactors", conditionalAccessGrantControls.customAuthenticationFactors); diff --git a/src/models/conditionalAccessGuestsOrExternalUsers.ts b/src/models/conditionalAccessGuestsOrExternalUsers.ts index a085ed702df..d6580d0707f 100644 --- a/src/models/conditionalAccessGuestsOrExternalUsers.ts +++ b/src/models/conditionalAccessGuestsOrExternalUsers.ts @@ -35,7 +35,7 @@ export function deserializeIntoConditionalAccessGuestsOrExternalUsers(conditiona } } export function serializeConditionalAccessGuestsOrExternalUsers(writer: SerializationWriter, conditionalAccessGuestsOrExternalUsers: ConditionalAccessGuestsOrExternalUsers | undefined = {} as ConditionalAccessGuestsOrExternalUsers) : void { - writer.writeObjectValue("externalTenants", conditionalAccessGuestsOrExternalUsers.externalTenants, ); + writer.writeObjectValue("externalTenants", conditionalAccessGuestsOrExternalUsers.externalTenants, serializeConditionalAccessExternalTenants); writer.writeEnumValue("guestOrExternalUserTypes", conditionalAccessGuestsOrExternalUsers.guestOrExternalUserTypes); writer.writeStringValue("@odata.type", conditionalAccessGuestsOrExternalUsers.odataType); writer.writeAdditionalData(conditionalAccessGuestsOrExternalUsers.additionalData); diff --git a/src/models/conditionalAccessPolicy.ts b/src/models/conditionalAccessPolicy.ts index e3f36caad4e..0eeb564c96b 100644 --- a/src/models/conditionalAccessPolicy.ts +++ b/src/models/conditionalAccessPolicy.ts @@ -66,13 +66,13 @@ export function deserializeIntoConditionalAccessPolicy(conditionalAccessPolicy: } export function serializeConditionalAccessPolicy(writer: SerializationWriter, conditionalAccessPolicy: ConditionalAccessPolicy | undefined = {} as ConditionalAccessPolicy) : void { serializeEntity(writer, conditionalAccessPolicy) - writer.writeObjectValue("conditions", conditionalAccessPolicy.conditions, ); + writer.writeObjectValue("conditions", conditionalAccessPolicy.conditions, serializeConditionalAccessConditionSet); writer.writeDateValue("createdDateTime", conditionalAccessPolicy.createdDateTime); writer.writeStringValue("description", conditionalAccessPolicy.description); writer.writeStringValue("displayName", conditionalAccessPolicy.displayName); - writer.writeObjectValue("grantControls", conditionalAccessPolicy.grantControls, ); + writer.writeObjectValue("grantControls", conditionalAccessPolicy.grantControls, serializeConditionalAccessGrantControls); writer.writeDateValue("modifiedDateTime", conditionalAccessPolicy.modifiedDateTime); - writer.writeObjectValue("sessionControls", conditionalAccessPolicy.sessionControls, ); + writer.writeObjectValue("sessionControls", conditionalAccessPolicy.sessionControls, serializeConditionalAccessSessionControls); writer.writeEnumValue("state", conditionalAccessPolicy.state); writer.writeStringValue("templateId", conditionalAccessPolicy.templateId); } diff --git a/src/models/conditionalAccessPolicyCollectionResponse.ts b/src/models/conditionalAccessPolicyCollectionResponse.ts index 89dcb76edb1..fc5baa44d7b 100644 --- a/src/models/conditionalAccessPolicyCollectionResponse.ts +++ b/src/models/conditionalAccessPolicyCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoConditionalAccessPolicyCollectionResponse(conditi } export function serializeConditionalAccessPolicyCollectionResponse(writer: SerializationWriter, conditionalAccessPolicyCollectionResponse: ConditionalAccessPolicyCollectionResponse | undefined = {} as ConditionalAccessPolicyCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, conditionalAccessPolicyCollectionResponse) - writer.writeCollectionOfObjectValues("value", conditionalAccessPolicyCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", conditionalAccessPolicyCollectionResponse.value, serializeConditionalAccessPolicy); } // tslint:enable // eslint-enable diff --git a/src/models/conditionalAccessPolicyDetail.ts b/src/models/conditionalAccessPolicyDetail.ts index 41b36ab2154..eab91eea48c 100644 --- a/src/models/conditionalAccessPolicyDetail.ts +++ b/src/models/conditionalAccessPolicyDetail.ts @@ -41,10 +41,10 @@ export function deserializeIntoConditionalAccessPolicyDetail(conditionalAccessPo } } export function serializeConditionalAccessPolicyDetail(writer: SerializationWriter, conditionalAccessPolicyDetail: ConditionalAccessPolicyDetail | undefined = {} as ConditionalAccessPolicyDetail) : void { - writer.writeObjectValue("conditions", conditionalAccessPolicyDetail.conditions, ); - writer.writeObjectValue("grantControls", conditionalAccessPolicyDetail.grantControls, ); + writer.writeObjectValue("conditions", conditionalAccessPolicyDetail.conditions, serializeConditionalAccessConditionSet); + writer.writeObjectValue("grantControls", conditionalAccessPolicyDetail.grantControls, serializeConditionalAccessGrantControls); writer.writeStringValue("@odata.type", conditionalAccessPolicyDetail.odataType); - writer.writeObjectValue("sessionControls", conditionalAccessPolicyDetail.sessionControls, ); + writer.writeObjectValue("sessionControls", conditionalAccessPolicyDetail.sessionControls, serializeConditionalAccessSessionControls); writer.writeAdditionalData(conditionalAccessPolicyDetail.additionalData); } // tslint:enable diff --git a/src/models/conditionalAccessRoot.ts b/src/models/conditionalAccessRoot.ts index 582657c0ac3..9c549c222d0 100644 --- a/src/models/conditionalAccessRoot.ts +++ b/src/models/conditionalAccessRoot.ts @@ -47,11 +47,11 @@ export function deserializeIntoConditionalAccessRoot(conditionalAccessRoot: Cond } export function serializeConditionalAccessRoot(writer: SerializationWriter, conditionalAccessRoot: ConditionalAccessRoot | undefined = {} as ConditionalAccessRoot) : void { serializeEntity(writer, conditionalAccessRoot) - writer.writeCollectionOfObjectValues("authenticationContextClassReferences", conditionalAccessRoot.authenticationContextClassReferences, ); - writer.writeObjectValue("authenticationStrength", conditionalAccessRoot.authenticationStrength, ); - writer.writeCollectionOfObjectValues("namedLocations", conditionalAccessRoot.namedLocations, ); - writer.writeCollectionOfObjectValues("policies", conditionalAccessRoot.policies, ); - writer.writeCollectionOfObjectValues("templates", conditionalAccessRoot.templates, ); + writer.writeCollectionOfObjectValues("authenticationContextClassReferences", conditionalAccessRoot.authenticationContextClassReferences, serializeAuthenticationContextClassReference); + writer.writeObjectValue("authenticationStrength", conditionalAccessRoot.authenticationStrength, serializeAuthenticationStrengthRoot); + writer.writeCollectionOfObjectValues("namedLocations", conditionalAccessRoot.namedLocations, serializeNamedLocation); + writer.writeCollectionOfObjectValues("policies", conditionalAccessRoot.policies, serializeConditionalAccessPolicy); + writer.writeCollectionOfObjectValues("templates", conditionalAccessRoot.templates, serializeConditionalAccessTemplate); } // tslint:enable // eslint-enable diff --git a/src/models/conditionalAccessSessionControls.ts b/src/models/conditionalAccessSessionControls.ts index 4a7d985281c..3eb9f22179b 100644 --- a/src/models/conditionalAccessSessionControls.ts +++ b/src/models/conditionalAccessSessionControls.ts @@ -52,12 +52,12 @@ export function deserializeIntoConditionalAccessSessionControls(conditionalAcces } } export function serializeConditionalAccessSessionControls(writer: SerializationWriter, conditionalAccessSessionControls: ConditionalAccessSessionControls | undefined = {} as ConditionalAccessSessionControls) : void { - writer.writeObjectValue("applicationEnforcedRestrictions", conditionalAccessSessionControls.applicationEnforcedRestrictions, ); - writer.writeObjectValue("cloudAppSecurity", conditionalAccessSessionControls.cloudAppSecurity, ); + writer.writeObjectValue("applicationEnforcedRestrictions", conditionalAccessSessionControls.applicationEnforcedRestrictions, serializeApplicationEnforcedRestrictionsSessionControl); + writer.writeObjectValue("cloudAppSecurity", conditionalAccessSessionControls.cloudAppSecurity, serializeCloudAppSecuritySessionControl); writer.writeBooleanValue("disableResilienceDefaults", conditionalAccessSessionControls.disableResilienceDefaults); writer.writeStringValue("@odata.type", conditionalAccessSessionControls.odataType); - writer.writeObjectValue("persistentBrowser", conditionalAccessSessionControls.persistentBrowser, ); - writer.writeObjectValue("signInFrequency", conditionalAccessSessionControls.signInFrequency, ); + writer.writeObjectValue("persistentBrowser", conditionalAccessSessionControls.persistentBrowser, serializePersistentBrowserSessionControl); + writer.writeObjectValue("signInFrequency", conditionalAccessSessionControls.signInFrequency, serializeSignInFrequencySessionControl); writer.writeAdditionalData(conditionalAccessSessionControls.additionalData); } // tslint:enable diff --git a/src/models/conditionalAccessTemplate.ts b/src/models/conditionalAccessTemplate.ts index 74bfe5b0e9a..dd68e078273 100644 --- a/src/models/conditionalAccessTemplate.ts +++ b/src/models/conditionalAccessTemplate.ts @@ -40,7 +40,7 @@ export function deserializeIntoConditionalAccessTemplate(conditionalAccessTempla export function serializeConditionalAccessTemplate(writer: SerializationWriter, conditionalAccessTemplate: ConditionalAccessTemplate | undefined = {} as ConditionalAccessTemplate) : void { serializeEntity(writer, conditionalAccessTemplate) writer.writeStringValue("description", conditionalAccessTemplate.description); - writer.writeObjectValue("details", conditionalAccessTemplate.details, ); + writer.writeObjectValue("details", conditionalAccessTemplate.details, serializeConditionalAccessPolicyDetail); writer.writeStringValue("name", conditionalAccessTemplate.name); writer.writeEnumValue("scenarios", conditionalAccessTemplate.scenarios); } diff --git a/src/models/conditionalAccessTemplateCollectionResponse.ts b/src/models/conditionalAccessTemplateCollectionResponse.ts index 53aef294112..75cfd06188b 100644 --- a/src/models/conditionalAccessTemplateCollectionResponse.ts +++ b/src/models/conditionalAccessTemplateCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoConditionalAccessTemplateCollectionResponse(condi } export function serializeConditionalAccessTemplateCollectionResponse(writer: SerializationWriter, conditionalAccessTemplateCollectionResponse: ConditionalAccessTemplateCollectionResponse | undefined = {} as ConditionalAccessTemplateCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, conditionalAccessTemplateCollectionResponse) - writer.writeCollectionOfObjectValues("value", conditionalAccessTemplateCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", conditionalAccessTemplateCollectionResponse.value, serializeConditionalAccessTemplate); } // tslint:enable // eslint-enable diff --git a/src/models/conditionalAccessUsers.ts b/src/models/conditionalAccessUsers.ts index d5933a96782..5cec3796674 100644 --- a/src/models/conditionalAccessUsers.ts +++ b/src/models/conditionalAccessUsers.ts @@ -65,11 +65,11 @@ export function deserializeIntoConditionalAccessUsers(conditionalAccessUsers: Co } export function serializeConditionalAccessUsers(writer: SerializationWriter, conditionalAccessUsers: ConditionalAccessUsers | undefined = {} as ConditionalAccessUsers) : void { writer.writeCollectionOfPrimitiveValues("excludeGroups", conditionalAccessUsers.excludeGroups); - writer.writeObjectValue("excludeGuestsOrExternalUsers", conditionalAccessUsers.excludeGuestsOrExternalUsers, ); + writer.writeObjectValue("excludeGuestsOrExternalUsers", conditionalAccessUsers.excludeGuestsOrExternalUsers, serializeConditionalAccessGuestsOrExternalUsers); writer.writeCollectionOfPrimitiveValues("excludeRoles", conditionalAccessUsers.excludeRoles); writer.writeCollectionOfPrimitiveValues("excludeUsers", conditionalAccessUsers.excludeUsers); writer.writeCollectionOfPrimitiveValues("includeGroups", conditionalAccessUsers.includeGroups); - writer.writeObjectValue("includeGuestsOrExternalUsers", conditionalAccessUsers.includeGuestsOrExternalUsers, ); + writer.writeObjectValue("includeGuestsOrExternalUsers", conditionalAccessUsers.includeGuestsOrExternalUsers, serializeConditionalAccessGuestsOrExternalUsers); writer.writeCollectionOfPrimitiveValues("includeRoles", conditionalAccessUsers.includeRoles); writer.writeCollectionOfPrimitiveValues("includeUsers", conditionalAccessUsers.includeUsers); writer.writeStringValue("@odata.type", conditionalAccessUsers.odataType); diff --git a/src/models/connectedOrganization.ts b/src/models/connectedOrganization.ts index a32a989188c..37ac73641f4 100644 --- a/src/models/connectedOrganization.ts +++ b/src/models/connectedOrganization.ts @@ -63,9 +63,9 @@ export function serializeConnectedOrganization(writer: SerializationWriter, conn writer.writeDateValue("createdDateTime", connectedOrganization.createdDateTime); writer.writeStringValue("description", connectedOrganization.description); writer.writeStringValue("displayName", connectedOrganization.displayName); - writer.writeCollectionOfObjectValues("externalSponsors", connectedOrganization.externalSponsors, ); - writer.writeCollectionOfObjectValues("identitySources", connectedOrganization.identitySources, ); - writer.writeCollectionOfObjectValues("internalSponsors", connectedOrganization.internalSponsors, ); + writer.writeCollectionOfObjectValues("externalSponsors", connectedOrganization.externalSponsors, serializeDirectoryObject); + writer.writeCollectionOfObjectValues("identitySources", connectedOrganization.identitySources, serializeIdentitySource); + writer.writeCollectionOfObjectValues("internalSponsors", connectedOrganization.internalSponsors, serializeDirectoryObject); writer.writeDateValue("modifiedDateTime", connectedOrganization.modifiedDateTime); writer.writeEnumValue("state", connectedOrganization.state); } diff --git a/src/models/connectedOrganizationCollectionResponse.ts b/src/models/connectedOrganizationCollectionResponse.ts index 93c59f31f76..ab0e3e9bc3c 100644 --- a/src/models/connectedOrganizationCollectionResponse.ts +++ b/src/models/connectedOrganizationCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoConnectedOrganizationCollectionResponse(connected } export function serializeConnectedOrganizationCollectionResponse(writer: SerializationWriter, connectedOrganizationCollectionResponse: ConnectedOrganizationCollectionResponse | undefined = {} as ConnectedOrganizationCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, connectedOrganizationCollectionResponse) - writer.writeCollectionOfObjectValues("value", connectedOrganizationCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", connectedOrganizationCollectionResponse.value, serializeConnectedOrganization); } // tslint:enable // eslint-enable diff --git a/src/models/contact.ts b/src/models/contact.ts index 991aae263ac..9d6b5689431 100644 --- a/src/models/contact.ts +++ b/src/models/contact.ts @@ -210,19 +210,19 @@ export function serializeContact(writer: SerializationWriter, contact: Contact | serializeOutlookItem(writer, contact) writer.writeStringValue("assistantName", contact.assistantName); writer.writeDateValue("birthday", contact.birthday); - writer.writeObjectValue("businessAddress", contact.businessAddress, ); + writer.writeObjectValue("businessAddress", contact.businessAddress, serializePhysicalAddress); writer.writeStringValue("businessHomePage", contact.businessHomePage); writer.writeCollectionOfPrimitiveValues("businessPhones", contact.businessPhones); writer.writeCollectionOfPrimitiveValues("children", contact.children); writer.writeStringValue("companyName", contact.companyName); writer.writeStringValue("department", contact.department); writer.writeStringValue("displayName", contact.displayName); - writer.writeCollectionOfObjectValues("emailAddresses", contact.emailAddresses, ); - writer.writeCollectionOfObjectValues("extensions", contact.extensions, ); + writer.writeCollectionOfObjectValues("emailAddresses", contact.emailAddresses, serializeEmailAddress); + writer.writeCollectionOfObjectValues("extensions", contact.extensions, serializeExtension); writer.writeStringValue("fileAs", contact.fileAs); writer.writeStringValue("generation", contact.generation); writer.writeStringValue("givenName", contact.givenName); - writer.writeObjectValue("homeAddress", contact.homeAddress, ); + writer.writeObjectValue("homeAddress", contact.homeAddress, serializePhysicalAddress); writer.writeCollectionOfPrimitiveValues("homePhones", contact.homePhones); writer.writeCollectionOfPrimitiveValues("imAddresses", contact.imAddresses); writer.writeStringValue("initials", contact.initials); @@ -230,15 +230,15 @@ export function serializeContact(writer: SerializationWriter, contact: Contact | writer.writeStringValue("manager", contact.manager); writer.writeStringValue("middleName", contact.middleName); writer.writeStringValue("mobilePhone", contact.mobilePhone); - writer.writeCollectionOfObjectValues("multiValueExtendedProperties", contact.multiValueExtendedProperties, ); + writer.writeCollectionOfObjectValues("multiValueExtendedProperties", contact.multiValueExtendedProperties, serializeMultiValueLegacyExtendedProperty); writer.writeStringValue("nickName", contact.nickName); writer.writeStringValue("officeLocation", contact.officeLocation); - writer.writeObjectValue("otherAddress", contact.otherAddress, ); + writer.writeObjectValue("otherAddress", contact.otherAddress, serializePhysicalAddress); writer.writeStringValue("parentFolderId", contact.parentFolderId); writer.writeStringValue("personalNotes", contact.personalNotes); - writer.writeObjectValue("photo", contact.photo, ); + writer.writeObjectValue("photo", contact.photo, serializeProfilePhoto); writer.writeStringValue("profession", contact.profession); - writer.writeCollectionOfObjectValues("singleValueExtendedProperties", contact.singleValueExtendedProperties, ); + writer.writeCollectionOfObjectValues("singleValueExtendedProperties", contact.singleValueExtendedProperties, serializeSingleValueLegacyExtendedProperty); writer.writeStringValue("spouseName", contact.spouseName); writer.writeStringValue("surname", contact.surname); writer.writeStringValue("title", contact.title); diff --git a/src/models/contactCollectionResponse.ts b/src/models/contactCollectionResponse.ts index 92da21fd31d..7bce3282033 100644 --- a/src/models/contactCollectionResponse.ts +++ b/src/models/contactCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoContactCollectionResponse(contactCollectionRespon } export function serializeContactCollectionResponse(writer: SerializationWriter, contactCollectionResponse: ContactCollectionResponse | undefined = {} as ContactCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, contactCollectionResponse) - writer.writeCollectionOfObjectValues("value", contactCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", contactCollectionResponse.value, serializeContact); } // tslint:enable // eslint-enable diff --git a/src/models/contactFolder.ts b/src/models/contactFolder.ts index a3f1c87cf81..bbb9274806e 100644 --- a/src/models/contactFolder.ts +++ b/src/models/contactFolder.ts @@ -50,12 +50,12 @@ export function deserializeIntoContactFolder(contactFolder: ContactFolder | unde } export function serializeContactFolder(writer: SerializationWriter, contactFolder: ContactFolder | undefined = {} as ContactFolder) : void { serializeEntity(writer, contactFolder) - writer.writeCollectionOfObjectValues("childFolders", contactFolder.childFolders, ); - writer.writeCollectionOfObjectValues("contacts", contactFolder.contacts, ); + writer.writeCollectionOfObjectValues("childFolders", contactFolder.childFolders, serializeContactFolder); + writer.writeCollectionOfObjectValues("contacts", contactFolder.contacts, serializeContact); writer.writeStringValue("displayName", contactFolder.displayName); - writer.writeCollectionOfObjectValues("multiValueExtendedProperties", contactFolder.multiValueExtendedProperties, ); + writer.writeCollectionOfObjectValues("multiValueExtendedProperties", contactFolder.multiValueExtendedProperties, serializeMultiValueLegacyExtendedProperty); writer.writeStringValue("parentFolderId", contactFolder.parentFolderId); - writer.writeCollectionOfObjectValues("singleValueExtendedProperties", contactFolder.singleValueExtendedProperties, ); + writer.writeCollectionOfObjectValues("singleValueExtendedProperties", contactFolder.singleValueExtendedProperties, serializeSingleValueLegacyExtendedProperty); } // tslint:enable // eslint-enable diff --git a/src/models/contactFolderCollectionResponse.ts b/src/models/contactFolderCollectionResponse.ts index c5d38cf6aeb..051a4b217ec 100644 --- a/src/models/contactFolderCollectionResponse.ts +++ b/src/models/contactFolderCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoContactFolderCollectionResponse(contactFolderColl } export function serializeContactFolderCollectionResponse(writer: SerializationWriter, contactFolderCollectionResponse: ContactFolderCollectionResponse | undefined = {} as ContactFolderCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, contactFolderCollectionResponse) - writer.writeCollectionOfObjectValues("value", contactFolderCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", contactFolderCollectionResponse.value, serializeContactFolder); } // tslint:enable // eslint-enable diff --git a/src/models/contentSharingSessionCollectionResponse.ts b/src/models/contentSharingSessionCollectionResponse.ts index ad8d7aced9a..41c998adb33 100644 --- a/src/models/contentSharingSessionCollectionResponse.ts +++ b/src/models/contentSharingSessionCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoContentSharingSessionCollectionResponse(contentSh } export function serializeContentSharingSessionCollectionResponse(writer: SerializationWriter, contentSharingSessionCollectionResponse: ContentSharingSessionCollectionResponse | undefined = {} as ContentSharingSessionCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, contentSharingSessionCollectionResponse) - writer.writeCollectionOfObjectValues("value", contentSharingSessionCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", contentSharingSessionCollectionResponse.value, serializeContentSharingSession); } // tslint:enable // eslint-enable diff --git a/src/models/contentType.ts b/src/models/contentType.ts index 6ded2031bfe..48780a7789c 100644 --- a/src/models/contentType.ts +++ b/src/models/contentType.ts @@ -119,20 +119,20 @@ export function deserializeIntoContentType(contentType: ContentType | undefined export function serializeContentType(writer: SerializationWriter, contentType: ContentType | undefined = {} as ContentType) : void { serializeEntity(writer, contentType) writer.writeCollectionOfPrimitiveValues("associatedHubsUrls", contentType.associatedHubsUrls); - writer.writeObjectValue("base", contentType.base, ); - writer.writeCollectionOfObjectValues("baseTypes", contentType.baseTypes, ); - writer.writeCollectionOfObjectValues("columnLinks", contentType.columnLinks, ); - writer.writeCollectionOfObjectValues("columnPositions", contentType.columnPositions, ); - writer.writeCollectionOfObjectValues("columns", contentType.columns, ); + writer.writeObjectValue("base", contentType.base, serializeContentType); + writer.writeCollectionOfObjectValues("baseTypes", contentType.baseTypes, serializeContentType); + writer.writeCollectionOfObjectValues("columnLinks", contentType.columnLinks, serializeColumnLink); + writer.writeCollectionOfObjectValues("columnPositions", contentType.columnPositions, serializeColumnDefinition); + writer.writeCollectionOfObjectValues("columns", contentType.columns, serializeColumnDefinition); writer.writeStringValue("description", contentType.description); - writer.writeObjectValue("documentSet", contentType.documentSet, ); - writer.writeObjectValue("documentTemplate", contentType.documentTemplate, ); + writer.writeObjectValue("documentSet", contentType.documentSet, serializeDocumentSet); + writer.writeObjectValue("documentTemplate", contentType.documentTemplate, serializeDocumentSetContent); writer.writeStringValue("group", contentType.group); writer.writeBooleanValue("hidden", contentType.hidden); - writer.writeObjectValue("inheritedFrom", contentType.inheritedFrom, ); + writer.writeObjectValue("inheritedFrom", contentType.inheritedFrom, serializeItemReference); writer.writeBooleanValue("isBuiltIn", contentType.isBuiltIn); writer.writeStringValue("name", contentType.name); - writer.writeObjectValue("order", contentType.order, ); + writer.writeObjectValue("order", contentType.order, serializeContentTypeOrder); writer.writeStringValue("parentId", contentType.parentId); writer.writeBooleanValue("propagateChanges", contentType.propagateChanges); writer.writeBooleanValue("readOnly", contentType.readOnly); diff --git a/src/models/contentTypeCollectionResponse.ts b/src/models/contentTypeCollectionResponse.ts index 25064e844e2..ec36528de99 100644 --- a/src/models/contentTypeCollectionResponse.ts +++ b/src/models/contentTypeCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoContentTypeCollectionResponse(contentTypeCollecti } export function serializeContentTypeCollectionResponse(writer: SerializationWriter, contentTypeCollectionResponse: ContentTypeCollectionResponse | undefined = {} as ContentTypeCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, contentTypeCollectionResponse) - writer.writeCollectionOfObjectValues("value", contentTypeCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", contentTypeCollectionResponse.value, serializeContentType); } // tslint:enable // eslint-enable diff --git a/src/models/contractCollectionResponse.ts b/src/models/contractCollectionResponse.ts index c72bd11f57e..b25a7a796fa 100644 --- a/src/models/contractCollectionResponse.ts +++ b/src/models/contractCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoContractCollectionResponse(contractCollectionResp } export function serializeContractCollectionResponse(writer: SerializationWriter, contractCollectionResponse: ContractCollectionResponse | undefined = {} as ContractCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, contractCollectionResponse) - writer.writeCollectionOfObjectValues("value", contractCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", contractCollectionResponse.value, serializeContract); } // tslint:enable // eslint-enable diff --git a/src/models/conversation.ts b/src/models/conversation.ts index 580833aecf2..13023a4d60a 100644 --- a/src/models/conversation.ts +++ b/src/models/conversation.ts @@ -51,7 +51,7 @@ export function serializeConversation(writer: SerializationWriter, conversation: writer.writeBooleanValue("hasAttachments", conversation.hasAttachments); writer.writeDateValue("lastDeliveredDateTime", conversation.lastDeliveredDateTime); writer.writeStringValue("preview", conversation.preview); - writer.writeCollectionOfObjectValues("threads", conversation.threads, ); + writer.writeCollectionOfObjectValues("threads", conversation.threads, serializeConversationThread); writer.writeStringValue("topic", conversation.topic); writer.writeCollectionOfPrimitiveValues("uniqueSenders", conversation.uniqueSenders); } diff --git a/src/models/conversationCollectionResponse.ts b/src/models/conversationCollectionResponse.ts index 02a0617a3c7..c5bd8a045d9 100644 --- a/src/models/conversationCollectionResponse.ts +++ b/src/models/conversationCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoConversationCollectionResponse(conversationCollec } export function serializeConversationCollectionResponse(writer: SerializationWriter, conversationCollectionResponse: ConversationCollectionResponse | undefined = {} as ConversationCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, conversationCollectionResponse) - writer.writeCollectionOfObjectValues("value", conversationCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", conversationCollectionResponse.value, serializeConversation); } // tslint:enable // eslint-enable diff --git a/src/models/conversationMemberCollectionResponse.ts b/src/models/conversationMemberCollectionResponse.ts index 5cafb1c1af5..01d71d0b5b0 100644 --- a/src/models/conversationMemberCollectionResponse.ts +++ b/src/models/conversationMemberCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoConversationMemberCollectionResponse(conversation } export function serializeConversationMemberCollectionResponse(writer: SerializationWriter, conversationMemberCollectionResponse: ConversationMemberCollectionResponse | undefined = {} as ConversationMemberCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, conversationMemberCollectionResponse) - writer.writeCollectionOfObjectValues("value", conversationMemberCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", conversationMemberCollectionResponse.value, serializeConversationMember); } // tslint:enable // eslint-enable diff --git a/src/models/conversationMemberRoleUpdatedEventMessageDetail.ts b/src/models/conversationMemberRoleUpdatedEventMessageDetail.ts index fa98bdb53cc..256e0de1553 100644 --- a/src/models/conversationMemberRoleUpdatedEventMessageDetail.ts +++ b/src/models/conversationMemberRoleUpdatedEventMessageDetail.ts @@ -35,8 +35,8 @@ export function deserializeIntoConversationMemberRoleUpdatedEventMessageDetail(c export function serializeConversationMemberRoleUpdatedEventMessageDetail(writer: SerializationWriter, conversationMemberRoleUpdatedEventMessageDetail: ConversationMemberRoleUpdatedEventMessageDetail | undefined = {} as ConversationMemberRoleUpdatedEventMessageDetail) : void { serializeEventMessageDetail(writer, conversationMemberRoleUpdatedEventMessageDetail) writer.writeCollectionOfPrimitiveValues("conversationMemberRoles", conversationMemberRoleUpdatedEventMessageDetail.conversationMemberRoles); - writer.writeObjectValue("conversationMemberUser", conversationMemberRoleUpdatedEventMessageDetail.conversationMemberUser, ); - writer.writeObjectValue("initiator", conversationMemberRoleUpdatedEventMessageDetail.initiator, ); + writer.writeObjectValue("conversationMemberUser", conversationMemberRoleUpdatedEventMessageDetail.conversationMemberUser, serializeTeamworkUserIdentity); + writer.writeObjectValue("initiator", conversationMemberRoleUpdatedEventMessageDetail.initiator, serializeIdentitySet); } // tslint:enable // eslint-enable diff --git a/src/models/conversationThread.ts b/src/models/conversationThread.ts index e3ddf677e53..f8d61d8bc98 100644 --- a/src/models/conversationThread.ts +++ b/src/models/conversationThread.ts @@ -64,14 +64,14 @@ export function deserializeIntoConversationThread(conversationThread: Conversati } export function serializeConversationThread(writer: SerializationWriter, conversationThread: ConversationThread | undefined = {} as ConversationThread) : void { serializeEntity(writer, conversationThread) - writer.writeCollectionOfObjectValues("ccRecipients", conversationThread.ccRecipients, ); + writer.writeCollectionOfObjectValues("ccRecipients", conversationThread.ccRecipients, serializeRecipient); writer.writeBooleanValue("hasAttachments", conversationThread.hasAttachments); writer.writeBooleanValue("isLocked", conversationThread.isLocked); writer.writeDateValue("lastDeliveredDateTime", conversationThread.lastDeliveredDateTime); - writer.writeCollectionOfObjectValues("posts", conversationThread.posts, ); + writer.writeCollectionOfObjectValues("posts", conversationThread.posts, serializePost); writer.writeStringValue("preview", conversationThread.preview); writer.writeStringValue("topic", conversationThread.topic); - writer.writeCollectionOfObjectValues("toRecipients", conversationThread.toRecipients, ); + writer.writeCollectionOfObjectValues("toRecipients", conversationThread.toRecipients, serializeRecipient); writer.writeCollectionOfPrimitiveValues("uniqueSenders", conversationThread.uniqueSenders); } // tslint:enable diff --git a/src/models/conversationThreadCollectionResponse.ts b/src/models/conversationThreadCollectionResponse.ts index b1fedb695f4..45999657003 100644 --- a/src/models/conversationThreadCollectionResponse.ts +++ b/src/models/conversationThreadCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoConversationThreadCollectionResponse(conversation } export function serializeConversationThreadCollectionResponse(writer: SerializationWriter, conversationThreadCollectionResponse: ConversationThreadCollectionResponse | undefined = {} as ConversationThreadCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, conversationThreadCollectionResponse) - writer.writeCollectionOfObjectValues("value", conversationThreadCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", conversationThreadCollectionResponse.value, serializeConversationThread); } // tslint:enable // eslint-enable diff --git a/src/models/convertIdResult.ts b/src/models/convertIdResult.ts index 3b208667b2f..0aa7665d918 100644 --- a/src/models/convertIdResult.ts +++ b/src/models/convertIdResult.ts @@ -39,7 +39,7 @@ export function deserializeIntoConvertIdResult(convertIdResult: ConvertIdResult } } export function serializeConvertIdResult(writer: SerializationWriter, convertIdResult: ConvertIdResult | undefined = {} as ConvertIdResult) : void { - writer.writeObjectValue("errorDetails", convertIdResult.errorDetails, ); + writer.writeObjectValue("errorDetails", convertIdResult.errorDetails, serializeGenericError); writer.writeStringValue("@odata.type", convertIdResult.odataType); writer.writeStringValue("sourceId", convertIdResult.sourceId); writer.writeStringValue("targetId", convertIdResult.targetId); diff --git a/src/models/copyNotebookModel.ts b/src/models/copyNotebookModel.ts index 92acf2fecf2..727d8398e4d 100644 --- a/src/models/copyNotebookModel.ts +++ b/src/models/copyNotebookModel.ts @@ -102,15 +102,15 @@ export function deserializeIntoCopyNotebookModel(copyNotebookModel: CopyNotebook } export function serializeCopyNotebookModel(writer: SerializationWriter, copyNotebookModel: CopyNotebookModel | undefined = {} as CopyNotebookModel) : void { writer.writeStringValue("createdBy", copyNotebookModel.createdBy); - writer.writeObjectValue("createdByIdentity", copyNotebookModel.createdByIdentity, ); + writer.writeObjectValue("createdByIdentity", copyNotebookModel.createdByIdentity, serializeIdentitySet); writer.writeDateValue("createdTime", copyNotebookModel.createdTime); writer.writeStringValue("id", copyNotebookModel.id); writer.writeBooleanValue("isDefault", copyNotebookModel.isDefault); writer.writeBooleanValue("isShared", copyNotebookModel.isShared); writer.writeStringValue("lastModifiedBy", copyNotebookModel.lastModifiedBy); - writer.writeObjectValue("lastModifiedByIdentity", copyNotebookModel.lastModifiedByIdentity, ); + writer.writeObjectValue("lastModifiedByIdentity", copyNotebookModel.lastModifiedByIdentity, serializeIdentitySet); writer.writeDateValue("lastModifiedTime", copyNotebookModel.lastModifiedTime); - writer.writeObjectValue("links", copyNotebookModel.links, ); + writer.writeObjectValue("links", copyNotebookModel.links, serializeNotebookLinks); writer.writeStringValue("name", copyNotebookModel.name); writer.writeStringValue("@odata.type", copyNotebookModel.odataType); writer.writeStringValue("sectionGroupsUrl", copyNotebookModel.sectionGroupsUrl); diff --git a/src/models/crossTenantAccessPolicy.ts b/src/models/crossTenantAccessPolicy.ts index 0e9e3ba3e69..2cc7b3c66d4 100644 --- a/src/models/crossTenantAccessPolicy.ts +++ b/src/models/crossTenantAccessPolicy.ts @@ -35,8 +35,8 @@ export function deserializeIntoCrossTenantAccessPolicy(crossTenantAccessPolicy: export function serializeCrossTenantAccessPolicy(writer: SerializationWriter, crossTenantAccessPolicy: CrossTenantAccessPolicy | undefined = {} as CrossTenantAccessPolicy) : void { serializePolicyBase(writer, crossTenantAccessPolicy) writer.writeCollectionOfPrimitiveValues("allowedCloudEndpoints", crossTenantAccessPolicy.allowedCloudEndpoints); - writer.writeObjectValue("default", crossTenantAccessPolicy.defaultEscaped, ); - writer.writeCollectionOfObjectValues("partners", crossTenantAccessPolicy.partners, ); + writer.writeObjectValue("default", crossTenantAccessPolicy.defaultEscaped, serializeCrossTenantAccessPolicyConfigurationDefault); + writer.writeCollectionOfObjectValues("partners", crossTenantAccessPolicy.partners, serializeCrossTenantAccessPolicyConfigurationPartner); } // tslint:enable // eslint-enable diff --git a/src/models/crossTenantAccessPolicyB2BSetting.ts b/src/models/crossTenantAccessPolicyB2BSetting.ts index 633b323be6f..f241fd01458 100644 --- a/src/models/crossTenantAccessPolicyB2BSetting.ts +++ b/src/models/crossTenantAccessPolicyB2BSetting.ts @@ -34,9 +34,9 @@ export function deserializeIntoCrossTenantAccessPolicyB2BSetting(crossTenantAcce } } export function serializeCrossTenantAccessPolicyB2BSetting(writer: SerializationWriter, crossTenantAccessPolicyB2BSetting: CrossTenantAccessPolicyB2BSetting | undefined = {} as CrossTenantAccessPolicyB2BSetting) : void { - writer.writeObjectValue("applications", crossTenantAccessPolicyB2BSetting.applications, ); + writer.writeObjectValue("applications", crossTenantAccessPolicyB2BSetting.applications, serializeCrossTenantAccessPolicyTargetConfiguration); writer.writeStringValue("@odata.type", crossTenantAccessPolicyB2BSetting.odataType); - writer.writeObjectValue("usersAndGroups", crossTenantAccessPolicyB2BSetting.usersAndGroups, ); + writer.writeObjectValue("usersAndGroups", crossTenantAccessPolicyB2BSetting.usersAndGroups, serializeCrossTenantAccessPolicyTargetConfiguration); writer.writeAdditionalData(crossTenantAccessPolicyB2BSetting.additionalData); } // tslint:enable diff --git a/src/models/crossTenantAccessPolicyConfigurationDefault.ts b/src/models/crossTenantAccessPolicyConfigurationDefault.ts index 79e77f2d092..3e8c17cfd68 100644 --- a/src/models/crossTenantAccessPolicyConfigurationDefault.ts +++ b/src/models/crossTenantAccessPolicyConfigurationDefault.ts @@ -55,12 +55,12 @@ export function deserializeIntoCrossTenantAccessPolicyConfigurationDefault(cross } export function serializeCrossTenantAccessPolicyConfigurationDefault(writer: SerializationWriter, crossTenantAccessPolicyConfigurationDefault: CrossTenantAccessPolicyConfigurationDefault | undefined = {} as CrossTenantAccessPolicyConfigurationDefault) : void { serializeEntity(writer, crossTenantAccessPolicyConfigurationDefault) - writer.writeObjectValue("automaticUserConsentSettings", crossTenantAccessPolicyConfigurationDefault.automaticUserConsentSettings, ); - writer.writeObjectValue("b2bCollaborationInbound", crossTenantAccessPolicyConfigurationDefault.b2bCollaborationInbound, ); - writer.writeObjectValue("b2bCollaborationOutbound", crossTenantAccessPolicyConfigurationDefault.b2bCollaborationOutbound, ); - writer.writeObjectValue("b2bDirectConnectInbound", crossTenantAccessPolicyConfigurationDefault.b2bDirectConnectInbound, ); - writer.writeObjectValue("b2bDirectConnectOutbound", crossTenantAccessPolicyConfigurationDefault.b2bDirectConnectOutbound, ); - writer.writeObjectValue("inboundTrust", crossTenantAccessPolicyConfigurationDefault.inboundTrust, ); + writer.writeObjectValue("automaticUserConsentSettings", crossTenantAccessPolicyConfigurationDefault.automaticUserConsentSettings, serializeInboundOutboundPolicyConfiguration); + writer.writeObjectValue("b2bCollaborationInbound", crossTenantAccessPolicyConfigurationDefault.b2bCollaborationInbound, serializeCrossTenantAccessPolicyB2BSetting); + writer.writeObjectValue("b2bCollaborationOutbound", crossTenantAccessPolicyConfigurationDefault.b2bCollaborationOutbound, serializeCrossTenantAccessPolicyB2BSetting); + writer.writeObjectValue("b2bDirectConnectInbound", crossTenantAccessPolicyConfigurationDefault.b2bDirectConnectInbound, serializeCrossTenantAccessPolicyB2BSetting); + writer.writeObjectValue("b2bDirectConnectOutbound", crossTenantAccessPolicyConfigurationDefault.b2bDirectConnectOutbound, serializeCrossTenantAccessPolicyB2BSetting); + writer.writeObjectValue("inboundTrust", crossTenantAccessPolicyConfigurationDefault.inboundTrust, serializeCrossTenantAccessPolicyInboundTrust); writer.writeBooleanValue("isServiceDefault", crossTenantAccessPolicyConfigurationDefault.isServiceDefault); } // tslint:enable diff --git a/src/models/crossTenantAccessPolicyConfigurationPartner.ts b/src/models/crossTenantAccessPolicyConfigurationPartner.ts index 7e663f89e38..fb79180fd82 100644 --- a/src/models/crossTenantAccessPolicyConfigurationPartner.ts +++ b/src/models/crossTenantAccessPolicyConfigurationPartner.ts @@ -72,13 +72,13 @@ export function deserializeIntoCrossTenantAccessPolicyConfigurationPartner(cross } } export function serializeCrossTenantAccessPolicyConfigurationPartner(writer: SerializationWriter, crossTenantAccessPolicyConfigurationPartner: CrossTenantAccessPolicyConfigurationPartner | undefined = {} as CrossTenantAccessPolicyConfigurationPartner) : void { - writer.writeObjectValue("automaticUserConsentSettings", crossTenantAccessPolicyConfigurationPartner.automaticUserConsentSettings, ); - writer.writeObjectValue("b2bCollaborationInbound", crossTenantAccessPolicyConfigurationPartner.b2bCollaborationInbound, ); - writer.writeObjectValue("b2bCollaborationOutbound", crossTenantAccessPolicyConfigurationPartner.b2bCollaborationOutbound, ); - writer.writeObjectValue("b2bDirectConnectInbound", crossTenantAccessPolicyConfigurationPartner.b2bDirectConnectInbound, ); - writer.writeObjectValue("b2bDirectConnectOutbound", crossTenantAccessPolicyConfigurationPartner.b2bDirectConnectOutbound, ); - writer.writeObjectValue("identitySynchronization", crossTenantAccessPolicyConfigurationPartner.identitySynchronization, ); - writer.writeObjectValue("inboundTrust", crossTenantAccessPolicyConfigurationPartner.inboundTrust, ); + writer.writeObjectValue("automaticUserConsentSettings", crossTenantAccessPolicyConfigurationPartner.automaticUserConsentSettings, serializeInboundOutboundPolicyConfiguration); + writer.writeObjectValue("b2bCollaborationInbound", crossTenantAccessPolicyConfigurationPartner.b2bCollaborationInbound, serializeCrossTenantAccessPolicyB2BSetting); + writer.writeObjectValue("b2bCollaborationOutbound", crossTenantAccessPolicyConfigurationPartner.b2bCollaborationOutbound, serializeCrossTenantAccessPolicyB2BSetting); + writer.writeObjectValue("b2bDirectConnectInbound", crossTenantAccessPolicyConfigurationPartner.b2bDirectConnectInbound, serializeCrossTenantAccessPolicyB2BSetting); + writer.writeObjectValue("b2bDirectConnectOutbound", crossTenantAccessPolicyConfigurationPartner.b2bDirectConnectOutbound, serializeCrossTenantAccessPolicyB2BSetting); + writer.writeObjectValue("identitySynchronization", crossTenantAccessPolicyConfigurationPartner.identitySynchronization, serializeCrossTenantIdentitySyncPolicyPartner); + writer.writeObjectValue("inboundTrust", crossTenantAccessPolicyConfigurationPartner.inboundTrust, serializeCrossTenantAccessPolicyInboundTrust); writer.writeBooleanValue("isServiceProvider", crossTenantAccessPolicyConfigurationPartner.isServiceProvider); writer.writeStringValue("@odata.type", crossTenantAccessPolicyConfigurationPartner.odataType); writer.writeStringValue("tenantId", crossTenantAccessPolicyConfigurationPartner.tenantId); diff --git a/src/models/crossTenantAccessPolicyConfigurationPartnerCollectionResponse.ts b/src/models/crossTenantAccessPolicyConfigurationPartnerCollectionResponse.ts index 717a77f9673..3eaa4d94528 100644 --- a/src/models/crossTenantAccessPolicyConfigurationPartnerCollectionResponse.ts +++ b/src/models/crossTenantAccessPolicyConfigurationPartnerCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoCrossTenantAccessPolicyConfigurationPartnerCollec } export function serializeCrossTenantAccessPolicyConfigurationPartnerCollectionResponse(writer: SerializationWriter, crossTenantAccessPolicyConfigurationPartnerCollectionResponse: CrossTenantAccessPolicyConfigurationPartnerCollectionResponse | undefined = {} as CrossTenantAccessPolicyConfigurationPartnerCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, crossTenantAccessPolicyConfigurationPartnerCollectionResponse) - writer.writeCollectionOfObjectValues("value", crossTenantAccessPolicyConfigurationPartnerCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", crossTenantAccessPolicyConfigurationPartnerCollectionResponse.value, serializeCrossTenantAccessPolicyConfigurationPartner); } // tslint:enable // eslint-enable diff --git a/src/models/crossTenantAccessPolicyTargetConfiguration.ts b/src/models/crossTenantAccessPolicyTargetConfiguration.ts index c5913cfd9e5..cdefda2c20b 100644 --- a/src/models/crossTenantAccessPolicyTargetConfiguration.ts +++ b/src/models/crossTenantAccessPolicyTargetConfiguration.ts @@ -37,7 +37,7 @@ export function deserializeIntoCrossTenantAccessPolicyTargetConfiguration(crossT export function serializeCrossTenantAccessPolicyTargetConfiguration(writer: SerializationWriter, crossTenantAccessPolicyTargetConfiguration: CrossTenantAccessPolicyTargetConfiguration | undefined = {} as CrossTenantAccessPolicyTargetConfiguration) : void { writer.writeEnumValue("accessType", crossTenantAccessPolicyTargetConfiguration.accessType); writer.writeStringValue("@odata.type", crossTenantAccessPolicyTargetConfiguration.odataType); - writer.writeCollectionOfObjectValues("targets", crossTenantAccessPolicyTargetConfiguration.targets, ); + writer.writeCollectionOfObjectValues("targets", crossTenantAccessPolicyTargetConfiguration.targets, serializeCrossTenantAccessPolicyTarget); writer.writeAdditionalData(crossTenantAccessPolicyTargetConfiguration.additionalData); } // tslint:enable diff --git a/src/models/crossTenantIdentitySyncPolicyPartner.ts b/src/models/crossTenantIdentitySyncPolicyPartner.ts index f0b0ecf24cf..ccfadd7927e 100644 --- a/src/models/crossTenantIdentitySyncPolicyPartner.ts +++ b/src/models/crossTenantIdentitySyncPolicyPartner.ts @@ -42,7 +42,7 @@ export function serializeCrossTenantIdentitySyncPolicyPartner(writer: Serializat writer.writeStringValue("displayName", crossTenantIdentitySyncPolicyPartner.displayName); writer.writeStringValue("@odata.type", crossTenantIdentitySyncPolicyPartner.odataType); writer.writeStringValue("tenantId", crossTenantIdentitySyncPolicyPartner.tenantId); - writer.writeObjectValue("userSyncInbound", crossTenantIdentitySyncPolicyPartner.userSyncInbound, ); + writer.writeObjectValue("userSyncInbound", crossTenantIdentitySyncPolicyPartner.userSyncInbound, serializeCrossTenantUserSyncInbound); writer.writeAdditionalData(crossTenantIdentitySyncPolicyPartner.additionalData); } // tslint:enable diff --git a/src/models/customCalloutExtension.ts b/src/models/customCalloutExtension.ts index 16533b48b22..64f4779a169 100644 --- a/src/models/customCalloutExtension.ts +++ b/src/models/customCalloutExtension.ts @@ -64,11 +64,11 @@ export function deserializeIntoCustomCalloutExtension(customCalloutExtension: Cu } export function serializeCustomCalloutExtension(writer: SerializationWriter, customCalloutExtension: CustomCalloutExtension | undefined = {} as CustomCalloutExtension) : void { serializeEntity(writer, customCalloutExtension) - writer.writeObjectValue("authenticationConfiguration", customCalloutExtension.authenticationConfiguration, ); - writer.writeObjectValue("clientConfiguration", customCalloutExtension.clientConfiguration, ); + writer.writeObjectValue("authenticationConfiguration", customCalloutExtension.authenticationConfiguration, serializeCustomExtensionAuthenticationConfiguration); + writer.writeObjectValue("clientConfiguration", customCalloutExtension.clientConfiguration, serializeCustomExtensionClientConfiguration); writer.writeStringValue("description", customCalloutExtension.description); writer.writeStringValue("displayName", customCalloutExtension.displayName); - writer.writeObjectValue("endpointConfiguration", customCalloutExtension.endpointConfiguration, ); + writer.writeObjectValue("endpointConfiguration", customCalloutExtension.endpointConfiguration, serializeCustomExtensionEndpointConfiguration); } // tslint:enable // eslint-enable diff --git a/src/models/customCalloutExtensionCollectionResponse.ts b/src/models/customCalloutExtensionCollectionResponse.ts index e94e43954c4..b28cc125019 100644 --- a/src/models/customCalloutExtensionCollectionResponse.ts +++ b/src/models/customCalloutExtensionCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoCustomCalloutExtensionCollectionResponse(customCa } export function serializeCustomCalloutExtensionCollectionResponse(writer: SerializationWriter, customCalloutExtensionCollectionResponse: CustomCalloutExtensionCollectionResponse | undefined = {} as CustomCalloutExtensionCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, customCalloutExtensionCollectionResponse) - writer.writeCollectionOfObjectValues("value", customCalloutExtensionCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", customCalloutExtensionCollectionResponse.value, serializeCustomCalloutExtension); } // tslint:enable // eslint-enable diff --git a/src/models/customExtensionStageSetting.ts b/src/models/customExtensionStageSetting.ts index 2c7daf800a2..c3293a8b66c 100644 --- a/src/models/customExtensionStageSetting.ts +++ b/src/models/customExtensionStageSetting.ts @@ -29,7 +29,7 @@ export function deserializeIntoCustomExtensionStageSetting(customExtensionStageS } export function serializeCustomExtensionStageSetting(writer: SerializationWriter, customExtensionStageSetting: CustomExtensionStageSetting | undefined = {} as CustomExtensionStageSetting) : void { serializeEntity(writer, customExtensionStageSetting) - writer.writeObjectValue("customExtension", customExtensionStageSetting.customExtension, ); + writer.writeObjectValue("customExtension", customExtensionStageSetting.customExtension, serializeCustomCalloutExtension); writer.writeEnumValue("stage", customExtensionStageSetting.stage); } // tslint:enable diff --git a/src/models/customExtensionStageSettingCollectionResponse.ts b/src/models/customExtensionStageSettingCollectionResponse.ts index 851033a06c3..2bfe0db0437 100644 --- a/src/models/customExtensionStageSettingCollectionResponse.ts +++ b/src/models/customExtensionStageSettingCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoCustomExtensionStageSettingCollectionResponse(cus } export function serializeCustomExtensionStageSettingCollectionResponse(writer: SerializationWriter, customExtensionStageSettingCollectionResponse: CustomExtensionStageSettingCollectionResponse | undefined = {} as CustomExtensionStageSettingCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, customExtensionStageSettingCollectionResponse) - writer.writeCollectionOfObjectValues("value", customExtensionStageSettingCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", customExtensionStageSettingCollectionResponse.value, serializeCustomExtensionStageSetting); } // tslint:enable // eslint-enable diff --git a/src/models/customSecurityAttributeDefinition.ts b/src/models/customSecurityAttributeDefinition.ts index bdcbe20f1df..c54706abdf6 100644 --- a/src/models/customSecurityAttributeDefinition.ts +++ b/src/models/customSecurityAttributeDefinition.ts @@ -63,7 +63,7 @@ export function deserializeIntoCustomSecurityAttributeDefinition(customSecurityA } export function serializeCustomSecurityAttributeDefinition(writer: SerializationWriter, customSecurityAttributeDefinition: CustomSecurityAttributeDefinition | undefined = {} as CustomSecurityAttributeDefinition) : void { serializeEntity(writer, customSecurityAttributeDefinition) - writer.writeCollectionOfObjectValues("allowedValues", customSecurityAttributeDefinition.allowedValues, ); + writer.writeCollectionOfObjectValues("allowedValues", customSecurityAttributeDefinition.allowedValues, serializeAllowedValue); writer.writeStringValue("attributeSet", customSecurityAttributeDefinition.attributeSet); writer.writeStringValue("description", customSecurityAttributeDefinition.description); writer.writeBooleanValue("isCollection", customSecurityAttributeDefinition.isCollection); diff --git a/src/models/customSecurityAttributeDefinitionCollectionResponse.ts b/src/models/customSecurityAttributeDefinitionCollectionResponse.ts index c3259056172..d92b8ee8258 100644 --- a/src/models/customSecurityAttributeDefinitionCollectionResponse.ts +++ b/src/models/customSecurityAttributeDefinitionCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoCustomSecurityAttributeDefinitionCollectionRespon } export function serializeCustomSecurityAttributeDefinitionCollectionResponse(writer: SerializationWriter, customSecurityAttributeDefinitionCollectionResponse: CustomSecurityAttributeDefinitionCollectionResponse | undefined = {} as CustomSecurityAttributeDefinitionCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, customSecurityAttributeDefinitionCollectionResponse) - writer.writeCollectionOfObjectValues("value", customSecurityAttributeDefinitionCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", customSecurityAttributeDefinitionCollectionResponse.value, serializeCustomSecurityAttributeDefinition); } // tslint:enable // eslint-enable diff --git a/src/models/customTimeZone.ts b/src/models/customTimeZone.ts index 9cb7f759ce4..c953d46ade9 100644 --- a/src/models/customTimeZone.ts +++ b/src/models/customTimeZone.ts @@ -35,8 +35,8 @@ export function deserializeIntoCustomTimeZone(customTimeZone: CustomTimeZone | u export function serializeCustomTimeZone(writer: SerializationWriter, customTimeZone: CustomTimeZone | undefined = {} as CustomTimeZone) : void { serializeTimeZoneBase(writer, customTimeZone) writer.writeNumberValue("bias", customTimeZone.bias); - writer.writeObjectValue("daylightOffset", customTimeZone.daylightOffset, ); - writer.writeObjectValue("standardOffset", customTimeZone.standardOffset, ); + writer.writeObjectValue("daylightOffset", customTimeZone.daylightOffset, serializeDaylightTimeZoneOffset); + writer.writeObjectValue("standardOffset", customTimeZone.standardOffset, serializeStandardTimeZoneOffset); } // tslint:enable // eslint-enable diff --git a/src/models/customTrainingSetting.ts b/src/models/customTrainingSetting.ts index d0bb4c3ce7e..bf01462fe67 100644 --- a/src/models/customTrainingSetting.ts +++ b/src/models/customTrainingSetting.ts @@ -11,23 +11,23 @@ export function createCustomTrainingSettingFromDiscriminatorValue(parseNode: Par } export interface CustomTrainingSetting extends Parsable, TrainingSetting { /** - * The assignedTo property + * A user collection that specifies to whom the training should be assigned. Possible values are: none, allUsers, clickedPayload, compromised, reportedPhish, readButNotClicked, didNothing, unknownFutureValue. */ assignedTo?: TrainingAssignedTo[]; /** - * The description property + * The description of the custom training setting. */ description?: string; /** - * The displayName property + * The display name of the custom training setting. */ displayName?: string; /** - * The durationInMinutes property + * Training duration. */ durationInMinutes?: number; /** - * The url property + * The training URL. */ url?: string; } diff --git a/src/models/dataPolicyOperationCollectionResponse.ts b/src/models/dataPolicyOperationCollectionResponse.ts index f3ccde0d4da..15fa5620797 100644 --- a/src/models/dataPolicyOperationCollectionResponse.ts +++ b/src/models/dataPolicyOperationCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDataPolicyOperationCollectionResponse(dataPolicyO } export function serializeDataPolicyOperationCollectionResponse(writer: SerializationWriter, dataPolicyOperationCollectionResponse: DataPolicyOperationCollectionResponse | undefined = {} as DataPolicyOperationCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, dataPolicyOperationCollectionResponse) - writer.writeCollectionOfObjectValues("value", dataPolicyOperationCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", dataPolicyOperationCollectionResponse.value, serializeDataPolicyOperation); } // tslint:enable // eslint-enable diff --git a/src/models/defaultManagedAppProtection.ts b/src/models/defaultManagedAppProtection.ts index 4c31d5de9ab..ceac41838cf 100644 --- a/src/models/defaultManagedAppProtection.ts +++ b/src/models/defaultManagedAppProtection.ts @@ -82,10 +82,10 @@ export function deserializeIntoDefaultManagedAppProtection(defaultManagedAppProt export function serializeDefaultManagedAppProtection(writer: SerializationWriter, defaultManagedAppProtection: DefaultManagedAppProtection | undefined = {} as DefaultManagedAppProtection) : void { serializeManagedAppProtection(writer, defaultManagedAppProtection) writer.writeEnumValue("appDataEncryptionType", defaultManagedAppProtection.appDataEncryptionType); - writer.writeCollectionOfObjectValues("apps", defaultManagedAppProtection.apps, ); - writer.writeCollectionOfObjectValues("customSettings", defaultManagedAppProtection.customSettings, ); + writer.writeCollectionOfObjectValues("apps", defaultManagedAppProtection.apps, serializeManagedMobileApp); + writer.writeCollectionOfObjectValues("customSettings", defaultManagedAppProtection.customSettings, serializeKeyValuePair); writer.writeNumberValue("deployedAppCount", defaultManagedAppProtection.deployedAppCount); - writer.writeObjectValue("deploymentSummary", defaultManagedAppProtection.deploymentSummary, ); + writer.writeObjectValue("deploymentSummary", defaultManagedAppProtection.deploymentSummary, serializeManagedAppPolicyDeploymentSummary); writer.writeBooleanValue("disableAppEncryptionIfDeviceEncryptionIsEnabled", defaultManagedAppProtection.disableAppEncryptionIfDeviceEncryptionIsEnabled); writer.writeBooleanValue("encryptAppData", defaultManagedAppProtection.encryptAppData); writer.writeBooleanValue("faceIdBlocked", defaultManagedAppProtection.faceIdBlocked); diff --git a/src/models/defaultManagedAppProtectionCollectionResponse.ts b/src/models/defaultManagedAppProtectionCollectionResponse.ts index 04cdf145ff0..bb9c5754025 100644 --- a/src/models/defaultManagedAppProtectionCollectionResponse.ts +++ b/src/models/defaultManagedAppProtectionCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDefaultManagedAppProtectionCollectionResponse(def } export function serializeDefaultManagedAppProtectionCollectionResponse(writer: SerializationWriter, defaultManagedAppProtectionCollectionResponse: DefaultManagedAppProtectionCollectionResponse | undefined = {} as DefaultManagedAppProtectionCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, defaultManagedAppProtectionCollectionResponse) - writer.writeCollectionOfObjectValues("value", defaultManagedAppProtectionCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", defaultManagedAppProtectionCollectionResponse.value, serializeDefaultManagedAppProtection); } // tslint:enable // eslint-enable diff --git a/src/models/delegatedAdminAccessAssignment.ts b/src/models/delegatedAdminAccessAssignment.ts index a778e1218ba..7fc42cbb97d 100644 --- a/src/models/delegatedAdminAccessAssignment.ts +++ b/src/models/delegatedAdminAccessAssignment.ts @@ -45,8 +45,8 @@ export function deserializeIntoDelegatedAdminAccessAssignment(delegatedAdminAcce } export function serializeDelegatedAdminAccessAssignment(writer: SerializationWriter, delegatedAdminAccessAssignment: DelegatedAdminAccessAssignment | undefined = {} as DelegatedAdminAccessAssignment) : void { serializeEntity(writer, delegatedAdminAccessAssignment) - writer.writeObjectValue("accessContainer", delegatedAdminAccessAssignment.accessContainer, ); - writer.writeObjectValue("accessDetails", delegatedAdminAccessAssignment.accessDetails, ); + writer.writeObjectValue("accessContainer", delegatedAdminAccessAssignment.accessContainer, serializeDelegatedAdminAccessContainer); + writer.writeObjectValue("accessDetails", delegatedAdminAccessAssignment.accessDetails, serializeDelegatedAdminAccessDetails); writer.writeDateValue("createdDateTime", delegatedAdminAccessAssignment.createdDateTime); writer.writeDateValue("lastModifiedDateTime", delegatedAdminAccessAssignment.lastModifiedDateTime); writer.writeEnumValue("status", delegatedAdminAccessAssignment.status); diff --git a/src/models/delegatedAdminAccessAssignmentCollectionResponse.ts b/src/models/delegatedAdminAccessAssignmentCollectionResponse.ts index 873e4fd3589..ca459bebedb 100644 --- a/src/models/delegatedAdminAccessAssignmentCollectionResponse.ts +++ b/src/models/delegatedAdminAccessAssignmentCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDelegatedAdminAccessAssignmentCollectionResponse( } export function serializeDelegatedAdminAccessAssignmentCollectionResponse(writer: SerializationWriter, delegatedAdminAccessAssignmentCollectionResponse: DelegatedAdminAccessAssignmentCollectionResponse | undefined = {} as DelegatedAdminAccessAssignmentCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, delegatedAdminAccessAssignmentCollectionResponse) - writer.writeCollectionOfObjectValues("value", delegatedAdminAccessAssignmentCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", delegatedAdminAccessAssignmentCollectionResponse.value, serializeDelegatedAdminAccessAssignment); } // tslint:enable // eslint-enable diff --git a/src/models/delegatedAdminAccessDetails.ts b/src/models/delegatedAdminAccessDetails.ts index 86b6df8eea2..80f10ee3d68 100644 --- a/src/models/delegatedAdminAccessDetails.ts +++ b/src/models/delegatedAdminAccessDetails.ts @@ -30,7 +30,7 @@ export function deserializeIntoDelegatedAdminAccessDetails(delegatedAdminAccessD } export function serializeDelegatedAdminAccessDetails(writer: SerializationWriter, delegatedAdminAccessDetails: DelegatedAdminAccessDetails | undefined = {} as DelegatedAdminAccessDetails) : void { writer.writeStringValue("@odata.type", delegatedAdminAccessDetails.odataType); - writer.writeCollectionOfObjectValues("unifiedRoles", delegatedAdminAccessDetails.unifiedRoles, ); + writer.writeCollectionOfObjectValues("unifiedRoles", delegatedAdminAccessDetails.unifiedRoles, serializeUnifiedRole); writer.writeAdditionalData(delegatedAdminAccessDetails.additionalData); } // tslint:enable diff --git a/src/models/delegatedAdminCustomer.ts b/src/models/delegatedAdminCustomer.ts index 0c8350e082b..71c9deed498 100644 --- a/src/models/delegatedAdminCustomer.ts +++ b/src/models/delegatedAdminCustomer.ts @@ -34,7 +34,7 @@ export function deserializeIntoDelegatedAdminCustomer(delegatedAdminCustomer: De export function serializeDelegatedAdminCustomer(writer: SerializationWriter, delegatedAdminCustomer: DelegatedAdminCustomer | undefined = {} as DelegatedAdminCustomer) : void { serializeEntity(writer, delegatedAdminCustomer) writer.writeStringValue("displayName", delegatedAdminCustomer.displayName); - writer.writeCollectionOfObjectValues("serviceManagementDetails", delegatedAdminCustomer.serviceManagementDetails, ); + writer.writeCollectionOfObjectValues("serviceManagementDetails", delegatedAdminCustomer.serviceManagementDetails, serializeDelegatedAdminServiceManagementDetail); writer.writeStringValue("tenantId", delegatedAdminCustomer.tenantId); } // tslint:enable diff --git a/src/models/delegatedAdminCustomerCollectionResponse.ts b/src/models/delegatedAdminCustomerCollectionResponse.ts index 75164b0ebe9..61e5b365596 100644 --- a/src/models/delegatedAdminCustomerCollectionResponse.ts +++ b/src/models/delegatedAdminCustomerCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDelegatedAdminCustomerCollectionResponse(delegate } export function serializeDelegatedAdminCustomerCollectionResponse(writer: SerializationWriter, delegatedAdminCustomerCollectionResponse: DelegatedAdminCustomerCollectionResponse | undefined = {} as DelegatedAdminCustomerCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, delegatedAdminCustomerCollectionResponse) - writer.writeCollectionOfObjectValues("value", delegatedAdminCustomerCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", delegatedAdminCustomerCollectionResponse.value, serializeDelegatedAdminCustomer); } // tslint:enable // eslint-enable diff --git a/src/models/delegatedAdminRelationship.ts b/src/models/delegatedAdminRelationship.ts index d91b0caf8f1..a355804267b 100644 --- a/src/models/delegatedAdminRelationship.ts +++ b/src/models/delegatedAdminRelationship.ts @@ -40,7 +40,7 @@ export interface DelegatedAdminRelationship extends Entity, Parsable { */ activatedDateTime?: Date; /** - * The autoExtendDuration property + * The duration by which the validity of the relationship is automatically extended, denoted in ISO 8601 format. Supported values are: P0D, PT0S, P180D. The default value is PT0S. PT0S indicates that the relationship expires when the endDateTime is reached and it isn't automatically extended. */ autoExtendDuration?: Duration; /** @@ -100,18 +100,18 @@ export function deserializeIntoDelegatedAdminRelationship(delegatedAdminRelation } export function serializeDelegatedAdminRelationship(writer: SerializationWriter, delegatedAdminRelationship: DelegatedAdminRelationship | undefined = {} as DelegatedAdminRelationship) : void { serializeEntity(writer, delegatedAdminRelationship) - writer.writeCollectionOfObjectValues("accessAssignments", delegatedAdminRelationship.accessAssignments, ); - writer.writeObjectValue("accessDetails", delegatedAdminRelationship.accessDetails, ); + writer.writeCollectionOfObjectValues("accessAssignments", delegatedAdminRelationship.accessAssignments, serializeDelegatedAdminAccessAssignment); + writer.writeObjectValue("accessDetails", delegatedAdminRelationship.accessDetails, serializeDelegatedAdminAccessDetails); writer.writeDateValue("activatedDateTime", delegatedAdminRelationship.activatedDateTime); writer.writeDurationValue("autoExtendDuration", delegatedAdminRelationship.autoExtendDuration); writer.writeDateValue("createdDateTime", delegatedAdminRelationship.createdDateTime); - writer.writeObjectValue("customer", delegatedAdminRelationship.customer, ); + writer.writeObjectValue("customer", delegatedAdminRelationship.customer, serializeDelegatedAdminRelationshipCustomerParticipant); writer.writeStringValue("displayName", delegatedAdminRelationship.displayName); writer.writeDurationValue("duration", delegatedAdminRelationship.duration); writer.writeDateValue("endDateTime", delegatedAdminRelationship.endDateTime); writer.writeDateValue("lastModifiedDateTime", delegatedAdminRelationship.lastModifiedDateTime); - writer.writeCollectionOfObjectValues("operations", delegatedAdminRelationship.operations, ); - writer.writeCollectionOfObjectValues("requests", delegatedAdminRelationship.requests, ); + writer.writeCollectionOfObjectValues("operations", delegatedAdminRelationship.operations, serializeDelegatedAdminRelationshipOperation); + writer.writeCollectionOfObjectValues("requests", delegatedAdminRelationship.requests, serializeDelegatedAdminRelationshipRequest); writer.writeEnumValue("status", delegatedAdminRelationship.status); } // tslint:enable diff --git a/src/models/delegatedAdminRelationshipCollectionResponse.ts b/src/models/delegatedAdminRelationshipCollectionResponse.ts index 40eb63aea6f..9ea5f2defd6 100644 --- a/src/models/delegatedAdminRelationshipCollectionResponse.ts +++ b/src/models/delegatedAdminRelationshipCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDelegatedAdminRelationshipCollectionResponse(dele } export function serializeDelegatedAdminRelationshipCollectionResponse(writer: SerializationWriter, delegatedAdminRelationshipCollectionResponse: DelegatedAdminRelationshipCollectionResponse | undefined = {} as DelegatedAdminRelationshipCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, delegatedAdminRelationshipCollectionResponse) - writer.writeCollectionOfObjectValues("value", delegatedAdminRelationshipCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", delegatedAdminRelationshipCollectionResponse.value, serializeDelegatedAdminRelationship); } // tslint:enable // eslint-enable diff --git a/src/models/delegatedAdminRelationshipOperationCollectionResponse.ts b/src/models/delegatedAdminRelationshipOperationCollectionResponse.ts index b170dcfb28b..9605c5b5686 100644 --- a/src/models/delegatedAdminRelationshipOperationCollectionResponse.ts +++ b/src/models/delegatedAdminRelationshipOperationCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDelegatedAdminRelationshipOperationCollectionResp } export function serializeDelegatedAdminRelationshipOperationCollectionResponse(writer: SerializationWriter, delegatedAdminRelationshipOperationCollectionResponse: DelegatedAdminRelationshipOperationCollectionResponse | undefined = {} as DelegatedAdminRelationshipOperationCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, delegatedAdminRelationshipOperationCollectionResponse) - writer.writeCollectionOfObjectValues("value", delegatedAdminRelationshipOperationCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", delegatedAdminRelationshipOperationCollectionResponse.value, serializeDelegatedAdminRelationshipOperation); } // tslint:enable // eslint-enable diff --git a/src/models/delegatedAdminRelationshipRequestCollectionResponse.ts b/src/models/delegatedAdminRelationshipRequestCollectionResponse.ts index f33720123c9..27a9a6ebe38 100644 --- a/src/models/delegatedAdminRelationshipRequestCollectionResponse.ts +++ b/src/models/delegatedAdminRelationshipRequestCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDelegatedAdminRelationshipRequestCollectionRespon } export function serializeDelegatedAdminRelationshipRequestCollectionResponse(writer: SerializationWriter, delegatedAdminRelationshipRequestCollectionResponse: DelegatedAdminRelationshipRequestCollectionResponse | undefined = {} as DelegatedAdminRelationshipRequestCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, delegatedAdminRelationshipRequestCollectionResponse) - writer.writeCollectionOfObjectValues("value", delegatedAdminRelationshipRequestCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", delegatedAdminRelationshipRequestCollectionResponse.value, serializeDelegatedAdminRelationshipRequest); } // tslint:enable // eslint-enable diff --git a/src/models/delegatedAdminServiceManagementDetailCollectionResponse.ts b/src/models/delegatedAdminServiceManagementDetailCollectionResponse.ts index c095cb27475..91b0369752e 100644 --- a/src/models/delegatedAdminServiceManagementDetailCollectionResponse.ts +++ b/src/models/delegatedAdminServiceManagementDetailCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDelegatedAdminServiceManagementDetailCollectionRe } export function serializeDelegatedAdminServiceManagementDetailCollectionResponse(writer: SerializationWriter, delegatedAdminServiceManagementDetailCollectionResponse: DelegatedAdminServiceManagementDetailCollectionResponse | undefined = {} as DelegatedAdminServiceManagementDetailCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, delegatedAdminServiceManagementDetailCollectionResponse) - writer.writeCollectionOfObjectValues("value", delegatedAdminServiceManagementDetailCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", delegatedAdminServiceManagementDetailCollectionResponse.value, serializeDelegatedAdminServiceManagementDetail); } // tslint:enable // eslint-enable diff --git a/src/models/delegatedPermissionClassificationCollectionResponse.ts b/src/models/delegatedPermissionClassificationCollectionResponse.ts index 777eaf7dd82..a275c331506 100644 --- a/src/models/delegatedPermissionClassificationCollectionResponse.ts +++ b/src/models/delegatedPermissionClassificationCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDelegatedPermissionClassificationCollectionRespon } export function serializeDelegatedPermissionClassificationCollectionResponse(writer: SerializationWriter, delegatedPermissionClassificationCollectionResponse: DelegatedPermissionClassificationCollectionResponse | undefined = {} as DelegatedPermissionClassificationCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, delegatedPermissionClassificationCollectionResponse) - writer.writeCollectionOfObjectValues("value", delegatedPermissionClassificationCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", delegatedPermissionClassificationCollectionResponse.value, serializeDelegatedPermissionClassification); } // tslint:enable // eslint-enable diff --git a/src/models/deletedItemContainer.ts b/src/models/deletedItemContainer.ts index 8ad73cb9191..ff77a405e14 100644 --- a/src/models/deletedItemContainer.ts +++ b/src/models/deletedItemContainer.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeletedItemContainer(deletedItemContainer: Delete } export function serializeDeletedItemContainer(writer: SerializationWriter, deletedItemContainer: DeletedItemContainer | undefined = {} as DeletedItemContainer) : void { serializeEntity(writer, deletedItemContainer) - writer.writeCollectionOfObjectValues("workflows", deletedItemContainer.workflows, ); + writer.writeCollectionOfObjectValues("workflows", deletedItemContainer.workflows, serializeWorkflow); } // tslint:enable // eslint-enable diff --git a/src/models/deletedTeam.ts b/src/models/deletedTeam.ts index db3e310ded3..89706b936ee 100644 --- a/src/models/deletedTeam.ts +++ b/src/models/deletedTeam.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeletedTeam(deletedTeam: DeletedTeam | undefined } export function serializeDeletedTeam(writer: SerializationWriter, deletedTeam: DeletedTeam | undefined = {} as DeletedTeam) : void { serializeEntity(writer, deletedTeam) - writer.writeCollectionOfObjectValues("channels", deletedTeam.channels, ); + writer.writeCollectionOfObjectValues("channels", deletedTeam.channels, serializeChannel); } // tslint:enable // eslint-enable diff --git a/src/models/deletedTeamCollectionResponse.ts b/src/models/deletedTeamCollectionResponse.ts index 96ac1ed62cb..132d0134dfd 100644 --- a/src/models/deletedTeamCollectionResponse.ts +++ b/src/models/deletedTeamCollectionResponse.ts @@ -23,7 +23,7 @@ export function deserializeIntoDeletedTeamCollectionResponse(deletedTeamCollecti } export function serializeDeletedTeamCollectionResponse(writer: SerializationWriter, deletedTeamCollectionResponse: DeletedTeamCollectionResponse | undefined = {} as DeletedTeamCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deletedTeamCollectionResponse) - writer.writeCollectionOfObjectValues("value", deletedTeamCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deletedTeamCollectionResponse.value, serializeDeletedTeam); } // tslint:enable // eslint-enable diff --git a/src/models/detectedApp.ts b/src/models/detectedApp.ts index c2df5a4a880..5a579ea9567 100644 --- a/src/models/detectedApp.ts +++ b/src/models/detectedApp.ts @@ -56,7 +56,7 @@ export function serializeDetectedApp(writer: SerializationWriter, detectedApp: D serializeEntity(writer, detectedApp) writer.writeNumberValue("deviceCount", detectedApp.deviceCount); writer.writeStringValue("displayName", detectedApp.displayName); - writer.writeCollectionOfObjectValues("managedDevices", detectedApp.managedDevices, ); + writer.writeCollectionOfObjectValues("managedDevices", detectedApp.managedDevices, serializeManagedDevice); writer.writeEnumValue("platform", detectedApp.platform); writer.writeStringValue("publisher", detectedApp.publisher); writer.writeNumberValue("sizeInByte", detectedApp.sizeInByte); diff --git a/src/models/detectedAppCollectionResponse.ts b/src/models/detectedAppCollectionResponse.ts index 4968cf060ca..a84df5ccb50 100644 --- a/src/models/detectedAppCollectionResponse.ts +++ b/src/models/detectedAppCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DetectedAppCollectionResponse extends BaseCollectionPaginationC } export function serializeDetectedAppCollectionResponse(writer: SerializationWriter, detectedAppCollectionResponse: DetectedAppCollectionResponse | undefined = {} as DetectedAppCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, detectedAppCollectionResponse) - writer.writeCollectionOfObjectValues("value", detectedAppCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", detectedAppCollectionResponse.value, serializeDetectedApp); } // tslint:enable // eslint-enable diff --git a/src/models/device.ts b/src/models/device.ts index 0342bdbb48d..677d2486e57 100644 --- a/src/models/device.ts +++ b/src/models/device.ts @@ -160,7 +160,7 @@ export interface Device extends DirectoryObject, Parsable { export function serializeDevice(writer: SerializationWriter, device: Device | undefined = {} as Device) : void { serializeDirectoryObject(writer, device) writer.writeBooleanValue("accountEnabled", device.accountEnabled); - writer.writeCollectionOfObjectValues("alternativeSecurityIds", device.alternativeSecurityIds, ); + writer.writeCollectionOfObjectValues("alternativeSecurityIds", device.alternativeSecurityIds, serializeAlternativeSecurityId); writer.writeDateValue("approximateLastSignInDateTime", device.approximateLastSignInDateTime); writer.writeDateValue("complianceExpirationDateTime", device.complianceExpirationDateTime); writer.writeStringValue("deviceCategory", device.deviceCategory); @@ -170,22 +170,22 @@ export function serializeDevice(writer: SerializationWriter, device: Device | un writer.writeNumberValue("deviceVersion", device.deviceVersion); writer.writeStringValue("displayName", device.displayName); writer.writeStringValue("enrollmentProfileName", device.enrollmentProfileName); - writer.writeCollectionOfObjectValues("extensions", device.extensions, ); + writer.writeCollectionOfObjectValues("extensions", device.extensions, serializeExtension); writer.writeBooleanValue("isCompliant", device.isCompliant); writer.writeBooleanValue("isManaged", device.isManaged); writer.writeStringValue("mdmAppId", device.mdmAppId); - writer.writeCollectionOfObjectValues("memberOf", device.memberOf, ); + writer.writeCollectionOfObjectValues("memberOf", device.memberOf, serializeDirectoryObject); writer.writeDateValue("onPremisesLastSyncDateTime", device.onPremisesLastSyncDateTime); writer.writeBooleanValue("onPremisesSyncEnabled", device.onPremisesSyncEnabled); writer.writeStringValue("operatingSystem", device.operatingSystem); writer.writeStringValue("operatingSystemVersion", device.operatingSystemVersion); writer.writeCollectionOfPrimitiveValues("physicalIds", device.physicalIds); writer.writeStringValue("profileType", device.profileType); - writer.writeCollectionOfObjectValues("registeredOwners", device.registeredOwners, ); - writer.writeCollectionOfObjectValues("registeredUsers", device.registeredUsers, ); + writer.writeCollectionOfObjectValues("registeredOwners", device.registeredOwners, serializeDirectoryObject); + writer.writeCollectionOfObjectValues("registeredUsers", device.registeredUsers, serializeDirectoryObject); writer.writeDateValue("registrationDateTime", device.registrationDateTime); writer.writeCollectionOfPrimitiveValues("systemLabels", device.systemLabels); - writer.writeCollectionOfObjectValues("transitiveMemberOf", device.transitiveMemberOf, ); + writer.writeCollectionOfObjectValues("transitiveMemberOf", device.transitiveMemberOf, serializeDirectoryObject); writer.writeStringValue("trustType", device.trustType); } // tslint:enable diff --git a/src/models/deviceAndAppManagementRoleAssignmentCollectionResponse.ts b/src/models/deviceAndAppManagementRoleAssignmentCollectionResponse.ts index 247d6d94aa4..22c49697ec1 100644 --- a/src/models/deviceAndAppManagementRoleAssignmentCollectionResponse.ts +++ b/src/models/deviceAndAppManagementRoleAssignmentCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceAndAppManagementRoleAssignmentCollectionResponse extends } export function serializeDeviceAndAppManagementRoleAssignmentCollectionResponse(writer: SerializationWriter, deviceAndAppManagementRoleAssignmentCollectionResponse: DeviceAndAppManagementRoleAssignmentCollectionResponse | undefined = {} as DeviceAndAppManagementRoleAssignmentCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceAndAppManagementRoleAssignmentCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceAndAppManagementRoleAssignmentCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceAndAppManagementRoleAssignmentCollectionResponse.value, serializeDeviceAndAppManagementRoleAssignment); } // tslint:enable // eslint-enable diff --git a/src/models/deviceAppManagement.ts b/src/models/deviceAppManagement.ts index b4735cb3a0c..40c6bfb333a 100644 --- a/src/models/deviceAppManagement.ts +++ b/src/models/deviceAppManagement.ts @@ -121,24 +121,24 @@ export interface DeviceAppManagement extends Entity, Parsable { } export function serializeDeviceAppManagement(writer: SerializationWriter, deviceAppManagement: DeviceAppManagement | undefined = {} as DeviceAppManagement) : void { serializeEntity(writer, deviceAppManagement) - writer.writeCollectionOfObjectValues("androidManagedAppProtections", deviceAppManagement.androidManagedAppProtections, ); - writer.writeCollectionOfObjectValues("defaultManagedAppProtections", deviceAppManagement.defaultManagedAppProtections, ); - writer.writeCollectionOfObjectValues("iosManagedAppProtections", deviceAppManagement.iosManagedAppProtections, ); + writer.writeCollectionOfObjectValues("androidManagedAppProtections", deviceAppManagement.androidManagedAppProtections, serializeAndroidManagedAppProtection); + writer.writeCollectionOfObjectValues("defaultManagedAppProtections", deviceAppManagement.defaultManagedAppProtections, serializeDefaultManagedAppProtection); + writer.writeCollectionOfObjectValues("iosManagedAppProtections", deviceAppManagement.iosManagedAppProtections, serializeIosManagedAppProtection); writer.writeBooleanValue("isEnabledForMicrosoftStoreForBusiness", deviceAppManagement.isEnabledForMicrosoftStoreForBusiness); - writer.writeCollectionOfObjectValues("managedAppPolicies", deviceAppManagement.managedAppPolicies, ); - writer.writeCollectionOfObjectValues("managedAppRegistrations", deviceAppManagement.managedAppRegistrations, ); - writer.writeCollectionOfObjectValues("managedAppStatuses", deviceAppManagement.managedAppStatuses, ); - writer.writeCollectionOfObjectValues("managedEBooks", deviceAppManagement.managedEBooks, ); - writer.writeCollectionOfObjectValues("mdmWindowsInformationProtectionPolicies", deviceAppManagement.mdmWindowsInformationProtectionPolicies, ); + writer.writeCollectionOfObjectValues("managedAppPolicies", deviceAppManagement.managedAppPolicies, serializeManagedAppPolicy); + writer.writeCollectionOfObjectValues("managedAppRegistrations", deviceAppManagement.managedAppRegistrations, serializeManagedAppRegistration); + writer.writeCollectionOfObjectValues("managedAppStatuses", deviceAppManagement.managedAppStatuses, serializeManagedAppStatus); + writer.writeCollectionOfObjectValues("managedEBooks", deviceAppManagement.managedEBooks, serializeManagedEBook); + writer.writeCollectionOfObjectValues("mdmWindowsInformationProtectionPolicies", deviceAppManagement.mdmWindowsInformationProtectionPolicies, serializeMdmWindowsInformationProtectionPolicy); writer.writeStringValue("microsoftStoreForBusinessLanguage", deviceAppManagement.microsoftStoreForBusinessLanguage); writer.writeDateValue("microsoftStoreForBusinessLastCompletedApplicationSyncTime", deviceAppManagement.microsoftStoreForBusinessLastCompletedApplicationSyncTime); writer.writeDateValue("microsoftStoreForBusinessLastSuccessfulSyncDateTime", deviceAppManagement.microsoftStoreForBusinessLastSuccessfulSyncDateTime); - writer.writeCollectionOfObjectValues("mobileAppCategories", deviceAppManagement.mobileAppCategories, ); - writer.writeCollectionOfObjectValues("mobileAppConfigurations", deviceAppManagement.mobileAppConfigurations, ); - writer.writeCollectionOfObjectValues("mobileApps", deviceAppManagement.mobileApps, ); - writer.writeCollectionOfObjectValues("targetedManagedAppConfigurations", deviceAppManagement.targetedManagedAppConfigurations, ); - writer.writeCollectionOfObjectValues("vppTokens", deviceAppManagement.vppTokens, ); - writer.writeCollectionOfObjectValues("windowsInformationProtectionPolicies", deviceAppManagement.windowsInformationProtectionPolicies, ); + writer.writeCollectionOfObjectValues("mobileAppCategories", deviceAppManagement.mobileAppCategories, serializeMobileAppCategory); + writer.writeCollectionOfObjectValues("mobileAppConfigurations", deviceAppManagement.mobileAppConfigurations, serializeManagedDeviceMobileAppConfiguration); + writer.writeCollectionOfObjectValues("mobileApps", deviceAppManagement.mobileApps, serializeMobileApp); + writer.writeCollectionOfObjectValues("targetedManagedAppConfigurations", deviceAppManagement.targetedManagedAppConfigurations, serializeTargetedManagedAppConfiguration); + writer.writeCollectionOfObjectValues("vppTokens", deviceAppManagement.vppTokens, serializeVppToken); + writer.writeCollectionOfObjectValues("windowsInformationProtectionPolicies", deviceAppManagement.windowsInformationProtectionPolicies, serializeWindowsInformationProtectionPolicy); } // tslint:enable // eslint-enable diff --git a/src/models/deviceCategoryCollectionResponse.ts b/src/models/deviceCategoryCollectionResponse.ts index b2b76c0d717..0153cccb5dc 100644 --- a/src/models/deviceCategoryCollectionResponse.ts +++ b/src/models/deviceCategoryCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceCategoryCollectionResponse extends BaseCollectionPaginati } export function serializeDeviceCategoryCollectionResponse(writer: SerializationWriter, deviceCategoryCollectionResponse: DeviceCategoryCollectionResponse | undefined = {} as DeviceCategoryCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceCategoryCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceCategoryCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceCategoryCollectionResponse.value, serializeDeviceCategory); } // tslint:enable // eslint-enable diff --git a/src/models/deviceCollectionResponse.ts b/src/models/deviceCollectionResponse.ts index 27313f15ddc..c0ff35f92b7 100644 --- a/src/models/deviceCollectionResponse.ts +++ b/src/models/deviceCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceCollectionResponse extends BaseCollectionPaginationCountR } export function serializeDeviceCollectionResponse(writer: SerializationWriter, deviceCollectionResponse: DeviceCollectionResponse | undefined = {} as DeviceCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceCollectionResponse.value, serializeDevice); } // tslint:enable // eslint-enable diff --git a/src/models/deviceComplianceActionItemCollectionResponse.ts b/src/models/deviceComplianceActionItemCollectionResponse.ts index cf7dd5d07af..513fae545ca 100644 --- a/src/models/deviceComplianceActionItemCollectionResponse.ts +++ b/src/models/deviceComplianceActionItemCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceComplianceActionItemCollectionResponse extends BaseCollec } export function serializeDeviceComplianceActionItemCollectionResponse(writer: SerializationWriter, deviceComplianceActionItemCollectionResponse: DeviceComplianceActionItemCollectionResponse | undefined = {} as DeviceComplianceActionItemCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceComplianceActionItemCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceComplianceActionItemCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceComplianceActionItemCollectionResponse.value, serializeDeviceComplianceActionItem); } // tslint:enable // eslint-enable diff --git a/src/models/deviceComplianceDeviceStatusCollectionResponse.ts b/src/models/deviceComplianceDeviceStatusCollectionResponse.ts index 27a75b052b8..f4ff696b0be 100644 --- a/src/models/deviceComplianceDeviceStatusCollectionResponse.ts +++ b/src/models/deviceComplianceDeviceStatusCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceComplianceDeviceStatusCollectionResponse extends BaseColl } export function serializeDeviceComplianceDeviceStatusCollectionResponse(writer: SerializationWriter, deviceComplianceDeviceStatusCollectionResponse: DeviceComplianceDeviceStatusCollectionResponse | undefined = {} as DeviceComplianceDeviceStatusCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceComplianceDeviceStatusCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceComplianceDeviceStatusCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceComplianceDeviceStatusCollectionResponse.value, serializeDeviceComplianceDeviceStatus); } // tslint:enable // eslint-enable diff --git a/src/models/deviceCompliancePolicy.ts b/src/models/deviceCompliancePolicy.ts index 3ce35ae1f1b..189deee3ff9 100644 --- a/src/models/deviceCompliancePolicy.ts +++ b/src/models/deviceCompliancePolicy.ts @@ -117,17 +117,17 @@ export interface DeviceCompliancePolicy extends Entity, Parsable { } export function serializeDeviceCompliancePolicy(writer: SerializationWriter, deviceCompliancePolicy: DeviceCompliancePolicy | undefined = {} as DeviceCompliancePolicy) : void { serializeEntity(writer, deviceCompliancePolicy) - writer.writeCollectionOfObjectValues("assignments", deviceCompliancePolicy.assignments, ); + writer.writeCollectionOfObjectValues("assignments", deviceCompliancePolicy.assignments, serializeDeviceCompliancePolicyAssignment); writer.writeDateValue("createdDateTime", deviceCompliancePolicy.createdDateTime); writer.writeStringValue("description", deviceCompliancePolicy.description); - writer.writeCollectionOfObjectValues("deviceSettingStateSummaries", deviceCompliancePolicy.deviceSettingStateSummaries, ); - writer.writeCollectionOfObjectValues("deviceStatuses", deviceCompliancePolicy.deviceStatuses, ); - writer.writeObjectValue("deviceStatusOverview", deviceCompliancePolicy.deviceStatusOverview, ); + writer.writeCollectionOfObjectValues("deviceSettingStateSummaries", deviceCompliancePolicy.deviceSettingStateSummaries, serializeSettingStateDeviceSummary); + writer.writeCollectionOfObjectValues("deviceStatuses", deviceCompliancePolicy.deviceStatuses, serializeDeviceComplianceDeviceStatus); + writer.writeObjectValue("deviceStatusOverview", deviceCompliancePolicy.deviceStatusOverview, serializeDeviceComplianceDeviceOverview); writer.writeStringValue("displayName", deviceCompliancePolicy.displayName); writer.writeDateValue("lastModifiedDateTime", deviceCompliancePolicy.lastModifiedDateTime); - writer.writeCollectionOfObjectValues("scheduledActionsForRule", deviceCompliancePolicy.scheduledActionsForRule, ); - writer.writeCollectionOfObjectValues("userStatuses", deviceCompliancePolicy.userStatuses, ); - writer.writeObjectValue("userStatusOverview", deviceCompliancePolicy.userStatusOverview, ); + writer.writeCollectionOfObjectValues("scheduledActionsForRule", deviceCompliancePolicy.scheduledActionsForRule, serializeDeviceComplianceScheduledActionForRule); + writer.writeCollectionOfObjectValues("userStatuses", deviceCompliancePolicy.userStatuses, serializeDeviceComplianceUserStatus); + writer.writeObjectValue("userStatusOverview", deviceCompliancePolicy.userStatusOverview, serializeDeviceComplianceUserOverview); writer.writeNumberValue("version", deviceCompliancePolicy.version); } // tslint:enable diff --git a/src/models/deviceCompliancePolicyAssignment.ts b/src/models/deviceCompliancePolicyAssignment.ts index bf55ed5bedd..6e59825f227 100644 --- a/src/models/deviceCompliancePolicyAssignment.ts +++ b/src/models/deviceCompliancePolicyAssignment.ts @@ -23,7 +23,7 @@ export interface DeviceCompliancePolicyAssignment extends Entity, Parsable { } export function serializeDeviceCompliancePolicyAssignment(writer: SerializationWriter, deviceCompliancePolicyAssignment: DeviceCompliancePolicyAssignment | undefined = {} as DeviceCompliancePolicyAssignment) : void { serializeEntity(writer, deviceCompliancePolicyAssignment) - writer.writeObjectValue("target", deviceCompliancePolicyAssignment.target, ); + writer.writeObjectValue("target", deviceCompliancePolicyAssignment.target, serializeDeviceAndAppManagementAssignmentTarget); } // tslint:enable // eslint-enable diff --git a/src/models/deviceCompliancePolicyAssignmentCollectionResponse.ts b/src/models/deviceCompliancePolicyAssignmentCollectionResponse.ts index a619a238349..e64b06aa22d 100644 --- a/src/models/deviceCompliancePolicyAssignmentCollectionResponse.ts +++ b/src/models/deviceCompliancePolicyAssignmentCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceCompliancePolicyAssignmentCollectionResponse extends Base } export function serializeDeviceCompliancePolicyAssignmentCollectionResponse(writer: SerializationWriter, deviceCompliancePolicyAssignmentCollectionResponse: DeviceCompliancePolicyAssignmentCollectionResponse | undefined = {} as DeviceCompliancePolicyAssignmentCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceCompliancePolicyAssignmentCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceCompliancePolicyAssignmentCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceCompliancePolicyAssignmentCollectionResponse.value, serializeDeviceCompliancePolicyAssignment); } // tslint:enable // eslint-enable diff --git a/src/models/deviceCompliancePolicyCollectionResponse.ts b/src/models/deviceCompliancePolicyCollectionResponse.ts index 809ab2efada..9cacd03f8e4 100644 --- a/src/models/deviceCompliancePolicyCollectionResponse.ts +++ b/src/models/deviceCompliancePolicyCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceCompliancePolicyCollectionResponse extends BaseCollection } export function serializeDeviceCompliancePolicyCollectionResponse(writer: SerializationWriter, deviceCompliancePolicyCollectionResponse: DeviceCompliancePolicyCollectionResponse | undefined = {} as DeviceCompliancePolicyCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceCompliancePolicyCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceCompliancePolicyCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceCompliancePolicyCollectionResponse.value, serializeDeviceCompliancePolicy); } // tslint:enable // eslint-enable diff --git a/src/models/deviceCompliancePolicySettingState.ts b/src/models/deviceCompliancePolicySettingState.ts index 652162b75cc..628ce449f59 100644 --- a/src/models/deviceCompliancePolicySettingState.ts +++ b/src/models/deviceCompliancePolicySettingState.ts @@ -92,7 +92,7 @@ export function serializeDeviceCompliancePolicySettingState(writer: Serializatio writer.writeStringValue("@odata.type", deviceCompliancePolicySettingState.odataType); writer.writeStringValue("setting", deviceCompliancePolicySettingState.setting); writer.writeStringValue("settingName", deviceCompliancePolicySettingState.settingName); - writer.writeCollectionOfObjectValues("sources", deviceCompliancePolicySettingState.sources, ); + writer.writeCollectionOfObjectValues("sources", deviceCompliancePolicySettingState.sources, serializeSettingSource); writer.writeEnumValue("state", deviceCompliancePolicySettingState.state); writer.writeStringValue("userEmail", deviceCompliancePolicySettingState.userEmail); writer.writeStringValue("userId", deviceCompliancePolicySettingState.userId); diff --git a/src/models/deviceCompliancePolicySettingStateSummary.ts b/src/models/deviceCompliancePolicySettingStateSummary.ts index 879475b654e..8be95979182 100644 --- a/src/models/deviceCompliancePolicySettingStateSummary.ts +++ b/src/models/deviceCompliancePolicySettingStateSummary.ts @@ -76,7 +76,7 @@ export function serializeDeviceCompliancePolicySettingStateSummary(writer: Seria serializeEntity(writer, deviceCompliancePolicySettingStateSummary) writer.writeNumberValue("compliantDeviceCount", deviceCompliancePolicySettingStateSummary.compliantDeviceCount); writer.writeNumberValue("conflictDeviceCount", deviceCompliancePolicySettingStateSummary.conflictDeviceCount); - writer.writeCollectionOfObjectValues("deviceComplianceSettingStates", deviceCompliancePolicySettingStateSummary.deviceComplianceSettingStates, ); + writer.writeCollectionOfObjectValues("deviceComplianceSettingStates", deviceCompliancePolicySettingStateSummary.deviceComplianceSettingStates, serializeDeviceComplianceSettingState); writer.writeNumberValue("errorDeviceCount", deviceCompliancePolicySettingStateSummary.errorDeviceCount); writer.writeNumberValue("nonCompliantDeviceCount", deviceCompliancePolicySettingStateSummary.nonCompliantDeviceCount); writer.writeNumberValue("notApplicableDeviceCount", deviceCompliancePolicySettingStateSummary.notApplicableDeviceCount); diff --git a/src/models/deviceCompliancePolicySettingStateSummaryCollectionResponse.ts b/src/models/deviceCompliancePolicySettingStateSummaryCollectionResponse.ts index ea25b90cb32..c177e49e65b 100644 --- a/src/models/deviceCompliancePolicySettingStateSummaryCollectionResponse.ts +++ b/src/models/deviceCompliancePolicySettingStateSummaryCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceCompliancePolicySettingStateSummaryCollectionResponse ext } export function serializeDeviceCompliancePolicySettingStateSummaryCollectionResponse(writer: SerializationWriter, deviceCompliancePolicySettingStateSummaryCollectionResponse: DeviceCompliancePolicySettingStateSummaryCollectionResponse | undefined = {} as DeviceCompliancePolicySettingStateSummaryCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceCompliancePolicySettingStateSummaryCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceCompliancePolicySettingStateSummaryCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceCompliancePolicySettingStateSummaryCollectionResponse.value, serializeDeviceCompliancePolicySettingStateSummary); } // tslint:enable // eslint-enable diff --git a/src/models/deviceCompliancePolicyState.ts b/src/models/deviceCompliancePolicyState.ts index badc71d2f8b..7d97e925837 100644 --- a/src/models/deviceCompliancePolicyState.ts +++ b/src/models/deviceCompliancePolicyState.ts @@ -53,7 +53,7 @@ export function serializeDeviceCompliancePolicyState(writer: SerializationWriter writer.writeStringValue("displayName", deviceCompliancePolicyState.displayName); writer.writeEnumValue("platformType", deviceCompliancePolicyState.platformType); writer.writeNumberValue("settingCount", deviceCompliancePolicyState.settingCount); - writer.writeCollectionOfObjectValues("settingStates", deviceCompliancePolicyState.settingStates, ); + writer.writeCollectionOfObjectValues("settingStates", deviceCompliancePolicyState.settingStates, serializeDeviceCompliancePolicySettingState); writer.writeEnumValue("state", deviceCompliancePolicyState.state); writer.writeNumberValue("version", deviceCompliancePolicyState.version); } diff --git a/src/models/deviceCompliancePolicyStateCollectionResponse.ts b/src/models/deviceCompliancePolicyStateCollectionResponse.ts index 027fbf77edf..dded8a4a1fe 100644 --- a/src/models/deviceCompliancePolicyStateCollectionResponse.ts +++ b/src/models/deviceCompliancePolicyStateCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceCompliancePolicyStateCollectionResponse extends BaseColle } export function serializeDeviceCompliancePolicyStateCollectionResponse(writer: SerializationWriter, deviceCompliancePolicyStateCollectionResponse: DeviceCompliancePolicyStateCollectionResponse | undefined = {} as DeviceCompliancePolicyStateCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceCompliancePolicyStateCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceCompliancePolicyStateCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceCompliancePolicyStateCollectionResponse.value, serializeDeviceCompliancePolicyState); } // tslint:enable // eslint-enable diff --git a/src/models/deviceComplianceScheduledActionForRule.ts b/src/models/deviceComplianceScheduledActionForRule.ts index d392310e6ef..b0ed10ae27c 100644 --- a/src/models/deviceComplianceScheduledActionForRule.ts +++ b/src/models/deviceComplianceScheduledActionForRule.ts @@ -29,7 +29,7 @@ export interface DeviceComplianceScheduledActionForRule extends Entity, Parsable export function serializeDeviceComplianceScheduledActionForRule(writer: SerializationWriter, deviceComplianceScheduledActionForRule: DeviceComplianceScheduledActionForRule | undefined = {} as DeviceComplianceScheduledActionForRule) : void { serializeEntity(writer, deviceComplianceScheduledActionForRule) writer.writeStringValue("ruleName", deviceComplianceScheduledActionForRule.ruleName); - writer.writeCollectionOfObjectValues("scheduledActionConfigurations", deviceComplianceScheduledActionForRule.scheduledActionConfigurations, ); + writer.writeCollectionOfObjectValues("scheduledActionConfigurations", deviceComplianceScheduledActionForRule.scheduledActionConfigurations, serializeDeviceComplianceActionItem); } // tslint:enable // eslint-enable diff --git a/src/models/deviceComplianceScheduledActionForRuleCollectionResponse.ts b/src/models/deviceComplianceScheduledActionForRuleCollectionResponse.ts index 299a9b77b49..c095b0338ac 100644 --- a/src/models/deviceComplianceScheduledActionForRuleCollectionResponse.ts +++ b/src/models/deviceComplianceScheduledActionForRuleCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceComplianceScheduledActionForRuleCollectionResponse extend } export function serializeDeviceComplianceScheduledActionForRuleCollectionResponse(writer: SerializationWriter, deviceComplianceScheduledActionForRuleCollectionResponse: DeviceComplianceScheduledActionForRuleCollectionResponse | undefined = {} as DeviceComplianceScheduledActionForRuleCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceComplianceScheduledActionForRuleCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceComplianceScheduledActionForRuleCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceComplianceScheduledActionForRuleCollectionResponse.value, serializeDeviceComplianceScheduledActionForRule); } // tslint:enable // eslint-enable diff --git a/src/models/deviceComplianceSettingStateCollectionResponse.ts b/src/models/deviceComplianceSettingStateCollectionResponse.ts index 5cb983758cd..b91c87622a3 100644 --- a/src/models/deviceComplianceSettingStateCollectionResponse.ts +++ b/src/models/deviceComplianceSettingStateCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceComplianceSettingStateCollectionResponse extends BaseColl } export function serializeDeviceComplianceSettingStateCollectionResponse(writer: SerializationWriter, deviceComplianceSettingStateCollectionResponse: DeviceComplianceSettingStateCollectionResponse | undefined = {} as DeviceComplianceSettingStateCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceComplianceSettingStateCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceComplianceSettingStateCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceComplianceSettingStateCollectionResponse.value, serializeDeviceComplianceSettingState); } // tslint:enable // eslint-enable diff --git a/src/models/deviceComplianceUserStatusCollectionResponse.ts b/src/models/deviceComplianceUserStatusCollectionResponse.ts index d1355de82fe..02e2fde6a9d 100644 --- a/src/models/deviceComplianceUserStatusCollectionResponse.ts +++ b/src/models/deviceComplianceUserStatusCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceComplianceUserStatusCollectionResponse extends BaseCollec } export function serializeDeviceComplianceUserStatusCollectionResponse(writer: SerializationWriter, deviceComplianceUserStatusCollectionResponse: DeviceComplianceUserStatusCollectionResponse | undefined = {} as DeviceComplianceUserStatusCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceComplianceUserStatusCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceComplianceUserStatusCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceComplianceUserStatusCollectionResponse.value, serializeDeviceComplianceUserStatus); } // tslint:enable // eslint-enable diff --git a/src/models/deviceConfiguration.ts b/src/models/deviceConfiguration.ts index 521309f81f9..7dd6e7b6c49 100644 --- a/src/models/deviceConfiguration.ts +++ b/src/models/deviceConfiguration.ts @@ -165,16 +165,16 @@ export interface DeviceConfiguration extends Entity, Parsable { } export function serializeDeviceConfiguration(writer: SerializationWriter, deviceConfiguration: DeviceConfiguration | undefined = {} as DeviceConfiguration) : void { serializeEntity(writer, deviceConfiguration) - writer.writeCollectionOfObjectValues("assignments", deviceConfiguration.assignments, ); + writer.writeCollectionOfObjectValues("assignments", deviceConfiguration.assignments, serializeDeviceConfigurationAssignment); writer.writeDateValue("createdDateTime", deviceConfiguration.createdDateTime); writer.writeStringValue("description", deviceConfiguration.description); - writer.writeCollectionOfObjectValues("deviceSettingStateSummaries", deviceConfiguration.deviceSettingStateSummaries, ); - writer.writeCollectionOfObjectValues("deviceStatuses", deviceConfiguration.deviceStatuses, ); - writer.writeObjectValue("deviceStatusOverview", deviceConfiguration.deviceStatusOverview, ); + writer.writeCollectionOfObjectValues("deviceSettingStateSummaries", deviceConfiguration.deviceSettingStateSummaries, serializeSettingStateDeviceSummary); + writer.writeCollectionOfObjectValues("deviceStatuses", deviceConfiguration.deviceStatuses, serializeDeviceConfigurationDeviceStatus); + writer.writeObjectValue("deviceStatusOverview", deviceConfiguration.deviceStatusOverview, serializeDeviceConfigurationDeviceOverview); writer.writeStringValue("displayName", deviceConfiguration.displayName); writer.writeDateValue("lastModifiedDateTime", deviceConfiguration.lastModifiedDateTime); - writer.writeCollectionOfObjectValues("userStatuses", deviceConfiguration.userStatuses, ); - writer.writeObjectValue("userStatusOverview", deviceConfiguration.userStatusOverview, ); + writer.writeCollectionOfObjectValues("userStatuses", deviceConfiguration.userStatuses, serializeDeviceConfigurationUserStatus); + writer.writeObjectValue("userStatusOverview", deviceConfiguration.userStatusOverview, serializeDeviceConfigurationUserOverview); writer.writeNumberValue("version", deviceConfiguration.version); } // tslint:enable diff --git a/src/models/deviceConfigurationAssignment.ts b/src/models/deviceConfigurationAssignment.ts index 43d08aa4795..b20022865ee 100644 --- a/src/models/deviceConfigurationAssignment.ts +++ b/src/models/deviceConfigurationAssignment.ts @@ -23,7 +23,7 @@ export interface DeviceConfigurationAssignment extends Entity, Parsable { } export function serializeDeviceConfigurationAssignment(writer: SerializationWriter, deviceConfigurationAssignment: DeviceConfigurationAssignment | undefined = {} as DeviceConfigurationAssignment) : void { serializeEntity(writer, deviceConfigurationAssignment) - writer.writeObjectValue("target", deviceConfigurationAssignment.target, ); + writer.writeObjectValue("target", deviceConfigurationAssignment.target, serializeDeviceAndAppManagementAssignmentTarget); } // tslint:enable // eslint-enable diff --git a/src/models/deviceConfigurationAssignmentCollectionResponse.ts b/src/models/deviceConfigurationAssignmentCollectionResponse.ts index d00bb31f3f8..6dcd3641f93 100644 --- a/src/models/deviceConfigurationAssignmentCollectionResponse.ts +++ b/src/models/deviceConfigurationAssignmentCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceConfigurationAssignmentCollectionResponse extends BaseCol } export function serializeDeviceConfigurationAssignmentCollectionResponse(writer: SerializationWriter, deviceConfigurationAssignmentCollectionResponse: DeviceConfigurationAssignmentCollectionResponse | undefined = {} as DeviceConfigurationAssignmentCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceConfigurationAssignmentCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceConfigurationAssignmentCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceConfigurationAssignmentCollectionResponse.value, serializeDeviceConfigurationAssignment); } // tslint:enable // eslint-enable diff --git a/src/models/deviceConfigurationCollectionResponse.ts b/src/models/deviceConfigurationCollectionResponse.ts index d0c63955932..1bc20ae30a5 100644 --- a/src/models/deviceConfigurationCollectionResponse.ts +++ b/src/models/deviceConfigurationCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceConfigurationCollectionResponse extends BaseCollectionPag } export function serializeDeviceConfigurationCollectionResponse(writer: SerializationWriter, deviceConfigurationCollectionResponse: DeviceConfigurationCollectionResponse | undefined = {} as DeviceConfigurationCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceConfigurationCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceConfigurationCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceConfigurationCollectionResponse.value, serializeDeviceConfiguration); } // tslint:enable // eslint-enable diff --git a/src/models/deviceConfigurationDeviceStatusCollectionResponse.ts b/src/models/deviceConfigurationDeviceStatusCollectionResponse.ts index 19b41f33063..96b4f5121ee 100644 --- a/src/models/deviceConfigurationDeviceStatusCollectionResponse.ts +++ b/src/models/deviceConfigurationDeviceStatusCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceConfigurationDeviceStatusCollectionResponse extends BaseC } export function serializeDeviceConfigurationDeviceStatusCollectionResponse(writer: SerializationWriter, deviceConfigurationDeviceStatusCollectionResponse: DeviceConfigurationDeviceStatusCollectionResponse | undefined = {} as DeviceConfigurationDeviceStatusCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceConfigurationDeviceStatusCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceConfigurationDeviceStatusCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceConfigurationDeviceStatusCollectionResponse.value, serializeDeviceConfigurationDeviceStatus); } // tslint:enable // eslint-enable diff --git a/src/models/deviceConfigurationSettingState.ts b/src/models/deviceConfigurationSettingState.ts index 7f8d06a78b5..7d8610d1fdb 100644 --- a/src/models/deviceConfigurationSettingState.ts +++ b/src/models/deviceConfigurationSettingState.ts @@ -92,7 +92,7 @@ export function serializeDeviceConfigurationSettingState(writer: SerializationWr writer.writeStringValue("@odata.type", deviceConfigurationSettingState.odataType); writer.writeStringValue("setting", deviceConfigurationSettingState.setting); writer.writeStringValue("settingName", deviceConfigurationSettingState.settingName); - writer.writeCollectionOfObjectValues("sources", deviceConfigurationSettingState.sources, ); + writer.writeCollectionOfObjectValues("sources", deviceConfigurationSettingState.sources, serializeSettingSource); writer.writeEnumValue("state", deviceConfigurationSettingState.state); writer.writeStringValue("userEmail", deviceConfigurationSettingState.userEmail); writer.writeStringValue("userId", deviceConfigurationSettingState.userId); diff --git a/src/models/deviceConfigurationState.ts b/src/models/deviceConfigurationState.ts index 8de6f0cd2ad..dbf2052f669 100644 --- a/src/models/deviceConfigurationState.ts +++ b/src/models/deviceConfigurationState.ts @@ -53,7 +53,7 @@ export function serializeDeviceConfigurationState(writer: SerializationWriter, d writer.writeStringValue("displayName", deviceConfigurationState.displayName); writer.writeEnumValue("platformType", deviceConfigurationState.platformType); writer.writeNumberValue("settingCount", deviceConfigurationState.settingCount); - writer.writeCollectionOfObjectValues("settingStates", deviceConfigurationState.settingStates, ); + writer.writeCollectionOfObjectValues("settingStates", deviceConfigurationState.settingStates, serializeDeviceConfigurationSettingState); writer.writeEnumValue("state", deviceConfigurationState.state); writer.writeNumberValue("version", deviceConfigurationState.version); } diff --git a/src/models/deviceConfigurationStateCollectionResponse.ts b/src/models/deviceConfigurationStateCollectionResponse.ts index 2fb9a031722..19c04853cf2 100644 --- a/src/models/deviceConfigurationStateCollectionResponse.ts +++ b/src/models/deviceConfigurationStateCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceConfigurationStateCollectionResponse extends BaseCollecti } export function serializeDeviceConfigurationStateCollectionResponse(writer: SerializationWriter, deviceConfigurationStateCollectionResponse: DeviceConfigurationStateCollectionResponse | undefined = {} as DeviceConfigurationStateCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceConfigurationStateCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceConfigurationStateCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceConfigurationStateCollectionResponse.value, serializeDeviceConfigurationState); } // tslint:enable // eslint-enable diff --git a/src/models/deviceConfigurationUserStatusCollectionResponse.ts b/src/models/deviceConfigurationUserStatusCollectionResponse.ts index ed6c071799e..9ff83c35456 100644 --- a/src/models/deviceConfigurationUserStatusCollectionResponse.ts +++ b/src/models/deviceConfigurationUserStatusCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceConfigurationUserStatusCollectionResponse extends BaseCol } export function serializeDeviceConfigurationUserStatusCollectionResponse(writer: SerializationWriter, deviceConfigurationUserStatusCollectionResponse: DeviceConfigurationUserStatusCollectionResponse | undefined = {} as DeviceConfigurationUserStatusCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceConfigurationUserStatusCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceConfigurationUserStatusCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceConfigurationUserStatusCollectionResponse.value, serializeDeviceConfigurationUserStatus); } // tslint:enable // eslint-enable diff --git a/src/models/deviceEnrollmentConfiguration.ts b/src/models/deviceEnrollmentConfiguration.ts index 925a83ac445..51b6ba56015 100644 --- a/src/models/deviceEnrollmentConfiguration.ts +++ b/src/models/deviceEnrollmentConfiguration.ts @@ -71,7 +71,7 @@ export interface DeviceEnrollmentConfiguration extends Entity, Parsable { } export function serializeDeviceEnrollmentConfiguration(writer: SerializationWriter, deviceEnrollmentConfiguration: DeviceEnrollmentConfiguration | undefined = {} as DeviceEnrollmentConfiguration) : void { serializeEntity(writer, deviceEnrollmentConfiguration) - writer.writeCollectionOfObjectValues("assignments", deviceEnrollmentConfiguration.assignments, ); + writer.writeCollectionOfObjectValues("assignments", deviceEnrollmentConfiguration.assignments, serializeEnrollmentConfigurationAssignment); writer.writeDateValue("createdDateTime", deviceEnrollmentConfiguration.createdDateTime); writer.writeStringValue("description", deviceEnrollmentConfiguration.description); writer.writeStringValue("displayName", deviceEnrollmentConfiguration.displayName); diff --git a/src/models/deviceEnrollmentConfigurationCollectionResponse.ts b/src/models/deviceEnrollmentConfigurationCollectionResponse.ts index 45e5c40960d..1aea67b8d28 100644 --- a/src/models/deviceEnrollmentConfigurationCollectionResponse.ts +++ b/src/models/deviceEnrollmentConfigurationCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceEnrollmentConfigurationCollectionResponse extends BaseCol } export function serializeDeviceEnrollmentConfigurationCollectionResponse(writer: SerializationWriter, deviceEnrollmentConfigurationCollectionResponse: DeviceEnrollmentConfigurationCollectionResponse | undefined = {} as DeviceEnrollmentConfigurationCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceEnrollmentConfigurationCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceEnrollmentConfigurationCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceEnrollmentConfigurationCollectionResponse.value, serializeDeviceEnrollmentConfiguration); } // tslint:enable // eslint-enable diff --git a/src/models/deviceEnrollmentPlatformRestrictionsConfiguration.ts b/src/models/deviceEnrollmentPlatformRestrictionsConfiguration.ts index e0593ce661a..534e7ae0b7b 100644 --- a/src/models/deviceEnrollmentPlatformRestrictionsConfiguration.ts +++ b/src/models/deviceEnrollmentPlatformRestrictionsConfiguration.ts @@ -43,11 +43,11 @@ export interface DeviceEnrollmentPlatformRestrictionsConfiguration extends Devic } export function serializeDeviceEnrollmentPlatformRestrictionsConfiguration(writer: SerializationWriter, deviceEnrollmentPlatformRestrictionsConfiguration: DeviceEnrollmentPlatformRestrictionsConfiguration | undefined = {} as DeviceEnrollmentPlatformRestrictionsConfiguration) : void { serializeDeviceEnrollmentConfiguration(writer, deviceEnrollmentPlatformRestrictionsConfiguration) - writer.writeObjectValue("androidRestriction", deviceEnrollmentPlatformRestrictionsConfiguration.androidRestriction, ); - writer.writeObjectValue("iosRestriction", deviceEnrollmentPlatformRestrictionsConfiguration.iosRestriction, ); - writer.writeObjectValue("macOSRestriction", deviceEnrollmentPlatformRestrictionsConfiguration.macOSRestriction, ); - writer.writeObjectValue("windowsMobileRestriction", deviceEnrollmentPlatformRestrictionsConfiguration.windowsMobileRestriction, ); - writer.writeObjectValue("windowsRestriction", deviceEnrollmentPlatformRestrictionsConfiguration.windowsRestriction, ); + writer.writeObjectValue("androidRestriction", deviceEnrollmentPlatformRestrictionsConfiguration.androidRestriction, serializeDeviceEnrollmentPlatformRestriction); + writer.writeObjectValue("iosRestriction", deviceEnrollmentPlatformRestrictionsConfiguration.iosRestriction, serializeDeviceEnrollmentPlatformRestriction); + writer.writeObjectValue("macOSRestriction", deviceEnrollmentPlatformRestrictionsConfiguration.macOSRestriction, serializeDeviceEnrollmentPlatformRestriction); + writer.writeObjectValue("windowsMobileRestriction", deviceEnrollmentPlatformRestrictionsConfiguration.windowsMobileRestriction, serializeDeviceEnrollmentPlatformRestriction); + writer.writeObjectValue("windowsRestriction", deviceEnrollmentPlatformRestrictionsConfiguration.windowsRestriction, serializeDeviceEnrollmentPlatformRestriction); } // tslint:enable // eslint-enable diff --git a/src/models/deviceInstallStateCollectionResponse.ts b/src/models/deviceInstallStateCollectionResponse.ts index 716a5d1d9f6..3731cb84391 100644 --- a/src/models/deviceInstallStateCollectionResponse.ts +++ b/src/models/deviceInstallStateCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceInstallStateCollectionResponse extends BaseCollectionPagi } export function serializeDeviceInstallStateCollectionResponse(writer: SerializationWriter, deviceInstallStateCollectionResponse: DeviceInstallStateCollectionResponse | undefined = {} as DeviceInstallStateCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceInstallStateCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceInstallStateCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceInstallStateCollectionResponse.value, serializeDeviceInstallState); } // tslint:enable // eslint-enable diff --git a/src/models/deviceLocalCredential.ts b/src/models/deviceLocalCredential.ts new file mode 100644 index 00000000000..1baae415bc7 --- /dev/null +++ b/src/models/deviceLocalCredential.ts @@ -0,0 +1,46 @@ +// tslint:disable +// eslint-disable +// Generated by Microsoft Kiota +import { deserializeIntoEntity, serializeEntity, type Entity } from './entity'; +import { type Parsable, type ParseNode, type SerializationWriter } from '@microsoft/kiota-abstractions'; + +export function createDeviceLocalCredentialFromDiscriminatorValue(parseNode: ParseNode | undefined) { + if(!parseNode) throw new Error("parseNode cannot be undefined"); + return deserializeIntoDeviceLocalCredential; +} +export function deserializeIntoDeviceLocalCredential(deviceLocalCredential: DeviceLocalCredential | undefined = {} as DeviceLocalCredential) : Record void> { + return { + ...deserializeIntoEntity(deviceLocalCredential), + "accountName": n => { deviceLocalCredential.accountName = n.getStringValue(); }, + "accountSid": n => { deviceLocalCredential.accountSid = n.getStringValue(); }, + "backupDateTime": n => { deviceLocalCredential.backupDateTime = n.getDateValue(); }, + "passwordBase64": n => { deviceLocalCredential.passwordBase64 = n.getStringValue(); }, + } +} +export interface DeviceLocalCredential extends Entity, Parsable { + /** + * The name of the local admin account for which LAPS is enabled. + */ + accountName?: string; + /** + * The SID of the local admin account for which LAPS is enabled. + */ + accountSid?: string; + /** + * When the local administrator account credential for the device object was backed up to Azure Active Directory. + */ + backupDateTime?: Date; + /** + * The password for the local administrator account that is backed up to Azure Active Directory and returned as a Base64 encoded value. + */ + passwordBase64?: string; +} +export function serializeDeviceLocalCredential(writer: SerializationWriter, deviceLocalCredential: DeviceLocalCredential | undefined = {} as DeviceLocalCredential) : void { + serializeEntity(writer, deviceLocalCredential) + writer.writeStringValue("accountName", deviceLocalCredential.accountName); + writer.writeStringValue("accountSid", deviceLocalCredential.accountSid); + writer.writeDateValue("backupDateTime", deviceLocalCredential.backupDateTime); + writer.writeStringValue("passwordBase64", deviceLocalCredential.passwordBase64); +} +// tslint:enable +// eslint-enable diff --git a/src/models/deviceLocalCredentialInfo.ts b/src/models/deviceLocalCredentialInfo.ts new file mode 100644 index 00000000000..fb9df5e0e30 --- /dev/null +++ b/src/models/deviceLocalCredentialInfo.ts @@ -0,0 +1,47 @@ +// tslint:disable +// eslint-disable +// Generated by Microsoft Kiota +import { createDeviceLocalCredentialFromDiscriminatorValue, serializeDeviceLocalCredential, type DeviceLocalCredential } from './deviceLocalCredential'; +import { deserializeIntoEntity, serializeEntity, type Entity } from './entity'; +import { type Parsable, type ParseNode, type SerializationWriter } from '@microsoft/kiota-abstractions'; + +export function createDeviceLocalCredentialInfoFromDiscriminatorValue(parseNode: ParseNode | undefined) { + if(!parseNode) throw new Error("parseNode cannot be undefined"); + return deserializeIntoDeviceLocalCredentialInfo; +} +export function deserializeIntoDeviceLocalCredentialInfo(deviceLocalCredentialInfo: DeviceLocalCredentialInfo | undefined = {} as DeviceLocalCredentialInfo) : Record void> { + return { + ...deserializeIntoEntity(deviceLocalCredentialInfo), + "credentials": n => { deviceLocalCredentialInfo.credentials = n.getCollectionOfObjectValues(createDeviceLocalCredentialFromDiscriminatorValue); }, + "deviceName": n => { deviceLocalCredentialInfo.deviceName = n.getStringValue(); }, + "lastBackupDateTime": n => { deviceLocalCredentialInfo.lastBackupDateTime = n.getDateValue(); }, + "refreshDateTime": n => { deviceLocalCredentialInfo.refreshDateTime = n.getDateValue(); }, + } +} +export interface DeviceLocalCredentialInfo extends Entity, Parsable { + /** + * The credentials of the device's local administrator account backed up to Azure Active Directory. + */ + credentials?: DeviceLocalCredential[]; + /** + * Display name of the device that the local credentials are associated with. + */ + deviceName?: string; + /** + * When the local administrator account credential was backed up to Azure Active Directory. + */ + lastBackupDateTime?: Date; + /** + * When the local administrator account credential will be refreshed and backed up to Azure Active Directory. + */ + refreshDateTime?: Date; +} +export function serializeDeviceLocalCredentialInfo(writer: SerializationWriter, deviceLocalCredentialInfo: DeviceLocalCredentialInfo | undefined = {} as DeviceLocalCredentialInfo) : void { + serializeEntity(writer, deviceLocalCredentialInfo) + writer.writeCollectionOfObjectValues("credentials", deviceLocalCredentialInfo.credentials, serializeDeviceLocalCredential); + writer.writeStringValue("deviceName", deviceLocalCredentialInfo.deviceName); + writer.writeDateValue("lastBackupDateTime", deviceLocalCredentialInfo.lastBackupDateTime); + writer.writeDateValue("refreshDateTime", deviceLocalCredentialInfo.refreshDateTime); +} +// tslint:enable +// eslint-enable diff --git a/src/models/deviceLocalCredentialInfoCollectionResponse.ts b/src/models/deviceLocalCredentialInfoCollectionResponse.ts new file mode 100644 index 00000000000..577fdd42d26 --- /dev/null +++ b/src/models/deviceLocalCredentialInfoCollectionResponse.ts @@ -0,0 +1,29 @@ +// tslint:disable +// eslint-disable +// Generated by Microsoft Kiota +import { deserializeIntoBaseCollectionPaginationCountResponse, serializeBaseCollectionPaginationCountResponse, type BaseCollectionPaginationCountResponse } from './baseCollectionPaginationCountResponse'; +import { createDeviceLocalCredentialInfoFromDiscriminatorValue, serializeDeviceLocalCredentialInfo, type DeviceLocalCredentialInfo } from './deviceLocalCredentialInfo'; +import { type Parsable, type ParseNode, type SerializationWriter } from '@microsoft/kiota-abstractions'; + +export function createDeviceLocalCredentialInfoCollectionResponseFromDiscriminatorValue(parseNode: ParseNode | undefined) { + if(!parseNode) throw new Error("parseNode cannot be undefined"); + return deserializeIntoDeviceLocalCredentialInfoCollectionResponse; +} +export function deserializeIntoDeviceLocalCredentialInfoCollectionResponse(deviceLocalCredentialInfoCollectionResponse: DeviceLocalCredentialInfoCollectionResponse | undefined = {} as DeviceLocalCredentialInfoCollectionResponse) : Record void> { + return { + ...deserializeIntoBaseCollectionPaginationCountResponse(deviceLocalCredentialInfoCollectionResponse), + "value": n => { deviceLocalCredentialInfoCollectionResponse.value = n.getCollectionOfObjectValues(createDeviceLocalCredentialInfoFromDiscriminatorValue); }, + } +} +export interface DeviceLocalCredentialInfoCollectionResponse extends BaseCollectionPaginationCountResponse, Parsable { + /** + * The value property + */ + value?: DeviceLocalCredentialInfo[]; +} +export function serializeDeviceLocalCredentialInfoCollectionResponse(writer: SerializationWriter, deviceLocalCredentialInfoCollectionResponse: DeviceLocalCredentialInfoCollectionResponse | undefined = {} as DeviceLocalCredentialInfoCollectionResponse) : void { + serializeBaseCollectionPaginationCountResponse(writer, deviceLocalCredentialInfoCollectionResponse) + writer.writeCollectionOfObjectValues("value", deviceLocalCredentialInfoCollectionResponse.value, serializeDeviceLocalCredentialInfo); +} +// tslint:enable +// eslint-enable diff --git a/src/models/deviceLogCollectionResponseCollectionResponse.ts b/src/models/deviceLogCollectionResponseCollectionResponse.ts index 35571b79ad6..961d525f640 100644 --- a/src/models/deviceLogCollectionResponseCollectionResponse.ts +++ b/src/models/deviceLogCollectionResponseCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceLogCollectionResponseCollectionResponse extends BaseColle } export function serializeDeviceLogCollectionResponseCollectionResponse(writer: SerializationWriter, deviceLogCollectionResponseCollectionResponse: DeviceLogCollectionResponseCollectionResponse | undefined = {} as DeviceLogCollectionResponseCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceLogCollectionResponseCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceLogCollectionResponseCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceLogCollectionResponseCollectionResponse.value, serializeDeviceLogCollectionResponse); } // tslint:enable // eslint-enable diff --git a/src/models/deviceManagement.ts b/src/models/deviceManagement.ts index a456312cf37..a42b381b76d 100644 --- a/src/models/deviceManagement.ts +++ b/src/models/deviceManagement.ts @@ -400,70 +400,70 @@ export interface DeviceManagement extends Entity, Parsable { } export function serializeDeviceManagement(writer: SerializationWriter, deviceManagement: DeviceManagement | undefined = {} as DeviceManagement) : void { serializeEntity(writer, deviceManagement) - writer.writeObjectValue("applePushNotificationCertificate", deviceManagement.applePushNotificationCertificate, ); - writer.writeCollectionOfObjectValues("auditEvents", deviceManagement.auditEvents, ); - writer.writeCollectionOfObjectValues("complianceManagementPartners", deviceManagement.complianceManagementPartners, ); - writer.writeObjectValue("conditionalAccessSettings", deviceManagement.conditionalAccessSettings, ); - writer.writeCollectionOfObjectValues("detectedApps", deviceManagement.detectedApps, ); - writer.writeCollectionOfObjectValues("deviceCategories", deviceManagement.deviceCategories, ); - writer.writeCollectionOfObjectValues("deviceCompliancePolicies", deviceManagement.deviceCompliancePolicies, ); - writer.writeObjectValue("deviceCompliancePolicyDeviceStateSummary", deviceManagement.deviceCompliancePolicyDeviceStateSummary, ); - writer.writeCollectionOfObjectValues("deviceCompliancePolicySettingStateSummaries", deviceManagement.deviceCompliancePolicySettingStateSummaries, ); - writer.writeObjectValue("deviceConfigurationDeviceStateSummaries", deviceManagement.deviceConfigurationDeviceStateSummaries, ); - writer.writeCollectionOfObjectValues("deviceConfigurations", deviceManagement.deviceConfigurations, ); - writer.writeCollectionOfObjectValues("deviceEnrollmentConfigurations", deviceManagement.deviceEnrollmentConfigurations, ); - writer.writeCollectionOfObjectValues("deviceManagementPartners", deviceManagement.deviceManagementPartners, ); - writer.writeObjectValue("deviceProtectionOverview", deviceManagement.deviceProtectionOverview, ); - writer.writeCollectionOfObjectValues("exchangeConnectors", deviceManagement.exchangeConnectors, ); - writer.writeCollectionOfObjectValues("importedWindowsAutopilotDeviceIdentities", deviceManagement.importedWindowsAutopilotDeviceIdentities, ); + writer.writeObjectValue("applePushNotificationCertificate", deviceManagement.applePushNotificationCertificate, serializeApplePushNotificationCertificate); + writer.writeCollectionOfObjectValues("auditEvents", deviceManagement.auditEvents, serializeAuditEvent); + writer.writeCollectionOfObjectValues("complianceManagementPartners", deviceManagement.complianceManagementPartners, serializeComplianceManagementPartner); + writer.writeObjectValue("conditionalAccessSettings", deviceManagement.conditionalAccessSettings, serializeOnPremisesConditionalAccessSettings); + writer.writeCollectionOfObjectValues("detectedApps", deviceManagement.detectedApps, serializeDetectedApp); + writer.writeCollectionOfObjectValues("deviceCategories", deviceManagement.deviceCategories, serializeDeviceCategory); + writer.writeCollectionOfObjectValues("deviceCompliancePolicies", deviceManagement.deviceCompliancePolicies, serializeDeviceCompliancePolicy); + writer.writeObjectValue("deviceCompliancePolicyDeviceStateSummary", deviceManagement.deviceCompliancePolicyDeviceStateSummary, serializeDeviceCompliancePolicyDeviceStateSummary); + writer.writeCollectionOfObjectValues("deviceCompliancePolicySettingStateSummaries", deviceManagement.deviceCompliancePolicySettingStateSummaries, serializeDeviceCompliancePolicySettingStateSummary); + writer.writeObjectValue("deviceConfigurationDeviceStateSummaries", deviceManagement.deviceConfigurationDeviceStateSummaries, serializeDeviceConfigurationDeviceStateSummary); + writer.writeCollectionOfObjectValues("deviceConfigurations", deviceManagement.deviceConfigurations, serializeDeviceConfiguration); + writer.writeCollectionOfObjectValues("deviceEnrollmentConfigurations", deviceManagement.deviceEnrollmentConfigurations, serializeDeviceEnrollmentConfiguration); + writer.writeCollectionOfObjectValues("deviceManagementPartners", deviceManagement.deviceManagementPartners, serializeDeviceManagementPartner); + writer.writeObjectValue("deviceProtectionOverview", deviceManagement.deviceProtectionOverview, serializeDeviceProtectionOverview); + writer.writeCollectionOfObjectValues("exchangeConnectors", deviceManagement.exchangeConnectors, serializeDeviceManagementExchangeConnector); + writer.writeCollectionOfObjectValues("importedWindowsAutopilotDeviceIdentities", deviceManagement.importedWindowsAutopilotDeviceIdentities, serializeImportedWindowsAutopilotDeviceIdentity); writer.writeGuidValue("intuneAccountId", deviceManagement.intuneAccountId); - writer.writeObjectValue("intuneBrand", deviceManagement.intuneBrand, ); - writer.writeCollectionOfObjectValues("iosUpdateStatuses", deviceManagement.iosUpdateStatuses, ); - writer.writeObjectValue("managedDeviceOverview", deviceManagement.managedDeviceOverview, ); - writer.writeCollectionOfObjectValues("managedDevices", deviceManagement.managedDevices, ); - writer.writeCollectionOfObjectValues("mobileAppTroubleshootingEvents", deviceManagement.mobileAppTroubleshootingEvents, ); - writer.writeCollectionOfObjectValues("mobileThreatDefenseConnectors", deviceManagement.mobileThreatDefenseConnectors, ); - writer.writeCollectionOfObjectValues("notificationMessageTemplates", deviceManagement.notificationMessageTemplates, ); - writer.writeCollectionOfObjectValues("remoteAssistancePartners", deviceManagement.remoteAssistancePartners, ); - writer.writeObjectValue("reports", deviceManagement.reports, ); - writer.writeCollectionOfObjectValues("resourceOperations", deviceManagement.resourceOperations, ); - writer.writeCollectionOfObjectValues("roleAssignments", deviceManagement.roleAssignments, ); - writer.writeCollectionOfObjectValues("roleDefinitions", deviceManagement.roleDefinitions, ); - writer.writeObjectValue("settings", deviceManagement.settings, ); - writer.writeObjectValue("softwareUpdateStatusSummary", deviceManagement.softwareUpdateStatusSummary, ); + writer.writeObjectValue("intuneBrand", deviceManagement.intuneBrand, serializeIntuneBrand); + writer.writeCollectionOfObjectValues("iosUpdateStatuses", deviceManagement.iosUpdateStatuses, serializeIosUpdateDeviceStatus); + writer.writeObjectValue("managedDeviceOverview", deviceManagement.managedDeviceOverview, serializeManagedDeviceOverview); + writer.writeCollectionOfObjectValues("managedDevices", deviceManagement.managedDevices, serializeManagedDevice); + writer.writeCollectionOfObjectValues("mobileAppTroubleshootingEvents", deviceManagement.mobileAppTroubleshootingEvents, serializeMobileAppTroubleshootingEvent); + writer.writeCollectionOfObjectValues("mobileThreatDefenseConnectors", deviceManagement.mobileThreatDefenseConnectors, serializeMobileThreatDefenseConnector); + writer.writeCollectionOfObjectValues("notificationMessageTemplates", deviceManagement.notificationMessageTemplates, serializeNotificationMessageTemplate); + writer.writeCollectionOfObjectValues("remoteAssistancePartners", deviceManagement.remoteAssistancePartners, serializeRemoteAssistancePartner); + writer.writeObjectValue("reports", deviceManagement.reports, serializeDeviceManagementReports); + writer.writeCollectionOfObjectValues("resourceOperations", deviceManagement.resourceOperations, serializeResourceOperation); + writer.writeCollectionOfObjectValues("roleAssignments", deviceManagement.roleAssignments, serializeDeviceAndAppManagementRoleAssignment); + writer.writeCollectionOfObjectValues("roleDefinitions", deviceManagement.roleDefinitions, serializeRoleDefinition); + writer.writeObjectValue("settings", deviceManagement.settings, serializeDeviceManagementSettings); + writer.writeObjectValue("softwareUpdateStatusSummary", deviceManagement.softwareUpdateStatusSummary, serializeSoftwareUpdateStatusSummary); writer.writeEnumValue("subscriptionState", deviceManagement.subscriptionState); - writer.writeCollectionOfObjectValues("telecomExpenseManagementPartners", deviceManagement.telecomExpenseManagementPartners, ); - writer.writeCollectionOfObjectValues("termsAndConditions", deviceManagement.termsAndConditions, ); - writer.writeCollectionOfObjectValues("troubleshootingEvents", deviceManagement.troubleshootingEvents, ); - writer.writeCollectionOfObjectValues("userExperienceAnalyticsAppHealthApplicationPerformance", deviceManagement.userExperienceAnalyticsAppHealthApplicationPerformance, ); - writer.writeCollectionOfObjectValues("userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails", deviceManagement.userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails, ); - writer.writeCollectionOfObjectValues("userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId", deviceManagement.userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId, ); - writer.writeCollectionOfObjectValues("userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion", deviceManagement.userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion, ); - writer.writeCollectionOfObjectValues("userExperienceAnalyticsAppHealthDeviceModelPerformance", deviceManagement.userExperienceAnalyticsAppHealthDeviceModelPerformance, ); - writer.writeCollectionOfObjectValues("userExperienceAnalyticsAppHealthDevicePerformance", deviceManagement.userExperienceAnalyticsAppHealthDevicePerformance, ); - writer.writeCollectionOfObjectValues("userExperienceAnalyticsAppHealthDevicePerformanceDetails", deviceManagement.userExperienceAnalyticsAppHealthDevicePerformanceDetails, ); - writer.writeCollectionOfObjectValues("userExperienceAnalyticsAppHealthOSVersionPerformance", deviceManagement.userExperienceAnalyticsAppHealthOSVersionPerformance, ); - writer.writeObjectValue("userExperienceAnalyticsAppHealthOverview", deviceManagement.userExperienceAnalyticsAppHealthOverview, ); - writer.writeCollectionOfObjectValues("userExperienceAnalyticsBaselines", deviceManagement.userExperienceAnalyticsBaselines, ); - writer.writeCollectionOfObjectValues("userExperienceAnalyticsCategories", deviceManagement.userExperienceAnalyticsCategories, ); - writer.writeCollectionOfObjectValues("userExperienceAnalyticsDevicePerformance", deviceManagement.userExperienceAnalyticsDevicePerformance, ); - writer.writeCollectionOfObjectValues("userExperienceAnalyticsDeviceScores", deviceManagement.userExperienceAnalyticsDeviceScores, ); - writer.writeCollectionOfObjectValues("userExperienceAnalyticsDeviceStartupHistory", deviceManagement.userExperienceAnalyticsDeviceStartupHistory, ); - writer.writeCollectionOfObjectValues("userExperienceAnalyticsDeviceStartupProcesses", deviceManagement.userExperienceAnalyticsDeviceStartupProcesses, ); - writer.writeCollectionOfObjectValues("userExperienceAnalyticsDeviceStartupProcessPerformance", deviceManagement.userExperienceAnalyticsDeviceStartupProcessPerformance, ); - writer.writeCollectionOfObjectValues("userExperienceAnalyticsMetricHistory", deviceManagement.userExperienceAnalyticsMetricHistory, ); - writer.writeCollectionOfObjectValues("userExperienceAnalyticsModelScores", deviceManagement.userExperienceAnalyticsModelScores, ); - writer.writeObjectValue("userExperienceAnalyticsOverview", deviceManagement.userExperienceAnalyticsOverview, ); - writer.writeCollectionOfObjectValues("userExperienceAnalyticsScoreHistory", deviceManagement.userExperienceAnalyticsScoreHistory, ); - writer.writeObjectValue("userExperienceAnalyticsSettings", deviceManagement.userExperienceAnalyticsSettings, ); - writer.writeObjectValue("userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric", deviceManagement.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric, ); - writer.writeCollectionOfObjectValues("userExperienceAnalyticsWorkFromAnywhereMetrics", deviceManagement.userExperienceAnalyticsWorkFromAnywhereMetrics, ); - writer.writeCollectionOfObjectValues("userExperienceAnalyticsWorkFromAnywhereModelPerformance", deviceManagement.userExperienceAnalyticsWorkFromAnywhereModelPerformance, ); - writer.writeCollectionOfObjectValues("windowsAutopilotDeviceIdentities", deviceManagement.windowsAutopilotDeviceIdentities, ); - writer.writeCollectionOfObjectValues("windowsInformationProtectionAppLearningSummaries", deviceManagement.windowsInformationProtectionAppLearningSummaries, ); - writer.writeCollectionOfObjectValues("windowsInformationProtectionNetworkLearningSummaries", deviceManagement.windowsInformationProtectionNetworkLearningSummaries, ); - writer.writeCollectionOfObjectValues("windowsMalwareInformation", deviceManagement.windowsMalwareInformation, ); - writer.writeObjectValue("windowsMalwareOverview", deviceManagement.windowsMalwareOverview, ); + writer.writeCollectionOfObjectValues("telecomExpenseManagementPartners", deviceManagement.telecomExpenseManagementPartners, serializeTelecomExpenseManagementPartner); + writer.writeCollectionOfObjectValues("termsAndConditions", deviceManagement.termsAndConditions, serializeTermsAndConditions); + writer.writeCollectionOfObjectValues("troubleshootingEvents", deviceManagement.troubleshootingEvents, serializeDeviceManagementTroubleshootingEvent); + writer.writeCollectionOfObjectValues("userExperienceAnalyticsAppHealthApplicationPerformance", deviceManagement.userExperienceAnalyticsAppHealthApplicationPerformance, serializeUserExperienceAnalyticsAppHealthApplicationPerformance); + writer.writeCollectionOfObjectValues("userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails", deviceManagement.userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails, serializeUserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails); + writer.writeCollectionOfObjectValues("userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId", deviceManagement.userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId, serializeUserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceId); + writer.writeCollectionOfObjectValues("userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion", deviceManagement.userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion, serializeUserExperienceAnalyticsAppHealthAppPerformanceByOSVersion); + writer.writeCollectionOfObjectValues("userExperienceAnalyticsAppHealthDeviceModelPerformance", deviceManagement.userExperienceAnalyticsAppHealthDeviceModelPerformance, serializeUserExperienceAnalyticsAppHealthDeviceModelPerformance); + writer.writeCollectionOfObjectValues("userExperienceAnalyticsAppHealthDevicePerformance", deviceManagement.userExperienceAnalyticsAppHealthDevicePerformance, serializeUserExperienceAnalyticsAppHealthDevicePerformance); + writer.writeCollectionOfObjectValues("userExperienceAnalyticsAppHealthDevicePerformanceDetails", deviceManagement.userExperienceAnalyticsAppHealthDevicePerformanceDetails, serializeUserExperienceAnalyticsAppHealthDevicePerformanceDetails); + writer.writeCollectionOfObjectValues("userExperienceAnalyticsAppHealthOSVersionPerformance", deviceManagement.userExperienceAnalyticsAppHealthOSVersionPerformance, serializeUserExperienceAnalyticsAppHealthOSVersionPerformance); + writer.writeObjectValue("userExperienceAnalyticsAppHealthOverview", deviceManagement.userExperienceAnalyticsAppHealthOverview, serializeUserExperienceAnalyticsCategory); + writer.writeCollectionOfObjectValues("userExperienceAnalyticsBaselines", deviceManagement.userExperienceAnalyticsBaselines, serializeUserExperienceAnalyticsBaseline); + writer.writeCollectionOfObjectValues("userExperienceAnalyticsCategories", deviceManagement.userExperienceAnalyticsCategories, serializeUserExperienceAnalyticsCategory); + writer.writeCollectionOfObjectValues("userExperienceAnalyticsDevicePerformance", deviceManagement.userExperienceAnalyticsDevicePerformance, serializeUserExperienceAnalyticsDevicePerformance); + writer.writeCollectionOfObjectValues("userExperienceAnalyticsDeviceScores", deviceManagement.userExperienceAnalyticsDeviceScores, serializeUserExperienceAnalyticsDeviceScores); + writer.writeCollectionOfObjectValues("userExperienceAnalyticsDeviceStartupHistory", deviceManagement.userExperienceAnalyticsDeviceStartupHistory, serializeUserExperienceAnalyticsDeviceStartupHistory); + writer.writeCollectionOfObjectValues("userExperienceAnalyticsDeviceStartupProcesses", deviceManagement.userExperienceAnalyticsDeviceStartupProcesses, serializeUserExperienceAnalyticsDeviceStartupProcess); + writer.writeCollectionOfObjectValues("userExperienceAnalyticsDeviceStartupProcessPerformance", deviceManagement.userExperienceAnalyticsDeviceStartupProcessPerformance, serializeUserExperienceAnalyticsDeviceStartupProcessPerformance); + writer.writeCollectionOfObjectValues("userExperienceAnalyticsMetricHistory", deviceManagement.userExperienceAnalyticsMetricHistory, serializeUserExperienceAnalyticsMetricHistory); + writer.writeCollectionOfObjectValues("userExperienceAnalyticsModelScores", deviceManagement.userExperienceAnalyticsModelScores, serializeUserExperienceAnalyticsModelScores); + writer.writeObjectValue("userExperienceAnalyticsOverview", deviceManagement.userExperienceAnalyticsOverview, serializeUserExperienceAnalyticsOverview); + writer.writeCollectionOfObjectValues("userExperienceAnalyticsScoreHistory", deviceManagement.userExperienceAnalyticsScoreHistory, serializeUserExperienceAnalyticsScoreHistory); + writer.writeObjectValue("userExperienceAnalyticsSettings", deviceManagement.userExperienceAnalyticsSettings, serializeUserExperienceAnalyticsSettings); + writer.writeObjectValue("userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric", deviceManagement.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric, serializeUserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric); + writer.writeCollectionOfObjectValues("userExperienceAnalyticsWorkFromAnywhereMetrics", deviceManagement.userExperienceAnalyticsWorkFromAnywhereMetrics, serializeUserExperienceAnalyticsWorkFromAnywhereMetric); + writer.writeCollectionOfObjectValues("userExperienceAnalyticsWorkFromAnywhereModelPerformance", deviceManagement.userExperienceAnalyticsWorkFromAnywhereModelPerformance, serializeUserExperienceAnalyticsWorkFromAnywhereModelPerformance); + writer.writeCollectionOfObjectValues("windowsAutopilotDeviceIdentities", deviceManagement.windowsAutopilotDeviceIdentities, serializeWindowsAutopilotDeviceIdentity); + writer.writeCollectionOfObjectValues("windowsInformationProtectionAppLearningSummaries", deviceManagement.windowsInformationProtectionAppLearningSummaries, serializeWindowsInformationProtectionAppLearningSummary); + writer.writeCollectionOfObjectValues("windowsInformationProtectionNetworkLearningSummaries", deviceManagement.windowsInformationProtectionNetworkLearningSummaries, serializeWindowsInformationProtectionNetworkLearningSummary); + writer.writeCollectionOfObjectValues("windowsMalwareInformation", deviceManagement.windowsMalwareInformation, serializeWindowsMalwareInformation); + writer.writeObjectValue("windowsMalwareOverview", deviceManagement.windowsMalwareOverview, serializeWindowsMalwareOverview); } // tslint:enable // eslint-enable diff --git a/src/models/deviceManagementExchangeConnectorCollectionResponse.ts b/src/models/deviceManagementExchangeConnectorCollectionResponse.ts index f93f3cf48cb..d26db1d04c4 100644 --- a/src/models/deviceManagementExchangeConnectorCollectionResponse.ts +++ b/src/models/deviceManagementExchangeConnectorCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceManagementExchangeConnectorCollectionResponse extends Bas } export function serializeDeviceManagementExchangeConnectorCollectionResponse(writer: SerializationWriter, deviceManagementExchangeConnectorCollectionResponse: DeviceManagementExchangeConnectorCollectionResponse | undefined = {} as DeviceManagementExchangeConnectorCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceManagementExchangeConnectorCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceManagementExchangeConnectorCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceManagementExchangeConnectorCollectionResponse.value, serializeDeviceManagementExchangeConnector); } // tslint:enable // eslint-enable diff --git a/src/models/deviceManagementExportJobCollectionResponse.ts b/src/models/deviceManagementExportJobCollectionResponse.ts index 73227e18ed8..bab4b56da4b 100644 --- a/src/models/deviceManagementExportJobCollectionResponse.ts +++ b/src/models/deviceManagementExportJobCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceManagementExportJobCollectionResponse extends BaseCollect } export function serializeDeviceManagementExportJobCollectionResponse(writer: SerializationWriter, deviceManagementExportJobCollectionResponse: DeviceManagementExportJobCollectionResponse | undefined = {} as DeviceManagementExportJobCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceManagementExportJobCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceManagementExportJobCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceManagementExportJobCollectionResponse.value, serializeDeviceManagementExportJob); } // tslint:enable // eslint-enable diff --git a/src/models/deviceManagementPartner.ts b/src/models/deviceManagementPartner.ts index 5ab3ca876af..87b72e08bc7 100644 --- a/src/models/deviceManagementPartner.ts +++ b/src/models/deviceManagementPartner.ts @@ -66,7 +66,7 @@ export interface DeviceManagementPartner extends Entity, Parsable { export function serializeDeviceManagementPartner(writer: SerializationWriter, deviceManagementPartner: DeviceManagementPartner | undefined = {} as DeviceManagementPartner) : void { serializeEntity(writer, deviceManagementPartner) writer.writeStringValue("displayName", deviceManagementPartner.displayName); - writer.writeCollectionOfObjectValues("groupsRequiringPartnerEnrollment", deviceManagementPartner.groupsRequiringPartnerEnrollment, ); + writer.writeCollectionOfObjectValues("groupsRequiringPartnerEnrollment", deviceManagementPartner.groupsRequiringPartnerEnrollment, serializeDeviceManagementPartnerAssignment); writer.writeBooleanValue("isConfigured", deviceManagementPartner.isConfigured); writer.writeDateValue("lastHeartbeatDateTime", deviceManagementPartner.lastHeartbeatDateTime); writer.writeEnumValue("partnerAppType", deviceManagementPartner.partnerAppType); diff --git a/src/models/deviceManagementPartnerAssignment.ts b/src/models/deviceManagementPartnerAssignment.ts index da2cb7f6e91..363894fb83a 100644 --- a/src/models/deviceManagementPartnerAssignment.ts +++ b/src/models/deviceManagementPartnerAssignment.ts @@ -30,7 +30,7 @@ export interface DeviceManagementPartnerAssignment extends AdditionalDataHolder, } export function serializeDeviceManagementPartnerAssignment(writer: SerializationWriter, deviceManagementPartnerAssignment: DeviceManagementPartnerAssignment | undefined = {} as DeviceManagementPartnerAssignment) : void { writer.writeStringValue("@odata.type", deviceManagementPartnerAssignment.odataType); - writer.writeObjectValue("target", deviceManagementPartnerAssignment.target, ); + writer.writeObjectValue("target", deviceManagementPartnerAssignment.target, serializeDeviceAndAppManagementAssignmentTarget); writer.writeAdditionalData(deviceManagementPartnerAssignment.additionalData); } // tslint:enable diff --git a/src/models/deviceManagementPartnerCollectionResponse.ts b/src/models/deviceManagementPartnerCollectionResponse.ts index a728b16ff53..f48ae858bfe 100644 --- a/src/models/deviceManagementPartnerCollectionResponse.ts +++ b/src/models/deviceManagementPartnerCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceManagementPartnerCollectionResponse extends BaseCollectio } export function serializeDeviceManagementPartnerCollectionResponse(writer: SerializationWriter, deviceManagementPartnerCollectionResponse: DeviceManagementPartnerCollectionResponse | undefined = {} as DeviceManagementPartnerCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceManagementPartnerCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceManagementPartnerCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceManagementPartnerCollectionResponse.value, serializeDeviceManagementPartner); } // tslint:enable // eslint-enable diff --git a/src/models/deviceManagementReports.ts b/src/models/deviceManagementReports.ts index 1263e99f97a..acc996a58c2 100644 --- a/src/models/deviceManagementReports.ts +++ b/src/models/deviceManagementReports.ts @@ -23,7 +23,7 @@ export interface DeviceManagementReports extends Entity, Parsable { } export function serializeDeviceManagementReports(writer: SerializationWriter, deviceManagementReports: DeviceManagementReports | undefined = {} as DeviceManagementReports) : void { serializeEntity(writer, deviceManagementReports) - writer.writeCollectionOfObjectValues("exportJobs", deviceManagementReports.exportJobs, ); + writer.writeCollectionOfObjectValues("exportJobs", deviceManagementReports.exportJobs, serializeDeviceManagementExportJob); } // tslint:enable // eslint-enable diff --git a/src/models/deviceManagementTroubleshootingEventCollectionResponse.ts b/src/models/deviceManagementTroubleshootingEventCollectionResponse.ts index 4117894fd6b..193cbe3d676 100644 --- a/src/models/deviceManagementTroubleshootingEventCollectionResponse.ts +++ b/src/models/deviceManagementTroubleshootingEventCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DeviceManagementTroubleshootingEventCollectionResponse extends } export function serializeDeviceManagementTroubleshootingEventCollectionResponse(writer: SerializationWriter, deviceManagementTroubleshootingEventCollectionResponse: DeviceManagementTroubleshootingEventCollectionResponse | undefined = {} as DeviceManagementTroubleshootingEventCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, deviceManagementTroubleshootingEventCollectionResponse) - writer.writeCollectionOfObjectValues("value", deviceManagementTroubleshootingEventCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", deviceManagementTroubleshootingEventCollectionResponse.value, serializeDeviceManagementTroubleshootingEvent); } // tslint:enable // eslint-enable diff --git a/src/models/directory.ts b/src/models/directory.ts index 9681f0a7edb..a761d3ef209 100644 --- a/src/models/directory.ts +++ b/src/models/directory.ts @@ -4,6 +4,7 @@ import { createAdministrativeUnitFromDiscriminatorValue, serializeAdministrativeUnit, type AdministrativeUnit } from './administrativeUnit'; import { createAttributeSetFromDiscriminatorValue, serializeAttributeSet, type AttributeSet } from './attributeSet'; import { createCustomSecurityAttributeDefinitionFromDiscriminatorValue, serializeCustomSecurityAttributeDefinition, type CustomSecurityAttributeDefinition } from './customSecurityAttributeDefinition'; +import { createDeviceLocalCredentialInfoFromDiscriminatorValue, serializeDeviceLocalCredentialInfo, type DeviceLocalCredentialInfo } from './deviceLocalCredentialInfo'; import { createDirectoryObjectFromDiscriminatorValue, serializeDirectoryObject, type DirectoryObject } from './directoryObject'; import { deserializeIntoEntity, serializeEntity, type Entity } from './entity'; import { createIdentityProviderBaseFromDiscriminatorValue, serializeIdentityProviderBase, type IdentityProviderBase } from './identityProviderBase'; @@ -21,6 +22,7 @@ export function deserializeIntoDirectory(directory: Directory | undefined = {} a "attributeSets": n => { directory.attributeSets = n.getCollectionOfObjectValues(createAttributeSetFromDiscriminatorValue); }, "customSecurityAttributeDefinitions": n => { directory.customSecurityAttributeDefinitions = n.getCollectionOfObjectValues(createCustomSecurityAttributeDefinitionFromDiscriminatorValue); }, "deletedItems": n => { directory.deletedItems = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, + "deviceLocalCredentials": n => { directory.deviceLocalCredentials = n.getCollectionOfObjectValues(createDeviceLocalCredentialInfoFromDiscriminatorValue); }, "federationConfigurations": n => { directory.federationConfigurations = n.getCollectionOfObjectValues(createIdentityProviderBaseFromDiscriminatorValue); }, "onPremisesSynchronization": n => { directory.onPremisesSynchronization = n.getCollectionOfObjectValues(createOnPremisesDirectorySynchronizationFromDiscriminatorValue); }, } @@ -42,6 +44,10 @@ export interface Directory extends Entity, Parsable { * Recently deleted items. Read-only. Nullable. */ deletedItems?: DirectoryObject[]; + /** + * The credentials of the device's local administrator account backed up to Microsoft Entra ID. + */ + deviceLocalCredentials?: DeviceLocalCredentialInfo[]; /** * Configure domain federation with organizations whose identity provider (IdP) supports either the SAML or WS-Fed protocol. */ @@ -53,12 +59,13 @@ export interface Directory extends Entity, Parsable { } export function serializeDirectory(writer: SerializationWriter, directory: Directory | undefined = {} as Directory) : void { serializeEntity(writer, directory) - writer.writeCollectionOfObjectValues("administrativeUnits", directory.administrativeUnits, ); - writer.writeCollectionOfObjectValues("attributeSets", directory.attributeSets, ); - writer.writeCollectionOfObjectValues("customSecurityAttributeDefinitions", directory.customSecurityAttributeDefinitions, ); - writer.writeCollectionOfObjectValues("deletedItems", directory.deletedItems, ); - writer.writeCollectionOfObjectValues("federationConfigurations", directory.federationConfigurations, ); - writer.writeCollectionOfObjectValues("onPremisesSynchronization", directory.onPremisesSynchronization, ); + writer.writeCollectionOfObjectValues("administrativeUnits", directory.administrativeUnits, serializeAdministrativeUnit); + writer.writeCollectionOfObjectValues("attributeSets", directory.attributeSets, serializeAttributeSet); + writer.writeCollectionOfObjectValues("customSecurityAttributeDefinitions", directory.customSecurityAttributeDefinitions, serializeCustomSecurityAttributeDefinition); + writer.writeCollectionOfObjectValues("deletedItems", directory.deletedItems, serializeDirectoryObject); + writer.writeCollectionOfObjectValues("deviceLocalCredentials", directory.deviceLocalCredentials, serializeDeviceLocalCredentialInfo); + writer.writeCollectionOfObjectValues("federationConfigurations", directory.federationConfigurations, serializeIdentityProviderBase); + writer.writeCollectionOfObjectValues("onPremisesSynchronization", directory.onPremisesSynchronization, serializeOnPremisesDirectorySynchronization); } // tslint:enable // eslint-enable diff --git a/src/models/directoryAudit.ts b/src/models/directoryAudit.ts index 1ddf9c734d6..53921175fa8 100644 --- a/src/models/directoryAudit.ts +++ b/src/models/directoryAudit.ts @@ -78,15 +78,15 @@ export function serializeDirectoryAudit(writer: SerializationWriter, directoryAu serializeEntity(writer, directoryAudit) writer.writeDateValue("activityDateTime", directoryAudit.activityDateTime); writer.writeStringValue("activityDisplayName", directoryAudit.activityDisplayName); - writer.writeCollectionOfObjectValues("additionalDetails", directoryAudit.additionalDetails, ); + writer.writeCollectionOfObjectValues("additionalDetails", directoryAudit.additionalDetails, serializeKeyValue); writer.writeStringValue("category", directoryAudit.category); writer.writeStringValue("correlationId", directoryAudit.correlationId); - writer.writeObjectValue("initiatedBy", directoryAudit.initiatedBy, ); + writer.writeObjectValue("initiatedBy", directoryAudit.initiatedBy, serializeAuditActivityInitiator); writer.writeStringValue("loggedByService", directoryAudit.loggedByService); writer.writeStringValue("operationType", directoryAudit.operationType); writer.writeEnumValue("result", directoryAudit.result); writer.writeStringValue("resultReason", directoryAudit.resultReason); - writer.writeCollectionOfObjectValues("targetResources", directoryAudit.targetResources, ); + writer.writeCollectionOfObjectValues("targetResources", directoryAudit.targetResources, serializeTargetResource); } // tslint:enable // eslint-enable diff --git a/src/models/directoryAuditCollectionResponse.ts b/src/models/directoryAuditCollectionResponse.ts index 4e609a6967d..0aa35e25edb 100644 --- a/src/models/directoryAuditCollectionResponse.ts +++ b/src/models/directoryAuditCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DirectoryAuditCollectionResponse extends BaseCollectionPaginati } export function serializeDirectoryAuditCollectionResponse(writer: SerializationWriter, directoryAuditCollectionResponse: DirectoryAuditCollectionResponse | undefined = {} as DirectoryAuditCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, directoryAuditCollectionResponse) - writer.writeCollectionOfObjectValues("value", directoryAuditCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", directoryAuditCollectionResponse.value, serializeDirectoryAudit); } // tslint:enable // eslint-enable diff --git a/src/models/directoryDefinition.ts b/src/models/directoryDefinition.ts index 688fe959835..7dbae2a7920 100644 --- a/src/models/directoryDefinition.ts +++ b/src/models/directoryDefinition.ts @@ -52,7 +52,7 @@ export function serializeDirectoryDefinition(writer: SerializationWriter, direct writer.writeEnumValue("discoverabilities", directoryDefinition.discoverabilities); writer.writeDateValue("discoveryDateTime", directoryDefinition.discoveryDateTime); writer.writeStringValue("name", directoryDefinition.name); - writer.writeCollectionOfObjectValues("objects", directoryDefinition.objects, ); + writer.writeCollectionOfObjectValues("objects", directoryDefinition.objects, serializeObjectDefinition); writer.writeBooleanValue("readOnly", directoryDefinition.readOnly); writer.writeStringValue("version", directoryDefinition.version); } diff --git a/src/models/directoryDefinitionCollectionResponse.ts b/src/models/directoryDefinitionCollectionResponse.ts index 3aeba412bbf..ea945dc7235 100644 --- a/src/models/directoryDefinitionCollectionResponse.ts +++ b/src/models/directoryDefinitionCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DirectoryDefinitionCollectionResponse extends BaseCollectionPag } export function serializeDirectoryDefinitionCollectionResponse(writer: SerializationWriter, directoryDefinitionCollectionResponse: DirectoryDefinitionCollectionResponse | undefined = {} as DirectoryDefinitionCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, directoryDefinitionCollectionResponse) - writer.writeCollectionOfObjectValues("value", directoryDefinitionCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", directoryDefinitionCollectionResponse.value, serializeDirectoryDefinition); } // tslint:enable // eslint-enable diff --git a/src/models/directoryObjectCollectionResponse.ts b/src/models/directoryObjectCollectionResponse.ts index 7f034044a76..159c26074fd 100644 --- a/src/models/directoryObjectCollectionResponse.ts +++ b/src/models/directoryObjectCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DirectoryObjectCollectionResponse extends BaseCollectionPaginat } export function serializeDirectoryObjectCollectionResponse(writer: SerializationWriter, directoryObjectCollectionResponse: DirectoryObjectCollectionResponse | undefined = {} as DirectoryObjectCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, directoryObjectCollectionResponse) - writer.writeCollectionOfObjectValues("value", directoryObjectCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", directoryObjectCollectionResponse.value, serializeDirectoryObject); } // tslint:enable // eslint-enable diff --git a/src/models/directoryRole.ts b/src/models/directoryRole.ts index 25b59110831..a1d9488c111 100644 --- a/src/models/directoryRole.ts +++ b/src/models/directoryRole.ts @@ -45,9 +45,9 @@ export function serializeDirectoryRole(writer: SerializationWriter, directoryRol serializeDirectoryObject(writer, directoryRole) writer.writeStringValue("description", directoryRole.description); writer.writeStringValue("displayName", directoryRole.displayName); - writer.writeCollectionOfObjectValues("members", directoryRole.members, ); + writer.writeCollectionOfObjectValues("members", directoryRole.members, serializeDirectoryObject); writer.writeStringValue("roleTemplateId", directoryRole.roleTemplateId); - writer.writeCollectionOfObjectValues("scopedMembers", directoryRole.scopedMembers, ); + writer.writeCollectionOfObjectValues("scopedMembers", directoryRole.scopedMembers, serializeScopedRoleMembership); } // tslint:enable // eslint-enable diff --git a/src/models/directoryRoleCollectionResponse.ts b/src/models/directoryRoleCollectionResponse.ts index da886efd144..c48cc2d21ea 100644 --- a/src/models/directoryRoleCollectionResponse.ts +++ b/src/models/directoryRoleCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DirectoryRoleCollectionResponse extends BaseCollectionPaginatio } export function serializeDirectoryRoleCollectionResponse(writer: SerializationWriter, directoryRoleCollectionResponse: DirectoryRoleCollectionResponse | undefined = {} as DirectoryRoleCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, directoryRoleCollectionResponse) - writer.writeCollectionOfObjectValues("value", directoryRoleCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", directoryRoleCollectionResponse.value, serializeDirectoryRole); } // tslint:enable // eslint-enable diff --git a/src/models/directoryRoleTemplateCollectionResponse.ts b/src/models/directoryRoleTemplateCollectionResponse.ts index ee9e4bea582..b6df631f67f 100644 --- a/src/models/directoryRoleTemplateCollectionResponse.ts +++ b/src/models/directoryRoleTemplateCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DirectoryRoleTemplateCollectionResponse extends BaseCollectionP } export function serializeDirectoryRoleTemplateCollectionResponse(writer: SerializationWriter, directoryRoleTemplateCollectionResponse: DirectoryRoleTemplateCollectionResponse | undefined = {} as DirectoryRoleTemplateCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, directoryRoleTemplateCollectionResponse) - writer.writeCollectionOfObjectValues("value", directoryRoleTemplateCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", directoryRoleTemplateCollectionResponse.value, serializeDirectoryRoleTemplate); } // tslint:enable // eslint-enable diff --git a/src/models/documentSet.ts b/src/models/documentSet.ts index 8890fb9dee8..fd7d2bc1954 100644 --- a/src/models/documentSet.ts +++ b/src/models/documentSet.ts @@ -61,13 +61,13 @@ export interface DocumentSet extends AdditionalDataHolder, Parsable { welcomePageUrl?: string; } export function serializeDocumentSet(writer: SerializationWriter, documentSet: DocumentSet | undefined = {} as DocumentSet) : void { - writer.writeCollectionOfObjectValues("allowedContentTypes", documentSet.allowedContentTypes, ); - writer.writeCollectionOfObjectValues("defaultContents", documentSet.defaultContents, ); + writer.writeCollectionOfObjectValues("allowedContentTypes", documentSet.allowedContentTypes, serializeContentTypeInfo); + writer.writeCollectionOfObjectValues("defaultContents", documentSet.defaultContents, serializeDocumentSetContent); writer.writeStringValue("@odata.type", documentSet.odataType); writer.writeBooleanValue("propagateWelcomePageChanges", documentSet.propagateWelcomePageChanges); - writer.writeCollectionOfObjectValues("sharedColumns", documentSet.sharedColumns, ); + writer.writeCollectionOfObjectValues("sharedColumns", documentSet.sharedColumns, serializeColumnDefinition); writer.writeBooleanValue("shouldPrefixNameToFile", documentSet.shouldPrefixNameToFile); - writer.writeCollectionOfObjectValues("welcomePageColumns", documentSet.welcomePageColumns, ); + writer.writeCollectionOfObjectValues("welcomePageColumns", documentSet.welcomePageColumns, serializeColumnDefinition); writer.writeStringValue("welcomePageUrl", documentSet.welcomePageUrl); writer.writeAdditionalData(documentSet.additionalData); } diff --git a/src/models/documentSetContent.ts b/src/models/documentSetContent.ts index e69e10a247e..e0340fe14b1 100644 --- a/src/models/documentSetContent.ts +++ b/src/models/documentSetContent.ts @@ -39,7 +39,7 @@ export interface DocumentSetContent extends AdditionalDataHolder, Parsable { odataType?: string; } export function serializeDocumentSetContent(writer: SerializationWriter, documentSetContent: DocumentSetContent | undefined = {} as DocumentSetContent) : void { - writer.writeObjectValue("contentType", documentSetContent.contentType, ); + writer.writeObjectValue("contentType", documentSetContent.contentType, serializeContentTypeInfo); writer.writeStringValue("fileName", documentSetContent.fileName); writer.writeStringValue("folderName", documentSetContent.folderName); writer.writeStringValue("@odata.type", documentSetContent.odataType); diff --git a/src/models/documentSetVersion.ts b/src/models/documentSetVersion.ts index 1fda57ba045..aca9326751c 100644 --- a/src/models/documentSetVersion.ts +++ b/src/models/documentSetVersion.ts @@ -45,9 +45,9 @@ export interface DocumentSetVersion extends ListItemVersion, Parsable { export function serializeDocumentSetVersion(writer: SerializationWriter, documentSetVersion: DocumentSetVersion | undefined = {} as DocumentSetVersion) : void { serializeListItemVersion(writer, documentSetVersion) writer.writeStringValue("comment", documentSetVersion.comment); - writer.writeObjectValue("createdBy", documentSetVersion.createdBy, ); + writer.writeObjectValue("createdBy", documentSetVersion.createdBy, serializeIdentitySet); writer.writeDateValue("createdDateTime", documentSetVersion.createdDateTime); - writer.writeCollectionOfObjectValues("items", documentSetVersion.items, ); + writer.writeCollectionOfObjectValues("items", documentSetVersion.items, serializeDocumentSetVersionItem); writer.writeBooleanValue("shouldCaptureMinorVersion", documentSetVersion.shouldCaptureMinorVersion); } // tslint:enable diff --git a/src/models/documentSetVersionCollectionResponse.ts b/src/models/documentSetVersionCollectionResponse.ts index 5c9c471206e..7cf14af6c8f 100644 --- a/src/models/documentSetVersionCollectionResponse.ts +++ b/src/models/documentSetVersionCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DocumentSetVersionCollectionResponse extends BaseCollectionPagi } export function serializeDocumentSetVersionCollectionResponse(writer: SerializationWriter, documentSetVersionCollectionResponse: DocumentSetVersionCollectionResponse | undefined = {} as DocumentSetVersionCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, documentSetVersionCollectionResponse) - writer.writeCollectionOfObjectValues("value", documentSetVersionCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", documentSetVersionCollectionResponse.value, serializeDocumentSetVersion); } // tslint:enable // eslint-enable diff --git a/src/models/domain.ts b/src/models/domain.ts index 81cdfdb5ca3..02cc4128a74 100644 --- a/src/models/domain.ts +++ b/src/models/domain.ts @@ -108,8 +108,8 @@ export function serializeDomain(writer: SerializationWriter, domain: Domain | un serializeEntity(writer, domain) writer.writeStringValue("authenticationType", domain.authenticationType); writer.writeStringValue("availabilityStatus", domain.availabilityStatus); - writer.writeCollectionOfObjectValues("domainNameReferences", domain.domainNameReferences, ); - writer.writeCollectionOfObjectValues("federationConfiguration", domain.federationConfiguration, ); + writer.writeCollectionOfObjectValues("domainNameReferences", domain.domainNameReferences, serializeDirectoryObject); + writer.writeCollectionOfObjectValues("federationConfiguration", domain.federationConfiguration, serializeInternalDomainFederation); writer.writeBooleanValue("isAdminManaged", domain.isAdminManaged); writer.writeBooleanValue("isDefault", domain.isDefault); writer.writeBooleanValue("isInitial", domain.isInitial); @@ -119,10 +119,10 @@ export function serializeDomain(writer: SerializationWriter, domain: Domain | un writer.writeStringValue("model", domain.model); writer.writeNumberValue("passwordNotificationWindowInDays", domain.passwordNotificationWindowInDays); writer.writeNumberValue("passwordValidityPeriodInDays", domain.passwordValidityPeriodInDays); - writer.writeCollectionOfObjectValues("serviceConfigurationRecords", domain.serviceConfigurationRecords, ); - writer.writeObjectValue("state", domain.state, ); + writer.writeCollectionOfObjectValues("serviceConfigurationRecords", domain.serviceConfigurationRecords, serializeDomainDnsRecord); + writer.writeObjectValue("state", domain.state, serializeDomainState); writer.writeCollectionOfPrimitiveValues("supportedServices", domain.supportedServices); - writer.writeCollectionOfObjectValues("verificationDnsRecords", domain.verificationDnsRecords, ); + writer.writeCollectionOfObjectValues("verificationDnsRecords", domain.verificationDnsRecords, serializeDomainDnsRecord); } // tslint:enable // eslint-enable diff --git a/src/models/domainCollectionResponse.ts b/src/models/domainCollectionResponse.ts index cfad3e2e187..be52411626a 100644 --- a/src/models/domainCollectionResponse.ts +++ b/src/models/domainCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DomainCollectionResponse extends BaseCollectionPaginationCountR } export function serializeDomainCollectionResponse(writer: SerializationWriter, domainCollectionResponse: DomainCollectionResponse | undefined = {} as DomainCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, domainCollectionResponse) - writer.writeCollectionOfObjectValues("value", domainCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", domainCollectionResponse.value, serializeDomain); } // tslint:enable // eslint-enable diff --git a/src/models/domainDnsRecordCollectionResponse.ts b/src/models/domainDnsRecordCollectionResponse.ts index b6ced4ae4f3..4288f95d517 100644 --- a/src/models/domainDnsRecordCollectionResponse.ts +++ b/src/models/domainDnsRecordCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DomainDnsRecordCollectionResponse extends BaseCollectionPaginat } export function serializeDomainDnsRecordCollectionResponse(writer: SerializationWriter, domainDnsRecordCollectionResponse: DomainDnsRecordCollectionResponse | undefined = {} as DomainDnsRecordCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, domainDnsRecordCollectionResponse) - writer.writeCollectionOfObjectValues("value", domainDnsRecordCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", domainDnsRecordCollectionResponse.value, serializeDomainDnsRecord); } // tslint:enable // eslint-enable diff --git a/src/models/drive.ts b/src/models/drive.ts index 779fb16461e..4b733f6bbe4 100644 --- a/src/models/drive.ts +++ b/src/models/drive.ts @@ -78,17 +78,17 @@ export interface Drive extends BaseItem, Parsable { } export function serializeDrive(writer: SerializationWriter, drive: Drive | undefined = {} as Drive) : void { serializeBaseItem(writer, drive) - writer.writeCollectionOfObjectValues("bundles", drive.bundles, ); + writer.writeCollectionOfObjectValues("bundles", drive.bundles, serializeDriveItem); writer.writeStringValue("driveType", drive.driveType); - writer.writeCollectionOfObjectValues("following", drive.following, ); - writer.writeCollectionOfObjectValues("items", drive.items, ); - writer.writeObjectValue("list", drive.list, ); - writer.writeObjectValue("owner", drive.owner, ); - writer.writeObjectValue("quota", drive.quota, ); - writer.writeObjectValue("root", drive.root, ); - writer.writeObjectValue("sharePointIds", drive.sharePointIds, ); - writer.writeCollectionOfObjectValues("special", drive.special, ); - writer.writeObjectValue("system", drive.system, ); + writer.writeCollectionOfObjectValues("following", drive.following, serializeDriveItem); + writer.writeCollectionOfObjectValues("items", drive.items, serializeDriveItem); + writer.writeObjectValue("list", drive.list, serializeList); + writer.writeObjectValue("owner", drive.owner, serializeIdentitySet); + writer.writeObjectValue("quota", drive.quota, serializeQuota); + writer.writeObjectValue("root", drive.root, serializeDriveItem); + writer.writeObjectValue("sharePointIds", drive.sharePointIds, serializeSharepointIds); + writer.writeCollectionOfObjectValues("special", drive.special, serializeDriveItem); + writer.writeObjectValue("system", drive.system, serializeSystemFacet); } // tslint:enable // eslint-enable diff --git a/src/models/driveCollectionResponse.ts b/src/models/driveCollectionResponse.ts index 919af7d2827..d338d8201ab 100644 --- a/src/models/driveCollectionResponse.ts +++ b/src/models/driveCollectionResponse.ts @@ -23,7 +23,7 @@ export interface DriveCollectionResponse extends BaseCollectionPaginationCountRe } export function serializeDriveCollectionResponse(writer: SerializationWriter, driveCollectionResponse: DriveCollectionResponse | undefined = {} as DriveCollectionResponse) : void { serializeBaseCollectionPaginationCountResponse(writer, driveCollectionResponse) - writer.writeCollectionOfObjectValues("value", driveCollectionResponse.value, ); + writer.writeCollectionOfObjectValues("value", driveCollectionResponse.value, serializeDrive); } // tslint:enable // eslint-enable diff --git a/src/models/driveItem.ts b/src/models/driveItem.ts index e5ff7859903..19d62ab3c0a 100644 --- a/src/models/driveItem.ts +++ b/src/models/driveItem.ts @@ -204,38 +204,38 @@ export interface DriveItem extends BaseItem, Parsable { } export function serializeDriveItem(writer: SerializationWriter, driveItem: DriveItem | undefined = {} as DriveItem) : void { serializeBaseItem(writer, driveItem) - writer.writeObjectValue("analytics", driveItem.analytics, ); - writer.writeObjectValue