@wix/auto_sdk_get-paid_billable-items 1.0.53 → 1.0.55

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.
Files changed (41) hide show
  1. package/build/cjs/{billable-items-v1-billable-item-billable-items.universal-DNyC-7wr.d.ts → billable-items-v1-billable-item-billable-items.universal-BP3V7EYy.d.ts} +4 -8
  2. package/build/cjs/index.d.ts +5 -3
  3. package/build/cjs/index.js +0 -4
  4. package/build/cjs/index.js.map +1 -1
  5. package/build/cjs/index.typings.d.ts +5 -3
  6. package/build/cjs/index.typings.js +0 -4
  7. package/build/cjs/index.typings.js.map +1 -1
  8. package/build/cjs/meta.d.ts +5 -9
  9. package/build/cjs/meta.js +0 -4
  10. package/build/cjs/meta.js.map +1 -1
  11. package/build/es/{billable-items-v1-billable-item-billable-items.universal-DNyC-7wr.d.mts → billable-items-v1-billable-item-billable-items.universal-BP3V7EYy.d.mts} +4 -8
  12. package/build/es/index.d.mts +5 -3
  13. package/build/es/index.mjs +0 -4
  14. package/build/es/index.mjs.map +1 -1
  15. package/build/es/index.typings.d.mts +5 -3
  16. package/build/es/index.typings.mjs +0 -4
  17. package/build/es/index.typings.mjs.map +1 -1
  18. package/build/es/meta.d.mts +5 -9
  19. package/build/es/meta.mjs +0 -4
  20. package/build/es/meta.mjs.map +1 -1
  21. package/build/internal/cjs/{billable-items-v1-billable-item-billable-items.universal-DNyC-7wr.d.ts → billable-items-v1-billable-item-billable-items.universal-BP3V7EYy.d.ts} +4 -8
  22. package/build/internal/cjs/index.d.ts +5 -3
  23. package/build/internal/cjs/index.js +0 -4
  24. package/build/internal/cjs/index.js.map +1 -1
  25. package/build/internal/cjs/index.typings.d.ts +5 -3
  26. package/build/internal/cjs/index.typings.js +0 -4
  27. package/build/internal/cjs/index.typings.js.map +1 -1
  28. package/build/internal/cjs/meta.d.ts +5 -9
  29. package/build/internal/cjs/meta.js +0 -4
  30. package/build/internal/cjs/meta.js.map +1 -1
  31. package/build/internal/es/{billable-items-v1-billable-item-billable-items.universal-DNyC-7wr.d.mts → billable-items-v1-billable-item-billable-items.universal-BP3V7EYy.d.mts} +4 -8
  32. package/build/internal/es/index.d.mts +5 -3
  33. package/build/internal/es/index.mjs +0 -4
  34. package/build/internal/es/index.mjs.map +1 -1
  35. package/build/internal/es/index.typings.d.mts +5 -3
  36. package/build/internal/es/index.typings.mjs +0 -4
  37. package/build/internal/es/index.typings.mjs.map +1 -1
  38. package/build/internal/es/meta.d.mts +5 -9
  39. package/build/internal/es/meta.mjs +0 -4
  40. package/build/internal/es/meta.mjs.map +1 -1
  41. package/package.json +2 -2
@@ -715,7 +715,6 @@ interface IncludeMissingValuesOptions {
715
715
  addToBucket?: string;
716
716
  }
