@wix/auto_sdk_get-paid_billable-items 1.0.61 → 1.0.62

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