@smartbills/sdk 1.1.0-alpha.29 → 1.1.0-alpha.31

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.
@@ -8896,12 +8896,438 @@ declare class StatementService extends BaseService {
8896
8896
  resendEmail(id: number, options?: RequestOptions): Promise<SBStatement>;
8897
8897
  }
8898
8898
 
8899
+ /** Lightweight user shape returned alongside a delegation grant. */
8900
+ interface SBDelegationUser {
8901
+ id: number;
8902
+ firstName?: string;
8903
+ lastName?: string;
8904
+ email?: string;
8905
+ }
8906
+ /**
8907
+ * A grant by which `delegateUser` is permitted to act on behalf of
8908
+ * `delegatorUser` inside `businessId`, scoped by `scopes` and bounded by
8909
+ * `startDate`/`endDate`.
8910
+ *
8911
+ * Note: the API also emits deprecated `delegateFromUserId` / `delegateFromUser`
8912
+ * / `delegateToUserId` / `delegateToUser` mirrors for back-compat — they are
8913
+ * not modelled here on purpose.
8914
+ */
8915
+ interface SBDelegation extends SBEntity, SBTimestamps {
8916
+ businessId: number;
8917
+ /** User who granted the access (whose data may be acted upon). */
8918
+ delegatorUserId: number;
8919
+ delegatorUser?: SBDelegationUser;
8920
+ /** User who received the access (who can act on the delegator's behalf). */
8921
+ delegateUserId: number;
8922
+ delegateUser?: SBDelegationUser;
8923
+ scopes: string[];
8924
+ startDate?: string;
8925
+ endDate?: string;
8926
+ isActive?: boolean;
8927
+ }
8928
+ /**
8929
+ * Create a new delegation grant. Either `delegateUserId` or
8930
+ * `delegateUserEmail` must be provided; the API resolves the email server-side
8931
+ * and returns 400 if no user matches.
8932
+ */
8933
+ interface DelegationCreateRequest {
8934
+ delegateUserId?: number;
8935
+ delegateUserEmail?: string;
8936
+ scopes?: string[];
8937
+ /** Optional — defaults to "now" on the server when omitted. */
8938
+ startDate?: string;
8939
+ /** Optional — defaults to "now + 1y" on the server when omitted. */
8940
+ endDate?: string;
8941
+ }
8942
+ /** Partial-update payload — every field is optional. */
8943
+ interface DelegationUpdateRequest {
8944
+ startDate?: string;
8945
+ endDate?: string;
8946
+ isActive?: boolean;
8947
+ scopes?: string[];
8948
+ }
8949
+ /** One row in the delegation audit trail. */
8950
+ interface SBDelegationAuditEvent {
8951
+ id: number;
8952
+ reason: "DelegationGranted" | "DelegationRevoked" | "DelegationDeclined" | "DelegationAssumed";
8953
+ recordId?: string;
8954
+ userId?: number;
8955
+ delegatedByUserId?: number;
8956
+ clientId?: string;
8957
+ changedAt: string;
8958
+ newValue?: string;
8959
+ oldValue?: string;
8960
+ ipAddress?: string;
8961
+ userAgent?: string;
8962
+ }
8963
+ /**
8964
+ * Result of `GET /v1/businesses/{businessId}/delegates/can-act-as/{delegatorUserId}`.
8965
+ * Used by the OAuth2 token-exchange grant validator and any client-side
8966
+ * pre-flight check before showing "Act as…" affordances.
8967
+ *
8968
+ * The API always returns 200 — the boolean carries the decision and
8969
+ * `reason` / `missingScopes` explain a denial. We intentionally do NOT use
8970
+ * HTTP error codes so callers branch on shape rather than handling exceptions
8971
+ * for an expected business outcome.
8972
+ */
8973
+ interface SBCanActAsResult {
8974
+ allowed: boolean;
8975
+ /**
8976
+ * Machine-readable denial reason. One of:
8977
+ * - `no_active_delegation` — no row exists between (delegate, delegator, business).
8978
+ * - `delegation_not_found_or_scope_unsupported` — a row exists but at least one
8979
+ * requested scope isn't covered (see `missingScopes`).
8980
+ * Undefined when `allowed` is true.
8981
+ */
8982
+ reason?: "no_active_delegation" | "delegation_not_found_or_scope_unsupported";
8983
+ /**
8984
+ * Every requested scope that wasn't permitted (not just the first one).
8985
+ * Only populated when `scope` was non-empty and `reason` is
8986
+ * `delegation_not_found_or_scope_unsupported`. Surfaced as an array so the
8987
+ * caller can render a single error message instead of walking scopes one at
8988
+ * a time.
8989
+ */
8990
+ missingScopes?: string[];
8991
+ delegateUserId?: number;
8992
+ delegatorUserId?: number;
8993
+ businessId?: number;
8994
+ /** Echoes the requested scopes when the call succeeded with a non-empty scope filter. */
8995
+ scopes?: string[];
8996
+ }
8997
+ /**
8998
+ * A request from one user to act on behalf of another inside a business.
8999
+ * Created by the would-be delegate ("please ask X to grant me access");
9000
+ * resolved by the granter via approve/decline. On approval the row goes
9001
+ * terminal and a real `SBDelegation` is created — its id surfaces in
9002
+ * `resolvedDelegationId`.
9003
+ */
9004
+ interface SBDelegationRequest extends SBEntity, SBTimestamps {
9005
+ businessId: number;
9006
+ /** The user asking for access (the would-be delegate). */
9007
+ requesterUserId: number;
9008
+ requesterUser?: SBDelegationUser;
9009
+ /** The user whose access is being requested (the would-be delegator). */
9010
+ granterUserId: number;
9011
+ granterUser?: SBDelegationUser;
9012
+ scopes: string[];
9013
+ /** Free-form note the requester provided. */
9014
+ reason?: string;
9015
+ status: SBDelegationRequestStatus;
9016
+ /** Populated when `status` is anything other than `pending`. */
9017
+ respondedAt?: string;
9018
+ /** If approved, the id of the resulting active delegation. */
9019
+ resolvedDelegationId?: number;
9020
+ }
9021
+ /**
9022
+ * API serializes enums as CONSTANT_CASE via the global JsonStringEnumConverter
9023
+ * + ConstantCasePropertyNameResolver — see Smartbills.API/Program.cs and
9024
+ * DataAccess/Utils/ConstantCasePropertyNameResolver.cs.
9025
+ */
9026
+ type SBDelegationRequestStatus = "PENDING" | "APPROVED" | "DECLINED" | "CANCELLED";
9027
+ interface DelegationRequestCreateRequest {
9028
+ /** The user whose access is being requested. Either this or `granterUserEmail`. */
9029
+ granterUserId?: number;
9030
+ granterUserEmail?: string;
9031
+ /** Defaults to `["*"]` server-side when empty. */
9032
+ scopes?: string[];
9033
+ /** Free-form note shown to the granter. */
9034
+ reason?: string;
9035
+ }
9036
+ /**
9037
+ * Response from a successful OAuth 2.0 Token Exchange (RFC 8693).
9038
+ * Returned by `AuthService.exchangeOnBehalfOf`.
9039
+ */
9040
+ interface OnBehalfOfTokenResponse {
9041
+ access_token: string;
9042
+ /** Seconds until the token expires. Used to schedule silent re-exchange. */
9043
+ expires_in: number;
9044
+ token_type: "Bearer";
9045
+ /** Always `urn:ietf:params:oauth:token-type:access_token` for this flow. */
9046
+ issued_token_type: string;
9047
+ /** Space-separated scopes that were actually issued. */
9048
+ scope?: string;
9049
+ }
9050
+
9051
+ /**
9052
+ * Service for managing delegate grants — who can act on whose behalf inside
9053
+ * a business. Mirrors `UserDelegationsController` on the API
9054
+ * (`/v1/businesses/{businessId}/delegates`).
9055
+ */
9056
+ declare class DelegateService extends BaseService {
9057
+ /** Delegates I have granted (I am the delegator — these users may act on my behalf). */
9058
+ listGrantedByMe(options?: RequestOptions): Promise<SBDelegation[]>;
9059
+ /** Delegators who granted me access (I am the delegate). */
9060
+ listGrantedToMe(options?: RequestOptions): Promise<SBDelegation[]>;
9061
+ getById(id: number, options?: RequestOptions): Promise<SBDelegation>;
9062
+ create(data: DelegationCreateRequest, options?: RequestOptions): Promise<SBDelegation>;
9063
+ update(id: number, data: DelegationUpdateRequest, options?: RequestOptions): Promise<SBDelegation>;
9064
+ /** Delegator-initiated revoke (I revoke a grant I gave to someone). */
9065
+ revoke(id: number, options?: RequestOptions): Promise<void>;
9066
+ /**
9067
+ * Delegate-initiated decline — withdraws my acceptance of a grant somebody
9068
+ * gave me, without needing the delegator to do anything.
9069
+ */
9070
+ decline(id: number, options?: RequestOptions): Promise<void>;
9071
+ /**
9072
+ * Pre-flight check used by the OAuth2 token-exchange validator (and any
9073
+ * client that wants to gate UI before kicking off an "Act as" flow).
9074
+ * Verifies the bearer (the delegate) is permitted to act on behalf of
9075
+ * `delegatorUserId` inside the current business.
9076
+ *
9077
+ * Pass `scopes` as a string array; the SDK joins them into the
9078
+ * space-separated form (RFC 6749 §3.3) the API expects, and the API
9079
+ * requires EVERY listed scope to be permitted. Omit `scopes` to require
9080
+ * only that an active delegation row exist.
9081
+ *
9082
+ * Always resolves — the returned `allowed` boolean carries the decision.
9083
+ * Use `result.missingScopes` to show a one-shot error rather than walking
9084
+ * scopes one at a time.
9085
+ */
9086
+ canActAs(delegatorUserId: number, scopes?: string[], options?: RequestOptions): Promise<SBCanActAsResult>;
9087
+ /** Create a pending delegation request (caller is the requester). */
9088
+ createRequest(data: DelegationRequestCreateRequest, options?: RequestOptions): Promise<SBDelegationRequest>;
9089
+ /** Pending requests waiting on the caller's approval. */
9090
+ listIncomingRequests(options?: RequestOptions): Promise<SBDelegationRequest[]>;
9091
+ /** Pending requests the caller has sent. */
9092
+ listOutgoingRequests(options?: RequestOptions): Promise<SBDelegationRequest[]>;
9093
+ /** Approve a pending request (caller must be the granter). Creates the delegation. */
9094
+ approveRequest(requestId: number, options?: RequestOptions): Promise<SBDelegationRequest>;
9095
+ /** Decline a pending request (caller must be the granter). */
9096
+ declineRequest(requestId: number, options?: RequestOptions): Promise<SBDelegationRequest>;
9097
+ /** Cancel a pending request (caller must be the requester). */
9098
+ cancelRequest(requestId: number, options?: RequestOptions): Promise<void>;
9099
+ /** Audit trail of delegation events for the current business. */
9100
+ listAuditEvents(params?: {
9101
+ page?: number;
9102
+ pageSize?: number;
9103
+ }, options?: RequestOptions): Promise<{
9104
+ totalCount: number;
9105
+ page: number;
9106
+ pageSize: number;
9107
+ items: SBDelegationAuditEvent[];
9108
+ }>;
9109
+ }
9110
+
9111
+ /**
9112
+ * One row in the business audit trail — the public read-model returned by
9113
+ * the API's `AuditLogsController`.
9114
+ *
9115
+ * Structure is grouped by concern so call-sites don't have to fish bits out
9116
+ * of a flat blob: `actor` / `subject` for who, `diff` for what changed,
9117
+ * `source` for the request, `integrity` for the hash chain.
9118
+ *
9119
+ * `action` is the canonical namespaced verb (`delegation.granted`,
9120
+ * `expense_report.submitted`, …) — that's what UIs filter on.
9121
+ */
9122
+ interface SBAuditLogEntry {
9123
+ id: number;
9124
+ changedAt: string;
9125
+ /** Canonical namespaced verb (`entity.verb`). */
9126
+ action: string;
9127
+ entityType?: string;
9128
+ recordId?: string;
9129
+ /** Who performed the action. */
9130
+ actor?: SBAuditUserSummary;
9131
+ /** Who/what was acted on. May equal `actor`. */
9132
+ subject?: SBAuditUserSummary;
9133
+ /** Parsed JSON before/after. Null on legacy rows with no value columns. */
9134
+ diff?: SBAuditDiff;
9135
+ source?: SBAuditSource;
9136
+ /** Tamper-evidence metadata. Null on legacy rows and global events. */
9137
+ integrity?: SBAuditIntegrity;
9138
+ }
9139
+ /** Compact user summary embedded in `actor` / `subject`. */
9140
+ interface SBAuditUserSummary {
9141
+ id: number;
9142
+ /** Null when the underlying user has been deleted. */
9143
+ name?: string | null;
9144
+ email?: string | null;
9145
+ avatar?: string | null;
9146
+ }
9147
+ /** Where the request came from. `country` / `city` filled by future geoIP lookup. */
9148
+ interface SBAuditSource {
9149
+ clientId?: string | null;
9150
+ userAgent?: string | null;
9151
+ ipAddress?: string | null;
9152
+ country?: string | null;
9153
+ city?: string | null;
9154
+ }
9155
+ /** Per-business tamper-evidence chain metadata. */
9156
+ interface SBAuditIntegrity {
9157
+ sequence?: number | null;
9158
+ hash?: string | null;
9159
+ previousHash?: string | null;
9160
+ }
9161
+ /**
9162
+ * "What changed". Both halves are JSON-parsed objects (not strings) so
9163
+ * renderers can index into them. Either side may be null:
9164
+ * create → `before` null, `after` populated
9165
+ * delete → `before` populated, `after` null
9166
+ * update → both populated
9167
+ */
9168
+ interface SBAuditDiff {
9169
+ before?: unknown;
9170
+ after?: unknown;
9171
+ }
9172
+ /**
9173
+ * Cursor-paginated response from `GET /v1/businesses/{businessId}/audit-logs`.
9174
+ *
9175
+ * Audit data is append-only and inserts at the head of the stream, so offset
9176
+ * pagination would duplicate or skip rows whenever a new event lands while
9177
+ * a user is paging. `nextCursor` is an opaque token; round-trip it as
9178
+ * `cursor` on the next request. A `null` `nextCursor` means the end.
9179
+ */
9180
+ interface SBAuditLogPage {
9181
+ items: SBAuditLogEntry[];
9182
+ nextCursor: string | null;
9183
+ }
9184
+ /**
9185
+ * Result of `GET /v1/businesses/{businessId}/audit-logs/verify`.
9186
+ * The endpoint walks the chain in order, recomputes each row's hash, and
9187
+ * short-circuits on the first mismatch.
9188
+ */
9189
+ interface SBAuditChainVerifyResult {
9190
+ valid: boolean;
9191
+ /** Total chained rows examined. */
9192
+ examined: number;
9193
+ brokenAtSequence?: number;
9194
+ brokenAtId?: number;
9195
+ }
9196
+ /** Query parameters for `AuditLogService.list`. */
9197
+ interface AuditLogListRequest {
9198
+ /** Free-text search across `entityType` / `recordId` / `reason`. */
9199
+ q?: string;
9200
+ /** Filter to a single entity type (e.g. `"UserDelegation"`, `"ExpenseReport"`). */
9201
+ entityType?: string;
9202
+ /**
9203
+ * Canonical action verbs to include (e.g. `["delegation.granted",
9204
+ * "user.deleted"]`). The service joins with comma on the wire; the server
9205
+ * splits + distincts. Pass undefined or empty for no filter.
9206
+ */
9207
+ action?: string[];
9208
+ /** Filter to rows where the actor or affected user matches this id. */
9209
+ actorUserId?: number;
9210
+ /** ISO-8601 date or full timestamp. Inclusive. */
9211
+ fromDate?: string;
9212
+ /** ISO-8601 date or full timestamp. Inclusive. */
9213
+ toDate?: string;
9214
+ /** Opaque cursor — pass `nextCursor` from the previous response here. */
9215
+ cursor?: string;
9216
+ /** Page size. Server clamps to [1, 200]. Defaults to 50. */
9217
+ limit?: number;
9218
+ }
9219
+
9220
+ /**
9221
+ * Admin-only read access to the business audit trail. Wraps
9222
+ * `GET /v1/businesses/{businessId}/audit-logs` (paginated list) and
9223
+ * `GET /v1/businesses/{businessId}/audit-logs/verify` (tamper-evidence
9224
+ * chain verification).
9225
+ *
9226
+ * There is intentionally no write surface: audit must be the side effect
9227
+ * of a real action through its owning service (delegation grant, expense
9228
+ * report submission, etc.), not something a caller can fabricate.
9229
+ */
9230
+ declare class AuditLogService extends BaseService {
9231
+ /**
9232
+ * Cursor-paginated list. Pass an `action` array to filter by multiple
9233
+ * canonical verbs at once (e.g. `["delegation.granted", "user.deleted"]`);
9234
+ * the SDK joins them on the wire as the server expects.
9235
+ */
9236
+ list(params?: AuditLogListRequest, options?: RequestOptions): Promise<SBAuditLogPage>;
9237
+ /**
9238
+ * Verifies the per-business audit hash chain end to end. Returns
9239
+ * `{ valid: true }` on success or `{ valid: false, brokenAtSequence,
9240
+ * brokenAtId }` on the first mismatch. Admin-only; the API returns 403
9241
+ * for non-administrators.
9242
+ */
9243
+ verify(options?: RequestOptions): Promise<SBAuditChainVerifyResult>;
9244
+ }
9245
+
9246
+ /** RFC 8693 §2.1 — grant_type for token exchange. */
9247
+ declare const TOKEN_EXCHANGE_GRANT_TYPE = "urn:ietf:params:oauth:grant-type:token-exchange";
9248
+ /** RFC 8693 §3 — token type identifier for access tokens. */
9249
+ declare const TOKEN_TYPE_ACCESS_TOKEN = "urn:ietf:params:oauth:token-type:access_token";
9250
+ /** Smartbills URI scheme for naming a delegator user as the `resource` parameter. */
9251
+ declare const DELEGATOR_RESOURCE_PREFIX = "urn:smartbills:user:";
9252
+ /** Input to {@link AuthService.exchangeOnBehalfOf}. */
9253
+ interface ExchangeOnBehalfOfRequest {
9254
+ /** OAuth2 client identifier (same one the delegate is using). */
9255
+ clientId: string;
9256
+ clientSecret?: string;
9257
+ /** The delegate's current access token. */
9258
+ subjectToken: string;
9259
+ /** The user the delegate wants to act on behalf of. */
9260
+ delegatorUserId: number | string;
9261
+ /** Business context — sent as the `x-tenant-id` header. */
9262
+ businessId: number | string;
9263
+ /** Optional space-separated scopes. If absent the API defaults to `act_on_behalf`. */
9264
+ scope?: string;
9265
+ /** Optional audience for the issued token. */
9266
+ audience?: string;
9267
+ }
9268
+ /**
9269
+ * Auth-related calls that don't fit a single business resource.
9270
+ *
9271
+ * The OIDC login / refresh dance is owned by the host app (typically via
9272
+ * `react-oidc-context` in the dashboard). This service exists to expose the
9273
+ * OAuth 2.0 Token Exchange flow (RFC 8693) so a delegate can mint a new
9274
+ * access token that acts on behalf of a delegator.
9275
+ *
9276
+ * Unlike every other service, AuthService targets the OAuth 2.0 authorization
9277
+ * server (e.g. `https://api.smartbills.io/auth` or `https://localhost:44300`
9278
+ * locally), NOT the main API host. The `/connect/token` endpoint lives at
9279
+ * the IdP per the OAuth spec — proxying through the main API would create a
9280
+ * circular dependency (the OAuth server already calls back to the main API
9281
+ * for `can-act-as` verification).
9282
+ */
9283
+ declare class AuthService extends BaseService {
9284
+ private readonly authBaseUrl;
9285
+ /**
9286
+ * @param http Shared HttpClient — used only for its tiny error-mapping
9287
+ * wrapper. The base URL is overridden per-request via
9288
+ * absolute URLs (axios ignores `baseURL` when given an
9289
+ * absolute one).
9290
+ * @param authBaseUrl Base URL of the OAuth 2.0 authorization server.
9291
+ * Defaults are wired in SmartbillsClient.
9292
+ */
9293
+ constructor(http: HttpClient, authBaseUrl: string);
9294
+ /**
9295
+ * Exchange the delegate's current access token for one that acts on behalf
9296
+ * of `delegatorUserId`. Implements OAuth 2.0 Token Exchange (RFC 8693) with
9297
+ * the on-behalf-of usage; the returned access_token carries an `act` claim
9298
+ * per §4.1.
9299
+ *
9300
+ * The auth server will call back to the main API to verify this delegate
9301
+ * has been granted ALL requested scopes by the delegator inside
9302
+ * `businessId`. The token is rejected (400 invalid_grant) when the
9303
+ * delegation is expired, revoked, or any scope is unsupported.
9304
+ *
9305
+ * @example
9306
+ * const { access_token, expires_in } = await client.auth.exchangeOnBehalfOf({
9307
+ * clientId: "dashboard",
9308
+ * subjectToken: currentAccessToken,
9309
+ * delegatorUserId: 42,
9310
+ * businessId: 7,
9311
+ * scope: "expense_reports:approve",
9312
+ * });
9313
+ */
9314
+ exchangeOnBehalfOf(request: ExchangeOnBehalfOfRequest): Promise<OnBehalfOfTokenResponse>;
9315
+ }
9316
+
8899
9317
  /**
8900
9318
  * Configuration options for initializing a {@link SmartbillsClient}.
8901
9319
  */
