@smartbills/sdk 1.1.0-alpha.42 → 1.1.0-alpha.44

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
  /**
@@ -7311,6 +7346,33 @@ interface SBTax extends SBEntity, SBTimestamps {
7311
7346
  interface TaxListRequest extends PaginationRequest {
7312
7347
  search?: string;
7313
7348
  }
7349
+ /**
7350
+ * A tax recommended for a given jurisdiction (country + region/province), used to
7351
+ * suggest the correct sales taxes on an expense based on the vendor's address.
7352
+ * Names are bilingual (EN/FR) so the client can localize, e.g. GST/TPS, QST/TVQ, HST/TVH.
7353
+ */
7354
+ interface RecommendedTax {
7355
+ /** Canonical short code, e.g. "GST", "QST", "HST", "PST", "RST". */
7356
+ code: string;
7357
+ /** English short name, e.g. "GST", "QST", "HST". */
7358
+ name: string;
7359
+ /** French short name, e.g. "TPS", "TVQ", "TVH". */
7360
+ nameFr: string;
7361
+ /** Rate as a fraction, e.g. 0.05 for 5%, 0.09975 for 9.975%. */
7362
+ rate: number;
7363
+ /** "federal", "provincial", or "harmonized". */
7364
+ type: string;
7365
+ }
7366
+ interface RecommendedTaxesRequest {
7367
+ country?: string;
7368
+ region?: string;
7369
+ /**
7370
+ * Date the taxes apply on (e.g. the expense date), as an ISO date string.
7371
+ * When provided, the rate in effect on that date is returned (e.g. Nova Scotia
7372
+ * HST 15% before 2025-04-01). Defaults to the current rate when omitted.
7373
+ */
7374
+ asOf?: string;
7375
+ }
7314
7376
  interface TaxCreateRequest {
7315
7377
  name: string;
7316
7378
  percentage: number;
@@ -7330,6 +7392,11 @@ declare class TaxService extends BaseService {
7330
7392
  create(data: TaxCreateRequest, options?: RequestOptions): Promise<SBTax>;
7331
7393
  update(id: number, data: TaxUpdateRequest, options?: RequestOptions): Promise<SBTax>;
7332
7394
  delete(id: number, options?: RequestOptions): Promise<void>;
7395
+ /**
7396
+ * Returns the sales taxes recommended for a jurisdiction (e.g. country "CA", region "QC")
7397
+ * so the client can suggest them on an expense based on the vendor's address.
7398
+ */
7399
+ listRecommended(params?: RecommendedTaxesRequest, options?: RequestOptions): Promise<RecommendedTax[]>;
7333
7400
  }
7334
7401
 
7335
7402
  /**
@@ -8160,6 +8227,16 @@ declare enum MileageRateType {
8160
8227
  TIERED = "TIERED",
8161
8228
  FLAT = "FLAT"
8162
8229
  }
8230
+ /**
8231
+ * Why a mileage-rate version exists. Rates are bitemporal and append-only:
8232
+ * INITIAL (first version), SUPERSESSION (rate changed going forward), CORRECTION
8233
+ * (a prior version was recorded wrong and replaced over the same valid window).
8234
+ */
8235
+ declare enum MileageRateChangeKind {
8236
+ INITIAL = "INITIAL",
8237
+ SUPERSESSION = "SUPERSESSION",
8238
+ CORRECTION = "CORRECTION"
8239
+ }
8163
8240
  /** A geographic endpoint — used by trips, recordings, saved trips, and route lookups. */
8164
8241
  interface MileageLocation {
8165
8242
  address?: string;
@@ -8261,9 +8338,11 @@ interface MileageTrip extends SBEntity, SBTimestamps {
8261
8338
  isRoundTrip: boolean;
8262
8339
  vehicle?: VehicleRef;
8263
8340
  savedTripId?: number;
8264
- origin: MileageLocation;
8265
- destination: MileageLocation;
8266
- waypointsJson?: string;
8341
+ /**
8342
+ * Ordered list of route endpoints — index 0 is the origin, the last entry is the destination,
8343
+ * anything in between is an intermediate stop. Always has at least 2 entries.
8344
+ */
8345
+ stops: MileageLocation[];
8267
8346
  distance: MileageTripDistance;
8268
8347
  rate: MileageTripRate;
8269
8348
  /** Detail-only: per-tier split of the amount. Null on list responses. */
@@ -8313,6 +8392,8 @@ interface Vehicle extends SBEntity, SBTimestamps {
8313
8392
  businessId: number;
8314
8393
  employeeId?: number;
8315
8394
  name?: string;
8395
+ /** Catalog model picked from the vPIC-seeded list (the authoritative make/model). */
8396
+ vehicleModelId?: number;
8316
8397
  make?: string;
8317
8398
  model?: string;
8318
8399
  year?: number;
@@ -8321,6 +8402,15 @@ interface Vehicle extends SBEntity, SBTimestamps {
8321
8402
  isDefault: boolean;
8322
8403
  isActive: boolean;
8323
8404
  }
8405
+ /** A catalog entry returned by the vPIC-seeded model search (`/v1/vehicle-models`). */
8406
+ interface VehicleModel {
8407
+ id: number;
8408
+ make: string;
8409
+ model: string;
8410
+ vehicleType?: string;
8411
+ /** Display label, e.g. "BMW 328i xDrive". */
8412
+ label: string;
8413
+ }
8324
8414
  interface SavedTrip extends SBEntity, SBTimestamps {
8325
8415
  businessId: number;
8326
8416
  employeeId?: number;
@@ -8328,9 +8418,8 @@ interface SavedTrip extends SBEntity, SBTimestamps {
8328
8418
  /** Default name applied to trips spun off this template. Previously called "defaultPurpose". */
8329
8419
  defaultName?: string;
8330
8420
  isActive: boolean;
8331
- origin: MileageLocation;
8332
- destination: MileageLocation;
8333
- waypointsJson?: string;
8421
+ /** Ordered route endpoints (≥2): index 0 = origin, last = destination, middle = stops. */
8422
+ stops: MileageLocation[];
8334
8423
  distance: SavedTripDistance;
8335
8424
  /** Optional default vehicle for this template, denormalized with the name so clients can
8336
8425
  * display it without a separate lookup. Null = user picks at trip-create time. */
@@ -8349,11 +8438,18 @@ interface MileageRate extends SBEntity, SBTimestamps {
8349
8438
  tiered?: TieredRate;
8350
8439
  flat?: FlatRate;
8351
8440
  effective: EffectivePeriod;
8441
+ /** When this version was recorded in our system (transaction-time start). */
8442
+ recordedAt: string;
8443
+ /** When our belief in this version ended (a correction replaced it). Null/undefined = current belief. */
8444
+ supersededAt?: string | null;
8445
+ /** Why this version exists: initial / forward supersession / correction. */
8446
+ changeKind: MileageRateChangeKind;
8447
+ replacesRateId?: number | null;
8448
+ supersededByRateId?: number | null;
8352
8449
  }
8353
8450
  interface MileageTripCreateRequest {
8354
- origin: MileageLocation;
8355
- destination: MileageLocation;
8356
- waypoints?: string[];
8451
+ /** Ordered route endpoints (≥2): index 0 = origin, last = destination, middle = stops. */
8452
+ stops: MileageLocation[];
8357
8453
  vehicle?: VehicleRef;
8358
8454
  savedTripId?: number;
8359
8455
  categoryId?: number;
@@ -8401,6 +8497,8 @@ interface MileageTripListRequest extends PaginationRequest {
8401
8497
  }
8402
8498
  interface VehicleCreateRequest {
8403
8499
  name?: string;
8500
+ /** Catalog model id from the model search; the server denormalizes make/model from it. */
8501
+ vehicleModelId?: number;
8404
8502
  make?: string;
8405
8503
  model?: string;
8406
8504
  year?: number;
@@ -8413,9 +8511,8 @@ interface VehicleUpdateRequest extends Partial<VehicleCreateRequest> {
8413
8511
  }
8414
8512
  interface SavedTripCreateRequest {
8415
8513
  name?: string;
8416
- origin?: MileageLocation;
8417
- destination?: MileageLocation;
8418
- waypoints?: string[];
8514
+ /** Ordered route endpoints (≥2): index 0 = origin, last = destination, middle = stops. */
8515
+ stops?: MileageLocation[];
8419
8516
  distance?: {
8420
8517
  typical?: number;
8421
8518
  unit?: DistanceUnit;
@@ -8436,16 +8533,42 @@ interface MileageRateCreateRequest {
8436
8533
  isDefault?: boolean;
8437
8534
  effective?: Partial<EffectivePeriod>;
8438
8535
  }
8439
- type MileageRateUpdateRequest = Partial<MileageRateCreateRequest>;
8536
+ /**
8537
+ * Supersede a current rate going forward (the rate genuinely changed). Inserts a new version from
8538
+ * `from`; the prior version's `effective.to` is capped to that date. Inherits the prior's country/region.
8539
+ */
8540
+ interface MileageRateSupersedeRequest {
8541
+ /** Date the new rate takes effect (ISO). Must be after the superseded version's start. */
8542
+ from: string;
8543
+ /** Optional end date for the new version (open-ended when omitted). */
8544
+ to?: string | null;
8545
+ type: MileageRateType;
8546
+ unit?: DistanceUnit;
8547
+ tiered?: TieredRate;
8548
+ flat?: FlatRate;
8549
+ isDefault?: boolean;
8550
+ }
8551
+ /**
8552
+ * Correct a current version recorded in error. Append-only: the wrong version is closed in
8553
+ * transaction time and a corrected version replaces it over the same valid window. Pass `effective`
8554
+ * only to also fix a mistyped date.
8555
+ */
8556
+ interface MileageRateCorrectRequest {
8557
+ type: MileageRateType;
8558
+ unit?: DistanceUnit;
8559
+ tiered?: TieredRate;
8560
+ flat?: FlatRate;
8561
+ isDefault?: boolean;
8562
+ effective?: Partial<EffectivePeriod>;
8563
+ }
8440
8564
  interface SystemRatesRequest {
8441
8565
  country?: string;
8442
8566
  region?: string;
8443
8567
  year?: number;
8444
8568
  }
8445
8569
  interface CalculateRouteRequest {
8446
- origin?: MileageLocation;
8447
- destination?: MileageLocation;
8448
- waypoints?: string[];
8570
+ /** Ordered route endpoints (≥2): index 0 = origin, last = destination, middle = stops. */
8571
+ stops?: MileageLocation[];
8449
8572
  isRoundTrip?: boolean;
8450
8573
  departureTime?: string;
8451
8574
  unit?: DistanceUnit;
@@ -8461,12 +8584,6 @@ interface RouteCalculation {
8461
8584
  minutes: number;
8462
8585
  };
8463
8586
  polyline?: string;
8464
- origin?: {
8465
- address?: string;
8466
- };
8467
- destination?: {
8468
- address?: string;
8469
- };
8470
8587
  }
8471
8588
  /** Lifecycle of a GPS recording session. */
8472
8589
  declare enum MileageRecordingStatus {
@@ -8576,6 +8693,14 @@ interface MileageYtdSummary {
8576
8693
  startingDistance: number;
8577
8694
  loggedDistance: number;
8578
8695
  loggedAmount: number;
8696
+ /**
8697
+ * Distance across *committed* trips only — those on a submitted-or-onward expense report.
8698
+ * This is what the employee has actually claimed for the year (vs logged-but-draft trips),
8699
+ * and the headline figure on the homepage YTD card.
8700
+ */
8701
+ claimedDistance: number;
8702
+ /** Amount across committed trips — what's actually been claimed. */
8703
+ claimedAmount: number;
8579
8704
  currency: string;
8580
8705
  cumulativeDistance: number;
8581
8706
  /**
@@ -8601,6 +8726,8 @@ declare class MileageTripService extends BaseService {
8601
8726
  delete(tripId: number, options?: RequestOptions): Promise<void>;
8602
8727
  /** Materializes the SBMileageExpense for a logged trip. Idempotent if already converted. */
8603
8728
  convert(tripId: number, data?: ConvertMileageTripRequest, options?: RequestOptions): Promise<MileageTrip>;
8729
+ /** Duplicates a logged trip as a fresh logged trip dated today (same route + vehicle). */
8730
+ clone(tripId: number, options?: RequestOptions): Promise<MileageTrip>;
8604
8731
  /**
8605
8732
  * Bulk-convert many trips in one request. Server processes them sequentially so per-trip
8606
8733
  * YTD rate calc stays correct; the response reports each id's outcome individually.
@@ -8610,8 +8737,10 @@ declare class MileageTripService extends BaseService {
8610
8737
  calculateRoute(data: CalculateRouteRequest, options?: RequestOptions): Promise<RouteCalculation>;
8611
8738
  }
8612
8739
 
8613
- /** Employee-scoped vehicle registry. */
8740
+ /** Employee-scoped vehicle registry, plus the global vPIC-seeded model catalog search. */
8614
8741
  declare class VehicleService extends BaseService {
8742
+ /** Type-ahead over the vPIC-seeded vehicle catalog. Global (not business-scoped). */
8743
+ searchModels(query: string, limit?: number, options?: RequestOptions): Promise<VehicleModel[]>;
8615
8744
  list(employeeId: number, options?: RequestOptions): Promise<Vehicle[]>;
8616
8745
  get(employeeId: number, vehicleId: number, options?: RequestOptions): Promise<Vehicle>;
8617
8746
  create(employeeId: number, data: VehicleCreateRequest, options?: RequestOptions): Promise<Vehicle>;
@@ -8634,8 +8763,23 @@ declare class MileageRateService extends BaseService {
8634
8763
  listBusinessRates(options?: RequestOptions): Promise<MileageRate[]>;
8635
8764
  get(rateId: number, options?: RequestOptions): Promise<MileageRate>;
8636
8765
  createCustomRate(data: MileageRateCreateRequest, options?: RequestOptions): Promise<MileageRate>;
8637
- updateCustomRate(rateId: number, data: MileageRateUpdateRequest, options?: RequestOptions): Promise<MileageRate>;
8638
- deleteCustomRate(rateId: number, options?: RequestOptions): Promise<void>;
8766
+ /**
8767
+ * Supersede a current rate going forward — the rate genuinely changed (e.g. CRA's mid-year change).
8768
+ * Appends a new version and caps the prior one. Rates are immutable, so this is how a change is recorded.
8769
+ */
8770
+ supersedeCustomRate(rateId: number, data: MileageRateSupersedeRequest, options?: RequestOptions): Promise<MileageRate>;
8771
+ /**
8772
+ * Correct a current rate recorded in error. Append-only: the wrong version is closed and a corrected
8773
+ * version replaces it over the same valid window, preserving what we previously believed/paid.
8774
+ */
8775
+ correctCustomRate(rateId: number, data: MileageRateCorrectRequest, options?: RequestOptions): Promise<MileageRate>;
8776
+ /**
8777
+ * Archive (end-date) a custom rate. Rates are never hard-deleted — archiving stops the rate
8778
+ * applying to new trips while keeping it on record. Reversible via {@link restoreCustomRate}.
8779
+ */
8780
+ archiveCustomRate(rateId: number, options?: RequestOptions): Promise<MileageRate>;
8781
+ /** Restore an archived rate by clearing its end date, so it applies again. */
8782
+ restoreCustomRate(rateId: number, options?: RequestOptions): Promise<MileageRate>;
8639
8783
  /** Resolve the rate + reimbursable amount that would apply to a trip (preview, no persistence). */
8640
8784
  resolveRate(data: ResolveRateRequest, options?: RequestOptions): Promise<ResolvedRate>;
8641
8785
  }
@@ -10544,5 +10688,5 @@ type CouponUpdateRequest = Partial<CouponCreateRequest>;
10544
10688
  declare function uploadFileToS3(uploadUrl: string, file: Blob | ArrayBuffer, contentType: string): Promise<void>;
10545
10689
  declare function uploadFileUriToS3(uploadUrl: string, fileUri: string, contentType: string): Promise<void>;
10546
10690
 
10547
- 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 };
10548
- 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, 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 };
10691
+ 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 };
10692
+ 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, 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.42",
3
+ "version": "1.1.0-alpha.44",
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": "071d960534c30ecf8555a01b10ea8dcbbdf070d5"
52
+ "gitHead": "e61abebf2345b94b57c29e4c514e87aa3eed7b2d"
53
53
  }