nxus-qbd 0.3.2 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -72,7 +72,7 @@ export type Account = {
72
72
  * Whether the account is active (default: true)
73
73
  */
74
74
  isActive?: boolean;
75
- customFields?: Array<QbdDataExt> | null;
75
+ customFields?: Array<QbdDataExt>;
76
76
  };
77
77
  /**
78
78
  * DTO representing Account Tax Line Information.
@@ -86,7 +86,7 @@ export type AccountTaxLineInfo = {
86
86
  updatedAt: string;
87
87
  revisionNumber: string;
88
88
  isActive?: boolean;
89
- customFields?: Array<QbdDataExt> | null;
89
+ customFields?: Array<QbdDataExt>;
90
90
  };
91
91
  /**
92
92
  * Defines the valid Account Types for QuickBooks Desktop.
@@ -241,11 +241,11 @@ export type ApplicableCredit = {
241
241
  account?: QbdRef | null;
242
242
  hasValidLineItems?: boolean;
243
243
  externalId?: string | null;
244
- linkedTransactions?: Array<LinkedTransaction> | null;
245
- expenseLines?: Array<ExpenseLine> | null;
246
- itemLines?: Array<ItemLine> | null;
247
- itemGroupLines?: Array<ItemGroupLine> | null;
248
- customFields?: Array<QbdDataExt> | null;
244
+ linkedTransactions?: Array<LinkedTransaction>;
245
+ expenseLines?: Array<ExpenseLine>;
246
+ itemLines?: Array<ItemLine>;
247
+ itemGroupLines?: Array<ItemGroupLine>;
248
+ customFields?: Array<QbdDataExt>;
249
249
  };
250
250
  /**
251
251
  * Request model for AppliedToTxn line items.
@@ -422,11 +422,11 @@ export type ArRefundCreditCard = {
422
422
  amountInHomeCurrency?: string | null;
423
423
  hasValidLineItems?: boolean;
424
424
  externalId?: string | null;
425
- linkedTransactions?: Array<LinkedTransaction> | null;
426
- expenseLines?: Array<ExpenseLine> | null;
427
- itemLines?: Array<ItemLine> | null;
428
- itemGroupLines?: Array<ItemGroupLine> | null;
429
- customFields?: Array<QbdDataExt> | null;
425
+ linkedTransactions?: Array<LinkedTransaction>;
426
+ expenseLines?: Array<ExpenseLine>;
427
+ itemLines?: Array<ItemLine>;
428
+ itemGroupLines?: Array<ItemGroupLine>;
429
+ customFields?: Array<QbdDataExt>;
430
430
  };
431
431
  /**
432
432
  * A short-lived auth session containing the URL to send your user to
@@ -489,7 +489,7 @@ export type BarCode = {
489
489
  */
490
490
  listType?: string | null;
491
491
  isActive?: boolean;
492
- customFields?: Array<QbdDataExt> | null;
492
+ customFields?: Array<QbdDataExt>;
493
493
  };
494
494
  /**
495
495
  * Contains optional BarCode settings for SpecialItemAdd.
@@ -1878,19 +1878,19 @@ export type Bill = {
1878
1878
  account?: QbdRef | null;
1879
1879
  hasValidLineItems?: boolean;
1880
1880
  externalId?: string | null;
1881
- linkedTransactions?: Array<LinkedTransaction> | null;
1881
+ linkedTransactions?: Array<LinkedTransaction>;
1882
1882
  /**
1883
1883
  * Expense line items for the bill.
1884
1884
  * At least one expense line or item line is required.
1885
1885
  */
1886
- expenseLines?: Array<ExpenseLine> | null;
1886
+ expenseLines?: Array<ExpenseLine>;
1887
1887
  /**
1888
1888
  * Item line items for the bill (for inventory items).
1889
1889
  */
1890
- itemLines?: Array<ItemLine> | null;
1891
- itemGroupLines?: Array<ItemGroupLine> | null;
1890
+ itemLines?: Array<ItemLine>;
1891
+ itemGroupLines?: Array<ItemGroupLine>;
1892
1892
  openAmount?: number | null;
1893
- customFields?: Array<QbdDataExt> | null;
1893
+ customFields?: Array<QbdDataExt>;
1894
1894
  };
1895
1895
  /**
1896
1896
  * A list object representing a billing rate, which is a custom price that overrides the standard price set for a service item, based on the entity (employee or vendor) that does the work [1, 2].
@@ -1919,7 +1919,7 @@ export type BillingRate = {
1919
1919
  */
1920
1920
  billingRatePerItems?: Array<BillingRatePerItem> | null;
1921
1921
  isActive?: boolean;
1922
- customFields?: Array<QbdDataExt> | null;
1922
+ customFields?: Array<QbdDataExt>;
1923
1923
  };
