@smartbills/sdk 1.1.0-alpha.43 → 1.1.0-alpha.45

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.
@@ -2429,6 +2429,22 @@ interface SBDowngradeValidation {
2429
2429
  canDowngrade: boolean;
2430
2430
  blockers?: string[];
2431
2431
  }
2432
+ /** Generic success/message result for subscription mutations (resume, end-trial, etc.). */
2433
+ interface SBSubscriptionActionResult {
2434
+ success: boolean;
2435
+ message: string | null;
2436
+ }
2437
+ /**
2438
+ * Result of pointing the subscription at a different payment method. When the subscription was
2439
+ * past_due, the latest open invoice is retried in the same call — {@link invoicePaid} reports
2440
+ * whether that retry succeeded and {@link subscriptionStatus} the resulting status.
2441
+ */
2442
+ interface SBUseForSubscriptionResult {
2443
+ success: boolean;
2444
+ message: string | null;
2445
+ invoicePaid: boolean;
2446
+ subscriptionStatus: string | null;
2447
+ }
2432
2448
 
2433
2449
  /**
2434
2450
  * Service for managing billing, subscriptions, and usage within a business.
@@ -2445,6 +2461,16 @@ declare class BillingService extends BaseService {
2445
2461
  previewPlanChange(data: PreviewPlanChangeRequest, options?: RequestOptions): Promise<SBPlanChangePreview>;
2446
2462
  /** Cancels the current business subscription. */
2447
2463
  cancelSubscription(options?: RequestOptions): Promise<SBSubscription>;
2464
+ /** Resumes a subscription that was scheduled to cancel at the end of the current period. */
2465
+ resumeSubscription(options?: RequestOptions): Promise<SBSubscriptionActionResult>;
2466
+ /** Validates whether the subscription can be cancelled without exceeding free-tier limits. */
2467
+ validateCancel(options?: RequestOptions): Promise<SBDowngradeValidation>;
2468
+ /**
2469
+ * "Subscribe now" from a trial — ends the trial immediately so the first period is billed to
2470
+ * the default payment method and the subscription becomes active. Requires a payment method
2471
+ * on file.
2472
+ */
2473
+ endTrial(options?: RequestOptions): Promise<SBSubscriptionActionResult>;
2448
2474
  /** Retrieves all available billing plans. */
2449
2475
  getPlans(options?: RequestOptions): Promise<SBBillingPlan[]>;
2450
2476
  /** Starts a trial subscription for the specified plan. */
@@ -2473,8 +2499,17 @@ declare class BillingService extends BaseService {
2473
2499
  createSetupIntent(options?: RequestOptions): Promise<SBSetupIntent>;
2474
2500
  /** Detaches (removes) a payment method from the business. */
2475
2501
  detachPaymentMethod(paymentMethodId: string, options?: RequestOptions): Promise<void>;
2476
- /** Sets a payment method as the default for future billing. */
2477
- setDefaultPaymentMethod(paymentMethodId: string, options?: RequestOptions): Promise<void>;
2502
+ /**
2503
+ * Sets a payment method as the customer-level default (charged for the subscription).
2504
+ * Takes the Smartbills payment-method id (not the Stripe id) and goes through the main-API
2505
+ * gateway, which resolves it to the Stripe id and authorizes the caller.
2506
+ */
2507
+ setDefaultPaymentMethod(paymentMethodId: number, options?: RequestOptions): Promise<SBSubscriptionActionResult>;
2508
+ /**
2509
+ * Points the subscription at the given payment method (by Smartbills id). If the subscription
2510
+ * is past_due, the latest open invoice is retried with the new method in the same call.
2511
+ */
2512
+ useForSubscription(paymentMethodId: number, options?: RequestOptions): Promise<SBUseForSubscriptionResult>;
2478
2513
  }
2479
2514
 
2480
2515
  /**
@@ -2708,6 +2743,32 @@ interface BulkBillRemindRequest {
2708
2743
  interface BulkBillUpdateRequest {
2709
2744
  bills: BillBatchUpdateRequest[];
2710
2745
  }
2746
+ /**
2747
+ * Request payload for bulk-assigning a vendor to multiple bills.
2748
+ */
2749
+ interface BulkBillAssignVendorRequest {
2750
+ billIds: number[];
2751
+ vendorId: number;
2752
+ }
2753
+ /**
2754
+ * A tax expressed as a rate (percentage, e.g. 9.975) so the same set can apply
2755
+ * to many bills; the server computes each bill's amounts from its own subtotal.
2756
+ */
2757
+ interface BillBulkTaxLine {
2758
+ name: string;
2759
+ /** Rate as a percentage (e.g. 9.975). */
2760
+ rate: number;
2761
+ taxIncluded?: boolean;
2762
+ taxIdentificationNumber?: string;
2763
+ }
2764
+ /**
2765
+ * Request payload for bulk-setting taxes on multiple bills. Replaces the
2766
+ * existing taxes of each bill.
2767
+ */
2768
+ interface BulkBillSetTaxesRequest {
2769
+ billIds: number[];
2770
+ taxes: BillBulkTaxLine[];
2771
+ }
2711
2772
  type SBBillBulkActionResponse = SBBulkActionResponse;
2712
2773
 
2713
2774
  /**
@@ -3212,6 +3273,24 @@ declare class BillService extends BaseService {
3212
3273
  * @returns Bulk operation results
3213
3274
  */
3214
3275
  bulkUpdate(data: BulkBillUpdateRequest, options?: RequestOptions): Promise<SBBillBulkActionResponse>;
3276
+ /**
3277
+ * Assigns a vendor to multiple bills in a single bulk operation.
3278
+ *
3279
+ * @param data - The bill ids and the vendor to assign
3280
+ * @param options - Request options including business context and abort signal
3281
+ * @returns Bulk operation results
3282
+ */
3283
+ bulkAssignVendor(data: BulkBillAssignVendorRequest, options?: RequestOptions): Promise<SBBillBulkActionResponse>;
3284
+ /**
3285
+ * Sets taxes on multiple bills in one call, replacing their existing taxes.
3286
+ * Taxes are given as rates; the server computes each bill's amounts from its
3287
+ * own subtotal.
3288
+ *
3289
+ * @param data - The bill ids and the tax rates to apply
3290
+ * @param options - Request options including business context and abort signal
3291
+ * @returns Bulk operation results
3292
+ */
3293
+ bulkSetTaxes(data: BulkBillSetTaxesRequest, options?: RequestOptions): Promise<SBBillBulkActionResponse>;
3215
3294
  /**
3216
3295
  * Exports bills to a downloadable file (CSV/XLSX).
3217
3296
  *
@@ -4832,6 +4911,26 @@ interface BulkSetNoteRequest {
4832
4911
  expenseIds: number[];
4833
4912
  note: string | null;
4834
4913
  }
4914
+ /**
4915
+ * A tax expressed as a rate (percentage, e.g. 9.975) so the same set can apply
4916
+ * to many transactions; the server computes each transaction's amounts from
4917
+ * its own subtotal.
4918
+ */
4919
+ interface BulkTaxLine {
4920
+ name: string;
4921
+ /** Rate as a percentage (e.g. 9.975). */
4922
+ rate: number;
4923
+ taxIncluded?: boolean;
4924
+ taxIdentificationNumber?: string;
4925
+ }
4926
+ /**
4927
+ * Request payload for bulk-setting taxes on multiple expenses. Replaces the
4928
+ * existing taxes of each expense.
4929
+ */
4930
+ interface BulkSetTaxesRequest {
4931
+ expenseIds: number[];
4932
+ taxes: BulkTaxLine[];
4933
+ }
4835
4934
  interface ExpenseReviewUpdateRequest {
4836
4935
  isReviewed: boolean;
4837
4936
  }
