@wix/auto_sdk_get-paid_billable-items 1.0.46 → 1.0.48
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.
- package/build/cjs/{billable-items-v1-billable-item-billable-items.universal-D44qpNn9.d.ts → billable-items-v1-billable-item-billable-items.universal-D4Cp3QGx.d.ts} +5 -1
- package/build/cjs/index.d.ts +2 -2
- package/build/cjs/index.js +8 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +8 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1 -1
- package/build/es/{billable-items-v1-billable-item-billable-items.universal-D44qpNn9.d.mts → billable-items-v1-billable-item-billable-items.universal-D4Cp3QGx.d.mts} +5 -1
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs +5 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +5 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1 -1
- package/build/internal/cjs/{billable-items-v1-billable-item-billable-items.universal-D44qpNn9.d.ts → billable-items-v1-billable-item-billable-items.universal-D4Cp3QGx.d.ts} +5 -1
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.js +8 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/index.typings.js +8 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +1 -1
- package/build/internal/es/{billable-items-v1-billable-item-billable-items.universal-D44qpNn9.d.mts → billable-items-v1-billable-item-billable-items.universal-D4Cp3QGx.d.mts} +5 -1
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.mjs +5 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/index.typings.mjs +5 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +1 -1
- package/package.json +4 -4
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as _wix_sdk_types from '@wix/sdk-types';
|
|
1
2
|
import { QuerySpec, SearchSpec, Query, Search, NonNullablePaths } from '@wix/sdk-types';
|
|
2
3
|
|
|
3
4
|
/**
|
|
@@ -1517,6 +1518,9 @@ type BillableItemQuery = {
|
|
|
1517
1518
|
order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];
|
|
1518
1519
|
}[];
|
|
1519
1520
|
};
|
|
1521
|
+
declare const QueryBuilder: () => _wix_sdk_types.QueryBuilder<BillableItem, BillableItemQuerySpec, BillableItemQuery>;
|
|
1522
|
+
declare const Filter: _wix_sdk_types.FilterFactory<BillableItem, BillableItemQuerySpec>;
|
|
1523
|
+
declare const Sort: _wix_sdk_types.SortFactory<BillableItemQuerySpec>;
|
|
1520
1524
|
/**
|
|
1521
1525
|
* Create multiple billable items.
|
|
1522
1526
|
* @param billableItems - List of billable items to create.
|
|
@@ -1753,4 +1757,4 @@ type BillableItemSearch = {
|
|
|
1753
1757
|
timeZone?: CommonSearchWithEntityContext['timeZone'] | null;
|
|
1754
1758
|
};
|
|
1755
1759
|
|
|
1756
|
-
export { type DeleteBillableItemRequest as $, AggregationType as A, type BillableItem as B, type CreateBillableItemApplicationErrors as C, type DomainEvent as D, type ExtendedFields as E, type EntityCreatedEvent as F, type EntityUpdatedEvent as G, type EntityDeletedEvent as H, Interval as I, type ActionEvent as J, type MessageEnvelope as K, type IdentificationData as L, type MaskedBillableItem as M, NestedAggregationType as N, type IdentificationDataIdOneOf as O, type AccountInfo as P, type CreateBillableItemRequest as Q, type RestoreInfo as R, type SearchBillableItemsResponse as S, type Tags as T, type UpdateBillableItem as U, type CreateBillableItemResponse as V, WebhookIdentityType as W, type GetBillableItemRequest as X, type GetBillableItemResponse as Y, type UpdateBillableItemRequest as Z, type UpdateBillableItemResponse as _, type BulkCreateBillableItemsOptions as a, type AggregationResultsResultOneOf as a$, type DeleteBillableItemResponse as a0, type QueryBillableItemsRequest as a1, type CursorQuery as a2, type CursorQueryPagingMethodOneOf as a3, type Sorting as a4, type CursorPaging as a5, type QueryBillableItemsResponse as a6, type CursorPagingMetadata as a7, type Cursors as a8, type InternalQueryBillableItemsRequest as a9, type ScalarAggregation as aA, type DateHistogramAggregation as aB, type NestedAggregationItem as aC, type NestedAggregationItemKindOneOf as aD, type NestedAggregation as aE, type SearchDetails as aF, type PagingMetadataV2 as aG, type AggregationData as aH, type ValueAggregationResult as aI, type RangeAggregationResult as aJ, type NestedAggregationResults as aK, type NestedAggregationResultsResultOneOf as aL, type ValueResults as aM, type RangeResults as aN, type AggregationResultsScalarResult as aO, type NestedValueAggregationResult as aP, type ValueResult as aQ, type RangeResult as aR, type ScalarResult as aS, type NestedResultValue as aT, type NestedResultValueResultOneOf as aU, type Results as aV, type DateHistogramResult as aW, type GroupByValueResults as aX, type DateHistogramResults as aY, type NestedResults as aZ, type AggregationResults as a_, type InternalCursorQuery as aa, type InternalCursorQueryPagingMethodOneOf as ab, type InternalCursorPaging as ac, type InternalQueryBillableItemsResponse as ad, type BulkCreateBillableItemsRequest as ae, type ItemMetadata as af, type ApplicationError as ag, type BulkBillableItemResult as ah, type BulkActionMetadata as ai, type BulkUpdateBillableItemsRequest as aj, type BulkUpdateBillableItemsResponseBulkBillableItemResult as ak, type BulkDeleteBillableItemsRequest as al, type BulkDeleteBillableItemsResponseBulkBillableItemResult as am, type BulkUpdateBillableItemTagsRequest as an, type BulkUpdateBillableItemTagsResult as ao, type BulkUpdateBillableItemTagsByFilterRequest as ap, type SearchBillableItemsRequest as aq, type CursorSearch as ar, type CursorSearchPagingMethodOneOf as as, type Aggregation as at, type AggregationKindOneOf as au, type RangeBucket as av, type IncludeMissingValuesOptions as aw, type ValueAggregation as ax, type ValueAggregationOptionsOneOf as ay, type RangeAggregation as az, type BulkCreateBillableItemsResponse as b, type BaseEventMetadata as b0, type EventMetadata as b1, type
|
|
1760
|
+
export { type DeleteBillableItemRequest as $, AggregationType as A, type BillableItem as B, type CreateBillableItemApplicationErrors as C, type DomainEvent as D, type ExtendedFields as E, type EntityCreatedEvent as F, type EntityUpdatedEvent as G, type EntityDeletedEvent as H, Interval as I, type ActionEvent as J, type MessageEnvelope as K, type IdentificationData as L, type MaskedBillableItem as M, NestedAggregationType as N, type IdentificationDataIdOneOf as O, type AccountInfo as P, type CreateBillableItemRequest as Q, type RestoreInfo as R, type SearchBillableItemsResponse as S, type Tags as T, type UpdateBillableItem as U, type CreateBillableItemResponse as V, WebhookIdentityType as W, type GetBillableItemRequest as X, type GetBillableItemResponse as Y, type UpdateBillableItemRequest as Z, type UpdateBillableItemResponse as _, type BulkCreateBillableItemsOptions as a, type AggregationResultsResultOneOf as a$, type DeleteBillableItemResponse as a0, type QueryBillableItemsRequest as a1, type CursorQuery as a2, type CursorQueryPagingMethodOneOf as a3, type Sorting as a4, type CursorPaging as a5, type QueryBillableItemsResponse as a6, type CursorPagingMetadata as a7, type Cursors as a8, type InternalQueryBillableItemsRequest as a9, type ScalarAggregation as aA, type DateHistogramAggregation as aB, type NestedAggregationItem as aC, type NestedAggregationItemKindOneOf as aD, type NestedAggregation as aE, type SearchDetails as aF, type PagingMetadataV2 as aG, type AggregationData as aH, type ValueAggregationResult as aI, type RangeAggregationResult as aJ, type NestedAggregationResults as aK, type NestedAggregationResultsResultOneOf as aL, type ValueResults as aM, type RangeResults as aN, type AggregationResultsScalarResult as aO, type NestedValueAggregationResult as aP, type ValueResult as aQ, type RangeResult as aR, type ScalarResult as aS, type NestedResultValue as aT, type NestedResultValueResultOneOf as aU, type Results as aV, type DateHistogramResult as aW, type GroupByValueResults as aX, type DateHistogramResults as aY, type NestedResults as aZ, type AggregationResults as a_, type InternalCursorQuery as aa, type InternalCursorQueryPagingMethodOneOf as ab, type InternalCursorPaging as ac, type InternalQueryBillableItemsResponse as ad, type BulkCreateBillableItemsRequest as ae, type ItemMetadata as af, type ApplicationError as ag, type BulkBillableItemResult as ah, type BulkActionMetadata as ai, type BulkUpdateBillableItemsRequest as aj, type BulkUpdateBillableItemsResponseBulkBillableItemResult as ak, type BulkDeleteBillableItemsRequest as al, type BulkDeleteBillableItemsResponseBulkBillableItemResult as am, type BulkUpdateBillableItemTagsRequest as an, type BulkUpdateBillableItemTagsResult as ao, type BulkUpdateBillableItemTagsByFilterRequest as ap, type SearchBillableItemsRequest as aq, type CursorSearch as ar, type CursorSearchPagingMethodOneOf as as, type Aggregation as at, type AggregationKindOneOf as au, type RangeBucket as av, type IncludeMissingValuesOptions as aw, type ValueAggregation as ax, type ValueAggregationOptionsOneOf as ay, type RangeAggregation as az, type BulkCreateBillableItemsResponse as b, type BaseEventMetadata as b0, type EventMetadata as b1, type AccountInfoMetadata as b2, type BillableItemsQueryResult as b3, type BillableItemQuerySpec as b4, type BillableItemSearchSpec as b5, QueryBuilder as b6, Filter as b7, Sort as b8, type WebhookIdentityTypeWithLiterals as b9, type SortOrderWithLiterals as ba, type SortTypeWithLiterals as bb, type SortDirectionWithLiterals as bc, type MissingValuesWithLiterals as bd, type ScalarTypeWithLiterals as be, type NestedAggregationTypeWithLiterals as bf, type IntervalWithLiterals as bg, type AggregationTypeWithLiterals as bh, type ModeWithLiterals as bi, type CommonQueryWithEntityContext as bj, type CommonSearchWithEntityContext as bk, onBillableItemCreated as bl, onBillableItemDeleted as bm, onBillableItemUpdated as bn, createBillableItem as bo, getBillableItem as bp, updateBillableItem as bq, deleteBillableItem as br, queryBillableItems as bs, bulkCreateBillableItems as bt, bulkUpdateBillableItems as bu, bulkDeleteBillableItems as bv, bulkUpdateBillableItemTags as bw, bulkUpdateBillableItemTagsByFilter as bx, type BulkUpdateBillableItemsOptions as c, type BulkUpdateBillableItemsResponse as d, type BulkDeleteBillableItemsResponse as e, type BulkUpdateBillableItemTagsOptions as f, type BulkUpdateBillableItemTagsResponse as g, type BulkUpdateBillableItemTagsApplicationErrors as h, type BulkUpdateBillableItemTagsByFilterOptions as i, type BulkUpdateBillableItemTagsByFilterResponse as j, type BulkUpdateBillableItemTagsByFilterApplicationErrors as k, type BillableItemSearch as l, type BillableItemCreatedEnvelope as m, type BillableItemDeletedEnvelope as n, type BillableItemUpdatedEnvelope as o, type BillableItemsQueryBuilder as p, type BillableItemQuery as q, SortOrder as r, SortType as s, typedQueryBillableItems as t, SortDirection as u, MissingValues as v, ScalarType as w, Mode as x, type TagList as y, type DomainEventBodyOneOf as z };
|
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
-
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-
|
|
3
|
-
export { P as AccountInfo, J as ActionEvent, at as Aggregation, aH as AggregationData, au as AggregationKindOneOf, a_ as AggregationResults, a$ as AggregationResultsResultOneOf, aO as AggregationResultsScalarResult, A as AggregationType,
|
|
2
|
+
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-D4Cp3QGx.js';
|
|
3
|
+
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, bh 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, bj as CommonQueryWithEntityContext, bk 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, b7 as Filter, 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, bg as IntervalWithLiterals, af as ItemMetadata, K as MessageEnvelope, v as MissingValues, bd as MissingValuesWithLiterals, x as Mode, bi as ModeWithLiterals, aE as NestedAggregation, aC as NestedAggregationItem, aD as NestedAggregationItemKindOneOf, aK as NestedAggregationResults, aL as NestedAggregationResultsResultOneOf, N as NestedAggregationType, bf as NestedAggregationTypeWithLiterals, aT as NestedResultValue, aU as NestedResultValueResultOneOf, aZ as NestedResults, aP as NestedValueAggregationResult, aG as PagingMetadataV2, a1 as QueryBillableItemsRequest, a6 as QueryBillableItemsResponse, b6 as QueryBuilder, 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, be as ScalarTypeWithLiterals, aq as SearchBillableItemsRequest, aF as SearchDetails, b8 as Sort, u as SortDirection, bc as SortDirectionWithLiterals, r as SortOrder, ba as SortOrderWithLiterals, s as SortType, bb 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, b9 as WebhookIdentityTypeWithLiterals } from './billable-items-v1-billable-item-billable-items.universal-D4Cp3QGx.js';
|
|
4
4
|
|
|
5
5
|
declare function createBillableItem$1(httpClient: HttpClient): CreateBillableItemSignature;
|
|
6
6
|
interface CreateBillableItemSignature {
|
package/build/cjs/index.js
CHANGED
|
@@ -21,11 +21,14 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
21
21
|
var index_exports = {};
|
|
22
22
|
__export(index_exports, {
|
|
23
23
|
AggregationType: () => AggregationType,
|
|
24
|
+
Filter: () => Filter,
|
|
24
25
|
Interval: () => Interval,
|
|
25
26
|
MissingValues: () => MissingValues,
|
|
26
27
|
Mode: () => Mode,
|
|
27
28
|
NestedAggregationType: () => NestedAggregationType,
|
|
29
|
+
QueryBuilder: () => QueryBuilder,
|
|
28
30
|
ScalarType: () => ScalarType,
|
|
31
|
+
Sort: () => Sort,
|
|
29
32
|
SortDirection: () => SortDirection,
|
|
30
33
|
SortOrder: () => SortOrder,
|
|
31
34
|
SortType: () => SortType,
|
|
@@ -497,6 +500,7 @@ function searchBillableItems(payload) {
|
|
|
497
500
|
var import_image = require("@wix/sdk-runtime/transformations/image");
|
|
498
501
|
var import_image2 = require("@wix/sdk-runtime/transformations/image");
|
|
499
502
|
var import_transform_paths2 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
503
|
+
var import_query_builder_utils = require("@wix/sdk-runtime/query-builder-utils");
|
|
500
504
|
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
501
505
|
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
502
506
|
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
@@ -779,6 +783,7 @@ async function typedQueryBillableItems(query) {
|
|
|
779
783
|
throw transformedError;
|
|
780
784
|
}
|
|
781
785
|
}
|
|
786
|
+
var { QueryBuilder, Filter, Sort } = (0, import_query_builder_utils.createQueryUtils)();
|
|
782
787
|
async function bulkCreateBillableItems2(billableItems, options) {
|
|
783
788
|
const { httpClient, sideEffects } = arguments[2];
|
|
784
789
|
const payload = (0, import_transform_paths2.transformPaths)(
|
|
@@ -1179,11 +1184,14 @@ var onBillableItemUpdated2 = (0, import_event_definition_modules.createEventModu
|
|
|
1179
1184
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1180
1185
|
0 && (module.exports = {
|
|
1181
1186
|
AggregationType,
|
|
1187
|
+
Filter,
|
|
1182
1188
|
Interval,
|
|
1183
1189
|
MissingValues,
|
|
1184
1190
|
Mode,
|
|
1185
1191
|
NestedAggregationType,
|
|
1192
|
+
QueryBuilder,
|
|
1186
1193
|
ScalarType,
|
|
1194
|
+
Sort,
|
|
1187
1195
|
SortDirection,
|
|
1188
1196
|
SortOrder,
|
|
1189
1197
|
SortType,
|