@wix/auto_sdk_get-paid_billable-items 1.0.26 → 1.0.27

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.
@@ -85,6 +85,18 @@ function resolveWixBillableItemsV1BillableItemsUrl(opts) {
85
85
  srcPath: "/billable-items/v1/bulk/billable-items",
86
86
  destPath: "/v1/bulk/billable-items"
87
87
  }
88
+ ],
89
+ _: [
90
+ {
91
+ srcPath: "/_api/billable-items",
92
+ destPath: ""
93
+ }
94
+ ],
95
+ "*.dev.wix-code.com": [
96
+ {
97
+ srcPath: "/_api/billable-items",
98
+ destPath: ""
99
+ }
88
100
  ]
89
101
  };
90
102
  return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
@@ -215,7 +227,7 @@ function queryBillableItems(payload) {
215
227
  function __queryBillableItems({ host }) {
216
228
  const metadata = {
217
229
  entityFqdn: "wix.billable_items.v1.billable_item",
218
- method: "POST",
230
+ method: "GET",
219
231
  methodFqn: "wix.billable_items.v1.BillableItems.QueryBillableItems",
220
232
  packageName: PACKAGE_NAME,
221
233
  url: resolveWixBillableItemsV1BillableItemsUrl({
@@ -223,7 +235,7 @@ function queryBillableItems(payload) {
223
235
  data: payload,
224
236
  host
225
237
  }),
226
- data: payload,
238
+ params: (0, import_rest_modules.toURLSearchParams)(payload, true),
227
239
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
228
240
  {
229
241
  transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,