717
717
  declare enum ScalarType {
718
- UNKNOWN_SCALAR_TYPE = "UNKNOWN_SCALAR_TYPE",
719
718
  /** Count of distinct values */
720
719
  COUNT_DISTINCT = "COUNT_DISTINCT",
721
720
  /** Minimum value */
@@ -724,7 +723,7 @@ declare enum ScalarType {
724
723
  MAX = "MAX"
725
724
  }
726
725
  /** @enumType */
727
- type ScalarTypeWithLiterals = ScalarType | 'UNKNOWN_SCALAR_TYPE' | 'COUNT_DISTINCT' | 'MIN' | 'MAX';
726
+ type ScalarTypeWithLiterals = ScalarType | 'COUNT_DISTINCT' | 'MIN' | 'MAX';
728
727
  interface ValueAggregation extends ValueAggregationOptionsOneOf {
729
728
  /** Options for including missing values */
730
729
  includeOptions?: IncludeMissingValuesOptions;
@@ -743,7 +742,6 @@ interface ValueAggregationOptionsOneOf {
743
742
  includeOptions?: IncludeMissingValuesOptions;
744
743
  }
745
744
  declare enum NestedAggregationType {
746
- UNKNOWN_AGGREGATION_TYPE = "UNKNOWN_AGGREGATION_TYPE",
747
745
  /** An aggregation where result buckets are dynamically built - one per unique value */
748
746
  VALUE = "VALUE",
749
747
  /** An aggregation, where user can define set of ranges - each representing a bucket */
@@ -754,7 +752,7 @@ declare enum NestedAggregationType {
754
752
  DATE_HISTOGRAM = "DATE_HISTOGRAM"
755
753
  }
756
754
  /** @enumType */
757
- type NestedAggregationTypeWithLiterals = NestedAggregationType | 'UNKNOWN_AGGREGATION_TYPE' | 'VALUE' | 'RANGE' | 'SCALAR' | 'DATE_HISTOGRAM';
755
+ type NestedAggregationTypeWithLiterals = NestedAggregationType | 'VALUE' | 'RANGE' | 'SCALAR' | 'DATE_HISTOGRAM';
758
756
  interface RangeAggregation {
759
757
  /**
760
758
  * List of range buckets, where during aggregation each entity will be placed in the first bucket where its value falls into based on provided range bounds
@@ -771,7 +769,6 @@ interface DateHistogramAggregation {
771
769
  interval?: IntervalWithLiterals;
772
770
  }
773
771
  declare enum Interval {
774
- UNKNOWN_INTERVAL = "UNKNOWN_INTERVAL",
775
772
  /** Yearly interval */
776
773
  YEAR = "YEAR",
777
774
  /** Monthly interval */
@@ -788,7 +785,7 @@ declare enum Interval {
788
785
  SECOND = "SECOND"
789
786
  }
790
787
  /** @enumType */
791
- type IntervalWithLiterals = Interval | 'UNKNOWN_INTERVAL' | 'YEAR' | 'MONTH' | 'WEEK' | 'DAY' | 'HOUR' | 'MINUTE' | 'SECOND';
788
+ type IntervalWithLiterals = Interval | 'YEAR' | 'MONTH' | 'WEEK' | 'DAY' | 'HOUR' | 'MINUTE' | 'SECOND';
792
789
  interface NestedAggregationItem extends NestedAggregationItemKindOneOf {
793
790
  /** Value aggregation */
794
791
  value?: ValueAggregation;
@@ -823,7 +820,6 @@ interface NestedAggregationItemKindOneOf {
823
820
  dateHistogram?: DateHistogramAggregation;
824
821
  }
825
822
  declare enum AggregationType {
826
- UNKNOWN_AGGREGATION_TYPE = "UNKNOWN_AGGREGATION_TYPE",
827
823
  /** An aggregation where result buckets are dynamically built - one per unique value */
828
824
  VALUE = "VALUE",
829
825
  /** An aggregation, where user can define set of ranges - each representing a bucket */
@@ -836,7 +832,7 @@ declare enum AggregationType {
836
832
  NESTED = "NESTED"
837
833
  }
838
834
  /** @enumType */
839
- type AggregationTypeWithLiterals = AggregationType | 'UNKNOWN_AGGREGATION_TYPE' | 'VALUE' | 'RANGE' | 'SCALAR' | 'DATE_HISTOGRAM' | 'NESTED';
835
+ type AggregationTypeWithLiterals = AggregationType | 'VALUE' | 'RANGE' | 'SCALAR' | 'DATE_HISTOGRAM' | 'NESTED';
840
836
  /** Nested aggregation expressed through a list of aggregation where each next aggregation is nested within previous one */
841
837
  interface NestedAggregation {
842
838
  /**
@@ -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-DNyC-7wr.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-DNyC-7wr.js';
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-BP3V7EYy.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-BP3V7EYy.js';
4
4
 
5
5
  declare function createBillableItem$1(httpClient: HttpClient): CreateBillableItemSignature;
6
6
  interface CreateBillableItemSignature {
@@ -104,7 +104,9 @@ interface BulkUpdateBillableItemTagsByFilterSignature {
104
104
  declare function searchBillableItems$1(httpClient: HttpClient): SearchBillableItemsSignature;
105
105
  interface SearchBillableItemsSignature {
106
106
  /**
107
- * Retrieves a list of up to 100 billable items, given the specified filtering, search expression, sorting, and cursor paging ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language) | [REST](https://dev.wix.com/api/rest/getting-started/api-query-language)).
107
+ * Retrieves a list of up to 100 billable items, given the specified filtering, search expression, sorting, and cursor paging.
108
+ *
109
+ * 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).
108
110
  * @param - Search options.
109
111
  */
110
112
  (search: BillableItemSearch): Promise<NonNullablePaths<SearchBillableItemsResponse, `billableItems` | `billableItems.${number}.name` | `billableItems.${number}.price` | `aggregationData.results` | `aggregationData.results.${number}.scalar.type` | `aggregationData.results.${number}.scalar.value` | `aggregationData.results.${number}.name` | `aggregationData.results.${number}.type` | `aggregationData.results.${number}.fieldPath`, 6>>;
@@ -529,14 +529,12 @@ var MissingValues = /* @__PURE__ */ ((MissingValues2) => {
529
529
  return MissingValues2;
530
530
  })(MissingValues || {});
531
531
  var ScalarType = /* @__PURE__ */ ((ScalarType2) => {
532
- ScalarType2["UNKNOWN_SCALAR_TYPE"] = "UNKNOWN_SCALAR_TYPE";
533
532
  ScalarType2["COUNT_DISTINCT"] = "COUNT_DISTINCT";
534
533
  ScalarType2["MIN"] = "MIN";
535
534
  ScalarType2["MAX"] = "MAX";
536
535
  return ScalarType2;
537
536
  })(ScalarType || {});
538
537
  var NestedAggregationType = /* @__PURE__ */ ((NestedAggregationType2) => {
539
- NestedAggregationType2["UNKNOWN_AGGREGATION_TYPE"] = "UNKNOWN_AGGREGATION_TYPE";
540
538
  NestedAggregationType2["VALUE"] = "VALUE";
541
539
  NestedAggregationType2["RANGE"] = "RANGE";
542
540
  NestedAggregationType2["SCALAR"] = "SCALAR";
@@ -544,7 +542,6 @@ var NestedAggregationType = /* @__PURE__ */ ((NestedAggregationType2) => {
544
542
  return NestedAggregationType2;
545
543
  })(NestedAggregationType || {});
546
544
  var Interval = /* @__PURE__ */ ((Interval2) => {
547
- Interval2["UNKNOWN_INTERVAL"] = "UNKNOWN_INTERVAL";
548
545
  Interval2["YEAR"] = "YEAR";
549
546
  Interval2["MONTH"] = "MONTH";
550
547
  Interval2["WEEK"] = "WEEK";
@@ -555,7 +552,6 @@ var Interval = /* @__PURE__ */ ((Interval2) => {
555
552
  return Interval2;
556
553
  })(Interval || {});
557
554
  var AggregationType = /* @__PURE__ */ ((AggregationType2) => {
558
- AggregationType2["UNKNOWN_AGGREGATION_TYPE"] = "UNKNOWN_AGGREGATION_TYPE";
559
555
  AggregationType2["VALUE"] = "VALUE";
560
556
  AggregationType2["RANGE"] = "RANGE";
561
557
  AggregationType2["SCALAR"] = "SCALAR";