8902
9320
  interface SmartbillsClientOptions {
8903
9321
  /** Override the Smartbills API base URL. Defaults to `https://api.smartbills.io`. */
8904
9322
  baseUrl?: string;
9323
+ /**
9324
+ * OAuth 2.0 authorization-server base URL. Used by {@link AuthService} for
9325
+ * RFC 8693 token exchange (and any future direct-to-IdP flows). Defaults to
9326
+ * `https://api.smartbills.io/auth`. Must point at the authority that issued
9327
+ * the user's access_token — the dashboard typically passes the same value it
9328
+ * gives `react-oidc-context` as `authority`.
9329
+ */
9330
+ authBaseUrl?: string;
8905
9331
  /** OAuth2 access token for authenticating requests. */
8906
9332
  accessToken?: string;
8907
9333
  /** Business ID to scope all requests to a specific business tenant. */
@@ -8987,6 +9413,9 @@ declare class SmartbillsClient {
8987
9413
  readonly payouts: PayoutService;
8988
9414
  readonly disputes: DisputeService;
8989
9415
  readonly statements: StatementService;
9416
+ readonly delegates: DelegateService;
9417
+ readonly auditLogs: AuditLogService;
9418
+ readonly auth: AuthService;
8990
9419
  /**
8991
9420
  * Creates a new Smartbills client instance.
8992
9421
  *
@@ -9285,5 +9714,5 @@ type CouponUpdateRequest = Partial<CouponCreateRequest>;
9285
9714
  declare function uploadFileToS3(uploadUrl: string, file: Blob | ArrayBuffer, contentType: string): Promise<void>;
9286
9715
  declare function uploadFileUriToS3(uploadUrl: string, fileUri: string, contentType: string): Promise<void>;
9287
9716
 
9288
- export { AccessToken, AppInstallationService, AppInstallationStatus, ApprobationService, AttachmentService, AuthorizedSenderService, BaseService, BillApprovalStatus, BillApprovalType, BillService, SBBillStatus as BillStatus, BillingService, BusinessService, BusinessUserService, CategoryService, ChargeStatus, CheckoutDocumentType, CheckoutPaymentStatus, CheckoutService, CheckoutStatus, ConnectAccountStatus, ConnectService, ConnectedAccountService, ConnectedAccountStatus, ConnectedAccountType, CreditNoteService, CustomerService, DEFAULT_BASE_URL, DepartmentService, DisputeEvidenceSlot, DisputeService, EmailAccountService, EmailAccountStatus, EmailAccountSyncStatus, EmailAccountType, EmailForwardingService, EmployeeService, ErrorCode, ExpenseItemStatus, ExpenseJobService, ExpenseJobStatus, ExpenseReportAuditLogAction, ExpenseReportExpenseService, ExpenseReportPaymentService, ExpenseReportService, ExpenseReportStatus, ExpenseService, ExpenseSplitType, HttpClient, IntegrationService, IntegrationStatus, InvitationService, InvitationStatus, InvoicePaymentService, InvoicePaymentStatus, InvoiceReminderFrequency, InvoiceReminderTiming, InvoiceService, LateFeeFrequency, LateFeeType, LocationService, LoyaltyService, MailboxType, MembershipRole, MembershipService, NotificationService, NotificationType, PayerType, PaymentIntentService, PaymentIntentStatus, PaymentMethodService, PaymentService, PaymentTerms, PayoutInterval, PayoutService, PayoutStatus, ProductImageService, ProductService, ProductVariantService, PromoCodeService, ReceiptPaymentStatus, ReceiptPaymentType, ReceiptService, ReceiptSource, ReceiptType, ReportingService, SBBillStatus, SBInvoiceActivityKind, SBInvoiceStatus, SBPaymentMethodType, SBPaymentStatus, SmartbillsApiError, SmartbillsAuthenticationError, SmartbillsClient, SmartbillsConflictError, SmartbillsError, SmartbillsNetworkError, SmartbillsNotFoundError, SmartbillsPermissionError, SmartbillsQuotaError, SmartbillsRateLimitError, SmartbillsValidationError, StatementService, StatementStatus, SyncTriggerType, TableService, TaxService, TransactionService, TransactionSource, TransactionType, UserService, VendorConnectionService, VendorConnectionStatus, VendorService, WorkflowService, WorkflowTriggerType, isApiError, isAuthenticationError, isConflictError, isNetworkError, isNotFoundError, isPermissionError, isQuotaError, isRateLimitError, isRetryableError, isSmartbillsError, isValidationError, uploadFileToS3, uploadFileUriToS3 };
9289
- export type { AddExpenseToReportRequest, AddExpensesToReportBatchRequest, ApplyCustomerCreditRequest, ApprobationListRequest, AssociateExpenseReportUpdateRequest, AttachInvoiceToWalletResponse, AttachmentListRequest, AttachmentRenameRequest, BalanceAmount, BillApprovalRequest, BillBatchUpdateRequest, BillCancelRequest, BillCreateRequest, BillListRequest, BillMarkPaidRequest, BillReschedulePaymentRequest, BillRetryPaymentRequest, BillSchedulePaymentRequest, BillSubmitForApprovalRequest, BillTransitionRequest, BillUpdateRequest, BillingInvoiceListRequest, BulkApproveApprobationsRequest, BulkAssignCategoryRequest, BulkAssignExpenseReportRequest, BulkAssignPayerTypeRequest, BulkAssignReportCategoryRequest, BulkAssignVendorRequest, BulkBillApproveRequest, BulkBillCancelPaymentRequest, BulkBillDeleteRequest, BulkBillMarkPaidRequest, BulkBillRemindRequest, BulkBillRetryPaymentRequest, BulkBillSchedulePaymentRequest, BulkBillUnscheduleRequest, BulkBillUpdateRequest, BulkDeleteExpenseReportsRequest, BulkDeleteExpensesRequest, BulkDeleteVendorsRequest, BulkInvoiceActionRequest, BulkInvoiceActionResponse, BulkInvoiceActionResult, BulkMarkReimbursedApprobationsRequest, BulkPlanReimbursementApprobationsRequest, BulkRecallExpenseReportsRequest, BulkRejectApprobationsRequest, BulkRemoveReportExpensesRequest, BulkRequestChangesApprobationsRequest, BulkRevertToReviewApprobationsRequest, BulkSetNoteRequest, BulkSubmitExpenseReportsRequest, BusinessBatchUpdateRequest, BusinessBrandCreateRequest, BusinessBrandUpdateRequest, BusinessCreateRequest, BusinessReminderDefaults, BusinessUpdateRequest, CategoryCreateRequest, CategoryListRequest, CategoryUpdateRequest, CheckoutLineItem, ConfirmUploadFileRequest, ConfirmUploadRequest, ConnectOnboardingRequest, ConnectedAccountBankAccount, ConnectedAccountFees, ConnectedAccountLateFeeSettings, ConnectedAccountLateFeeSettingsRequest, ConnectedAccountOnboardingRequest, ConnectedAccountOnboardingResult, ConnectedAccountProcessing, ConnectedAccountRequirements, ConnectedAccountSettings, ConnectedAccountSettingsRequest, CouponCreateRequest, CouponUpdateRequest, CreateAuthorizedSenderRequest, CreateCheckoutPaymentIntentRequest, CreatePaymentMethodRequest, CreatePayoutRequest, CreatePortalSessionRequest, CredentialProvider, CreditNoteCreateRequest, CreditNoteLineItemRequest, CreditNoteReason, CreditNoteStatus, CustomerCreateRequest, CustomerCreditAdjustmentRequest, CustomerCreditBalance, CustomerCreditBalanceSummary, CustomerCreditLedgerEntry, CustomerCreditLedgerSource, CustomerListRequest, CustomerUpdateRequest, DepartmentCreateRequest, DepartmentListRequest, DepartmentUpdateRequest, DisputeEvidenceFinalizeRequest, DisputeEvidenceFinalizeResponse, DisputeEvidenceRequest, DisputeEvidenceUploadUrlRequest, DisputeEvidenceUploadUrlResponse, DisputeListRequest, EditExpenseInReportRequest, EmailAccountImapCreateRequest, EmailAccountListRequest, EmailAccountOAuth2CreateRequest, EmailAccountUpdateRequest, EmailForwardingConfigRequest, EmployeeBulkAssignManagerRequest, EmployeeCreateRequest, EmployeeListRequest, EmployeeSetManagerRequest, EmployeeUpdateRequest, ErrorCodeType, ExpenseAttachmentDownloadRequest, ExpenseCategoryUpdateRequest, ExpenseExportRequest, ExpenseJobListRequest, ExpenseListRequest, ExpenseNoteUpdateRequest, ExpenseOverTimeRequest, ExpensePayerTypeUpdateRequest, ExpenseReportApproveRequest, ExpenseReportAssignLedgerAccountRequest, ExpenseReportCommentCreateRequest, ExpenseReportCreateRequest, ExpenseReportExportRequest, ExpenseReportListRequest, ExpenseReportPartialReimburseRequest, ExpenseReportPlanReimbursementRequest, ExpenseReportRecallRequest, ExpenseReportReimburseRequest, ExpenseReportRejectRequest, ExpenseReportRequestChangesRequest, ExpenseReportUpdateRequest, ExpenseReviewUpdateRequest, ExpenseSplitItem, ExpenseSplitLineItem, ExpenseSplitRequest, FeeConfigurationRequest, 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, NextInvoiceNumberResponse, NotificationListRequest, PagedResult, PaginateBusinessRequest, PaginateTransactionRequest, PaginationRequest, PaymentIntentListRequest, PaymentListRequest, PaymentMethodListRequest, Payout, PayoutListRequest, PayoutListResponse, PayoutSchedule, 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, RefundCheckoutPaymentRequest, RefundCreateRequest, ReportDateRange, ReportingRequest, RequestOptions, SBAddress, SBAppInstallation, SBApprobationSummary, SBAttachment, SBAuthorizedSender, SBBalance, SBBatchResponse, SBBill, SBBillApproval, SBBillApprovalHistoryItem, SBBillAttachment, SBBillBulkActionResponse, SBBillEmployee, SBBillLineItem, SBBillStatusHistoryItem, SBBillStatusSummary, SBBillTax, SBBillTransitionResponse, SBBillVendor, SBBillVendorAccount, SBBillingAddress, SBBillingInvoice, SBBillingInvoiceLine, SBBillingPaymentMethod, SBBillingPlan, SBBillingUsage, SBBulkActionResponse, SBBulkActionResult, SBBusiness, SBBusinessBrand, SBBusinessPlan, 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, 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, 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, SBTransactionMerchant, SBTransactionTax, SBTransactionUploadResponse, SBTransactionVendor, SBUpcomingInvoice, SBUserAccount, SBValidateEmailResponse, SBValidateSharedMailboxResponse, SBVendor, SBVendorBulkActionResponse, SBVendorConnectResponse, SBVendorConnection, SBVendorImportResult, SBVisitRuleData, SBWorkflow, SBWorkflowCondition, SBWorkflowStep, SBWorkflowTestResponse, SmartbillsClientOptions, SmartbillsFieldError, StatementListRequest, StatementListResponse, SubmitDisputeEvidenceRequest, SyncSessionListRequest, TableCreateRequest, TableListRequest, TableUpdateRequest, TaxCreateRequest, TaxListRequest, TaxUpdateRequest, TransactionBatchUpdateRequest, TransactionCreateRequest, TransactionFeeCreateRequest, TransactionFeeRequest, TransactionLineItemCreateRequest, TransactionLineItemRequest, TransactionMerchantAddressRequest, TransactionMerchantRequest, TransactionTaxCreateRequest, TransactionTaxRequest, TransactionUpdateRequest, UpdateInstallationStatusRequest, UpdatePayoutScheduleRequest, UpgradeSubscriptionRequest, UsageHistoryRequest, UserUpdateRequest, VendorBatchUpdateRequest, VendorConnectRequest, VendorCreateRequest, VendorListRequest, VendorMergeRequest, VendorUpdateRequest, WorkflowCreateRequest, WorkflowListRequest, WorkflowTestRequest, WorkflowUpdateRequest };
9717
+ export { AccessToken, AppInstallationService, AppInstallationStatus, ApprobationService, AttachmentService, AuditLogService, AuthService, AuthorizedSenderService, BaseService, BillApprovalStatus, BillApprovalType, BillService, SBBillStatus as BillStatus, BillingService, 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, EmailAccountService, EmailAccountStatus, EmailAccountSyncStatus, EmailAccountType, EmailForwardingService, EmployeeService, ErrorCode, ExpenseItemStatus, ExpenseJobService, ExpenseJobStatus, ExpenseReportAuditLogAction, ExpenseReportExpenseService, ExpenseReportPaymentService, ExpenseReportService, ExpenseReportStatus, ExpenseService, ExpenseSplitType, HttpClient, IntegrationService, IntegrationStatus, InvitationService, InvitationStatus, InvoicePaymentService, InvoicePaymentStatus, InvoiceReminderFrequency, InvoiceReminderTiming, InvoiceService, LateFeeFrequency, LateFeeType, LocationService, LoyaltyService, MailboxType, MembershipRole, MembershipService, NotificationService, NotificationType, PayerType, PaymentIntentService, PaymentIntentStatus, PaymentMethodService, PaymentService, PaymentTerms, PayoutInterval, PayoutService, PayoutStatus, ProductImageService, ProductService, ProductVariantService, PromoCodeService, ReceiptPaymentStatus, ReceiptPaymentType, ReceiptService, ReceiptSource, ReceiptType, ReportingService, SBBillStatus, SBInvoiceActivityKind, SBInvoiceStatus, SBPaymentMethodType, SBPaymentStatus, 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, UserService, VendorConnectionService, VendorConnectionStatus, VendorService, WorkflowService, WorkflowTriggerType, isApiError, isAuthenticationError, isConflictError, isNetworkError, isNotFoundError, isPermissionError, isQuotaError, isRateLimitError, isRetryableError, isSmartbillsError, isValidationError, uploadFileToS3, uploadFileUriToS3 };
9718
+ export type { AddExpenseToReportRequest, AddExpensesToReportBatchRequest, ApplyCustomerCreditRequest, ApprobationListRequest, AssociateExpenseReportUpdateRequest, AttachInvoiceToWalletResponse, AttachmentListRequest, AttachmentRenameRequest, AuditLogListRequest, BalanceAmount, BillApprovalRequest, BillBatchUpdateRequest, BillCancelRequest, BillCreateRequest, BillListRequest, BillMarkPaidRequest, BillReschedulePaymentRequest, BillRetryPaymentRequest, BillSchedulePaymentRequest, BillSubmitForApprovalRequest, BillTransitionRequest, BillUpdateRequest, BillingInvoiceListRequest, BulkApproveApprobationsRequest, BulkAssignCategoryRequest, BulkAssignExpenseReportRequest, BulkAssignPayerTypeRequest, BulkAssignReportCategoryRequest, BulkAssignVendorRequest, BulkBillApproveRequest, BulkBillCancelPaymentRequest, BulkBillDeleteRequest, BulkBillMarkPaidRequest, BulkBillRemindRequest, BulkBillRetryPaymentRequest, BulkBillSchedulePaymentRequest, BulkBillUnscheduleRequest, BulkBillUpdateRequest, BulkDeleteExpenseReportsRequest, BulkDeleteExpensesRequest, BulkDeleteVendorsRequest, BulkInvoiceActionRequest, BulkInvoiceActionResponse, BulkInvoiceActionResult, BulkMarkReimbursedApprobationsRequest, BulkPlanReimbursementApprobationsRequest, BulkRecallExpenseReportsRequest, BulkRejectApprobationsRequest, BulkRemoveReportExpensesRequest, BulkRequestChangesApprobationsRequest, BulkRevertToReviewApprobationsRequest, BulkSetNoteRequest, BulkSubmitExpenseReportsRequest, BusinessBatchUpdateRequest, BusinessBrandCreateRequest, BusinessBrandUpdateRequest, BusinessCreateRequest, BusinessReminderDefaults, BusinessUpdateRequest, CategoryCreateRequest, CategoryListRequest, CategoryUpdateRequest, CheckoutLineItem, ConfirmUploadFileRequest, ConfirmUploadRequest, ConnectOnboardingRequest, ConnectedAccountBankAccount, ConnectedAccountFees, ConnectedAccountLateFeeSettings, ConnectedAccountLateFeeSettingsRequest, ConnectedAccountOnboardingRequest, ConnectedAccountOnboardingResult, ConnectedAccountProcessing, ConnectedAccountRequirements, ConnectedAccountSettings, ConnectedAccountSettingsRequest, 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, EmailAccountImapCreateRequest, EmailAccountListRequest, EmailAccountOAuth2CreateRequest, EmailAccountUpdateRequest, EmailForwardingConfigRequest, EmployeeBulkAssignManagerRequest, EmployeeCreateRequest, EmployeeListRequest, EmployeeSetManagerRequest, EmployeeUpdateRequest, ErrorCodeType, ExchangeOnBehalfOfRequest, ExpenseAttachmentDownloadRequest, ExpenseCategoryUpdateRequest, ExpenseExportRequest, ExpenseJobListRequest, ExpenseListRequest, ExpenseNoteUpdateRequest, ExpenseOverTimeRequest, ExpensePayerTypeUpdateRequest, ExpenseReportApproveRequest, ExpenseReportAssignLedgerAccountRequest, ExpenseReportCommentCreateRequest, ExpenseReportCreateRequest, ExpenseReportExportRequest, ExpenseReportListRequest, ExpenseReportPartialReimburseRequest, ExpenseReportPlanReimbursementRequest, ExpenseReportRecallRequest, ExpenseReportReimburseRequest, ExpenseReportRejectRequest, ExpenseReportRequestChangesRequest, ExpenseReportUpdateRequest, ExpenseReviewUpdateRequest, ExpenseSplitItem, ExpenseSplitLineItem, ExpenseSplitRequest, FeeConfigurationRequest, 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, NextInvoiceNumberResponse, NotificationListRequest, OnBehalfOfTokenResponse, PagedResult, PaginateBusinessRequest, PaginateTransactionRequest, PaginationRequest, PaymentIntentListRequest, PaymentListRequest, PaymentMethodListRequest, Payout, PayoutListRequest, PayoutListResponse, PayoutSchedule, 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, RefundCheckoutPaymentRequest, RefundCreateRequest, ReportDateRange, ReportingRequest, RequestOptions, 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, 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, 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, SBTransactionMerchant, SBTransactionTax, SBTransactionUploadResponse, SBTransactionVendor, SBUpcomingInvoice, SBUserAccount, SBValidateEmailResponse, SBValidateSharedMailboxResponse, SBVendor, SBVendorBulkActionResponse, SBVendorConnectResponse, SBVendorConnection, SBVendorImportResult, SBVisitRuleData, SBWorkflow, SBWorkflowCondition, SBWorkflowStep, SBWorkflowTestResponse, SmartbillsClientOptions, SmartbillsFieldError, StatementListRequest, StatementListResponse, SubmitDisputeEvidenceRequest, SyncSessionListRequest, TableCreateRequest, TableListRequest, TableUpdateRequest, TaxCreateRequest, TaxListRequest, TaxUpdateRequest, TransactionBatchUpdateRequest, TransactionCreateRequest, TransactionFeeCreateRequest, TransactionFeeRequest, TransactionLineItemCreateRequest, TransactionLineItemRequest, TransactionMerchantAddressRequest, TransactionMerchantRequest, TransactionTaxCreateRequest, TransactionTaxRequest, TransactionUpdateRequest, UpdateInstallationStatusRequest, UpdatePayoutScheduleRequest, UpgradeSubscriptionRequest, UsageHistoryRequest, UserUpdateRequest, VendorBatchUpdateRequest, VendorConnectRequest, VendorCreateRequest, VendorListRequest, VendorMergeRequest, VendorUpdateRequest, 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.29",
3
+ "version": "1.1.0-alpha.31",
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": "f7ccacf4d1d7e65751a8ae711b1ad611dcc0a271"
52
+ "gitHead": "d62cc8fe74f65827f95bb726272a26e3b2394d15"
53
53
  }