1924
1924
  /**
1925
1925
  * Represents a billing rate override for a specific service item.
@@ -1977,7 +1977,7 @@ export type BillPaymentOrCredit = {
1977
1977
  revisionNumber: string;
1978
1978
  bill?: PayableBill | null;
1979
1979
  credit?: ApplicableCredit | null;
1980
- customFields?: Array<QbdDataExt> | null;
1980
+ customFields?: Array<QbdDataExt>;
1981
1981
  };
1982
1982
  /**
1983
1983
  * Data Transfer Object for BuildAssemblyRet.
@@ -2039,11 +2039,11 @@ export type BuildAssembly = {
2039
2039
  amountInHomeCurrency?: string | null;
2040
2040
  hasValidLineItems?: boolean;
2041
2041
  externalId?: string | null;
2042
- linkedTransactions?: Array<LinkedTransaction> | null;
2043
- expenseLines?: Array<ExpenseLine> | null;
2044
- itemLines?: Array<ItemLine> | null;
2045
- itemGroupLines?: Array<ItemGroupLine> | null;
2046
- customFields?: Array<QbdDataExt> | null;
2042
+ linkedTransactions?: Array<LinkedTransaction>;
2043
+ expenseLines?: Array<ExpenseLine>;
2044
+ itemLines?: Array<ItemLine>;
2045
+ itemGroupLines?: Array<ItemGroupLine>;
2046
+ customFields?: Array<QbdDataExt>;
2047
2047
  };
2048
2048
  /**
2049
2049
  * Defines a request for "cash back" information to be included in the Deposit transaction.
@@ -2142,11 +2142,11 @@ export type Charge = {
2142
2142
  amountInHomeCurrency?: string | null;
2143
2143
  hasValidLineItems?: boolean;
2144
2144
  externalId?: string | null;
2145
- linkedTransactions?: Array<LinkedTransaction> | null;
2146
- expenseLines?: Array<ExpenseLine> | null;
2147
- itemLines?: Array<ItemLine> | null;
2148
- itemGroupLines?: Array<ItemGroupLine> | null;
2149
- customFields?: Array<QbdDataExt> | null;
2145
+ linkedTransactions?: Array<LinkedTransaction>;
2146
+ expenseLines?: Array<ExpenseLine>;
2147
+ itemLines?: Array<ItemLine>;
2148
+ itemGroupLines?: Array<ItemGroupLine>;
2149
+ customFields?: Array<QbdDataExt>;
2150
2150
  };
2151
2151
  /**
2152
2152
  * Data transfer object for check payment information
@@ -2191,20 +2191,20 @@ export type Check = {
2191
2191
  amountInHomeCurrency?: string | null;
2192
2192
  hasValidLineItems?: boolean;
2193
2193
  externalId?: string | null;
2194
- linkedTransactions?: Array<LinkedTransaction> | null;
2194
+ linkedTransactions?: Array<LinkedTransaction>;
2195
2195
  /**
2196
2196
  * Expense lines for the check (at least one line item required)
2197
2197
  */
2198
- expenseLines?: Array<ExpenseLine> | null;
2198
+ expenseLines?: Array<ExpenseLine>;
2199
2199
  /**
2200
2200
  * Item lines for the check
2201
2201
  */
2202
- itemLines?: Array<ItemLine> | null;
2202
+ itemLines?: Array<ItemLine>;
2203
2203
  /**
2204
2204
  * Item group lines for the check
2205
2205
  */
2206
- itemGroupLines?: Array<ItemGroupLine> | null;
2207
- customFields?: Array<QbdDataExt> | null;
2206
+ itemGroupLines?: Array<ItemGroupLine>;
2207
+ customFields?: Array<QbdDataExt>;
2208
2208
  };
2209
2209
  /**
2210
2210
  * Request model for creating a new Check transaction to pay bills.
@@ -2275,11 +2275,11 @@ export type CheckBill = {
2275
2275
  amountInHomeCurrency?: string | null;
2276
2276
  hasValidLineItems?: boolean;
2277
2277
  externalId?: string | null;
2278
- linkedTransactions?: Array<LinkedTransaction> | null;
2279
- expenseLines?: Array<ExpenseLine> | null;
2280
- itemLines?: Array<ItemLine> | null;
2281
- itemGroupLines?: Array<ItemGroupLine> | null;
2282
- customFields?: Array<QbdDataExt> | null;
2278
+ linkedTransactions?: Array<LinkedTransaction>;
2279
+ expenseLines?: Array<ExpenseLine>;
2280
+ itemLines?: Array<ItemLine>;
2281
+ itemGroupLines?: Array<ItemGroupLine>;
2282
+ customFields?: Array<QbdDataExt>;
2283
2283
  };
2284
2284
  /**
2285
2285
  * Classes can be used to separate transactions into meaningful categories.
@@ -2310,7 +2310,7 @@ export type Class = {
2310
2310
  * (Optional) Whether the class is active. Defaults to true.
2311
2311
  */
2312
2312
  isActive?: boolean;
2313
- customFields?: Array<QbdDataExt> | null;
2313
+ customFields?: Array<QbdDataExt>;
2314
2314
  };
2315
2315
  /**
2316
2316
  * ComponentLineItems represent the "Bill of Materials" (BOM) at the moment the build was created.
@@ -2451,7 +2451,7 @@ export type Contact = {
2451
2451
  */
2452
2452
  customContactFields?: Array<CustomContactField> | null;
2453
2453
  isActive?: boolean;
2454
- customFields?: Array<QbdDataExt> | null;
2454
+ customFields?: Array<QbdDataExt>;
2455
2455
  };
2456
2456
  /**
2457
2457
  * Request model for creating a new account.
@@ -5292,11 +5292,11 @@ export type CreditCardBill = {
5292
5292
  amountInHomeCurrency?: string | null;
5293
5293
  hasValidLineItems?: boolean;
5294
5294
  externalId?: string | null;
5295
- linkedTransactions?: Array<LinkedTransaction> | null;
5296
- expenseLines?: Array<ExpenseLine> | null;
5297
- itemLines?: Array<ItemLine> | null;
5298
- itemGroupLines?: Array<ItemGroupLine> | null;
5299
- customFields?: Array<QbdDataExt> | null;
5295
+ linkedTransactions?: Array<LinkedTransaction>;
5296
+ expenseLines?: Array<ExpenseLine>;
5297
+ itemLines?: Array<ItemLine>;
5298
+ itemGroupLines?: Array<ItemGroupLine>;
5299
+ customFields?: Array<QbdDataExt>;
5300
5300
  };
5301
5301
  /**
5302
5302
  * Represents a Credit Card Charge transaction.
@@ -5321,11 +5321,11 @@ export type CreditCardCharge = {
5321
5321
  amountInHomeCurrency?: string | null;
5322
5322
  hasValidLineItems?: boolean;
5323
5323
  externalId?: string | null;
5324
- linkedTransactions?: Array<LinkedTransaction> | null;
5325
- expenseLines?: Array<ExpenseLine> | null;
5326
- itemLines?: Array<ItemLine> | null;
5327
- itemGroupLines?: Array<ItemGroupLine> | null;
5328
- customFields?: Array<QbdDataExt> | null;
5324
+ linkedTransactions?: Array<LinkedTransaction>;
5325
+ expenseLines?: Array<ExpenseLine>;
5326
+ itemLines?: Array<ItemLine>;
5327
+ itemGroupLines?: Array<ItemGroupLine>;
5328
+ customFields?: Array<QbdDataExt>;
5329
5329
  };
5330
5330
  /**
5331
5331
  * DTO for a QuickBooks Credit Card Credit (Refund).
@@ -5367,22 +5367,22 @@ export type CreditCardCredit = {
5367
5367
  amountInHomeCurrency?: string | null;
5368
5368
  hasValidLineItems?: boolean;
5369
5369
  externalId?: string | null;
5370
- linkedTransactions?: Array<LinkedTransaction> | null;
5370
+ linkedTransactions?: Array<LinkedTransaction>;
5371
5371
  /**
5372
5372
  * Expense line items for the credit card credit.
5373
5373
  * At least one expense line or item line is required.
5374
5374
  */
