@wix/auto_sdk_get-paid_billable-items 1.0.62 → 1.0.63

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.
@@ -2,9 +2,7 @@ import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTF
2
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-CL50BvcU.js';
3
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-CL50BvcU.js';
4
4
 
5
- declare function createBillableItem$1(httpClient: HttpClient, __options?: {
6
- validateRequestSchema?: boolean;
7
- }): CreateBillableItemSignature;
5
+ declare function createBillableItem$1(httpClient: HttpClient): CreateBillableItemSignature;
8
6
  interface CreateBillableItemSignature {
9
7
  /**
10
8
  * Creates a billable item.
@@ -15,9 +13,7 @@ interface CreateBillableItemSignature {
15
13
  __applicationErrorsType?: CreateBillableItemApplicationErrors;
16
14
  }>;
17
15
  }
18
- declare function getBillableItem$1(httpClient: HttpClient, __options?: {
19
- validateRequestSchema?: boolean;
20
- }): GetBillableItemSignature;
16
+ declare function getBillableItem$1(httpClient: HttpClient): GetBillableItemSignature;
21
17
  interface GetBillableItemSignature {
22
18
  /**
23
19
  * Retrieves a billable item.
@@ -26,9 +22,7 @@ interface GetBillableItemSignature {
26
22
  */
27
23
  (billableItemId: string): Promise<NonNullablePaths<BillableItem, `name` | `price` | `tags.privateTags.tagIds`, 4>>;
28
24
  }
29
- declare function updateBillableItem$1(httpClient: HttpClient, __options?: {
30
- validateRequestSchema?: boolean;
31
- }): UpdateBillableItemSignature;
25
+ declare function updateBillableItem$1(httpClient: HttpClient): UpdateBillableItemSignature;
32
26
  interface UpdateBillableItemSignature {
33
27
  /**
34
28
  * Updates a billable item.
@@ -44,9 +38,7 @@ interface UpdateBillableItemSignature {
44
38
  */
45
39
  (_id: string, billableItem: NonNullablePaths<UpdateBillableItem, `name` | `price` | `revision`, 2>): Promise<NonNullablePaths<BillableItem, `name` | `price` | `tags.privateTags.tagIds`, 4>>;
46
40
  }
47
- declare function deleteBillableItem$1(httpClient: HttpClient, __options?: {
48
- validateRequestSchema?: boolean;
49
- }): DeleteBillableItemSignature;
41
+ declare function deleteBillableItem$1(httpClient: HttpClient): DeleteBillableItemSignature;
50
42
  interface DeleteBillableItemSignature {
51
43
  /**
52
44
  * Permanently deletes a billable item.
@@ -54,9 +46,7 @@ interface DeleteBillableItemSignature {
54
46
  */
55
47
  (billableItemId: string): Promise<void>;
56
48
  }
57
- declare function bulkCreateBillableItems$1(httpClient: HttpClient, __options?: {
58
- validateRequestSchema?: boolean;
59
- }): BulkCreateBillableItemsSignature;
49
+ declare function bulkCreateBillableItems$1(httpClient: HttpClient): BulkCreateBillableItemsSignature;
60
50
  interface BulkCreateBillableItemsSignature {
61
51
  /**
62
52
  * Create multiple billable items.
@@ -65,9 +55,7 @@ interface BulkCreateBillableItemsSignature {
65
55
  */
66
56
  (billableItems: BillableItem[], options?: BulkCreateBillableItemsOptions): Promise<NonNullablePaths<BulkCreateBillableItemsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.name` | `results.${number}.item.price` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
67
57
  }
68
- declare function bulkUpdateBillableItems$1(httpClient: HttpClient, __options?: {
69
- validateRequestSchema?: boolean;
70
- }): BulkUpdateBillableItemsSignature;
58
+ declare function bulkUpdateBillableItems$1(httpClient: HttpClient): BulkUpdateBillableItemsSignature;
71
59
  interface BulkUpdateBillableItemsSignature {
72
60
  /**
73
61
  * Updates multiple billable items.
@@ -76,9 +64,7 @@ interface BulkUpdateBillableItemsSignature {
76
64
  */
77
65
  (billableItems: NonNullablePaths<MaskedBillableItem, `billableItem` | `billableItem._id` | `billableItem.revision`, 3>[], options?: BulkUpdateBillableItemsOptions): Promise<NonNullablePaths<BulkUpdateBillableItemsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.name` | `results.${number}.item.price` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
78
66
  }
79
- declare function bulkDeleteBillableItems$1(httpClient: HttpClient, __options?: {
80
- validateRequestSchema?: boolean;
81
- }): BulkDeleteBillableItemsSignature;
67
+ declare function bulkDeleteBillableItems$1(httpClient: HttpClient): BulkDeleteBillableItemsSignature;
82
68
  interface BulkDeleteBillableItemsSignature {
83
69
  /**
84
70
  * Delete multiple billable items.
@@ -86,9 +72,7 @@ interface BulkDeleteBillableItemsSignature {
86
72
  */
87
73
  (billableItemIds: string[]): Promise<NonNullablePaths<BulkDeleteBillableItemsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
88
74
  }
89
- declare function bulkUpdateBillableItemTags$1(httpClient: HttpClient, __options?: {
90
- validateRequestSchema?: boolean;
91
- }): BulkUpdateBillableItemTagsSignature;
75
+ declare function bulkUpdateBillableItemTags$1(httpClient: HttpClient): BulkUpdateBillableItemTagsSignature;
92
76
  interface BulkUpdateBillableItemTagsSignature {
93
77
  /**
94
78
  * Updates tags for multiple billable items.
@@ -100,9 +84,7 @@ interface BulkUpdateBillableItemTagsSignature {
100
84
  __applicationErrorsType?: BulkUpdateBillableItemTagsApplicationErrors;
101
85
  }>;
102
86
  }
103
- declare function bulkUpdateBillableItemTagsByFilter$1(httpClient: HttpClient, __options?: {
104
- validateRequestSchema?: boolean;
105
- }): BulkUpdateBillableItemTagsByFilterSignature;
87
+ declare function bulkUpdateBillableItemTagsByFilter$1(httpClient: HttpClient): BulkUpdateBillableItemTagsByFilterSignature;
106
88
  interface BulkUpdateBillableItemTagsByFilterSignature {
107
89
  /**
108
90
  * Updates tags on multiple billable items by filter. Works asynchronously, and returns a job ID.
@@ -119,9 +101,7 @@ interface BulkUpdateBillableItemTagsByFilterSignature {
119
101
  __applicationErrorsType?: BulkUpdateBillableItemTagsByFilterApplicationErrors;
120
102
  }>;
121
103
  }
122
- declare function searchBillableItems$1(httpClient: HttpClient, __options?: {
123
- validateRequestSchema?: boolean;
124
- }): SearchBillableItemsSignature;
104
+ declare function searchBillableItems$1(httpClient: HttpClient): SearchBillableItemsSignature;
125
105
  interface SearchBillableItemsSignature {
126
106
  /**
127
107
  * Retrieves a list of up to 100 billable items, given the specified filtering, search expression, sorting, and cursor paging.