@@ -5176,6 +5275,12 @@ declare class ExpenseService extends BaseService {
5176
5275
  */
5177
5276
  bulkAssignVendor(data: BulkAssignVendorRequest, options?: RequestOptions): Promise<SBExpenseBulkActionResponse>;
5178
5277
  bulkSetNote(data: BulkSetNoteRequest, options?: RequestOptions): Promise<SBExpenseBulkActionResponse>;
5278
+ /**
5279
+ * Sets taxes on multiple expenses in one call, replacing their existing
5280
+ * taxes. Taxes are given as rates; the server computes each expense's
5281
+ * amounts from its own subtotal.
5282
+ */
5283
+ bulkSetTaxes(data: BulkSetTaxesRequest, options?: RequestOptions): Promise<SBExpenseBulkActionResponse>;
5179
5284
  updateReview(expenseId: number, data: ExpenseReviewUpdateRequest, options?: RequestOptions): Promise<SBTransaction>;
5180
5285
  /**
5181
5286
  * Bulk deletes multiple expenses.
@@ -8192,6 +8297,16 @@ declare enum MileageRateType {
8192
8297
  TIERED = "TIERED",
8193
8298
  FLAT = "FLAT"
8194
8299
  }
8300
+ /**
8301
+ * Why a mileage-rate version exists. Rates are bitemporal and append-only:
8302
+ * INITIAL (first version), SUPERSESSION (rate changed going forward), CORRECTION
8303
+ * (a prior version was recorded wrong and replaced over the same valid window).
8304
+ */
8305
+ declare enum MileageRateChangeKind {
8306
+ INITIAL = "INITIAL",
8307
+ SUPERSESSION = "SUPERSESSION",
8308
+ CORRECTION = "CORRECTION"
8309
+ }
8195
8310
  /** A geographic endpoint — used by trips, recordings, saved trips, and route lookups. */
8196
8311
  interface MileageLocation {
8197
8312
  address?: string;
@@ -8293,9 +8408,11 @@ interface MileageTrip extends SBEntity, SBTimestamps {
8293
8408
  isRoundTrip: boolean;
8294
8409
  vehicle?: VehicleRef;
8295
8410
  savedTripId?: number;
8296
- origin: MileageLocation;
8297
- destination: MileageLocation;
8298
- waypointsJson?: string;
8411
+ /**
8412
+ * Ordered list of route endpoints — index 0 is the origin, the last entry is the destination,
8413
+ * anything in between is an intermediate stop. Always has at least 2 entries.
8414
+ */
8415
+ stops: MileageLocation[];
8299
8416
  distance: MileageTripDistance;
8300
8417
  rate: MileageTripRate;
8301
8418
  /** Detail-only: per-tier split of the amount. Null on list responses. */
@@ -8345,6 +8462,8 @@ interface Vehicle extends SBEntity, SBTimestamps {
8345
8462
  businessId: number;
8346
8463
  employeeId?: number;
8347
8464
  name?: string;
8465
+ /** Catalog model picked from the vPIC-seeded list (the authoritative make/model). */
8466
+ vehicleModelId?: number;
8348
8467
  make?: string;
8349
8468
  model?: string;
8350
8469
  year?: number;
@@ -8353,6 +8472,15 @@ interface Vehicle extends SBEntity, SBTimestamps {
8353
8472
  isDefault: boolean;
8354
8473
  isActive: boolean;
8355
8474
  }
8475
+ /** A catalog entry returned by the vPIC-seeded model search (`/v1/vehicle-models`). */
8476
+ interface VehicleModel {
8477
+ id: number;
8478
+ make: string;
8479
+ model: string;
8480
+ vehicleType?: string;
8481
+ /** Display label, e.g. "BMW 328i xDrive". */
8482
+ label: string;
8483
+ }
8356
8484
  interface SavedTrip extends SBEntity, SBTimestamps {
8357
8485
  businessId: number;
8358
8486
  employeeId?: number;
@@ -8360,9 +8488,8 @@ interface SavedTrip extends SBEntity, SBTimestamps {
8360
8488
  /** Default name applied to trips spun off this template. Previously called "defaultPurpose". */
8361
8489
  defaultName?: string;
8362
8490
  isActive: boolean;
8363
- origin: MileageLocation;
8364
- destination: MileageLocation;
8365
- waypointsJson?: string;
8491
+ /** Ordered route endpoints (≥2): index 0 = origin, last = destination, middle = stops. */
8492
+ stops: MileageLocation[];
8366
8493
  distance: SavedTripDistance;
8367
8494
  /** Optional default vehicle for this template, denormalized with the name so clients can
8368
8495
  * display it without a separate lookup. Null = user picks at trip-create time. */
@@ -8381,11 +8508,18 @@ interface MileageRate extends SBEntity, SBTimestamps {
8381
8508
  tiered?: TieredRate;
8382
8509
  flat?: FlatRate;
8383
8510
  effective: EffectivePeriod;
8511
+ /** When this version was recorded in our system (transaction-time start). */
8512
+ recordedAt: string;
8513
+ /** When our belief in this version ended (a correction replaced it). Null/undefined = current belief. */
8514
+ supersededAt?: string | null;
8515
+ /** Why this version exists: initial / forward supersession / correction. */
8516
+ changeKind: MileageRateChangeKind;
8517
+ replacesRateId?: number | null;
8518
+ supersededByRateId?: number | null;
8384
8519
  }
8385
8520
  interface MileageTripCreateRequest {
8386
- origin: MileageLocation;
8387
- destination: MileageLocation;
8388
- waypoints?: string[];
8521
+ /** Ordered route endpoints (≥2): index 0 = origin, last = destination, middle = stops. */
8522
+ stops: MileageLocation[];
8389
8523
  vehicle?: VehicleRef;
8390
8524
  savedTripId?: number;
8391
8525
  categoryId?: number;
@@ -8433,6 +8567,8 @@ interface MileageTripListRequest extends PaginationRequest {
8433
8567
  }
8434
8568
  interface VehicleCreateRequest {
8435
8569
  name?: string;
8570
+ /** Catalog model id from the model search; the server denormalizes make/model from it. */
8571
+ vehicleModelId?: number;
8436
8572
  make?: string;
8437
8573
  model?: string;
8438
8574
  year?: number;
@@ -8445,9 +8581,8 @@ interface VehicleUpdateRequest extends Partial<VehicleCreateRequest> {
8445
8581
  }
8446
8582
  interface SavedTripCreateRequest {
8447
8583
  name?: string;
8448
- origin?: MileageLocation;
8449
- destination?: MileageLocation;
8450
- waypoints?: string[];
8584
+ /** Ordered route endpoints (≥2): index 0 = origin, last = destination, middle = stops. */
8585
+ stops?: MileageLocation[];
8451
8586
  distance?: {
8452
8587
  typical?: number;
8453
8588
  unit?: DistanceUnit;
@@ -8468,16 +8603,42 @@ interface MileageRateCreateRequest {
8468
8603
  isDefault?: boolean;
8469
8604
  effective?: Partial<EffectivePeriod>;
8470
8605
  }
8471
- type MileageRateUpdateRequest = Partial<MileageRateCreateRequest>;
8606
+ /**
8607
+ * Supersede a current rate going forward (the rate genuinely changed). Inserts a new version from
8608
+ * `from`; the prior version's `effective.to` is capped to that date. Inherits the prior's country/region.
8609
+ */
8610
+ interface MileageRateSupersedeRequest {
8611
+ /** Date the new rate takes effect (ISO). Must be after the superseded version's start. */
8612
+ from: string;
8613
+ /** Optional end date for the new version (open-ended when omitted). */
8614
+ to?: string | null;
8615
+ type: MileageRateType;
8616
+ unit?: DistanceUnit;
8617
+ tiered?: TieredRate;
8618
+ flat?: FlatRate;
8619
+ isDefault?: boolean;
8620
+ }
8621
+ /**
8622
+ * Correct a current version recorded in error. Append-only: the wrong version is closed in
8623
+ * transaction time and a corrected version replaces it over the same valid window. Pass `effective`
8624
+ * only to also fix a mistyped date.
8625
+ */
8626
+ interface MileageRateCorrectRequest {
8627
+ type: MileageRateType;
8628
+ unit?: DistanceUnit;
8629
+ tiered?: TieredRate;
8630
+ flat?: FlatRate;
8631
+ isDefault?: boolean;
8632
+ effective?: Partial<EffectivePeriod>;
8633
+ }
8472
8634
  interface SystemRatesRequest {
8473
8635
  country?: string;
8474
8636
  region?: string;
8475
8637
  year?: number;
8476
8638
  }
8477
8639
  interface CalculateRouteRequest {
8478
- origin?: MileageLocation;
8479
- destination?: MileageLocation;
8480
- waypoints?: string[];
8640
+ /** Ordered route endpoints (≥2): index 0 = origin, last = destination, middle = stops. */
8641
+ stops?: MileageLocation[];
8481
8642
  isRoundTrip?: boolean;
8482
8643
  departureTime?: string;
8483
8644
  unit?: DistanceUnit;
@@ -8493,12 +8654,6 @@ interface RouteCalculation {
8493
8654
  minutes: number;
8494
8655
  };
8495
8656
  polyline?: string;
8496
- origin?: {
8497
- address?: string;
8498
- };
8499
- destination?: {
8500
- address?: string;
8501
- };
8502
8657
  }
8503
8658
  /** Lifecycle of a GPS recording session. */
8504
8659
  declare enum MileageRecordingStatus {
@@ -8608,6 +8763,14 @@ interface MileageYtdSummary {
8608
8763
  startingDistance: number;
8609
8764
  loggedDistance: number;
8610
8765
  loggedAmount: number;
8766
+ /**
8767
+ * Distance across *committed* trips only — those on a submitted-or-onward expense report.
8768
+ * This is what the employee has actually claimed for the year (vs logged-but-draft trips),
8769
+ * and the headline figure on the homepage YTD card.
8770
+ */
8771
+ claimedDistance: number;
8772
+ /** Amount across committed trips — what's actually been claimed. */
8773
+ claimedAmount: number;
8611
8774
  currency: string;
8612
8775
  cumulativeDistance: number;
8613
8776
  /**
@@ -8633,6 +8796,8 @@ declare class MileageTripService extends BaseService {
8633
8796
  delete(tripId: number, options?: RequestOptions): Promise<void>;
8634
8797
  /** Materializes the SBMileageExpense for a logged trip. Idempotent if already converted. */
8635
8798
  convert(tripId: number, data?: ConvertMileageTripRequest, options?: RequestOptions): Promise<MileageTrip>;
8799
+ /** Duplicates a logged trip as a fresh logged trip dated today (same route + vehicle). */
8800
+ clone(tripId: number, options?: RequestOptions): Promise<MileageTrip>;
8636
8801
  /**
8637
8802
  * Bulk-convert many trips in one request. Server processes them sequentially so per-trip
8638
8803
  * YTD rate calc stays correct; the response reports each id's outcome individually.
@@ -8642,8 +8807,10 @@ declare class MileageTripService extends BaseService {
8642
8807
  calculateRoute(data: CalculateRouteRequest, options?: RequestOptions): Promise<RouteCalculation>;
8643
8808
  }
8644
8809
 
8645
- /** Employee-scoped vehicle registry. */
8810
+ /** Employee-scoped vehicle registry, plus the global vPIC-seeded model catalog search. */
8646
8811
  declare class VehicleService extends BaseService {
8812
+ /** Type-ahead over the vPIC-seeded vehicle catalog. Global (not business-scoped). */
8813
+ searchModels(query: string, limit?: number, options?: RequestOptions): Promise<VehicleModel[]>;
8647
8814
  list(employeeId: number, options?: RequestOptions): Promise<Vehicle[]>;
8648
8815
  get(employeeId: number, vehicleId: number, options?: RequestOptions): Promise<Vehicle>;
8649
8816
  create(employeeId: number, data: VehicleCreateRequest, options?: RequestOptions): Promise<Vehicle>;
@@ -8666,8 +8833,23 @@ declare class MileageRateService extends BaseService {
8666
8833
  listBusinessRates(options?: RequestOptions): Promise<MileageRate[]>;
8667
8834
  get(rateId: number, options?: RequestOptions): Promise<MileageRate>;
8668
8835
  createCustomRate(data: MileageRateCreateRequest, options?: RequestOptions): Promise<MileageRate>;
8669
- updateCustomRate(rateId: number, data: MileageRateUpdateRequest, options?: RequestOptions): Promise<MileageRate>;
8670
- deleteCustomRate(rateId: number, options?: RequestOptions): Promise<void>;
8836
+ /**
8837
+ * Supersede a current rate going forward — the rate genuinely changed (e.g. CRA's mid-year change).
8838
+ * Appends a new version and caps the prior one. Rates are immutable, so this is how a change is recorded.
8839
+ */
8840
+ supersedeCustomRate(rateId: number, data: MileageRateSupersedeRequest, options?: RequestOptions): Promise<MileageRate>;
8841
+ /**
8842
+ * Correct a current rate recorded in error. Append-only: the wrong version is closed and a corrected
8843
+ * version replaces it over the same valid window, preserving what we previously believed/paid.
8844
+ */
8845
+ correctCustomRate(rateId: number, data: MileageRateCorrectRequest, options?: RequestOptions): Promise<MileageRate>;
8846
+ /**
8847
+ * Archive (end-date) a custom rate. Rates are never hard-deleted — archiving stops the rate
8848
+ * applying to new trips while keeping it on record. Reversible via {@link restoreCustomRate}.
8849
+ */
8850
+ archiveCustomRate(rateId: number, options?: RequestOptions): Promise<MileageRate>;
8851
+ /** Restore an archived rate by clearing its end date, so it applies again. */
8852
+ restoreCustomRate(rateId: number, options?: RequestOptions): Promise<MileageRate>;
8671
8853
  /** Resolve the rate + reimbursable amount that would apply to a trip (preview, no persistence). */
8672
8854
  resolveRate(data: ResolveRateRequest, options?: RequestOptions): Promise<ResolvedRate>;
8673
8855
  }
@@ -10576,5 +10758,5 @@ type CouponUpdateRequest = Partial<CouponCreateRequest>;
10576
10758
  declare function uploadFileToS3(uploadUrl: string, file: Blob | ArrayBuffer, contentType: string): Promise<void>;
10577
10759
  declare function uploadFileUriToS3(uploadUrl: string, fileUri: string, contentType: string): Promise<void>;
10578
10760
 
10579
- export { AccessToken, AppInstallationService, AppInstallationStatus, ApprobationService, AttachmentService, AuditLogService, AuthService, AuthorizedSenderService, BaseService, BillApprovalStatus, BillApprovalType, BillService, SBBillStatus as BillStatus, BillingService, BudgetService, BudgetStatus, BusinessService, BusinessUserService, CategoryService, ChargeStatus, CheckoutDocumentType, CheckoutPaymentStatus, CheckoutService, CheckoutStatus, ConnectAccountStatus, ConnectService, ConnectedAccountService, ConnectedAccountStatus, ConnectedAccountType, CreditNoteService, CustomerService, DEFAULT_BASE_URL, DELEGATOR_RESOURCE_PREFIX, DelegateService, DepartmentService, DisputeEvidenceSlot, DisputeService, DistanceUnit, EmailAccountService, EmailAccountStatus, EmailAccountSyncStatus, EmailAccountType, EmailForwardingService, EmployeeService, ErrorCode, ExpenseItemStatus, ExpenseJobService, ExpenseJobStatus, ExpenseReportAuditLogAction, ExpenseReportExpenseService, ExpenseReportPaymentService, ExpenseReportService, ExpenseReportStatus, ExpenseService, ExpenseSplitType, GsaRateAdjustment, HttpClient, IntegrationService, IntegrationStatus, InvitationService, InvitationStatus, InvoicePaymentService, InvoicePaymentStatus, InvoiceReminderFrequency, InvoiceReminderTiming, InvoiceService, LateFeeFrequency, LateFeeType, LocationService, LoyaltyService, MailboxType, MembershipRole, MembershipService, MileageRateService, MileageRateType, MileageRecordingService, MileageRecordingStatus, MileageTripService, NotificationService, NotificationType, PayerType, PaymentIntentService, PaymentIntentStatus, PaymentMethodService, PaymentService, PaymentTerms, PayoutInterval, PayoutService, PayoutStatus, PerDiemAllowanceType, ProductImageService, ProductService, ProductVariantService, PromoCodeService, ReceiptPaymentStatus, ReceiptPaymentType, ReceiptService, ReceiptSource, ReceiptType, ReportingService, SBBillStatus, SBInvoiceActivityKind, SBInvoiceStatus, SBPaymentMethodType, SBPaymentStatus, SavedTripService, SmartbillsApiError, SmartbillsAuthenticationError, SmartbillsClient, SmartbillsConflictError, SmartbillsError, SmartbillsNetworkError, SmartbillsNotFoundError, SmartbillsPermissionError, SmartbillsQuotaError, SmartbillsRateLimitError, SmartbillsValidationError, StatementService, StatementStatus, SyncTriggerType, TOKEN_EXCHANGE_GRANT_TYPE, TOKEN_TYPE_ACCESS_TOKEN, TableService, TaxService, TransactionService, TransactionSource, TransactionType, TravelPolicyService, TripService, TripStatus, UserService, VehicleService, VendorConnectionService, VendorConnectionStatus, VendorService, WorkflowService, WorkflowTriggerType, isApiError, isAuthenticationError, isConflictError, isNetworkError, isNotFoundError, isPermissionError, isQuotaError, isRateLimitError, isRetryableError, isSmartbillsError, isValidationError, uploadFileToS3, uploadFileUriToS3 };
10580
- export type { AddExpenseToReportRequest, AddExpensesToReportBatchRequest, AppendWaypointsRequest, ApplyCustomerCreditRequest, ApprobationListRequest, AssociateExpenseReportUpdateRequest, AttachInvoiceToWalletResponse, AttachmentListRequest, AttachmentRenameRequest, AuditLogListRequest, BalanceAmount, BillApprovalRequest, BillBatchUpdateRequest, BillCancelRequest, BillCreateRequest, BillListRequest, BillMarkPaidRequest, BillReschedulePaymentRequest, BillRetryPaymentRequest, BillSchedulePaymentRequest, BillSubmitForApprovalRequest, BillTransitionRequest, BillUpdateRequest, BillingInvoiceListRequest, BudgetCategoryCreateRequest, BudgetCategoryUpdateRequest, BudgetCreateRequest, BudgetListRequest, BudgetNotificationCreateRequest, BudgetNotificationUpdateRequest, BudgetUpdateRequest, BulkApproveApprobationsRequest, BulkAssignCategoryRequest, BulkAssignExpenseReportRequest, BulkAssignPayerTypeRequest, BulkAssignReportCategoryRequest, BulkAssignVendorRequest, BulkBillApproveRequest, BulkBillCancelPaymentRequest, BulkBillDeleteRequest, BulkBillMarkPaidRequest, BulkBillRemindRequest, BulkBillRetryPaymentRequest, BulkBillSchedulePaymentRequest, BulkBillUnscheduleRequest, BulkBillUpdateRequest, BulkConvertMileageTripsRequest, BulkDeleteExpenseReportsRequest, BulkDeleteExpensesRequest, BulkDeleteVendorsRequest, BulkInvoiceActionRequest, BulkInvoiceActionResponse, BulkInvoiceActionResult, BulkMarkReimbursedApprobationsRequest, BulkMileageTripActionResponse, BulkMileageTripActionResult, BulkPlanReimbursementApprobationsRequest, BulkRecallExpenseReportsRequest, BulkRejectApprobationsRequest, BulkRemoveReportExpensesRequest, BulkRequestChangesApprobationsRequest, BulkRevertToReviewApprobationsRequest, BulkSetNoteRequest, BulkSubmitExpenseReportsRequest, BusinessBatchUpdateRequest, BusinessBrandCreateRequest, BusinessBrandUpdateRequest, BusinessCreateRequest, BusinessReminderDefaults, BusinessUpdateRequest, CalculateRouteRequest, CategoryCreateRequest, CategoryListRequest, CategoryUpdateRequest, CheckoutLineItem, CompleteRecordingRequest, ConfirmUploadFileRequest, ConfirmUploadRequest, ConnectOnboardingRequest, ConnectedAccountBankAccount, ConnectedAccountFees, ConnectedAccountLateFeeSettings, ConnectedAccountLateFeeSettingsRequest, ConnectedAccountOnboardingRequest, ConnectedAccountOnboardingResult, ConnectedAccountProcessing, ConnectedAccountRequirements, ConnectedAccountSettings, ConnectedAccountSettingsRequest, ConvertMileageTripRequest, CouponCreateRequest, CouponUpdateRequest, CreateAuthorizedSenderRequest, CreateCheckoutPaymentIntentRequest, CreatePaymentMethodRequest, CreatePayoutRequest, CreatePortalSessionRequest, CredentialProvider, CreditNoteCreateRequest, CreditNoteLineItemRequest, CreditNoteReason, CreditNoteStatus, CustomerCreateRequest, CustomerCreditAdjustmentRequest, CustomerCreditBalance, CustomerCreditBalanceSummary, CustomerCreditLedgerEntry, CustomerCreditLedgerSource, CustomerListRequest, CustomerUpdateRequest, DelegationCreateRequest, DelegationRequestCreateRequest, DelegationUpdateRequest, DepartmentCreateRequest, DepartmentListRequest, DepartmentUpdateRequest, DisputeEvidenceFinalizeRequest, DisputeEvidenceFinalizeResponse, DisputeEvidenceRequest, DisputeEvidenceUploadUrlRequest, DisputeEvidenceUploadUrlResponse, DisputeListRequest, EditExpenseInReportRequest, EffectivePeriod, EmailAccountImapCreateRequest, EmailAccountListRequest, EmailAccountOAuth2CreateRequest, EmailAccountUpdateRequest, EmailForwardingConfigRequest, EmployeeBulkAssignManagerRequest, EmployeeCreateRequest, EmployeeListRequest, EmployeeSetManagerRequest, EmployeeUpdateRequest, ErrorCodeType, ExchangeOnBehalfOfRequest, ExpenseAttachmentDownloadRequest, ExpenseCategoryUpdateRequest, ExpenseDepartmentUpdateRequest, ExpenseEmployeeUpdateRequest, ExpenseExportRequest, ExpenseJobListRequest, ExpenseListRequest, ExpenseNoteUpdateRequest, ExpenseOverTimeRequest, ExpensePayerTypeUpdateRequest, ExpenseReportApproveRequest, ExpenseReportAssignLedgerAccountRequest, ExpenseReportCommentCreateRequest, ExpenseReportCreateRequest, ExpenseReportExportRequest, ExpenseReportListRequest, ExpenseReportPartialReimburseRequest, ExpenseReportPlanReimbursementRequest, ExpenseReportRecallRequest, ExpenseReportReimburseRequest, ExpenseReportRejectRequest, ExpenseReportRequestChangesRequest, ExpenseReportUpdateRequest, ExpenseReviewUpdateRequest, ExpenseSplitItem, ExpenseSplitLineItem, ExpenseSplitRequest, FeeConfigurationRequest, FlatRate, HistoricalSyncRequest, HttpClientConfig, IntegrationCallbackRequest, IntegrationListRequest, InvitationCreateRequest, InvitationListRequest, InvoiceCreateRequest, InvoiceDiscountCreateRequest, InvoiceFeeCreateRequest, InvoiceListRequest, InvoiceMarkPaidRequest, InvoiceNotificationPrefs, InvoicePaymentCreateRequest, InvoicePaymentFilterRequest, InvoiceReminder, InvoiceSummary, InvoiceUpdateRequest, LedgerEntry, LedgerSummary, LocationBatchCreateRequest, LocationBatchUpdateRequest, LocationCreateRequest, LocationImageUrlRequest, LocationListRequest, LocationUpdateRequest, LoyaltyProgramCreateRequest, LoyaltyProgramListRequest, LoyaltyProgramStatus, LoyaltyProgramUpdateRequest, LoyaltyRewardType, LoyaltyRuleType, MailboxUpdateRequest, MembershipCreateRequest, MembershipEmailInviteRequest, MembershipListRequest, MembershipRoleUpdateRequest, MileageLocation, MileageRate, MileageRateBreakdown, MileageRateCreateRequest, MileageRateUpdateRequest, MileageRecording, MileageRoute, MileageTrip, MileageTripCreateRequest, MileageTripDistance, MileageTripExpenseReport, MileageTripListRequest, MileageTripRate, MileageTripUpdateRequest, MileageTripYtd, MileageYtdBaseline, MileageYtdBaselineUpsertRequest, MileageYtdSummary, NextInvoiceNumberResponse, NotificationListRequest, OnBehalfOfTokenResponse, PagedResult, PaginateBusinessRequest, PaginateTransactionRequest, PaginationRequest, PaymentIntentListRequest, PaymentListRequest, PaymentMethodListRequest, Payout, PayoutListRequest, PayoutListResponse, PayoutSchedule, PerDiemPolicyRequest, PresignedUploadFileRequest, PresignedUploadFileResponse, PresignedUploadRequest, PresignedUploadResponse, PreviewPlanChangeRequest, ProductCreateRequest, ProductImageConfirmUploadFileRequest, ProductImageConfirmUploadRequest, ProductImagePresignedUploadFileRequest, ProductImagePresignedUploadFileResponse, ProductImagePresignedUploadRequest, ProductImagePresignedUploadResponse, ProductListRequest, ProductUpdateRequest, ProductVariantCreateRequest, ProductVariantUpdateRequest, PromoCodeCreateRequest, PromoCodeListRequest, PromoCodeUpdateRequest, PublicInvoiceCustomer, PublicInvoiceDiscount, PublicInvoiceEarlyPaymentDiscount, PublicInvoiceExportFormat, PublicInvoiceFee, PublicInvoiceLineItem, PublicInvoiceLineItemTax, PublicInvoiceMerchant, PublicInvoiceMerchantRating, PublicInvoiceMerchantSocial, PublicInvoiceOnlinePaymentInstructions, PublicInvoicePayment, PublicInvoicePaymentCardSnippet, PublicInvoicePaymentInstructions, PublicInvoiceResponse, PublicInvoiceTax, PublicInvoiceWireInstructions, ReceiptCreateRequest, ReceiptListRequest, ReceiptOCRCreateRequest, ReceiptUpdateRequest, RecommendedTax, RecommendedTaxesRequest, RecordingWaypoints, RefundCheckoutPaymentRequest, RefundCreateRequest, ReportDateRange, ReportingRequest, RequestOptions, ResolveRateRequest, ResolvedRate, RouteCalculation, SBAddress, SBAppInstallation, SBApprobationSummary, SBAttachment, SBAuditChainVerifyResult, SBAuditDiff, SBAuditIntegrity, SBAuditLogEntry, SBAuditLogPage, SBAuditSource, SBAuditUserSummary, SBAuthorizedSender, SBBalance, SBBatchResponse, SBBill, SBBillApproval, SBBillApprovalHistoryItem, SBBillAttachment, SBBillBulkActionResponse, SBBillEmployee, SBBillLineItem, SBBillStatusHistoryItem, SBBillStatusSummary, SBBillTax, SBBillTransitionResponse, SBBillVendor, SBBillVendorAccount, SBBillingAddress, SBBillingInvoice, SBBillingInvoiceLine, SBBillingPaymentMethod, SBBillingPlan, SBBillingUsage, SBBudget, SBBudgetCategory, SBBudgetDetail, SBBudgetNotification, SBBudgetOwner, SBBulkActionResponse, SBBulkActionResult, SBBusiness, SBBusinessBrand, SBBusinessPlan, SBCanActAsResult, SBCategory, SBCategoryRuleData, SBCharge, SBCheckoutLineItem, SBCheckoutPayment, SBCheckoutPaymentDispute, SBCheckoutPaymentRefund, SBCheckoutTax, SBCheckoutTransactionResponse, SBConnectAccount, SBConnectAccountRequirements, SBConnectDashboardResponse, SBConnectOnboardingResponse, SBConnectedAccount, SBCoordinate, SBCoupon, SBCouponAllocationMethod, SBCouponCustomerSelection, SBCouponTargetSelection, SBCouponTargetType, SBCouponType, SBCreateCheckoutPaymentIntentResponse, SBCreditNote, SBCreditNoteLineItem, SBCustomer, SBDelegation, SBDelegationAuditEvent, SBDelegationRequest, SBDelegationRequestStatus, SBDelegationUser, SBDepartment, SBDepartmentMember, SBDispute, SBDisputeListResponse, SBDisputeStats, SBDowngradeValidation, SBEmailAccount, SBEmailAccountAuthorizeResponse, SBEmailForwardingConfig, SBEmployee, SBEmployeeCategoryBreakdownReport, SBEmployeeDepartment, SBEmployeeLocation, SBEmployeeManager, SBEntity, SBExpenseBulkActionResponse, SBExpenseByCategoryReport, SBExpenseByDayReport, SBExpenseByEmployeeReport, SBExpenseByVendorReport, SBExpenseJob, SBExpenseMonthlySummary, SBExpenseOverTimeDataPoint, SBExpenseOverTimeReport, SBExpenseReport, SBExpenseReportAuditLogEntry, SBExpenseReportBulkActionResponse, SBExpenseReportComment, SBExpenseReportItem, SBExpenseReportSummary, SBExpenseReportTimelineEntry, SBExpenseValidateResponse, SBFileDownloadResponse, SBHistoricalSyncResponse, SBIntegration, SBIntegrationAuthorizeResponse, SBInvitation, SBInvoice, SBInvoiceActivityEvent, SBInvoiceCustomer, SBInvoiceEmployee, SBInvoiceLineItem, SBInvoiceLineItemTax, SBInvoiceMerchant, SBInvoicePayment, SBInvoiceRecurring, SBInvoiceStripeLinks, SBItemVariationRuleData, SBListResponse, SBLocation, SBLocationImage, SBLoyaltyProgram, SBLoyaltyRule, SBLoyaltyRuleBase, SBMailbox, SBMarketplaceApp, SBMembership, SBMembershipBusinessSummary, SBMembershipUserSummary, SBMerchantLedger, SBMoney, SBNotification, SBPagination, SBPayment, SBPaymentCardSnippet, SBPaymentExternalSnippet, SBPaymentIntent, SBPaymentIntentSummary, SBPaymentMethod, SBPaymentMethodBankAccountInfo, SBPaymentMethodBillingDetails, SBPaymentMethodCardInfo, SBPaymentMethodInfo, SBPaymentMethodSetupIntentResponse, SBPayout, SBPerDiemPolicy, SBPlanChangePreview, SBPlanChangePreviewLineItem, SBPortalSession, SBProduct, SBProductImage, SBProductImageDetail, SBProductType, SBProductVariant, SBPromoCode, SBPromoCodeType, SBReceipt, SBReceiptBarcode, SBReceiptBusiness, SBReceiptCustomer, SBReceiptDiscount, SBReceiptDocument, SBReceiptFee, SBReceiptLineItem, SBReceiptPayment, SBReceiptPaymentCard, SBReceiptRefund, SBReceiptTax, SBReceiptTransaction, SBReceiptVendor, SBRefund, SBSessionTokenResponse, SBSetupIntent, SBSharedMailbox, SBSpendRuleData, SBStatement, SBSubscription, SBSyncSession, SBTable, SBTableColumn, SBTableRow, SBTax, SBTaxByCategoryReport, SBTaxByTypeReport, SBTaxByVendorReport, SBTaxSummaryReport, SBTimestamps, SBTransaction, SBTransactionAttachment, SBTransactionEmployee, SBTransactionMerchant, SBTransactionTax, SBTransactionUploadResponse, SBTransactionVendor, SBTravelPolicy, SBTrip, SBTripDetail, SBTripExpense, SBTripPerDiem, SBTripTraveler, SBUpcomingInvoice, SBUserAccount, SBValidateEmailResponse, SBValidateSharedMailboxResponse, SBVendor, SBVendorBulkActionResponse, SBVendorConnectResponse, SBVendorConnection, SBVendorImportResult, SBVisitRuleData, SBWorkflow, SBWorkflowCondition, SBWorkflowStep, SBWorkflowTestResponse, SavedTrip, SavedTripCreateRequest, SavedTripDistance, SavedTripUpdateRequest, SmartbillsClientOptions, SmartbillsFieldError, StartRecordingRequest, StatementListRequest, StatementListResponse, SubmitDisputeEvidenceRequest, SyncSessionListRequest, SystemRatesRequest, TableCreateRequest, TableListRequest, TableUpdateRequest, TaxCreateRequest, TaxListRequest, TaxUpdateRequest, TieredRate, TransactionBatchUpdateRequest, TransactionCreateRequest, TransactionFeeCreateRequest, TransactionFeeRequest, TransactionLineItemCreateRequest, TransactionLineItemRequest, TransactionMerchantAddressRequest, TransactionMerchantRequest, TransactionTaxCreateRequest, TransactionTaxRequest, TransactionUpdateRequest, TravelPolicyCreateRequest, TravelPolicyUpdateRequest, TripCreateRequest, TripExpenseBatchRequest, TripExpenseRequest, TripListRequest, TripUpdateRequest, UpdateInstallationStatusRequest, UpdatePayoutScheduleRequest, UpgradeSubscriptionRequest, UsageHistoryRequest, UserUpdateRequest, Vehicle, VehicleCreateRequest, VehicleRef, VehicleRegistration, VehicleUpdateRequest, VendorBatchUpdateRequest, VendorConnectRequest, VendorCreateRequest, VendorListRequest, VendorMergeRequest, VendorUpdateRequest, WaypointInput, WorkflowCreateRequest, WorkflowListRequest, WorkflowTestRequest, WorkflowUpdateRequest };
10761
+ export { AccessToken, AppInstallationService, AppInstallationStatus, ApprobationService, AttachmentService, AuditLogService, AuthService, AuthorizedSenderService, BaseService, BillApprovalStatus, BillApprovalType, BillService, SBBillStatus as BillStatus, BillingService, BudgetService, BudgetStatus, BusinessService, BusinessUserService, CategoryService, ChargeStatus, CheckoutDocumentType, CheckoutPaymentStatus, CheckoutService, CheckoutStatus, ConnectAccountStatus, ConnectService, ConnectedAccountService, ConnectedAccountStatus, ConnectedAccountType, CreditNoteService, CustomerService, DEFAULT_BASE_URL, DELEGATOR_RESOURCE_PREFIX, DelegateService, DepartmentService, DisputeEvidenceSlot, DisputeService, DistanceUnit, EmailAccountService, EmailAccountStatus, EmailAccountSyncStatus, EmailAccountType, EmailForwardingService, EmployeeService, ErrorCode, ExpenseItemStatus, ExpenseJobService, ExpenseJobStatus, ExpenseReportAuditLogAction, ExpenseReportExpenseService, ExpenseReportPaymentService, ExpenseReportService, ExpenseReportStatus, ExpenseService, ExpenseSplitType, GsaRateAdjustment, HttpClient, IntegrationService, IntegrationStatus, InvitationService, InvitationStatus, InvoicePaymentService, InvoicePaymentStatus, InvoiceReminderFrequency, InvoiceReminderTiming, InvoiceService, LateFeeFrequency, LateFeeType, LocationService, LoyaltyService, MailboxType, MembershipRole, MembershipService, MileageRateChangeKind, MileageRateService, MileageRateType, MileageRecordingService, MileageRecordingStatus, MileageTripService, NotificationService, NotificationType, PayerType, PaymentIntentService, PaymentIntentStatus, PaymentMethodService, PaymentService, PaymentTerms, PayoutInterval, PayoutService, PayoutStatus, PerDiemAllowanceType, ProductImageService, ProductService, ProductVariantService, PromoCodeService, ReceiptPaymentStatus, ReceiptPaymentType, ReceiptService, ReceiptSource, ReceiptType, ReportingService, SBBillStatus, SBInvoiceActivityKind, SBInvoiceStatus, SBPaymentMethodType, SBPaymentStatus, SavedTripService, SmartbillsApiError, SmartbillsAuthenticationError, SmartbillsClient, SmartbillsConflictError, SmartbillsError, SmartbillsNetworkError, SmartbillsNotFoundError, SmartbillsPermissionError, SmartbillsQuotaError, SmartbillsRateLimitError, SmartbillsValidationError, StatementService, StatementStatus, SyncTriggerType, TOKEN_EXCHANGE_GRANT_TYPE, TOKEN_TYPE_ACCESS_TOKEN, TableService, TaxService, TransactionService, TransactionSource, TransactionType, TravelPolicyService, TripService, TripStatus, UserService, VehicleService, VendorConnectionService, VendorConnectionStatus, VendorService, WorkflowService, WorkflowTriggerType, isApiError, isAuthenticationError, isConflictError, isNetworkError, isNotFoundError, isPermissionError, isQuotaError, isRateLimitError, isRetryableError, isSmartbillsError, isValidationError, uploadFileToS3, uploadFileUriToS3 };
10762
+ export type { AddExpenseToReportRequest, AddExpensesToReportBatchRequest, AppendWaypointsRequest, ApplyCustomerCreditRequest, ApprobationListRequest, AssociateExpenseReportUpdateRequest, AttachInvoiceToWalletResponse, AttachmentListRequest, AttachmentRenameRequest, AuditLogListRequest, BalanceAmount, BillApprovalRequest, BillBatchUpdateRequest, BillBulkTaxLine, BillCancelRequest, BillCreateRequest, BillListRequest, BillMarkPaidRequest, BillReschedulePaymentRequest, BillRetryPaymentRequest, BillSchedulePaymentRequest, BillSubmitForApprovalRequest, BillTransitionRequest, BillUpdateRequest, BillingInvoiceListRequest, BudgetCategoryCreateRequest, BudgetCategoryUpdateRequest, BudgetCreateRequest, BudgetListRequest, BudgetNotificationCreateRequest, BudgetNotificationUpdateRequest, BudgetUpdateRequest, BulkApproveApprobationsRequest, BulkAssignCategoryRequest, BulkAssignExpenseReportRequest, BulkAssignPayerTypeRequest, BulkAssignReportCategoryRequest, BulkAssignVendorRequest, BulkBillApproveRequest, BulkBillAssignVendorRequest, BulkBillCancelPaymentRequest, BulkBillDeleteRequest, BulkBillMarkPaidRequest, BulkBillRemindRequest, BulkBillRetryPaymentRequest, BulkBillSchedulePaymentRequest, BulkBillSetTaxesRequest, BulkBillUnscheduleRequest, BulkBillUpdateRequest, BulkConvertMileageTripsRequest, BulkDeleteExpenseReportsRequest, BulkDeleteExpensesRequest, BulkDeleteVendorsRequest, BulkInvoiceActionRequest, BulkInvoiceActionResponse, BulkInvoiceActionResult, BulkMarkReimbursedApprobationsRequest, BulkMileageTripActionResponse, BulkMileageTripActionResult, BulkPlanReimbursementApprobationsRequest, BulkRecallExpenseReportsRequest, BulkRejectApprobationsRequest, BulkRemoveReportExpensesRequest, BulkRequestChangesApprobationsRequest, BulkRevertToReviewApprobationsRequest, BulkSetNoteRequest, BulkSetTaxesRequest, BulkSubmitExpenseReportsRequest, BulkTaxLine, BusinessBatchUpdateRequest, BusinessBrandCreateRequest, BusinessBrandUpdateRequest, BusinessCreateRequest, BusinessReminderDefaults, BusinessUpdateRequest, CalculateRouteRequest, CategoryCreateRequest, CategoryListRequest, CategoryUpdateRequest, CheckoutLineItem, CompleteRecordingRequest, ConfirmUploadFileRequest, ConfirmUploadRequest, ConnectOnboardingRequest, ConnectedAccountBankAccount, ConnectedAccountFees, ConnectedAccountLateFeeSettings, ConnectedAccountLateFeeSettingsRequest, ConnectedAccountOnboardingRequest, ConnectedAccountOnboardingResult, ConnectedAccountProcessing, ConnectedAccountRequirements, ConnectedAccountSettings, ConnectedAccountSettingsRequest, ConvertMileageTripRequest, CouponCreateRequest, CouponUpdateRequest, CreateAuthorizedSenderRequest, CreateCheckoutPaymentIntentRequest, CreatePaymentMethodRequest, CreatePayoutRequest, CreatePortalSessionRequest, CredentialProvider, CreditNoteCreateRequest, CreditNoteLineItemRequest, CreditNoteReason, CreditNoteStatus, CustomerCreateRequest, CustomerCreditAdjustmentRequest, CustomerCreditBalance, CustomerCreditBalanceSummary, CustomerCreditLedgerEntry, CustomerCreditLedgerSource, CustomerListRequest, CustomerUpdateRequest, DelegationCreateRequest, DelegationRequestCreateRequest, DelegationUpdateRequest, DepartmentCreateRequest, DepartmentListRequest, DepartmentUpdateRequest, DisputeEvidenceFinalizeRequest, DisputeEvidenceFinalizeResponse, DisputeEvidenceRequest, DisputeEvidenceUploadUrlRequest, DisputeEvidenceUploadUrlResponse, DisputeListRequest, EditExpenseInReportRequest, EffectivePeriod, EmailAccountImapCreateRequest, EmailAccountListRequest, EmailAccountOAuth2CreateRequest, EmailAccountUpdateRequest, EmailForwardingConfigRequest, EmployeeBulkAssignManagerRequest, EmployeeCreateRequest, EmployeeListRequest, EmployeeSetManagerRequest, EmployeeUpdateRequest, ErrorCodeType, ExchangeOnBehalfOfRequest, ExpenseAttachmentDownloadRequest, ExpenseCategoryUpdateRequest, ExpenseDepartmentUpdateRequest, ExpenseEmployeeUpdateRequest, ExpenseExportRequest, ExpenseJobListRequest, ExpenseListRequest, ExpenseNoteUpdateRequest, ExpenseOverTimeRequest, ExpensePayerTypeUpdateRequest, ExpenseReportApproveRequest, ExpenseReportAssignLedgerAccountRequest, ExpenseReportCommentCreateRequest, ExpenseReportCreateRequest, ExpenseReportExportRequest, ExpenseReportListRequest, ExpenseReportPartialReimburseRequest, ExpenseReportPlanReimbursementRequest, ExpenseReportRecallRequest, ExpenseReportReimburseRequest, ExpenseReportRejectRequest, ExpenseReportRequestChangesRequest, ExpenseReportUpdateRequest, ExpenseReviewUpdateRequest, ExpenseSplitItem, ExpenseSplitLineItem, ExpenseSplitRequest, FeeConfigurationRequest, FlatRate, HistoricalSyncRequest, HttpClientConfig, IntegrationCallbackRequest, IntegrationListRequest, InvitationCreateRequest, InvitationListRequest, InvoiceCreateRequest, InvoiceDiscountCreateRequest, InvoiceFeeCreateRequest, InvoiceListRequest, InvoiceMarkPaidRequest, InvoiceNotificationPrefs, InvoicePaymentCreateRequest, InvoicePaymentFilterRequest, InvoiceReminder, InvoiceSummary, InvoiceUpdateRequest, LedgerEntry, LedgerSummary, LocationBatchCreateRequest, LocationBatchUpdateRequest, LocationCreateRequest, LocationImageUrlRequest, LocationListRequest, LocationUpdateRequest, LoyaltyProgramCreateRequest, LoyaltyProgramListRequest, LoyaltyProgramStatus, LoyaltyProgramUpdateRequest, LoyaltyRewardType, LoyaltyRuleType, MailboxUpdateRequest, MembershipCreateRequest, MembershipEmailInviteRequest, MembershipListRequest, MembershipRoleUpdateRequest, MileageLocation, MileageRate, MileageRateBreakdown, MileageRateCorrectRequest, MileageRateCreateRequest, MileageRateSupersedeRequest, MileageRecording, MileageRoute, MileageTrip, MileageTripCreateRequest, MileageTripDistance, MileageTripExpenseReport, MileageTripListRequest, MileageTripRate, MileageTripUpdateRequest, MileageTripYtd, MileageYtdBaseline, MileageYtdBaselineUpsertRequest, MileageYtdSummary, NextInvoiceNumberResponse, NotificationListRequest, OnBehalfOfTokenResponse, PagedResult, PaginateBusinessRequest, PaginateTransactionRequest, PaginationRequest, PaymentIntentListRequest, PaymentListRequest, PaymentMethodListRequest, Payout, PayoutListRequest, PayoutListResponse, PayoutSchedule, PerDiemPolicyRequest, PresignedUploadFileRequest, PresignedUploadFileResponse, PresignedUploadRequest, PresignedUploadResponse, PreviewPlanChangeRequest, ProductCreateRequest, ProductImageConfirmUploadFileRequest, ProductImageConfirmUploadRequest, ProductImagePresignedUploadFileRequest, ProductImagePresignedUploadFileResponse, ProductImagePresignedUploadRequest, ProductImagePresignedUploadResponse, ProductListRequest, ProductUpdateRequest, ProductVariantCreateRequest, ProductVariantUpdateRequest, PromoCodeCreateRequest, PromoCodeListRequest, PromoCodeUpdateRequest, PublicInvoiceCustomer, PublicInvoiceDiscount, PublicInvoiceEarlyPaymentDiscount, PublicInvoiceExportFormat, PublicInvoiceFee, PublicInvoiceLineItem, PublicInvoiceLineItemTax, PublicInvoiceMerchant, PublicInvoiceMerchantRating, PublicInvoiceMerchantSocial, PublicInvoiceOnlinePaymentInstructions, PublicInvoicePayment, PublicInvoicePaymentCardSnippet, PublicInvoicePaymentInstructions, PublicInvoiceResponse, PublicInvoiceTax, PublicInvoiceWireInstructions, ReceiptCreateRequest, ReceiptListRequest, ReceiptOCRCreateRequest, ReceiptUpdateRequest, RecommendedTax, RecommendedTaxesRequest, RecordingWaypoints, RefundCheckoutPaymentRequest, RefundCreateRequest, ReportDateRange, ReportingRequest, RequestOptions, ResolveRateRequest, ResolvedRate, RouteCalculation, SBAddress, SBAppInstallation, SBApprobationSummary, SBAttachment, SBAuditChainVerifyResult, SBAuditDiff, SBAuditIntegrity, SBAuditLogEntry, SBAuditLogPage, SBAuditSource, SBAuditUserSummary, SBAuthorizedSender, SBBalance, SBBatchResponse, SBBill, SBBillApproval, SBBillApprovalHistoryItem, SBBillAttachment, SBBillBulkActionResponse, SBBillEmployee, SBBillLineItem, SBBillStatusHistoryItem, SBBillStatusSummary, SBBillTax, SBBillTransitionResponse, SBBillVendor, SBBillVendorAccount, SBBillingAddress, SBBillingInvoice, SBBillingInvoiceLine, SBBillingPaymentMethod, SBBillingPlan, SBBillingUsage, SBBudget, SBBudgetCategory, SBBudgetDetail, SBBudgetNotification, SBBudgetOwner, SBBulkActionResponse, SBBulkActionResult, SBBusiness, SBBusinessBrand, SBBusinessPlan, SBCanActAsResult, SBCategory, SBCategoryRuleData, SBCharge, SBCheckoutLineItem, SBCheckoutPayment, SBCheckoutPaymentDispute, SBCheckoutPaymentRefund, SBCheckoutTax, SBCheckoutTransactionResponse, SBConnectAccount, SBConnectAccountRequirements, SBConnectDashboardResponse, SBConnectOnboardingResponse, SBConnectedAccount, SBCoordinate, SBCoupon, SBCouponAllocationMethod, SBCouponCustomerSelection, SBCouponTargetSelection, SBCouponTargetType, SBCouponType, SBCreateCheckoutPaymentIntentResponse, SBCreditNote, SBCreditNoteLineItem, SBCustomer, SBDelegation, SBDelegationAuditEvent, SBDelegationRequest, SBDelegationRequestStatus, SBDelegationUser, SBDepartment, SBDepartmentMember, SBDispute, SBDisputeListResponse, SBDisputeStats, SBDowngradeValidation, SBEmailAccount, SBEmailAccountAuthorizeResponse, SBEmailForwardingConfig, SBEmployee, SBEmployeeCategoryBreakdownReport, SBEmployeeDepartment, SBEmployeeLocation, SBEmployeeManager, SBEntity, SBExpenseBulkActionResponse, SBExpenseByCategoryReport, SBExpenseByDayReport, SBExpenseByEmployeeReport, SBExpenseByVendorReport, SBExpenseJob, SBExpenseMonthlySummary, SBExpenseOverTimeDataPoint, SBExpenseOverTimeReport, SBExpenseReport, SBExpenseReportAuditLogEntry, SBExpenseReportBulkActionResponse, SBExpenseReportComment, SBExpenseReportItem, SBExpenseReportSummary, SBExpenseReportTimelineEntry, SBExpenseValidateResponse, SBFileDownloadResponse, SBHistoricalSyncResponse, SBIntegration, SBIntegrationAuthorizeResponse, SBInvitation, SBInvoice, SBInvoiceActivityEvent, SBInvoiceCustomer, SBInvoiceEmployee, SBInvoiceLineItem, SBInvoiceLineItemTax, SBInvoiceMerchant, SBInvoicePayment, SBInvoiceRecurring, SBInvoiceStripeLinks, SBItemVariationRuleData, SBListResponse, SBLocation, SBLocationImage, SBLoyaltyProgram, SBLoyaltyRule, SBLoyaltyRuleBase, SBMailbox, SBMarketplaceApp, SBMembership, SBMembershipBusinessSummary, SBMembershipUserSummary, SBMerchantLedger, SBMoney, SBNotification, SBPagination, SBPayment, SBPaymentCardSnippet, SBPaymentExternalSnippet, SBPaymentIntent, SBPaymentIntentSummary, SBPaymentMethod, SBPaymentMethodBankAccountInfo, SBPaymentMethodBillingDetails, SBPaymentMethodCardInfo, SBPaymentMethodInfo, SBPaymentMethodSetupIntentResponse, SBPayout, SBPerDiemPolicy, SBPlanChangePreview, SBPlanChangePreviewLineItem, SBPortalSession, SBProduct, SBProductImage, SBProductImageDetail, SBProductType, SBProductVariant, SBPromoCode, SBPromoCodeType, SBReceipt, SBReceiptBarcode, SBReceiptBusiness, SBReceiptCustomer, SBReceiptDiscount, SBReceiptDocument, SBReceiptFee, SBReceiptLineItem, SBReceiptPayment, SBReceiptPaymentCard, SBReceiptRefund, SBReceiptTax, SBReceiptTransaction, SBReceiptVendor, SBRefund, SBSessionTokenResponse, SBSetupIntent, SBSharedMailbox, SBSpendRuleData, SBStatement, SBSubscription, SBSubscriptionActionResult, SBSyncSession, SBTable, SBTableColumn, SBTableRow, SBTax, SBTaxByCategoryReport, SBTaxByTypeReport, SBTaxByVendorReport, SBTaxSummaryReport, SBTimestamps, SBTransaction, SBTransactionAttachment, SBTransactionEmployee, SBTransactionMerchant, SBTransactionTax, SBTransactionUploadResponse, SBTransactionVendor, SBTravelPolicy, SBTrip, SBTripDetail, SBTripExpense, SBTripPerDiem, SBTripTraveler, SBUpcomingInvoice, SBUseForSubscriptionResult, SBUserAccount, SBValidateEmailResponse, SBValidateSharedMailboxResponse, SBVendor, SBVendorBulkActionResponse, SBVendorConnectResponse, SBVendorConnection, SBVendorImportResult, SBVisitRuleData, SBWorkflow, SBWorkflowCondition, SBWorkflowStep, SBWorkflowTestResponse, SavedTrip, SavedTripCreateRequest, SavedTripDistance, SavedTripUpdateRequest, SmartbillsClientOptions, SmartbillsFieldError, StartRecordingRequest, StatementListRequest, StatementListResponse, SubmitDisputeEvidenceRequest, SyncSessionListRequest, SystemRatesRequest, TableCreateRequest, TableListRequest, TableUpdateRequest, TaxCreateRequest, TaxListRequest, TaxUpdateRequest, TieredRate, TransactionBatchUpdateRequest, TransactionCreateRequest, TransactionFeeCreateRequest, TransactionFeeRequest, TransactionLineItemCreateRequest, TransactionLineItemRequest, TransactionMerchantAddressRequest, TransactionMerchantRequest, TransactionTaxCreateRequest, TransactionTaxRequest, TransactionUpdateRequest, TravelPolicyCreateRequest, TravelPolicyUpdateRequest, TripCreateRequest, TripExpenseBatchRequest, TripExpenseRequest, TripListRequest, TripUpdateRequest, UpdateInstallationStatusRequest, UpdatePayoutScheduleRequest, UpgradeSubscriptionRequest, UsageHistoryRequest, UserUpdateRequest, Vehicle, VehicleCreateRequest, VehicleModel, VehicleRef, VehicleRegistration, VehicleUpdateRequest, VendorBatchUpdateRequest, VendorConnectRequest, VendorCreateRequest, VendorListRequest, VendorMergeRequest, VendorUpdateRequest, WaypointInput, WorkflowCreateRequest, WorkflowListRequest, WorkflowTestRequest, WorkflowUpdateRequest };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartbills/sdk",
3
- "version": "1.1.0-alpha.43",
3
+ "version": "1.1.0-alpha.45",
4
4
  "description": "Smartbills SDK for JavaScript/TypeScript",
5
5
  "type": "module",
6
6
  "main": "dist/cjs/index.cjs",
@@ -49,5 +49,5 @@
49
49
  "registry": "https://registry.npmjs.org/"
50
50
  },
51
51
  "packageManager": "yarn@4.7.0",
52
- "gitHead": "0d1b10731a4a93bd5fcf9c6cce539822d3822b74"
52
+ "gitHead": "4fcdcbaf071875c70520582b2456cddc24ace8a5"
53
53
  }