5375
- expenseLines?: Array<ExpenseLine> | null;
5375
+ expenseLines?: Array<ExpenseLine>;
5376
5376
  /**
5377
5377
  * Item line items for the credit card credit (for inventory items).
5378
5378
  * At least one expense line or item line is required.
5379
5379
  */
5380
- itemLines?: Array<ItemLine> | null;
5380
+ itemLines?: Array<ItemLine>;
5381
5381
  /**
5382
5382
  * Item group line items for the credit card credit.
5383
5383
  */
5384
- itemGroupLines?: Array<ItemGroupLine> | null;
5385
- customFields?: Array<QbdDataExt> | null;
5384
+ itemGroupLines?: Array<ItemGroupLine>;
5385
+ customFields?: Array<QbdDataExt>;
5386
5386
  };
5387
5387
  /**
5388
5388
  * Represents credit card information. Used in the Customer Resource for storing credit card details excludes the last two lines.
@@ -5549,11 +5549,11 @@ export type CreditMemo = {
5549
5549
  account?: QbdRef | null;
5550
5550
  hasValidLineItems?: boolean;
5551
5551
  externalId?: string | null;
5552
- linkedTransactions?: Array<LinkedTransaction> | null;
5553
- expenseLines?: Array<ExpenseLine> | null;
5554
- itemLines?: Array<ItemLine> | null;
5555
- itemGroupLines?: Array<ItemGroupLine> | null;
5556
- customFields?: Array<QbdDataExt> | null;
5552
+ linkedTransactions?: Array<LinkedTransaction>;
5553
+ expenseLines?: Array<ExpenseLine>;
5554
+ itemLines?: Array<ItemLine>;
5555
+ itemGroupLines?: Array<ItemGroupLine>;
5556
+ customFields?: Array<QbdDataExt>;
5557
5557
  };
5558
5558
  /**
5559
5559
  * Represents a standard item line within a Credit Memo creation request.
@@ -5665,7 +5665,7 @@ export type Currency = {
5665
5665
  * (Optional) If false, this Currency is inactive. Default is true.
5666
5666
  */
5667
5667
  isActive?: boolean;
5668
- customFields?: Array<QbdDataExt> | null;
5668
+ customFields?: Array<QbdDataExt>;
5669
5669
  };
5670
5670
  /**
5671
5671
  * Represents the formatting rules for a currency.
@@ -5908,7 +5908,7 @@ export type Customer = {
5908
5908
  taxRegistrationNumber?: string | null;
5909
5909
  externalId?: string | null;
5910
5910
  isActive?: boolean;
5911
- customFields?: Array<QbdDataExt> | null;
5911
+ customFields?: Array<QbdDataExt>;
5912
5912
  };
5913
5913
  /**
5914
5914
  * Represents a Vendor Type DTO (VendorTypeRet).
@@ -5934,7 +5934,7 @@ export type CustomerType = {
5934
5934
  * (Optional) If false, this Customer Type is inactive. Default is true.
5935
5935
  */
5936
5936
  isActive?: boolean;
5937
- customFields?: Array<QbdDataExt> | null;
5937
+ customFields?: Array<QbdDataExt>;
5938
5938
  };
5939
5939
  /**
5940
5940
  * Represents a common data extension (custom field) for a create request.
@@ -5969,7 +5969,7 @@ export type DateDrivenTerm = {
5969
5969
  discountDayOfMonth?: number | null;
5970
5970
  discountPercntage?: number | null;
5971
5971
  isActive?: boolean;
5972
- customFields?: Array<QbdDataExt> | null;
5972
+ customFields?: Array<QbdDataExt>;
5973
5973
  };
5974
5974
  /**
5975
5975
  * DTO for a default unit setting.
@@ -6058,11 +6058,11 @@ export type Deposit = {
6058
6058
  amountInHomeCurrency?: string | null;
6059
6059
  hasValidLineItems?: boolean;
6060
6060
  externalId?: string | null;
6061
- linkedTransactions?: Array<LinkedTransaction> | null;
6062
- expenseLines?: Array<ExpenseLine> | null;
6063
- itemLines?: Array<ItemLine> | null;
6064
- itemGroupLines?: Array<ItemGroupLine> | null;
6065
- customFields?: Array<QbdDataExt> | null;
6061
+ linkedTransactions?: Array<LinkedTransaction>;
6062
+ expenseLines?: Array<ExpenseLine>;
6063
+ itemLines?: Array<ItemLine>;
6064
+ itemGroupLines?: Array<ItemGroupLine>;
6065
+ customFields?: Array<QbdDataExt>;
6066
6066
  };
6067
6067
  /**
6068
6068
  * Defines a single Deposit Line item to be added to the Deposit (uses discriminator pattern).
@@ -6223,7 +6223,7 @@ export type Employee = {
6223
6223
  * The employee's name (required). This is the display name in QuickBooks.
6224
6224
  */
6225
6225
  isActive?: boolean;
6226
- customFields?: Array<QbdDataExt> | null;
6226
+ customFields?: Array<QbdDataExt>;
6227
6227
  };
