{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Node.js client library 3.16.0 changelog","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"nodejs-client-library-3160-changelog","__idx":0},"children":["Node.js client library 3.16.0 changelog"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"objectqueriesapi","__idx":1},"children":["ObjectQueriesApi"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Changed supported expands for Query CommitmentAssociatedItem by key from ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["commitment,account"]}," to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["commitment,invoiceowner"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Changed supported expands for Query CommitmentAssociatedItems from ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["commitment,account"]}," to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["commitment,invoiceowner"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Changed supported expands for Query Commitment by key from ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["account,commitmentschedules,commitmentschedules.commitmentperiods,commitmentassociatedaccounts,commitmentassociateditems,commitmentassociateditems.account"]}," to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["commitmentowner,account,commitmentschedules,commitmentschedules.commitmentperiods,commitmentassociatedaccounts,commitmentassociatedaccounts.account,commitmentassociateditems,commitmentassociateditems.invoiceowner,commitmentschedules.prepaymentdefinitions,commitmentschedules.commitmentperiods.prepayments"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Changed supported expands for Query CommitmentPeriod by key from ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["account,commitmenttransactions"]}," to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["account,commitmenttransactions,prepayments"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Changed supported expands for Query CommitmentPeriods from ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["account,commitmenttransactions"]}," to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["account,commitmenttransactions,prepayments"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Changed supported expands for Query CommitmentSchedule by key from ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["commitmentperiods"]}," to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["commitmentperiods,prepaymentdefinitions,commitmentperiods.prepayments"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Changed supported expands for Query CommitmentSchedules from ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["commitmentperiods"]}," to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["commitmentperiods,prepaymentdefinitions,commitmentperiods.prepayments"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Changed supported expands for Query Commitments from ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["account,commitmentschedules,commitmentschedules.commitmentperiods,commitmentassociatedaccounts,commitmentassociateditems,commitmentassociateditems.account"]}," to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["commitmentowner,account,commitmentschedules,commitmentschedules.commitmentperiods,commitmentassociatedaccounts,commitmentassociatedaccounts.account,commitmentassociateditems,commitmentassociateditems.invoiceowner,commitmentschedules.prepaymentdefinitions,commitmentschedules.commitmentperiods.prepayments"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new method queryBundleByKeyWithHttpInfo."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new method queryBundleByKey."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new method queryBundlesWithHttpInfo."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new method queryBundles."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new method queryPrepaymentByKeyWithHttpInfo."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new method queryPrepaymentByKey."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new method queryPrepaymentDefinitionByKeyWithHttpInfo."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new method queryPrepaymentDefinitionByKey."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new method queryPrepaymentDefinitionsWithHttpInfo."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new method queryPrepaymentDefinitions."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new method queryPrepaymentsWithHttpInfo."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new method queryPrepayments."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"index","__idx":2},"children":["index"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["RemovedClass: ExpandedInvoiceScheduleBooking"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["NewClass: CommitmentPrepaymentType"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["NewClass: ExpandedBundle"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["NewClass: ExpandedPrepayment"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["NewClass: ExpandedPrepaymentDefinition"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["NewClass: PrepaymentDefinition"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["NewClass: PrepaymentFrequency"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["NewClass: PrepaymentTypeEnum"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["NewClass: QueryBundlesResponse"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["NewClass: QueryPrepaymentDefinitionsResponse"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["NewClass: QueryPrepaymentsResponse"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"billingdocumentitemprocessingtype","__idx":3},"children":["BillingDocumentItemProcessingType"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["New enum value ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PrepaymentBilling"]}," added."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["New enum value ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PrepaymentApplication"]}," added."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"commitmentbaseattributes","__idx":4},"children":["CommitmentBaseAttributes"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added a new import for CommitmentPrepaymentType."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added a new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["prepaymentType"]}," of type CommitmentPrepaymentType to the CommitmentBaseAttributes class."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"commitmentinput","__idx":5},"children":["CommitmentInput"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added a new import for CommitmentPrepaymentType."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added a new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["prepaymentType"]}," to the CommitmentInput class."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added a new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["prepaymentType"]}," to the CommitmentBaseAttributes class."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"commitmentoutput","__idx":6},"children":["CommitmentOutput"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new import for CommitmentPrepaymentType."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["prepaymentType"]}," to CommitmentOutput class."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"commitmentoutputschedulesinner","__idx":7},"children":["CommitmentOutputSchedulesInner"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added a new import for PrepaymentDefinition."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added a new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["prepaymentDefinition"]}," of type PrepaymentDefinition to the CommitmentOutputSchedulesInner model."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Included validation for the new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["prepaymentDefinition"]}," in the validateJSON method."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"commitmentscheduleattributes","__idx":8},"children":["CommitmentScheduleAttributes"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added a new import for PrepaymentDefinition."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added a new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["prepaymentDefinition"]}," of type ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PrepaymentDefinition"]}," to the CommitmentScheduleAttributes model."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added validation for the new optional field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["prepaymentDefinition"]},"."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"commitmentscheduleinput","__idx":9},"children":["CommitmentScheduleInput"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added a new import for PrepaymentDefinition."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added a new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["prepaymentDefinition"]}," to the CommitmentScheduleInput class."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added validation for the new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["prepaymentDefinition"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added a new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["prepaymentDefinition"]}," to the CommitmentScheduleAttributes interface."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"commitmentscheduleoutput","__idx":10},"children":["CommitmentScheduleOutput"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added a new import for PrepaymentDefinition."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added a new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["prepaymentDefinition"]}," to the CommitmentScheduleOutput class."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added validation for the optional field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["prepaymentDefinition"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added a new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["prepaymentDefinition"]}," to the CommitmentScheduleAttributes class."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"expandedaccount","__idx":11},"children":["ExpandedAccount"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["creditMemoTemplateId"]}," of type String to the ExpandedAccount class."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["debitMemoTemplateId"]}," of type String to the ExpandedAccount class."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"expandedcommitment","__idx":12},"children":["ExpandedCommitment"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["commitmentOwnerId"]}," of type String."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["commitmentOwnerNumber"]}," of type String."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cancellationReason"]}," of type String."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cancellationEffectiveDate"]}," of type String."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cancellationPolicy"]}," of type String."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["organizationId"]}," of type String."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["prepaymentType"]}," of type String."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["commitmentOwner"]}," of type module:model/ExpandedAccount."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"expandedcommitmentassociatedaccount","__idx":13},"children":["ExpandedCommitmentAssociatedAccount"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["organizationId"]}," of type String to the class/model."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"expandedcommitmentassociateditem","__idx":14},"children":["ExpandedCommitmentAssociatedItem"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new import for ExpandedAccount."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["organizationId"]}," of type String."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["invoiceOwner"]}," of type ExpandedAccount."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"expandedcommitmentperiod","__idx":15},"children":["ExpandedCommitmentPeriod"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new import: ExpandedPrepayment."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new field: amount of type Number."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new field: committedAmount of type Number."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new field: organizationId of type String."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new field: prepayments of type Array.",{"$$mdtype":"Tag","name":"a","attributes":{"href":"module:model/ExpandedPrepayment"},"children":["module:model/ExpandedPrepayment"]},"."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"expandedcommitmentschedule","__idx":16},"children":["ExpandedCommitmentSchedule"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new import for ExpandedPrepaymentDefinition."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["organizationId"]}," of type String to the ExpandedCommitmentSchedule model."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["prepaymentDefinitions"]}," of type Array.",{"$$mdtype":"Tag","name":"a","attributes":{"href":"module:model/ExpandedPrepaymentDefinition"},"children":["module:model/ExpandedPrepaymentDefinition"]}," to the ExpandedCommitmentSchedule model."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"expandedcommitmenttransaction","__idx":17},"children":["ExpandedCommitmentTransaction"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["New field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["organizationId"]}," added to the class/model."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"expandedcreditmemoitem","__idx":18},"children":["ExpandedCreditMemoItem"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new fields: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["soldToContactSnapshotId"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["billToContactSnapshotId"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["shipToContactSnapshotId"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["invoiceSchedule"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["invoiceScheduleItem"]},"."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"expandedcredittaxationitem","__idx":19},"children":["ExpandedCreditTaxationItem"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["journalEntryId"]}," to the class ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ExpandedCreditTaxationItem"]},"."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"expandedinvoice","__idx":20},"children":["ExpandedInvoice"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new Boolean field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["isSplit"]}," to the ExpandedInvoice class."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"expandedinvoiceitem","__idx":21},"children":["ExpandedInvoiceItem"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new import: ExpandedInvoiceSchedule"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new import: ExpandedInvoiceScheduleItem"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new fields: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["invoiceSchedule"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["invoiceScheduleItem"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"expandedinvoiceschedule","__idx":22},"children":["ExpandedInvoiceSchedule"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Removed fields: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["invoiceScheduleItems"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["invoiceScheduleBookings"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Removed imports: ExpandedInvoiceScheduleBooking, ExpandedInvoiceScheduleItem"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"expandedinvoiceschedulebooking","__idx":23},"children":["ExpandedInvoiceScheduleBooking"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The class ExpandedInvoiceScheduleBooking has been removed."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The fields ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["createdById"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["createdDate"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["updatedById"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["updatedDate"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["invoiceScheduleId"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["orderId"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["orderNumber"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["subscriptionId"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["subscriptionNumber"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["chargeNumbers"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["order"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["subscription"]}," have been removed."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The methods ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fromObject"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["constructFromObject"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["validateJSON"]},", and the constructor for ExpandedInvoiceScheduleBooking have been removed."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"expandedinvoicescheduleitem","__idx":24},"children":["ExpandedInvoiceScheduleItem"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Removed fields: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["invoice"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["creditMemo"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"expandedpaymentmethod","__idx":25},"children":["ExpandedPaymentMethod"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cardBrand"]}," of type String."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cardClass"]}," of type String."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cardProductType"]}," of type String."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cardIssuingBank"]}," of type String."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cardIssuingCountry"]}," of type String."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"expandedpaymentrun","__idx":26},"children":["ExpandedPaymentRun"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Field type change: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["runTime"]}," changed from ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Number"]}," to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["String"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["New fields added: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["accountId"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["batch"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["billingCycleDay"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["currency"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["paymentGatewayId"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["billingRunId"]},"."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"expandedproduct","__idx":27},"children":["ExpandedProduct"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["productType"]}," of type String to the ExpandedProduct class."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bundleConfig"]}," of type String to the ExpandedProduct class."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"expandedproductrateplancharge","__idx":28},"children":["ExpandedProductRatePlanCharge"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["optional"]}," of type Boolean was added."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"expandedrateplancharge","__idx":29},"children":["ExpandedRatePlanCharge"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Field: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["accountReceivableAccountingCodeId"]},", TypeChange: String to Number"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Field: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["deferredRevenueAccountingCodeId"]},", TypeChange: String to Number"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Field: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["recognizedRevenueAccountingCodeId"]},", TypeChange: String to Number"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Field: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["prepaidUOM"]},", TypeChange: String to Number"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Field: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["drawdownUom"]},", TypeChange: String to Number"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Field: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["percentage"]},", Type: Number"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Field: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["maximumAmount"]},", Type: Number"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Field: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["minimumAmount"]},", Type: Number"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Field: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["eligibleAccountConditions"]},", Type: String"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Field: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["eligibleChargeConditions"]},", Type: String"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"getcommitmentoutput","__idx":30},"children":["GetCommitmentOutput"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added a new import for CommitmentPrepaymentType."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added a new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["prepaymentType"]}," to the GetCommitmentOutput class."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added a new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["prepaymentType"]}," to the CommitmentBaseAttributes class."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"getcommitmentresponse","__idx":31},"children":["GetCommitmentResponse"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added a new import for PrepaymentTypeEnum."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added a new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["prepaymentType"]}," of type PrepaymentTypeEnum to the GetCommitmentResponse class."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"invoiceitempreviewresultprocessingtype","__idx":32},"children":["InvoiceItemPreviewResultProcessingType"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["New enum value ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PrepaymentBilling"]}," added."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["New enum value ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PrepaymentApplication"]}," added."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"productrateplan","__idx":33},"children":["ProductRatePlan"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Updated the import from ProductRatePlanCharge to ProductRatePlanChargeRest."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Updated the item structure of the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["productRatePlanCharges"]}," array property."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"upsertcommitmentinput","__idx":34},"children":["UpsertCommitmentInput"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added a new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["prepaymentType"]}," of type ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CommitmentPrepaymentType"]}," to the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["UpsertCommitmentInput"]}," model."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"upsertcommitmentscheduleinput","__idx":35},"children":["UpsertCommitmentScheduleInput"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["New field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["prepaymentDefinition"]}," of type ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["module:model/PrepaymentDefinition"]}," added to UpsertCommitmentScheduleInput."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"upsertcreatecommitmentinput","__idx":36},"children":["UpsertCreateCommitmentInput"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added a new import for CommitmentPrepaymentType."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added a new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["prepaymentType"]}," of type CommitmentPrepaymentType to the UpsertCreateCommitmentInput class."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added a new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["prepaymentType"]}," of type CommitmentPrepaymentType to the CommitmentInput class."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"upsertcreatecommitmentinputallofschedules","__idx":37},"children":["UpsertCreateCommitmentInputAllOfSchedules"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added a new import for PrepaymentDefinition."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added a new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["prepaymentDefinition"]}," of type PrepaymentDefinition to the UpsertCreateCommitmentInputAllOfSchedules class."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added validation for the optional field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["prepaymentDefinition"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added a new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["prepaymentDefinition"]}," of type PrepaymentDefinition to the CommitmentScheduleInput class."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"upsertcreatecommitmentscheduleinput","__idx":38},"children":["UpsertCreateCommitmentScheduleInput"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added a new import for PrepaymentDefinition."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added a new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["prepaymentDefinition"]}," to the UpsertCreateCommitmentScheduleInput class."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added validation for the new optional field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["prepaymentDefinition"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added a new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["prepaymentDefinition"]}," to the CommitmentScheduleInput class."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"upsertupdatecommitmentinput","__idx":39},"children":["UpsertUpdateCommitmentInput"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added a new import for CommitmentPrepaymentType."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added a new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["prepaymentType"]}," of type CommitmentPrepaymentType to the UpsertUpdateCommitmentInput class."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"upsertupdatecommitmentscheduleinput","__idx":40},"children":["UpsertUpdateCommitmentScheduleInput"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added a new import for PrepaymentDefinition."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Added a new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["prepaymentDefinition"]}," of type PrepaymentDefinition to the UpsertUpdateCommitmentScheduleInput model."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Included validation for the new ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["prepaymentDefinition"]}," field in the validateJSON method."]}]}]},"headings":[{"value":"Node.js client library 3.16.0 changelog","id":"nodejs-client-library-3160-changelog","depth":1},{"value":"ObjectQueriesApi","id":"objectqueriesapi","depth":2},{"value":"index","id":"index","depth":2},{"value":"BillingDocumentItemProcessingType","id":"billingdocumentitemprocessingtype","depth":2},{"value":"CommitmentBaseAttributes","id":"commitmentbaseattributes","depth":2},{"value":"CommitmentInput","id":"commitmentinput","depth":2},{"value":"CommitmentOutput","id":"commitmentoutput","depth":2},{"value":"CommitmentOutputSchedulesInner","id":"commitmentoutputschedulesinner","depth":2},{"value":"CommitmentScheduleAttributes","id":"commitmentscheduleattributes","depth":2},{"value":"CommitmentScheduleInput","id":"commitmentscheduleinput","depth":2},{"value":"CommitmentScheduleOutput","id":"commitmentscheduleoutput","depth":2},{"value":"ExpandedAccount","id":"expandedaccount","depth":2},{"value":"ExpandedCommitment","id":"expandedcommitment","depth":2},{"value":"ExpandedCommitmentAssociatedAccount","id":"expandedcommitmentassociatedaccount","depth":2},{"value":"ExpandedCommitmentAssociatedItem","id":"expandedcommitmentassociateditem","depth":2},{"value":"ExpandedCommitmentPeriod","id":"expandedcommitmentperiod","depth":2},{"value":"ExpandedCommitmentSchedule","id":"expandedcommitmentschedule","depth":2},{"value":"ExpandedCommitmentTransaction","id":"expandedcommitmenttransaction","depth":2},{"value":"ExpandedCreditMemoItem","id":"expandedcreditmemoitem","depth":2},{"value":"ExpandedCreditTaxationItem","id":"expandedcredittaxationitem","depth":2},{"value":"ExpandedInvoice","id":"expandedinvoice","depth":2},{"value":"ExpandedInvoiceItem","id":"expandedinvoiceitem","depth":2},{"value":"ExpandedInvoiceSchedule","id":"expandedinvoiceschedule","depth":2},{"value":"ExpandedInvoiceScheduleBooking","id":"expandedinvoiceschedulebooking","depth":2},{"value":"ExpandedInvoiceScheduleItem","id":"expandedinvoicescheduleitem","depth":2},{"value":"ExpandedPaymentMethod","id":"expandedpaymentmethod","depth":2},{"value":"ExpandedPaymentRun","id":"expandedpaymentrun","depth":2},{"value":"ExpandedProduct","id":"expandedproduct","depth":2},{"value":"ExpandedProductRatePlanCharge","id":"expandedproductrateplancharge","depth":2},{"value":"ExpandedRatePlanCharge","id":"expandedrateplancharge","depth":2},{"value":"GetCommitmentOutput","id":"getcommitmentoutput","depth":2},{"value":"GetCommitmentResponse","id":"getcommitmentresponse","depth":2},{"value":"InvoiceItemPreviewResultProcessingType","id":"invoiceitempreviewresultprocessingtype","depth":2},{"value":"ProductRatePlan","id":"productrateplan","depth":2},{"value":"UpsertCommitmentInput","id":"upsertcommitmentinput","depth":2},{"value":"UpsertCommitmentScheduleInput","id":"upsertcommitmentscheduleinput","depth":2},{"value":"UpsertCreateCommitmentInput","id":"upsertcreatecommitmentinput","depth":2},{"value":"UpsertCreateCommitmentInputAllOfSchedules","id":"upsertcreatecommitmentinputallofschedules","depth":2},{"value":"UpsertCreateCommitmentScheduleInput","id":"upsertcreatecommitmentscheduleinput","depth":2},{"value":"UpsertUpdateCommitmentInput","id":"upsertupdatecommitmentinput","depth":2},{"value":"UpsertUpdateCommitmentScheduleInput","id":"upsertupdatecommitmentscheduleinput","depth":2}],"frontmatter":{"markdown":{"toc":{"hide":false}},"seo":{"title":"Node.js client library 3.16.0 changelog"}},"lastModified":"2026-04-01T01:19:53.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/sdk-changelogs/nodejs/changelog-3160","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}