import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types'; import { B as BillableItem, C as CreateBillableItemApplicationErrors, U as UpdateBillableItem, a as BulkCreateBillableItemsOptions, b as BulkCreateBillableItemsResponse, M as MaskedBillableItem, c as BulkUpdateBillableItemsOptions, d as BulkUpdateBillableItemsResponse, e as BulkDeleteBillableItemsResponse, f as BulkUpdateBillableItemTagsOptions, g as BulkUpdateBillableItemTagsResponse, h as BulkUpdateBillableItemTagsApplicationErrors, i as BulkUpdateBillableItemTagsByFilterOptions, j as BulkUpdateBillableItemTagsByFilterResponse, k as BulkUpdateBillableItemTagsByFilterApplicationErrors, l as BillableItemSearch, S as SearchBillableItemsResponse, m as BillableItemCreatedEnvelope, n as BillableItemDeletedEnvelope, o as BillableItemUpdatedEnvelope, p as BillableItemsQueryBuilder, q as BillableItemQuery, t as typedQueryBillableItems } from './billable-items-v1-billable-item-billable-items.universal-CL50BvcU.js'; export { P as AccountInfo, b2 as AccountInfoMetadata, J as ActionEvent, at as Aggregation, aH as AggregationData, au as AggregationKindOneOf, a_ as AggregationResults, a$ as AggregationResultsResultOneOf, aO as AggregationResultsScalarResult, A as AggregationType, bf as AggregationTypeWithLiterals, ag as ApplicationError, b0 as BaseEventMetadata, b4 as BillableItemQuerySpec, b5 as BillableItemSearchSpec, b3 as BillableItemsQueryResult, ai as BulkActionMetadata, ah as BulkBillableItemResult, ae as BulkCreateBillableItemsRequest, al as BulkDeleteBillableItemsRequest, am as BulkDeleteBillableItemsResponseBulkBillableItemResult, ap as BulkUpdateBillableItemTagsByFilterRequest, an as BulkUpdateBillableItemTagsRequest, ao as BulkUpdateBillableItemTagsResult, aj as BulkUpdateBillableItemsRequest, ak as BulkUpdateBillableItemsResponseBulkBillableItemResult, bh as CommonQueryWithEntityContext, bi as CommonSearchWithEntityContext, Q as CreateBillableItemRequest, V as CreateBillableItemResponse, a5 as CursorPaging, a7 as CursorPagingMetadata, a2 as CursorQuery, a3 as CursorQueryPagingMethodOneOf, ar as CursorSearch, as as CursorSearchPagingMethodOneOf, a8 as Cursors, aB as DateHistogramAggregation, aW as DateHistogramResult, aY as DateHistogramResults, $ as DeleteBillableItemRequest, a0 as DeleteBillableItemResponse, D as DomainEvent, z as DomainEventBodyOneOf, F as EntityCreatedEvent, H as EntityDeletedEvent, G as EntityUpdatedEvent, b1 as EventMetadata, E as ExtendedFields, X as GetBillableItemRequest, Y as GetBillableItemResponse, aX as GroupByValueResults, L as IdentificationData, O as IdentificationDataIdOneOf, aw as IncludeMissingValuesOptions, ac as InternalCursorPaging, aa as InternalCursorQuery, ab as InternalCursorQueryPagingMethodOneOf, a9 as InternalQueryBillableItemsRequest, ad as InternalQueryBillableItemsResponse, I as Interval, be as IntervalWithLiterals, af as ItemMetadata, K as MessageEnvelope, v as MissingValues, bb as MissingValuesWithLiterals, x as Mode, bg as ModeWithLiterals, aE as NestedAggregation, aC as NestedAggregationItem, aD as NestedAggregationItemKindOneOf, aK as NestedAggregationResults, aL as NestedAggregationResultsResultOneOf, N as NestedAggregationType, bd as NestedAggregationTypeWithLiterals, aT as NestedResultValue, aU as NestedResultValueResultOneOf, aZ as NestedResults, aP as NestedValueAggregationResult, aG as PagingMetadataV2, a1 as QueryBillableItemsRequest, a6 as QueryBillableItemsResponse, az as RangeAggregation, aJ as RangeAggregationResult, av as RangeBucket, aR as RangeResult, aN as RangeResults, R as RestoreInfo, aV as Results, aA as ScalarAggregation, aS as ScalarResult, w as ScalarType, bc as ScalarTypeWithLiterals, aq as SearchBillableItemsRequest, aF as SearchDetails, u as SortDirection, ba as SortDirectionWithLiterals, r as SortOrder, b8 as SortOrderWithLiterals, s as SortType, b9 as SortTypeWithLiterals, a4 as Sorting, y as TagList, T as Tags, Z as UpdateBillableItemRequest, _ as UpdateBillableItemResponse, ax as ValueAggregation, ay as ValueAggregationOptionsOneOf, aI as ValueAggregationResult, aQ as ValueResult, aM as ValueResults, W as WebhookIdentityType, b7 as WebhookIdentityTypeWithLiterals, b6 as utils } from './billable-items-v1-billable-item-billable-items.universal-CL50BvcU.js'; declare function createBillableItem$1(httpClient: HttpClient): CreateBillableItemSignature; interface CreateBillableItemSignature { /** * Creates a billable item. * @param - Billable item to create. * @returns Created billable item. */ (billableItem: NonNullablePaths): Promise & { __applicationErrorsType?: CreateBillableItemApplicationErrors; }>; } declare function getBillableItem$1(httpClient: HttpClient): GetBillableItemSignature; interface GetBillableItemSignature { /** * Retrieves a billable item. * @param - Billable item ID. * @returns Requested billable item. */ (billableItemId: string): Promise>; } declare function updateBillableItem$1(httpClient: HttpClient): UpdateBillableItemSignature; interface UpdateBillableItemSignature { /** * Updates a billable item. * * * Each time the BillableItem is updated, * `revision` increments by 1. * The current `revision` must be passed when updating the billable item. * This ensures you're working with the latest billable item * and prevents unintended overwrites. * @param - Billable item ID. * @returns Updated billable item. */ (_id: string, billableItem: NonNullablePaths): Promise>; } declare function deleteBillableItem$1(httpClient: HttpClient): DeleteBillableItemSignature; interface DeleteBillableItemSignature { /** * Permanently deletes a billable item. * @param - Billable item ID to delete. */ (billableItemId: string): Promise; } declare function bulkCreateBillableItems$1(httpClient: HttpClient): BulkCreateBillableItemsSignature; interface BulkCreateBillableItemsSignature { /** * Create multiple billable items. * @param - List of billable items to create. * @param - Field options. */ (billableItems: BillableItem[], options?: BulkCreateBillableItemsOptions): Promise>; } declare function bulkUpdateBillableItems$1(httpClient: HttpClient): BulkUpdateBillableItemsSignature; interface BulkUpdateBillableItemsSignature { /** * Updates multiple billable items. * @param - Billable items to update. * @param - Field options. */ (billableItems: NonNullablePaths[], options?: BulkUpdateBillableItemsOptions): Promise>; } declare function bulkDeleteBillableItems$1(httpClient: HttpClient): BulkDeleteBillableItemsSignature; interface BulkDeleteBillableItemsSignature { /** * Delete multiple billable items. * @param - Billable item IDs to delete. */ (billableItemIds: string[]): Promise>; } declare function bulkUpdateBillableItemTags$1(httpClient: HttpClient): BulkUpdateBillableItemTagsSignature; interface BulkUpdateBillableItemTagsSignature { /** * Updates tags for multiple billable items. * A tag that appears both in the list of assign and unassign tags, will be assigned. * @param - IDs of billable items which tags will be updated. * @param - Field options. */ (billableItemIds: string[], options?: BulkUpdateBillableItemTagsOptions): Promise & { __applicationErrorsType?: BulkUpdateBillableItemTagsApplicationErrors; }>; } declare function bulkUpdateBillableItemTagsByFilter$1(httpClient: HttpClient): BulkUpdateBillableItemTagsByFilterSignature; interface BulkUpdateBillableItemTagsByFilterSignature { /** * Updates tags on multiple billable items by filter. Works asynchronously, and returns a job ID. * * An empty filter will update all billable items. * * A tag that is specified both in the list of assign and unassign tags, will be assigned. * * Specify the returned jobId in Get Async Job ([SDK](https://dev.wix.com/docs/sdk/backend-modules/async-jobs/get-async-job) | [REST](https://dev.wix.com/docs/rest/business-management/async-job/get-async-job)) to track the job's status. * @param - Filter to select relevant billable items. * @param - Field options. */ (filter: Record, options?: BulkUpdateBillableItemTagsByFilterOptions): Promise & { __applicationErrorsType?: BulkUpdateBillableItemTagsByFilterApplicationErrors; }>; } declare function searchBillableItems$1(httpClient: HttpClient): SearchBillableItemsSignature; interface SearchBillableItemsSignature { /** * Retrieves a list of up to 100 billable items, given the specified filtering, search expression, sorting, and cursor paging. * * Learn more about [API query language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language). * @param - Search options. */ (search: BillableItemSearch): Promise>; } declare const onBillableItemCreated$1: EventDefinition; declare const onBillableItemDeleted$1: EventDefinition; declare const onBillableItemUpdated$1: EventDefinition; declare function customQueryBillableItems(httpClient: HttpClient): { (): BillableItemsQueryBuilder; (query: BillableItemQuery): ReturnType; }; declare const createBillableItem: MaybeContext & typeof createBillableItem$1>; declare const getBillableItem: MaybeContext & typeof getBillableItem$1>; declare const updateBillableItem: MaybeContext & typeof updateBillableItem$1>; declare const deleteBillableItem: MaybeContext & typeof deleteBillableItem$1>; declare const bulkCreateBillableItems: MaybeContext & typeof bulkCreateBillableItems$1>; declare const bulkUpdateBillableItems: MaybeContext & typeof bulkUpdateBillableItems$1>; declare const bulkDeleteBillableItems: MaybeContext & typeof bulkDeleteBillableItems$1>; declare const bulkUpdateBillableItemTags: MaybeContext & typeof bulkUpdateBillableItemTags$1>; declare const bulkUpdateBillableItemTagsByFilter: MaybeContext & typeof bulkUpdateBillableItemTagsByFilter$1>; declare const searchBillableItems: MaybeContext & typeof searchBillableItems$1>; declare const queryBillableItems: MaybeContext & typeof customQueryBillableItems>; /** * Triggered when a billable item is created. */ declare const onBillableItemCreated: BuildEventDefinition & typeof onBillableItemCreated$1; /** * Triggered when a billable item is deleted. */ declare const onBillableItemDeleted: BuildEventDefinition & typeof onBillableItemDeleted$1; /** * Triggered when a billable item is updated. */ declare const onBillableItemUpdated: BuildEventDefinition & typeof onBillableItemUpdated$1; export { BillableItem, BillableItemCreatedEnvelope, BillableItemDeletedEnvelope, BillableItemQuery, BillableItemSearch, BillableItemUpdatedEnvelope, BillableItemsQueryBuilder, BulkCreateBillableItemsOptions, BulkCreateBillableItemsResponse, BulkDeleteBillableItemsResponse, BulkUpdateBillableItemTagsApplicationErrors, BulkUpdateBillableItemTagsByFilterApplicationErrors, BulkUpdateBillableItemTagsByFilterOptions, BulkUpdateBillableItemTagsByFilterResponse, BulkUpdateBillableItemTagsOptions, BulkUpdateBillableItemTagsResponse, BulkUpdateBillableItemsOptions, BulkUpdateBillableItemsResponse, CreateBillableItemApplicationErrors, MaskedBillableItem, SearchBillableItemsResponse, UpdateBillableItem, bulkCreateBillableItems, bulkDeleteBillableItems, bulkUpdateBillableItemTags, bulkUpdateBillableItemTagsByFilter, bulkUpdateBillableItems, createBillableItem, deleteBillableItem, getBillableItem, onBillableItemCreated, onBillableItemDeleted, onBillableItemUpdated, queryBillableItems, searchBillableItems, updateBillableItem };