6228
6228
  /**
6229
6229
  * Employee address information.
@@ -6364,8 +6364,8 @@ export type Estimate = {
6364
6364
  account?: QbdRef | null;
6365
6365
  hasValidLineItems?: boolean;
6366
6366
  externalId?: string | null;
6367
- expenseLines?: Array<ExpenseLine> | null;
6368
- customFields?: Array<QbdDataExt> | null;
6367
+ expenseLines?: Array<ExpenseLine>;
6368
+ customFields?: Array<QbdDataExt>;
6369
6369
  };
6370
6370
  /**
6371
6371
  * Maps to EstimateLineGroupRet
@@ -6491,11 +6491,11 @@ export type InventoryAdjustment = {
6491
6491
  amountInHomeCurrency?: string | null;
6492
6492
  hasValidLineItems?: boolean;
6493
6493
  externalId?: string | null;
6494
- linkedTransactions?: Array<LinkedTransaction> | null;
6495
- expenseLines?: Array<ExpenseLine> | null;
6496
- itemLines?: Array<ItemLine> | null;
6497
- itemGroupLines?: Array<ItemGroupLine> | null;
6498
- customFields?: Array<QbdDataExt> | null;
6494
+ linkedTransactions?: Array<LinkedTransaction>;
6495
+ expenseLines?: Array<ExpenseLine>;
6496
+ itemLines?: Array<ItemLine>;
6497
+ itemGroupLines?: Array<ItemGroupLine>;
6498
+ customFields?: Array<QbdDataExt>;
6499
6499
  };
6500
6500
  /**
6501
6501
  * Represents a single line item for an Inventory Adjustment add operation.
@@ -6554,7 +6554,7 @@ export type InventoryItem = {
6554
6554
  description?: string | null;
6555
6555
  externalId?: string | null;
6556
6556
  isActive?: boolean;
6557
- customFields?: Array<QbdDataExt> | null;
6557
+ customFields?: Array<QbdDataExt>;
6558
6558
  };
6559
6559
  /**
6560
6560
  * Represents an Inventory Site DTO (InventorySiteRet).
@@ -6577,7 +6577,7 @@ export type InventorySite = {
6577
6577
  siteAddress?: Address | null;
6578
6578
  siteAddressBlock?: AddressBlock | null;
6579
6579
  isActive?: boolean;
6580
- customFields?: Array<QbdDataExt> | null;
6580
+ customFields?: Array<QbdDataExt>;
6581
6581
  };
6582
6582
  /**
6583
6583
  * Data transfer object for a customer invoice.
@@ -6665,17 +6665,17 @@ export type Invoice = {
6665
6665
  amountInHomeCurrency?: string | null;
6666
6666
  hasValidLineItems?: boolean;
6667
6667
  externalId?: string | null;
6668
- linkedTransactions?: Array<LinkedTransaction> | null;
6669
- expenseLines?: Array<ExpenseLine> | null;
6668
+ linkedTransactions?: Array<LinkedTransaction>;
6669
+ expenseLines?: Array<ExpenseLine>;
6670
6670
  /**
6671
6671
  * Item line items for the invoice.
6672
6672
  */
6673
- itemLines?: Array<ItemLine> | null;
6673
+ itemLines?: Array<ItemLine>;
6674
6674
  /**
6675
6675
  * Item group line items for the invoice.
6676
6676
  */
6677
- itemGroupLines?: Array<ItemGroupLine> | null;
6678
- customFields?: Array<QbdDataExt> | null;
6677
+ itemGroupLines?: Array<ItemGroupLine>;
6678
+ customFields?: Array<QbdDataExt>;
6679
6679
  };
