@wix/auto_sdk_get-paid_receipts 1.0.121 → 1.0.123

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.
@@ -120,6 +120,9 @@ function createReceipt(payload) {
120
120
  method: "POST",
121
121
  methodFqn: "wix.receipts.v1.Receipts.CreateReceipt",
122
122
  packageName: PACKAGE_NAME,
123
+ migrationOptions: {
124
+ optInTransformResponse: true
125
+ },
123
126
  url: resolveWixReceiptsV1ReceiptsUrl({
124
127
  protoPath: "/v1/receipts",
125
128
  data: serializedData,
@@ -160,6 +163,9 @@ function getReceipt(payload) {
160
163
  method: "GET",
161
164
  methodFqn: "wix.receipts.v1.Receipts.GetReceipt",
162
165
  packageName: PACKAGE_NAME,
166
+ migrationOptions: {
167
+ optInTransformResponse: true
168
+ },
163
169
  url: resolveWixReceiptsV1ReceiptsUrl({
164
170
  protoPath: "/v1/receipts/{receiptId}",
165
171
  data: payload,
@@ -200,6 +206,9 @@ function queryReceipts(payload) {
200
206
  method: "POST",
201
207
  methodFqn: "wix.receipts.v1.Receipts.QueryReceipts",
202
208
  packageName: PACKAGE_NAME,
209
+ migrationOptions: {
210
+ optInTransformResponse: true
211
+ },
203
212
  url: resolveWixReceiptsV1ReceiptsUrl({
204
213
  protoPath: "/v1/receipts/query",
205
214
  data: payload,
@@ -240,6 +249,9 @@ function regenerateReceiptDocument(payload) {
240
249
  method: "POST",
241
250
  methodFqn: "wix.receipts.v1.Receipts.RegenerateReceiptDocument",
242
251
  packageName: PACKAGE_NAME,
252
+ migrationOptions: {
253
+ optInTransformResponse: true
254
+ },
243
255
  url: resolveWixReceiptsV1ReceiptsUrl({
244
256
  protoPath: "/v1/receipts/{receiptId}/regenerate-receipt-document",
245
257
  data: payload,
@@ -258,6 +270,9 @@ function sendReceiptEmail(payload) {
258
270
  method: "POST",
259
271
  methodFqn: "wix.receipts.v1.Receipts.SendReceiptEmail",
260
272
  packageName: PACKAGE_NAME,
273
+ migrationOptions: {
274
+ optInTransformResponse: true
275
+ },
261
276
  url: resolveWixReceiptsV1ReceiptsUrl({
262
277
  protoPath: "/v1/receipts/{receiptId}/send-email",
263
278
  data: payload,
@@ -276,6 +291,9 @@ function getLatestReceiptNumber(payload) {
276
291
  method: "GET",
277
292
  methodFqn: "wix.receipts.v1.Receipts.GetLatestReceiptNumber",
278
293
  packageName: PACKAGE_NAME,
294
+ migrationOptions: {
295
+ optInTransformResponse: true
296
+ },
279
297
  url: resolveWixReceiptsV1ReceiptsUrl({
280
298
  protoPath: "/v1/receipts/get-latest-number",
281
299
  data: payload,
@@ -294,6 +312,9 @@ function updateExtendedFields(payload) {
294
312
  method: "POST",
295
313
  methodFqn: "wix.receipts.v1.Receipts.UpdateExtendedFields",
296
314
  packageName: PACKAGE_NAME,
315
+ migrationOptions: {
316
+ optInTransformResponse: true
317
+ },
297
318
  url: resolveWixReceiptsV1ReceiptsUrl({
298
319
  protoPath: "/v1/receipts/{id}/update-extended-fields",
299
320
  data: payload,