@wix/auto_sdk_get-paid_billable-items 1.0.48 → 1.0.49
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-D4Cp3QGx.d.ts → billable-items-v1-billable-item-billable-items.universal-C94hjyiV.d.ts} +6 -4
- package/build/cjs/index.d.ts +2 -2
- package/build/cjs/index.js +7 -9
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +7 -9
- 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-D4Cp3QGx.d.mts → billable-items-v1-billable-item-billable-items.universal-C94hjyiV.d.mts} +6 -4
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs +5 -5
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +5 -5
- 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-D4Cp3QGx.d.ts → billable-items-v1-billable-item-billable-items.universal-C94hjyiV.d.ts} +6 -4
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.js +7 -9
- 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 +7 -9
- 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-D4Cp3QGx.d.mts → billable-items-v1-billable-item-billable-items.universal-C94hjyiV.d.mts} +6 -4
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.mjs +5 -5
- 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 -5
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1518,9 +1518,11 @@ type BillableItemQuery = {
|
|
|
1518
1518
|
order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];
|
|
1519
1519
|
}[];
|
|
1520
1520
|
};
|
|
1521
|
-
declare const
|
|
1522
|
-
|
|
1523
|
-
|
|
1521
|
+
declare const utils: {
|
|
1522
|
+
QueryBuilder: () => _wix_sdk_types.QueryBuilder<BillableItem, BillableItemQuerySpec, BillableItemQuery>;
|
|
1523
|
+
Filter: _wix_sdk_types.FilterFactory<BillableItem, BillableItemQuerySpec>;
|
|
1524
|
+
Sort: _wix_sdk_types.SortFactory<BillableItemQuerySpec>;
|
|
1525
|
+
};
|
|
1524
1526
|
/**
|
|
1525
1527
|
* Create multiple billable items.
|
|
1526
1528
|
* @param billableItems - List of billable items to create.
|
|
@@ -1757,4 +1759,4 @@ type BillableItemSearch = {
|
|
|
1757
1759
|
timeZone?: CommonSearchWithEntityContext['timeZone'] | null;
|
|
1758
1760
|
};
|
|
1759
1761
|
|
|
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,
|
|
1762
|
+
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, utils as b6, type WebhookIdentityTypeWithLiterals as b7, type SortOrderWithLiterals as b8, type SortTypeWithLiterals as b9, type SortDirectionWithLiterals as ba, type MissingValuesWithLiterals as bb, type ScalarTypeWithLiterals as bc, type NestedAggregationTypeWithLiterals as bd, type IntervalWithLiterals as be, type AggregationTypeWithLiterals as bf, type ModeWithLiterals as bg, type CommonQueryWithEntityContext as bh, type CommonSearchWithEntityContext as bi, onBillableItemCreated as bj, onBillableItemDeleted as bk, onBillableItemUpdated as bl, createBillableItem as bm, getBillableItem as bn, updateBillableItem as bo, deleteBillableItem as bp, queryBillableItems as bq, bulkCreateBillableItems as br, bulkUpdateBillableItems as bs, bulkDeleteBillableItems as bt, bulkUpdateBillableItemTags as bu, bulkUpdateBillableItemTagsByFilter as bv, 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, 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,
|
|
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-C94hjyiV.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, 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-C94hjyiV.js';
|
|
4
4
|
|
|
5
5
|
declare function createBillableItem$1(httpClient: HttpClient): CreateBillableItemSignature;
|
|
6
6
|
interface CreateBillableItemSignature {
|
package/build/cjs/index.js
CHANGED
|
@@ -21,14 +21,11 @@ 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,
|
|
25
24
|
Interval: () => Interval,
|
|
26
25
|
MissingValues: () => MissingValues,
|
|
27
26
|
Mode: () => Mode,
|
|
28
27
|
NestedAggregationType: () => NestedAggregationType,
|
|
29
|
-
QueryBuilder: () => QueryBuilder,
|
|
30
28
|
ScalarType: () => ScalarType,
|
|
31
|
-
Sort: () => Sort,
|
|
32
29
|
SortDirection: () => SortDirection,
|
|
33
30
|
SortOrder: () => SortOrder,
|
|
34
31
|
SortType: () => SortType,
|
|
@@ -46,7 +43,8 @@ __export(index_exports, {
|
|
|
46
43
|
onBillableItemUpdated: () => onBillableItemUpdated2,
|
|
47
44
|
queryBillableItems: () => queryBillableItems4,
|
|
48
45
|
searchBillableItems: () => searchBillableItems4,
|
|
49
|
-
updateBillableItem: () => updateBillableItem4
|
|
46
|
+
updateBillableItem: () => updateBillableItem4,
|
|
47
|
+
utils: () => utils
|
|
50
48
|
});
|
|
51
49
|
module.exports = __toCommonJS(index_exports);
|
|
52
50
|
|
|
@@ -783,7 +781,9 @@ async function typedQueryBillableItems(query) {
|
|
|
783
781
|
throw transformedError;
|
|
784
782
|
}
|
|
785
783
|
}
|
|
786
|
-
var
|
|
784
|
+
var utils = {
|
|
785
|
+
...(0, import_query_builder_utils.createQueryUtils)()
|
|
786
|
+
};
|
|
787
787
|
async function bulkCreateBillableItems2(billableItems, options) {
|
|
788
788
|
const { httpClient, sideEffects } = arguments[2];
|
|
789
789
|
const payload = (0, import_transform_paths2.transformPaths)(
|
|
@@ -1184,14 +1184,11 @@ var onBillableItemUpdated2 = (0, import_event_definition_modules.createEventModu
|
|
|
1184
1184
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1185
1185
|
0 && (module.exports = {
|
|
1186
1186
|
AggregationType,
|
|
1187
|
-
Filter,
|
|
1188
1187
|
Interval,
|
|
1189
1188
|
MissingValues,
|
|
1190
1189
|
Mode,
|
|
1191
1190
|
NestedAggregationType,
|
|
1192
|
-
QueryBuilder,
|
|
1193
1191
|
ScalarType,
|
|
1194
|
-
Sort,
|
|
1195
1192
|
SortDirection,
|
|
1196
1193
|
SortOrder,
|
|
1197
1194
|
SortType,
|
|
@@ -1209,6 +1206,7 @@ var onBillableItemUpdated2 = (0, import_event_definition_modules.createEventModu
|
|
|
1209
1206
|
onBillableItemUpdated,
|
|
1210
1207
|
queryBillableItems,
|
|
1211
1208
|
searchBillableItems,
|
|
1212
|
-
updateBillableItem
|
|
1209
|
+
updateBillableItem,
|
|
1210
|
+
utils
|
|
1213
1211
|
});
|
|
1214
1212
|
//# sourceMappingURL=index.js.map
|