6680
6680
  /**
6681
6681
  * Any line item on a purchase order, invoice, or estimate must be set up as an Item.
@@ -6732,7 +6732,7 @@ export type ItemDiscount = {
6732
6732
  description?: string | null;
6733
6733
  externalId?: string | null;
6734
6734
  isActive?: boolean;
6735
- customFields?: Array<QbdDataExt> | null;
6735
+ customFields?: Array<QbdDataExt>;
6736
6736
  };
6737
6737
  /**
6738
6738
  * A list object representing a **fixed asset item** in QuickBooks.
@@ -6820,7 +6820,7 @@ export type ItemFixedAsset = {
6820
6820
  description?: string | null;
6821
6821
  externalId?: string | null;
6822
6822
  isActive?: boolean;
6823
- customFields?: Array<QbdDataExt> | null;
6823
+ customFields?: Array<QbdDataExt>;
6824
6824
  };
6825
6825
  /**
6826
6826
  * Allows fast entry of a group of individual items that you often sell or purchase.
@@ -6845,7 +6845,7 @@ export type ItemGroup = {
6845
6845
  description?: string | null;
6846
6846
  externalId?: string | null;
6847
6847
  isActive?: boolean;
6848
- customFields?: Array<QbdDataExt> | null;
6848
+ customFields?: Array<QbdDataExt>;
6849
6849
  };
6850
6850
  /**
6851
6851
  * Item group line - for grouped items that expand into individual items
@@ -6924,7 +6924,7 @@ export type ItemInventoryAssembly = {
6924
6924
  description?: string | null;
6925
6925
  externalId?: string | null;
6926
6926
  isActive?: boolean;
6927
- customFields?: Array<QbdDataExt> | null;
6927
+ customFields?: Array<QbdDataExt>;
6928
6928
  };
6929
6929
  export type ItemInventoryAssemblyLine = {
6930
6930
  inventoryItem?: QbdRef | null;
@@ -6972,7 +6972,7 @@ export type ItemInventoryItem = {
6972
6972
  description?: string | null;
6973
6973
  externalId?: string | null;
6974
6974
  isActive?: boolean;
6975
- customFields?: Array<QbdDataExt> | null;
6975
+ customFields?: Array<QbdDataExt>;
6976
6976
  };
6977
6977
  /**
6978
6978
  * Specific object type for the Item.
@@ -7006,7 +7006,7 @@ export type ItemItemDiscount = {
7006
7006
  description?: string | null;
7007
7007
  externalId?: string | null;
7008
7008
  isActive?: boolean;
7009
- customFields?: Array<QbdDataExt> | null;
7009
+ customFields?: Array<QbdDataExt>;
7010
7010
  };
7011
7011
  /**
7012
7012
  * Specific object type for the Item.
@@ -7054,7 +7054,7 @@ export type ItemItemFixedAsset = {
7054
7054
  description?: string | null;
7055
7055
  externalId?: string | null;
7056
7056
  isActive?: boolean;
7057
- customFields?: Array<QbdDataExt> | null;
7057
+ customFields?: Array<QbdDataExt>;
7058
7058
  };
7059
7059
  /**
7060
7060
  * Specific object type for the Item.
@@ -7087,7 +7087,7 @@ export type ItemItemGroup = {
7087
7087
  description?: string | null;
7088
7088
  externalId?: string | null;
7089
7089
  isActive?: boolean;
7090
- customFields?: Array<QbdDataExt> | null;
7090
+ customFields?: Array<QbdDataExt>;
7091
7091
  };
7092
7092
  /**
7093
7093
  * Specific object type for the Item.
@@ -7137,7 +7137,7 @@ export type ItemItemInventoryAssembly = {
7137
7137
  description?: string | null;
7138
7138
  externalId?: string | null;
7139
7139
  isActive?: boolean;
7140
- customFields?: Array<QbdDataExt> | null;
7140
+ customFields?: Array<QbdDataExt>;
7141
7141
  };
7142
7142
  /**
7143
7143
  * Specific object type for the Item.
@@ -7181,7 +7181,7 @@ export type ItemItemNonInventory = {
7181
7181
  description?: string | null;
7182
7182
  externalId?: string | null;
7183
7183
  isActive?: boolean;
7184
- customFields?: Array<QbdDataExt> | null;
7184
+ customFields?: Array<QbdDataExt>;
7185
7185
  };
7186
7186
  /**
7187
7187
  * Specific object type for the Item.
@@ -7226,7 +7226,7 @@ export type ItemItemOtherCharge = {
7226
7226
  description?: string | null;
7227
7227
  externalId?: string | null;
7228
7228
  isActive?: boolean;
7229
- customFields?: Array<QbdDataExt> | null;
7229
+ customFields?: Array<QbdDataExt>;
7230
7230
  };
7231
7231
  /**
7232
7232
  * Specific object type for the Item.
@@ -7259,7 +7259,7 @@ export type ItemItemPayment = {
7259
7259
  description?: string | null;
7260
7260
  externalId?: string | null;
7261
7261
  isActive?: boolean;
7262
- customFields?: Array<QbdDataExt> | null;
7262
+ customFields?: Array<QbdDataExt>;
7263
7263
  };
7264
7264
  /**
7265
7265
  * Specific object type for the Item.
@@ -7293,7 +7293,7 @@ export type ItemItemSalesTax = {
7293
7293
  description?: string | null;
7294
7294
  externalId?: string | null;
7295
7295
  isActive?: boolean;
7296
- customFields?: Array<QbdDataExt> | null;
7296
+ customFields?: Array<QbdDataExt>;
7297
7297
  };
7298
7298
  /**
7299
7299
  * Sales-tax group item, is an item used for calculating two or more sales taxes grouped
@@ -7328,7 +7328,7 @@ export type ItemItemSalesTaxGroup = {
7328
7328
  description?: string | null;
7329
7329
  externalId?: string | null;
7330
7330
  isActive?: boolean;
7331
- customFields?: Array<QbdDataExt> | null;
7331
+ customFields?: Array<QbdDataExt>;
7332
7332
  };
7333
7333
  /**
7334
7334
  * Specific object type for the Item.
@@ -7367,7 +7367,7 @@ export type ItemItemSubtotal = {
7367
7367
  description?: string | null;
7368
7368
  externalId?: string | null;
7369
7369
  isActive?: boolean;
7370
- customFields?: Array<QbdDataExt> | null;
7370
+ customFields?: Array<QbdDataExt>;
7371
7371
  };
7372
7372
  /**
7373
7373
  * Specific object type for the Item.
@@ -7468,7 +7468,7 @@ export type ItemNonInventory = {
7468
7468
  description?: string | null;
7469
7469
  externalId?: string | null;
7470
7470
  isActive?: boolean;
7471
- customFields?: Array<QbdDataExt> | null;
7471
+ customFields?: Array<QbdDataExt>;
7472
7472
  };
7473
7473
  export type ItemNonInventorySalesAndPurchaseDetailsRequest = {
7474
7474
  salesDescription?: string | null;
@@ -7525,7 +7525,7 @@ export type ItemOtherCharge = {
7525
7525
  description?: string | null;
7526
7526
  externalId?: string | null;
7527
7527
  isActive?: boolean;
7528
- customFields?: Array<QbdDataExt> | null;
7528
+ customFields?: Array<QbdDataExt>;
7529
7529
  };
7530
7530
  export type ItemOtherChargeSalesAndPurchaseDetailsRequest = {
7531
7531
  salesDescription?: string | null;
@@ -7566,7 +7566,7 @@ export type ItemPayment = {
7566
7566
  description?: string | null;
7567
7567
  externalId?: string | null;
7568
7568
  isActive?: boolean;
7569
- customFields?: Array<QbdDataExt> | null;
7569
+ customFields?: Array<QbdDataExt>;
7570
7570
  };
7571
7571
  /**
7572
7572
  * Represents an Item Receipt transaction DTO.
@@ -7616,20 +7616,20 @@ export type ItemReceipt = {
7616
7616
  amountInHomeCurrency?: string | null;
7617
7617
  hasValidLineItems?: boolean;
7618
7618
  externalId?: string | null;
7619
- linkedTransactions?: Array<LinkedTransaction> | null;
7619
+ linkedTransactions?: Array<LinkedTransaction>;
7620
7620
  /**
7621
7621
  * Expense line items for the item receipt.
7622
7622
  */
7623
- expenseLines?: Array<ExpenseLine> | null;
7623
+ expenseLines?: Array<ExpenseLine>;
7624
7624
  /**
7625
7625
  * Item line items for the item receipt.
7626
7626
  */
7627
- itemLines?: Array<ItemLine> | null;
7627
+ itemLines?: Array<ItemLine>;
7628
7628
  /**
7629
7629
  * Item group line items for the item receipt.
7630
7630
  */
7631
- itemGroupLines?: Array<ItemGroupLine> | null;
7632
- customFields?: Array<QbdDataExt> | null;
7631
+ itemGroupLines?: Array<ItemGroupLine>;
7632
+ customFields?: Array<QbdDataExt>;
7633
7633
  };
7634
7634
  /**
7635
7635
  * Used to calculate a single sales tax.
@@ -7670,7 +7670,7 @@ export type ItemSalesTax = {
7670
7670
  * (Optional) Indicates whether the sales tax item is active.
7671
7671
  */
7672
7672
  isActive?: boolean;
7673
- customFields?: Array<QbdDataExt> | null;
7673
+ customFields?: Array<QbdDataExt>;
7674
7674
  };
7675
7675
  /**
7676
7676
  * Sales-tax group item, is an item used for calculating two or more sales taxes grouped
@@ -7704,7 +7704,7 @@ export type ItemSalesTaxGroup = {
7704
7704
  description?: string | null;
7705
7705
  externalId?: string | null;
7706
7706
  isActive?: boolean;
7707
- customFields?: Array<QbdDataExt> | null;
7707
+ customFields?: Array<QbdDataExt>;
7708
7708
  };
7709
7709
  /**
7710
7710
  * Services provided to or from others
@@ -7739,7 +7739,7 @@ export type ItemServiceItem = {
7739
7739
  description?: string | null;
7740
7740
  externalId?: string | null;
7741
7741
  isActive?: boolean;
7742
- customFields?: Array<QbdDataExt> | null;
7742
+ customFields?: Array<QbdDataExt>;
7743
7743
  };
7744
7744
  /**
7745
7745
  * Specific object type for the Item.
@@ -7778,7 +7778,7 @@ export type ItemSubtotal = {
7778
7778
  description?: string | null;
7779
7779
  externalId?: string | null;
7780
7780
  isActive?: boolean;
7781
- customFields?: Array<QbdDataExt> | null;
7781
+ customFields?: Array<QbdDataExt>;
7782
7782
  };
7783
7783
  /**
7784
7784
  * Represents a JournalEntry transaction.
@@ -7818,11 +7818,11 @@ export type JournalEntry = {
7818
7818
  amountInHomeCurrency?: string | null;
7819
7819
  hasValidLineItems?: boolean;
7820
7820
  externalId?: string | null;
7821
- linkedTransactions?: Array<LinkedTransaction> | null;
7822
- expenseLines?: Array<ExpenseLine> | null;
7823
- itemLines?: Array<ItemLine> | null;
7824
- itemGroupLines?: Array<ItemGroupLine> | null;
7825
- customFields?: Array<QbdDataExt> | null;
7821
+ linkedTransactions?: Array<LinkedTransaction>;
7822
+ expenseLines?: Array<ExpenseLine>;
7823
+ itemLines?: Array<ItemLine>;
7824
+ itemGroupLines?: Array<ItemGroupLine>;
7825
+ customFields?: Array<QbdDataExt>;
7826
7826
  };
7827
7827
  /**
7828
7828
  * Represents a single line (either debit or credit) in a JournalEntry.
@@ -8004,7 +8004,7 @@ export type OtherName = {
8004
8004
  accountNumber?: string | null;
8005
8005
  notes?: string | null;
8006
8006
  isActive?: boolean;
8007
- customFields?: Array<QbdDataExt> | null;
8007
+ customFields?: Array<QbdDataExt>;
8008
8008
  };
8009
8009
  /**
8010
8010
  * Represents an open bill that needs to be paid.
@@ -8033,11 +8033,11 @@ export type PayableBill = {
8033
8033
  amountInHomeCurrency?: string | null;
8034
8034
  hasValidLineItems?: boolean;
8035
8035
  externalId?: string | null;
8036
- linkedTransactions?: Array<LinkedTransaction> | null;
8037
- expenseLines?: Array<ExpenseLine> | null;
8038
- itemLines?: Array<ItemLine> | null;
8039
- itemGroupLines?: Array<ItemGroupLine> | null;
8040
- customFields?: Array<QbdDataExt> | null;
8036
+ linkedTransactions?: Array<LinkedTransaction>;
8037
+ expenseLines?: Array<ExpenseLine>;
8038
+ itemLines?: Array<ItemLine>;
8039
+ itemGroupLines?: Array<ItemGroupLine>;
8040
+ customFields?: Array<QbdDataExt>;
8041
8041
  };
8042
8042
  /**
8043
8043
  * DTO for the PaymentMethod list item.
@@ -8061,7 +8061,7 @@ export type PaymentMethod = {
8061
8061
  * Defaults to true if not specified.
8062
8062
  */
8063
8063
  isActive?: boolean;
8064
- customFields?: Array<QbdDataExt> | null;
8064
+ customFields?: Array<QbdDataExt>;
8065
8065
  };
8066
8066
  export declare enum PaymentStatus {
8067
8067
  UNKNOWN = "Unknown",
@@ -8098,7 +8098,7 @@ export type PayrollItemNonWage = {
8098
8098
  * (Optional) Indicates whether the payroll item is active.
8099
8099
  */
8100
8100
  isActive?: boolean;
8101
- customFields?: Array<QbdDataExt> | null;
8101
+ customFields?: Array<QbdDataExt>;
8102
8102
  };
8103
8103
  /**
8104
8104
  * Request record for creating a new PayrollItemWage in QuickBooks.
@@ -8126,7 +8126,7 @@ export type PayrollItemWage = {
8126
8126
  * (Optional) Indicates whether the payroll item is active.
8127
8127
  */
8128
8128
  isActive?: boolean;
8129
- customFields?: Array<QbdDataExt> | null;
8129
+ customFields?: Array<QbdDataExt>;
8130
8130
  };
8131
8131
  /**
8132
8132
  * Response DTO for PriceLevel entity.
@@ -8162,7 +8162,7 @@ export type PriceLevel = {
8162
8162
  * (Optional) Whether the price level is active. Defaults to true.
8163
8163
  */
8164
8164
  isActive?: boolean;
8165
- customFields?: Array<QbdDataExt> | null;
8165
+ customFields?: Array<QbdDataExt>;
8166
8166
  };
8167
8167
  /**
8168
8168
  * Response DTO for individual item pricing within a Price Level.
@@ -8283,11 +8283,11 @@ export type PurchaseOrder = {
8283
8283
  amountInHomeCurrency?: string | null;
8284
8284
  hasValidLineItems?: boolean;
8285
8285
  externalId?: string | null;
8286
- linkedTransactions?: Array<LinkedTransaction> | null;
8287
- expenseLines?: Array<ExpenseLine> | null;
8288
- itemLines?: Array<ItemLine> | null;
8289
- itemGroupLines?: Array<ItemGroupLine> | null;
8290
- customFields?: Array<QbdDataExt> | null;
8286
+ linkedTransactions?: Array<LinkedTransaction>;
8287
+ expenseLines?: Array<ExpenseLine>;
8288
+ itemLines?: Array<ItemLine>;
8289
+ itemGroupLines?: Array<ItemGroupLine>;
8290
+ customFields?: Array<QbdDataExt>;
8291
8291
  };
8292
8292
  /**
8293
8293
  * adds an Item Line to a Purchase Order (PurchaseOrderLineAdd).
@@ -8461,11 +8461,11 @@ export type ReceivePayment = {
8461
8461
  amountInHomeCurrency?: string | null;
8462
8462
  hasValidLineItems?: boolean;
8463
8463
  externalId?: string | null;
8464
- linkedTransactions?: Array<LinkedTransaction> | null;
8465
- expenseLines?: Array<ExpenseLine> | null;
8466
- itemLines?: Array<ItemLine> | null;
8467
- itemGroupLines?: Array<ItemGroupLine> | null;
8468
- customFields?: Array<QbdDataExt> | null;
8464
+ linkedTransactions?: Array<LinkedTransaction>;
8465
+ expenseLines?: Array<ExpenseLine>;
8466
+ itemLines?: Array<ItemLine>;
8467
+ itemGroupLines?: Array<ItemGroupLine>;
8468
+ customFields?: Array<QbdDataExt>;
8469
8469
  };
8470
8470
  /**
8471
8471
  * DTO for a transaction that a refund is applied to.
@@ -8563,7 +8563,7 @@ export type Report = {
8563
8563
  headerRowCount?: number | null;
8564
8564
  columns?: Array<ReportColumnDescription> | null;
8565
8565
  data?: ReportData | null;
8566
- customFields?: Array<QbdDataExt> | null;
8566
+ customFields?: Array<QbdDataExt>;
8567
8567
  };
8568
8568
  /**
8569
8569
  * Represents a single column's data within a row (maps ColData QBXML element).
@@ -8744,11 +8744,11 @@ export type SalesReceipt = {
8744
8744
  amountInHomeCurrency?: string | null;
8745
8745
  hasValidLineItems?: boolean;
8746
8746
  externalId?: string | null;
8747
- linkedTransactions?: Array<LinkedTransaction> | null;
8748
- expenseLines?: Array<ExpenseLine> | null;
8749
- itemLines?: Array<ItemLine> | null;
8750
- itemGroupLines?: Array<ItemGroupLine> | null;
8751
- customFields?: Array<QbdDataExt> | null;
8747
+ linkedTransactions?: Array<LinkedTransaction>;
8748
+ expenseLines?: Array<ExpenseLine>;
8749
+ itemLines?: Array<ItemLine>;
8750
+ itemGroupLines?: Array<ItemGroupLine>;
8751
+ customFields?: Array<QbdDataExt>;
8752
8752
  };
8753
8753
  /**
8754
8754
  * A reusable request DTO for adding an Item Line to a Sales Receipt (SalesReceiptLineAdd structure).
@@ -8851,7 +8851,7 @@ export type SalesTaxCode = {
8851
8851
  * (Optional) If false, this Sales Tax Code is inactive. Default is true.
8852
8852
  */
8853
8853
  isActive?: boolean;
8854
- customFields?: Array<QbdDataExt> | null;
8854
+ customFields?: Array<QbdDataExt>;
8855
8855
  };
8856
8856
  /**
8857
8857
  * Represents a SalesTaxPaymentCheck transaction.
@@ -8891,11 +8891,11 @@ export type SalesTaxPaymentCheck = {
8891
8891
  amountInHomeCurrency?: string | null;
8892
8892
  hasValidLineItems?: boolean;
8893
8893
  externalId?: string | null;
8894
- linkedTransactions?: Array<LinkedTransaction> | null;
8895
- expenseLines?: Array<ExpenseLine> | null;
8896
- itemLines?: Array<ItemLine> | null;
8897
- itemGroupLines?: Array<ItemGroupLine> | null;
8898
- customFields?: Array<QbdDataExt> | null;
8894
+ linkedTransactions?: Array<LinkedTransaction>;
8895
+ expenseLines?: Array<ExpenseLine>;
8896
+ itemLines?: Array<ItemLine>;
8897
+ itemGroupLines?: Array<ItemGroupLine>;
8898
+ customFields?: Array<QbdDataExt>;
8899
8899
  };
8900
8900
  /**
8901
8901
  * Represents a line item on a SalesTaxPaymentCheck.
@@ -8950,7 +8950,7 @@ export type ServiceItem = {
8950
8950
  description?: string | null;
8951
8951
  externalId?: string | null;
8952
8952
  isActive?: boolean;
8953
- customFields?: Array<QbdDataExt> | null;
8953
+ customFields?: Array<QbdDataExt>;
8954
8954
  };
8955
8955
  /**
8956
8956
  * Represents the SetCredit aggregate in QBXML.
@@ -8998,7 +8998,7 @@ export type ShipMethod = {
8998
8998
  * (Optional) If false, this Shipping Method is inactive. Default is true.
8999
8999
  */
9000
9000
  isActive?: boolean;
9001
- customFields?: Array<QbdDataExt> | null;
9001
+ customFields?: Array<QbdDataExt>;
9002
9002
  };
9003
9003
  /**
9004
9004
  * DTO for an alternate shipping address on a customer.
@@ -9092,7 +9092,7 @@ export type SpecialItem = {
9092
9092
  */
9093
9093
  specialItemType?: string | null;
9094
9094
  isActive?: boolean;
9095
- customFields?: Array<QbdDataExt> | null;
9095
+ customFields?: Array<QbdDataExt>;
9096
9096
  };
9097
9097
  /**
9098
9098
  * Standardized error response wrapper for all API error responses.
@@ -9150,7 +9150,7 @@ export type Term = {
9150
9150
  discountDayOfMonth?: number | null;
9151
9151
  discountPercentage?: number | null;
9152
9152
  isActive?: boolean;
9153
- customFields?: Array<QbdDataExt> | null;
9153
+ customFields?: Array<QbdDataExt>;
9154
9154
  };
9155
9155
  /**
9156
9156
  * Represents a Time Tracking transaction (TimeTrackingRet).
@@ -9195,11 +9195,11 @@ export type TimeTracking = {
9195
9195
  amountInHomeCurrency?: string | null;
9196
9196
  hasValidLineItems?: boolean;
9197
9197
  externalId?: string | null;
9198
- linkedTransactions?: Array<LinkedTransaction> | null;
9199
- expenseLines?: Array<ExpenseLine> | null;
9200
- itemLines?: Array<ItemLine> | null;
9201
- itemGroupLines?: Array<ItemGroupLine> | null;
9202
- customFields?: Array<QbdDataExt> | null;
9198
+ linkedTransactions?: Array<LinkedTransaction>;
9199
+ expenseLines?: Array<ExpenseLine>;
9200
+ itemLines?: Array<ItemLine>;
9201
+ itemGroupLines?: Array<ItemGroupLine>;
9202
+ customFields?: Array<QbdDataExt>;
9203
9203
  };
9204
9204
  /**
9205
9205
  * Represents a generic transaction returned from a TransactionQuery.
@@ -9227,11 +9227,11 @@ export type Transaction = {
9227
9227
  amountInHomeCurrency?: string | null;
9228
9228
  hasValidLineItems?: boolean;
9229
9229
  externalId?: string | null;
9230
- linkedTransactions?: Array<LinkedTransaction> | null;
9231
- expenseLines?: Array<ExpenseLine> | null;
9232
- itemLines?: Array<ItemLine> | null;
9233
- itemGroupLines?: Array<ItemGroupLine> | null;
9234
- customFields?: Array<QbdDataExt> | null;
9230
+ linkedTransactions?: Array<LinkedTransaction>;
9231
+ expenseLines?: Array<ExpenseLine>;
9232
+ itemLines?: Array<ItemLine>;
9233
+ itemGroupLines?: Array<ItemGroupLine>;
9234
+ customFields?: Array<QbdDataExt>;
9235
9235
  };
9236
9236
  /**
9237
9237
  * Response DTO for UnitOfMeasureSet entity.
@@ -9267,7 +9267,7 @@ export type UnitOfMeasureSet = {
9267
9267
  * (Optional) Whether the UOM set is active. Defaults to true.
9268
9268
  */
9269
9269
  isActive?: boolean;
9270
- customFields?: Array<QbdDataExt> | null;
9270
+ customFields?: Array<QbdDataExt>;
9271
9271
  };
9272
9272
  /**
9273
9273
  * Request model for updating an existing account
@@ -12026,7 +12026,7 @@ export type Vendor = {
12026
12026
  isCompoundingTax?: boolean | null;
12027
12027
  externalId?: string | null;
12028
12028
  isActive?: boolean;
12029
- customFields?: Array<QbdDataExt> | null;
12029
+ customFields?: Array<QbdDataExt>;
12030
12030
  };
12031
12031
  /**
12032
12032
  * Represents a VendorCredit transaction.
@@ -12088,22 +12088,22 @@ export type VendorCredit = {
12088
12088
  amountInHomeCurrency?: string | null;
12089
12089
  hasValidLineItems?: boolean;
12090
12090
  externalId?: string | null;
12091
- linkedTransactions?: Array<LinkedTransaction> | null;
12091
+ linkedTransactions?: Array<LinkedTransaction>;
12092
12092
  /**
12093
12093
  * (Optional) A list of expense lines to add to the vendor credit.
12094
12094
  */
12095
- expenseLines?: Array<ExpenseLine> | null;
12095
+ expenseLines?: Array<ExpenseLine>;
12096
12096
  /**
12097
12097
  * (Optional) A list of item lines to add to the vendor credit.
12098
12098
  * Note: You can have either ItemLines or ItemGroupLines, but not both.
12099
12099
  */
12100
- itemLines?: Array<ItemLine> | null;
12100
+ itemLines?: Array<ItemLine>;
12101
12101
  /**
12102
12102
  * (Optional) A list of item group lines to add to the vendor credit.
12103
12103
  * Note: You can have either ItemLines or ItemGroupLines, but not both.
12104
12104
  */
12105
- itemGroupLines?: Array<ItemGroupLine> | null;
12106
- customFields?: Array<QbdDataExt> | null;
12105
+ itemGroupLines?: Array<ItemGroupLine>;
12106
+ customFields?: Array<QbdDataExt>;
12107
12107
  };
12108
12108
  /**
12109
12109
  * Represents a Vendor Type DTO (VendorTypeRet).
@@ -12129,7 +12129,7 @@ export type VendorType = {
12129
12129
  * (Optional) If false, this Vendor Type is inactive. Default is true.
12130
12130
  */
12131
12131
  isActive?: boolean;
12132
- customFields?: Array<QbdDataExt> | null;
12132
+ customFields?: Array<QbdDataExt>;
12133
12133
  };
12134
12134
  /**
12135
12135
  * Response DTO for WorkersCompCode entity.
@@ -12173,7 +12173,7 @@ export type WorkersCompCode = {
12173
12173
  * (Optional) Indicates if the code is active. Defaults to true.
12174
12174
  */
12175
12175
  isActive?: boolean;
12176
- customFields?: Array<QbdDataExt> | null;
12176
+ customFields?: Array<QbdDataExt>;
12177
12177
  };
12178
12178
  export type ListArRefundCreditCardsData = {
12179
12179
  body?: never;