@wix/auto_sdk_benefit-programs_transactions 1.0.14 → 1.0.16

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 (133) hide show
  1. package/build/cjs/index.d.ts +1 -0
  2. package/build/cjs/index.js +18 -0
  3. package/build/cjs/index.js.map +1 -0
  4. package/build/cjs/index.typings.d.ts +1 -0
  5. package/build/cjs/index.typings.js +18 -0
  6. package/build/cjs/index.typings.js.map +1 -0
  7. package/build/cjs/meta.d.ts +1 -0
  8. package/build/cjs/meta.js +18 -0
  9. package/build/cjs/meta.js.map +1 -0
  10. package/build/cjs/src/benefit-programs-v1-transaction-transactions.context.d.ts +6 -0
  11. package/build/cjs/src/benefit-programs-v1-transaction-transactions.context.js +14 -0
  12. package/build/cjs/src/benefit-programs-v1-transaction-transactions.context.js.map +1 -0
  13. package/build/cjs/src/benefit-programs-v1-transaction-transactions.http.d.ts +17 -0
  14. package/build/cjs/src/benefit-programs-v1-transaction-transactions.http.js +172 -0
  15. package/build/cjs/src/benefit-programs-v1-transaction-transactions.http.js.map +1 -0
  16. package/build/cjs/src/benefit-programs-v1-transaction-transactions.meta.d.ts +16 -0
  17. package/build/cjs/src/benefit-programs-v1-transaction-transactions.meta.js +66 -0
  18. package/build/cjs/src/benefit-programs-v1-transaction-transactions.meta.js.map +1 -0
  19. package/build/cjs/src/benefit-programs-v1-transaction-transactions.public.d.ts +32 -0
  20. package/build/cjs/src/benefit-programs-v1-transaction-transactions.public.js +24 -0
  21. package/build/cjs/src/benefit-programs-v1-transaction-transactions.public.js.map +1 -0
  22. package/build/cjs/src/benefit-programs-v1-transaction-transactions.types.d.ts +598 -0
  23. package/build/cjs/src/benefit-programs-v1-transaction-transactions.types.js +48 -0
  24. package/build/cjs/src/benefit-programs-v1-transaction-transactions.types.js.map +1 -0
  25. package/build/{benefit-programs-v1-transaction-transactions.universal-DjQc6kgD.d.mts → cjs/src/benefit-programs-v1-transaction-transactions.universal.d.ts} +104 -49
  26. package/build/cjs/src/benefit-programs-v1-transaction-transactions.universal.js +184 -0
  27. package/build/cjs/src/benefit-programs-v1-transaction-transactions.universal.js.map +1 -0
  28. package/build/es/index.d.ts +1 -0
  29. package/build/es/index.js +2 -0
  30. package/build/es/index.js.map +1 -0
  31. package/build/es/index.typings.d.ts +1 -0
  32. package/build/es/index.typings.js +2 -0
  33. package/build/es/index.typings.js.map +1 -0
  34. package/build/es/meta.d.ts +1 -0
  35. package/build/es/meta.js +2 -0
  36. package/build/es/meta.js.map +1 -0
  37. package/build/es/src/benefit-programs-v1-transaction-transactions.context.d.ts +6 -0
  38. package/build/es/src/benefit-programs-v1-transaction-transactions.context.js +6 -0
  39. package/build/es/src/benefit-programs-v1-transaction-transactions.context.js.map +1 -0
  40. package/build/es/src/benefit-programs-v1-transaction-transactions.http.d.ts +17 -0
  41. package/build/es/src/benefit-programs-v1-transaction-transactions.http.js +167 -0
  42. package/build/es/src/benefit-programs-v1-transaction-transactions.http.js.map +1 -0
  43. package/build/es/src/benefit-programs-v1-transaction-transactions.meta.d.ts +16 -0
  44. package/build/es/src/benefit-programs-v1-transaction-transactions.meta.js +38 -0
  45. package/build/es/src/benefit-programs-v1-transaction-transactions.meta.js.map +1 -0
  46. package/build/es/src/benefit-programs-v1-transaction-transactions.public.d.ts +32 -0
  47. package/build/es/src/benefit-programs-v1-transaction-transactions.public.js +14 -0
  48. package/build/es/src/benefit-programs-v1-transaction-transactions.public.js.map +1 -0
  49. package/build/es/src/benefit-programs-v1-transaction-transactions.types.d.ts +598 -0
  50. package/build/es/src/benefit-programs-v1-transaction-transactions.types.js +45 -0
  51. package/build/es/src/benefit-programs-v1-transaction-transactions.types.js.map +1 -0
  52. package/build/{benefit-programs-v1-transaction-transactions.universal-DjQc6kgD.d.ts → es/src/benefit-programs-v1-transaction-transactions.universal.d.ts} +104 -49
  53. package/build/es/src/benefit-programs-v1-transaction-transactions.universal.js +156 -0
  54. package/build/es/src/benefit-programs-v1-transaction-transactions.universal.js.map +1 -0
  55. package/build/internal/cjs/index.d.ts +1 -0
  56. package/build/internal/cjs/index.js +18 -0
  57. package/build/internal/cjs/index.js.map +1 -0
  58. package/build/internal/cjs/index.typings.d.ts +1 -0
  59. package/build/internal/cjs/index.typings.js +18 -0
  60. package/build/internal/cjs/index.typings.js.map +1 -0
  61. package/build/internal/cjs/meta.d.ts +1 -0
  62. package/build/internal/cjs/meta.js +18 -0
  63. package/build/internal/cjs/meta.js.map +1 -0
  64. package/build/internal/cjs/src/benefit-programs-v1-transaction-transactions.context.d.ts +6 -0
  65. package/build/internal/cjs/src/benefit-programs-v1-transaction-transactions.context.js +14 -0
  66. package/build/internal/cjs/src/benefit-programs-v1-transaction-transactions.context.js.map +1 -0
  67. package/build/internal/cjs/src/benefit-programs-v1-transaction-transactions.http.d.ts +17 -0
  68. package/build/internal/cjs/src/benefit-programs-v1-transaction-transactions.http.js +172 -0
  69. package/build/internal/cjs/src/benefit-programs-v1-transaction-transactions.http.js.map +1 -0
  70. package/build/internal/cjs/src/benefit-programs-v1-transaction-transactions.meta.d.ts +16 -0
  71. package/build/internal/cjs/src/benefit-programs-v1-transaction-transactions.meta.js +66 -0
  72. package/build/internal/cjs/src/benefit-programs-v1-transaction-transactions.meta.js.map +1 -0
  73. package/build/internal/cjs/src/benefit-programs-v1-transaction-transactions.public.d.ts +32 -0
  74. package/build/internal/cjs/src/benefit-programs-v1-transaction-transactions.public.js +24 -0
  75. package/build/internal/cjs/src/benefit-programs-v1-transaction-transactions.public.js.map +1 -0
  76. package/build/internal/cjs/src/benefit-programs-v1-transaction-transactions.types.d.ts +598 -0
  77. package/build/internal/cjs/src/benefit-programs-v1-transaction-transactions.types.js +48 -0
  78. package/build/internal/cjs/src/benefit-programs-v1-transaction-transactions.types.js.map +1 -0
  79. package/build/internal/{benefit-programs-v1-transaction-transactions.universal-DjQc6kgD.d.ts → cjs/src/benefit-programs-v1-transaction-transactions.universal.d.ts} +104 -49
  80. package/build/internal/cjs/src/benefit-programs-v1-transaction-transactions.universal.js +184 -0
  81. package/build/internal/cjs/src/benefit-programs-v1-transaction-transactions.universal.js.map +1 -0
  82. package/build/internal/es/index.d.ts +1 -0
  83. package/build/internal/es/index.js +2 -0
  84. package/build/internal/es/index.js.map +1 -0
  85. package/build/internal/es/index.typings.d.ts +1 -0
  86. package/build/internal/es/index.typings.js +2 -0
  87. package/build/internal/es/index.typings.js.map +1 -0
  88. package/build/internal/es/meta.d.ts +1 -0
  89. package/build/internal/es/meta.js +2 -0
  90. package/build/internal/es/meta.js.map +1 -0
  91. package/build/internal/es/src/benefit-programs-v1-transaction-transactions.context.d.ts +6 -0
  92. package/build/internal/es/src/benefit-programs-v1-transaction-transactions.context.js +6 -0
  93. package/build/internal/es/src/benefit-programs-v1-transaction-transactions.context.js.map +1 -0
  94. package/build/internal/es/src/benefit-programs-v1-transaction-transactions.http.d.ts +17 -0
  95. package/build/internal/es/src/benefit-programs-v1-transaction-transactions.http.js +167 -0
  96. package/build/internal/es/src/benefit-programs-v1-transaction-transactions.http.js.map +1 -0
  97. package/build/internal/es/src/benefit-programs-v1-transaction-transactions.meta.d.ts +16 -0
  98. package/build/internal/es/src/benefit-programs-v1-transaction-transactions.meta.js +38 -0
  99. package/build/internal/es/src/benefit-programs-v1-transaction-transactions.meta.js.map +1 -0
  100. package/build/internal/es/src/benefit-programs-v1-transaction-transactions.public.d.ts +32 -0
  101. package/build/internal/es/src/benefit-programs-v1-transaction-transactions.public.js +14 -0
  102. package/build/internal/es/src/benefit-programs-v1-transaction-transactions.public.js.map +1 -0
  103. package/build/internal/es/src/benefit-programs-v1-transaction-transactions.types.d.ts +598 -0
  104. package/build/internal/es/src/benefit-programs-v1-transaction-transactions.types.js +45 -0
  105. package/build/internal/es/src/benefit-programs-v1-transaction-transactions.types.js.map +1 -0
  106. package/build/internal/{benefit-programs-v1-transaction-transactions.universal-DjQc6kgD.d.mts → es/src/benefit-programs-v1-transaction-transactions.universal.d.ts} +104 -49
  107. package/build/internal/es/src/benefit-programs-v1-transaction-transactions.universal.js +156 -0
  108. package/build/internal/es/src/benefit-programs-v1-transaction-transactions.universal.js.map +1 -0
  109. package/package.json +11 -12
  110. package/build/index.d.mts +0 -35
  111. package/build/index.d.ts +0 -35
  112. package/build/index.js +0 -324
  113. package/build/index.js.map +0 -1
  114. package/build/index.mjs +0 -294
  115. package/build/index.mjs.map +0 -1
  116. package/build/internal/index.d.mts +0 -35
  117. package/build/internal/index.d.ts +0 -35
  118. package/build/internal/index.js +0 -324
  119. package/build/internal/index.js.map +0 -1
  120. package/build/internal/index.mjs +0 -294
  121. package/build/internal/index.mjs.map +0 -1
  122. package/build/internal/meta.d.mts +0 -345
  123. package/build/internal/meta.d.ts +0 -345
  124. package/build/internal/meta.js +0 -224
  125. package/build/internal/meta.js.map +0 -1
  126. package/build/internal/meta.mjs +0 -196
  127. package/build/internal/meta.mjs.map +0 -1
  128. package/build/meta.d.mts +0 -345
  129. package/build/meta.d.ts +0 -345
  130. package/build/meta.js +0 -224
  131. package/build/meta.js.map +0 -1
  132. package/build/meta.mjs +0 -196
  133. package/build/meta.mjs.map +0 -1
@@ -1,4 +1,5 @@
1
- interface Transaction {
1
+ import { NonNullablePaths } from '@wix/sdk-types';
2
+ export interface Transaction {
2
3
  /**
3
4
  * Transaction ID.
4
5
  * @format GUID
@@ -73,7 +74,7 @@ interface Transaction {
73
74
  */
74
75
  extendedFields?: ExtendedFields;
75
76
  }
76
- interface PoolInfo {
77
+ export interface PoolInfo {
77
78
  /**
78
79
  * Pool ID.
79
80
  * @format GUID
@@ -110,14 +111,14 @@ interface PoolInfo {
110
111
  */
111
112
  namespace?: string | null;
112
113
  }
113
- declare enum BalanceType {
114
+ export declare enum BalanceType {
114
115
  UNDEFINED = "UNDEFINED",
115
116
  /** In a pool's balance. */
116
117
  AVAILABLE = "AVAILABLE",
117
118
  /** Outside a pool's balance. */
118
119
  EXTERNAL = "EXTERNAL"
119
120
  }
120
- interface CommonIdentificationData extends CommonIdentificationDataIdOneOf {
121
+ export interface CommonIdentificationData extends CommonIdentificationDataIdOneOf {
121
122
  /**
122
123
  * ID of a site visitor that hasn't logged in to the site.
123
124
  * @format GUID
@@ -135,7 +136,7 @@ interface CommonIdentificationData extends CommonIdentificationDataIdOneOf {
135
136
  wixUserId?: string;
136
137
  }
137
138
  /** @oneof */
138
- interface CommonIdentificationDataIdOneOf {
139
+ export interface CommonIdentificationDataIdOneOf {
139
140
  /**
140
141
  * ID of a site visitor that hasn't logged in to the site.
141
142
  * @format GUID
@@ -152,7 +153,7 @@ interface CommonIdentificationDataIdOneOf {
152
153
  */
153
154
  wixUserId?: string;
154
155
  }
155
- declare enum IdentityType {
156
+ export declare enum IdentityType {
156
157
  /** Unknown type. This value is not used. */
157
158
  UNKNOWN = "UNKNOWN",
158
159
  /** A site visitor who has not logged in. */
@@ -162,7 +163,7 @@ declare enum IdentityType {
162
163
  /** A Wix account holder, such as a site owner or contributor. */
163
164
  WIX_USER = "WIX_USER"
164
165
  }
165
- declare enum TransactionStatus {
166
+ export declare enum TransactionStatus {
166
167
  UNDEFINED = "UNDEFINED",
167
168
  /** Transaction is pending. This is the initial transaction status. */
168
169
  PENDING = "PENDING",
@@ -171,7 +172,7 @@ declare enum TransactionStatus {
171
172
  /** Transaction failed. */
172
173
  FAILED = "FAILED"
173
174
  }
174
- interface TransactionDetails {
175
+ export interface TransactionDetails {
175
176
  /**
176
177
  * Item associated with the transaction.
177
178
  * @readonly
@@ -191,7 +192,7 @@ interface TransactionDetails {
191
192
  */
192
193
  reason?: string | null;
193
194
  }
194
- interface Item {
195
+ export interface Item {
195
196
  /**
196
197
  * Item ID.
197
198
  * @format GUID
@@ -223,7 +224,7 @@ interface Item {
223
224
  */
224
225
  displayName?: string | null;
225
226
  }
226
- interface ExtendedFields {
227
+ export interface ExtendedFields {
227
228
  /**
228
229
  * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
229
230
  * The value of each key is structured according to the schema defined when the extended fields were configured.
@@ -234,15 +235,26 @@ interface ExtendedFields {
234
235
  */
235
236
  namespaces?: Record<string, Record<string, any>>;
236
237
  }
237
- interface CreateTransactionRequest {
238
+ export interface RequestedValues {
239
+ /**
240
+ * Amount the balance was adjusted in this transaction.
241
+ * @decimalValue options { gte:0, maxScale:4 }
242
+ */
243
+ amount?: string;
244
+ /** Where the credits came from. */
245
+ source?: BalanceType;
246
+ /** Where the credits went to. */
247
+ target?: BalanceType;
248
+ }
249
+ export interface CreateTransactionRequest {
238
250
  /** Transaction to create. */
239
251
  transaction?: Transaction;
240
252
  }
241
- interface CreateTransactionResponse {
253
+ export interface CreateTransactionResponse {
242
254
  /** Created transaction. */
243
255
  transaction?: Transaction;
244
256
  }
245
- interface BulkCreateTransactionsRequest {
257
+ export interface BulkCreateTransactionsRequest {
246
258
  /**
247
259
  * Transactions to be created.
248
260
  * @minSize 1
@@ -256,7 +268,7 @@ interface BulkCreateTransactionsRequest {
256
268
  */
257
269
  returnEntity?: boolean;
258
270
  }
259
- interface BulkCreateTransactionsResponse {
271
+ export interface BulkCreateTransactionsResponse {
260
272
  /**
261
273
  * List of results for each transaction.
262
274
  *
@@ -268,13 +280,13 @@ interface BulkCreateTransactionsResponse {
268
280
  /** Bulk action metadata. */
269
281
  bulkActionMetadata?: BulkActionMetadata;
270
282
  }
271
- interface BulkTransactionResult {
283
+ export interface BulkTransactionResult {
272
284
  /** Metadata for the item. */
273
285
  itemMetadata?: ItemMetadata;
274
286
  /** Created transaction. */
275
287
  transaction?: Transaction;
276
288
  }
277
- interface ItemMetadata {
289
+ export interface ItemMetadata {
278
290
  /**
279
291
  * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
280
292
  * @format GUID
@@ -287,7 +299,7 @@ interface ItemMetadata {
287
299
  /** Details about the error in case of failure. */
288
300
  error?: ApplicationError;
289
301
  }
290
- interface ApplicationError {
302
+ export interface ApplicationError {
291
303
  /** Error code. */
292
304
  code?: string;
293
305
  /** Description of the error. */
@@ -295,7 +307,7 @@ interface ApplicationError {
295
307
  /** Data related to the error. */
296
308
  data?: Record<string, any> | null;
297
309
  }
298
- interface BulkActionMetadata {
310
+ export interface BulkActionMetadata {
299
311
  /** Number of items that were successfully processed. */
300
312
  totalSuccesses?: number;
301
313
  /** Number of items that couldn't be processed. */
@@ -303,15 +315,15 @@ interface BulkActionMetadata {
303
315
  /** Number of failures without details because detailed failure threshold was exceeded. */
304
316
  undetailedFailures?: number;
305
317
  }
306
- interface UpdateTransactionRequest {
318
+ export interface UpdateTransactionRequest {
307
319
  /** Transaction to update. */
308
320
  transaction?: Transaction;
309
321
  }
310
- interface UpdateTransactionResponse {
322
+ export interface UpdateTransactionResponse {
311
323
  /** Updated transaction. */
312
324
  transaction?: Transaction;
313
325
  }
314
- interface BulkUpdateTransactionsRequest {
326
+ export interface BulkUpdateTransactionsRequest {
315
327
  /**
316
328
  * Transactions to update.
317
329
  * @minSize 1
@@ -325,13 +337,13 @@ interface BulkUpdateTransactionsRequest {
325
337
  */
326
338
  returnEntity?: boolean;
327
339
  }
328
- interface MaskedTransaction {
340
+ export interface MaskedTransaction {
329
341
  /** Transaction to be updated. */
330
342
  transaction?: Transaction;
331
343
  /** Explicit list of fields to update. */
332
344
  fieldMask?: string[];
333
345
  }
334
- interface BulkUpdateTransactionsResponse {
346
+ export interface BulkUpdateTransactionsResponse {
335
347
  /**
336
348
  * List of results for each Transaction.
337
349
  *
@@ -343,22 +355,22 @@ interface BulkUpdateTransactionsResponse {
343
355
  /** Bulk action metadata. */
344
356
  bulkActionMetadata?: BulkActionMetadata;
345
357
  }
346
- interface GetTransactionRequest {
358
+ export interface GetTransactionRequest {
347
359
  /**
348
360
  * ID of the transaction to retrieve.
349
361
  * @format GUID
350
362
  */
351
363
  transactionId: string;
352
364
  }
353
- interface GetTransactionResponse {
365
+ export interface GetTransactionResponse {
354
366
  /** Retrieved transaction. */
355
367
  transaction?: Transaction;
356
368
  }
357
- interface QueryTransactionsRequest {
369
+ export interface QueryTransactionsRequest {
358
370
  /** Filter, sort, and paging to apply to the query. */
359
371
  query: CursorQuery;
360
372
  }
361
- interface CursorQuery extends CursorQueryPagingMethodOneOf {
373
+ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
362
374
  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
363
375
  cursorPaging?: CursorPaging;
364
376
  /**
@@ -374,11 +386,11 @@ interface CursorQuery extends CursorQueryPagingMethodOneOf {
374
386
  sort?: Sorting[];
375
387
  }
376
388
  /** @oneof */
377
- interface CursorQueryPagingMethodOneOf {
389
+ export interface CursorQueryPagingMethodOneOf {
378
390
  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
379
391
  cursorPaging?: CursorPaging;
380
392
  }
381
- interface Sorting {
393
+ export interface Sorting {
382
394
  /**
383
395
  * Field to sort by.
384
396
  * @maxLength 512
@@ -391,13 +403,13 @@ interface Sorting {
391
403
  */
392
404
  order?: SortOrder;
393
405
  }
394
- declare enum SortOrder {
406
+ export declare enum SortOrder {
395
407
  /** Ascending sort order. */
396
408
  ASC = "ASC",
397
409
  /** Descending sort order. */
398
410
  DESC = "DESC"
399
411
  }
400
- interface CursorPaging {
412
+ export interface CursorPaging {
401
413
  /**
402
414
  * Maximum number of items to return.
403
415
  * @max 100
@@ -412,13 +424,13 @@ interface CursorPaging {
412
424
  */
413
425
  cursor?: string | null;
414
426
  }
415
- interface QueryTransactionsResponse {
427
+ export interface QueryTransactionsResponse {
416
428
  /** List of retrieved transactions. */
417
429
  transactions?: Transaction[];
418
430
  /** Metadata for paginated results. */
419
431
  metadata?: CursorPagingMetadata;
420
432
  }
421
- interface CursorPagingMetadata {
433
+ export interface CursorPagingMetadata {
422
434
  /** Number of items returned in the response. */
423
435
  count?: number | null;
424
436
  /** Cursor strings that point to the next page, previous page, or both. */
@@ -431,7 +443,7 @@ interface CursorPagingMetadata {
431
443
  */
432
444
  hasNext?: boolean | null;
433
445
  }
434
- interface Cursors {
446
+ export interface Cursors {
435
447
  /**
436
448
  * Cursor string pointing to the next page in the list of results.
437
449
  * @maxLength 16000
@@ -443,7 +455,7 @@ interface Cursors {
443
455
  */
444
456
  prev?: string | null;
445
457
  }
446
- interface DomainEvent extends DomainEventBodyOneOf {
458
+ export interface DomainEvent extends DomainEventBodyOneOf {
447
459
  createdEvent?: EntityCreatedEvent;
448
460
  updatedEvent?: EntityUpdatedEvent;
449
461
  deletedEvent?: EntityDeletedEvent;
@@ -486,19 +498,19 @@ interface DomainEvent extends DomainEventBodyOneOf {
486
498
  entityEventSequence?: string | null;
487
499
  }
488
500
  /** @oneof */
489
- interface DomainEventBodyOneOf {
501
+ export interface DomainEventBodyOneOf {
490
502
  createdEvent?: EntityCreatedEvent;
491
503
  updatedEvent?: EntityUpdatedEvent;
492
504
  deletedEvent?: EntityDeletedEvent;
493
505
  actionEvent?: ActionEvent;
494
506
  }
495
- interface EntityCreatedEvent {
507
+ export interface EntityCreatedEvent {
496
508
  entity?: string;
497
509
  }
498
- interface RestoreInfo {
510
+ export interface RestoreInfo {
499
511
  deletedDate?: Date | null;
500
512
  }
501
- interface EntityUpdatedEvent {
513
+ export interface EntityUpdatedEvent {
502
514
  /**
503
515
  * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
504
516
  * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
@@ -506,14 +518,14 @@ interface EntityUpdatedEvent {
506
518
  */
507
519
  currentEntity?: string;
508
520
  }
509
- interface EntityDeletedEvent {
521
+ export interface EntityDeletedEvent {
510
522
  /** Entity that was deleted */
511
523
  deletedEntity?: string | null;
512
524
  }
513
- interface ActionEvent {
525
+ export interface ActionEvent {
514
526
  body?: string;
515
527
  }
516
- interface MessageEnvelope {
528
+ export interface MessageEnvelope {
517
529
  /**
518
530
  * App instance ID.
519
531
  * @format GUID
@@ -529,7 +541,7 @@ interface MessageEnvelope {
529
541
  /** Stringify payload. */
530
542
  data?: string;
531
543
  }
532
- interface IdentificationData extends IdentificationDataIdOneOf {
544
+ export interface IdentificationData extends IdentificationDataIdOneOf {
533
545
  /**
534
546
  * ID of a site visitor that has not logged in to the site.
535
547
  * @format GUID
@@ -554,7 +566,7 @@ interface IdentificationData extends IdentificationDataIdOneOf {
554
566
  identityType?: WebhookIdentityType;
555
567
  }
556
568
  /** @oneof */
557
- interface IdentificationDataIdOneOf {
569
+ export interface IdentificationDataIdOneOf {
558
570
  /**
559
571
  * ID of a site visitor that has not logged in to the site.
560
572
  * @format GUID
@@ -576,13 +588,57 @@ interface IdentificationDataIdOneOf {
576
588
  */
577
589
  appId?: string;
578
590
  }
579
- declare enum WebhookIdentityType {
591
+ export declare enum WebhookIdentityType {
580
592
  UNKNOWN = "UNKNOWN",
581
593
  ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
582
594
  MEMBER = "MEMBER",
583
595
  WIX_USER = "WIX_USER",
584
596
  APP = "APP"
585
597
  }
598
+ type TransactionNonNullablePaths = `pool._id` | `amount` | `source` | `target` | `idempotencyKey` | `beneficiary.anonymousVisitorId` | `beneficiary.memberId` | `beneficiary.wixUserId` | `instructingParty.anonymousVisitorId` | `instructingParty.memberId` | `instructingParty.wixUserId` | `status`;
599
+ /**
600
+ * Retrieves a transaction.
601
+ * @param transactionId - ID of the transaction to retrieve.
602
+ * @public
603
+ * @documentationMaturity preview
604
+ * @requiredField transactionId
605
+ * @permissionId BENEFIT_PROGRAMS.TRANSACTION_READ
606
+ * @permissionScope SCOPE.BENEFIT_PROGRAMS.MANAGE
607
+ * @permissionScopeId SCOPE.BENEFIT_PROGRAMS.MANAGE
608
+ * @permissionScope SCOPE.BENEFIT_PROGRAMS.READ
609
+ * @permissionScopeId SCOPE.BENEFIT_PROGRAMS.READ
610
+ * @permissionScope Manage Events
611
+ * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
612
+ * @applicableIdentity APP
613
+ * @returns Retrieved transaction.
614
+ * @fqn wix.benefit_programs.v1.transaction.TransactionService.GetTransaction
615
+ */
616
+ export declare function getTransaction(transactionId: string): Promise<NonNullablePaths<Transaction, TransactionNonNullablePaths>>;
617
+ /**
618
+ * Creates a query to retrieve a list of transactions.
619
+ *
620
+ * The Query Transactions method builds a query to retrieve a list of transactions and returns a `TransactionsQueryBuilder` object.
621
+ *
622
+ * The returned object contains the query definition, which is used to run the query using the `find()` method.
623
+ *
624
+ * You can refine the query by chaining `TransactionsQueryBuilder` methods onto the query. `TransactionsQueryBuilder` methods enable you to filter, sort, and control the results that Query Transactions returns.
625
+ *
626
+ * Query Transactions has a default paging limit of 50, which you can override.
627
+ *
628
+ * For a full description of the item object, see the object returned for the `items` property in `TransactionsQueryResult`.
629
+ * @public
630
+ * @documentationMaturity preview
631
+ * @permissionScope SCOPE.BENEFIT_PROGRAMS.MANAGE
632
+ * @permissionScopeId SCOPE.BENEFIT_PROGRAMS.MANAGE
633
+ * @permissionScope SCOPE.BENEFIT_PROGRAMS.READ
634
+ * @permissionScopeId SCOPE.BENEFIT_PROGRAMS.READ
635
+ * @permissionScope Manage Events
636
+ * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
637
+ * @permissionId BENEFIT_PROGRAMS.TRANSACTION_READ
638
+ * @applicableIdentity APP
639
+ * @fqn wix.benefit_programs.v1.transaction.TransactionService.QueryTransactions
640
+ */
641
+ export declare function queryTransactions(): TransactionsQueryBuilder;
586
642
  interface QueryCursorResult {
587
643
  cursors: Cursors;
588
644
  hasNext: () => boolean;
@@ -590,13 +646,13 @@ interface QueryCursorResult {
590
646
  length: number;
591
647
  pageSize: number;
592
648
  }
593
- interface TransactionsQueryResult extends QueryCursorResult {
649
+ export interface TransactionsQueryResult extends QueryCursorResult {
594
650
  items: Transaction[];
595
651
  query: TransactionsQueryBuilder;
596
652
  next: () => Promise<TransactionsQueryResult>;
597
653
  prev: () => Promise<TransactionsQueryResult>;
598
654
  }
599
- interface TransactionsQueryBuilder {
655
+ export interface TransactionsQueryBuilder {
600
656
  /** @param propertyName - Property whose value is compared with `value`.
601
657
  * @param value - Value to compare against.
602
658
  * @documentationMaturity preview
@@ -660,5 +716,4 @@ interface TransactionsQueryBuilder {
660
716
  /** @documentationMaturity preview */
661
717
  find: () => Promise<TransactionsQueryResult>;
662
718
  }
663
-
664
- export { type ApplicationError as A, BalanceType as B, type CommonIdentificationData as C, type DomainEvent as D, type ExtendedFields as E, type EntityDeletedEvent as F, type GetTransactionRequest as G, type ActionEvent as H, IdentityType as I, type MessageEnvelope as J, type IdentificationData as K, type IdentificationDataIdOneOf as L, type MaskedTransaction as M, type TransactionsQueryResult as N, type PoolInfo as P, type QueryTransactionsRequest as Q, type RestoreInfo as R, SortOrder as S, type Transaction as T, type UpdateTransactionRequest as U, WebhookIdentityType as W, type TransactionsQueryBuilder as a, TransactionStatus as b, type CommonIdentificationDataIdOneOf as c, type TransactionDetails as d, type Item as e, type CreateTransactionRequest as f, type CreateTransactionResponse as g, type BulkCreateTransactionsRequest as h, type BulkCreateTransactionsResponse as i, type BulkTransactionResult as j, type ItemMetadata as k, type BulkActionMetadata as l, type UpdateTransactionResponse as m, type BulkUpdateTransactionsRequest as n, type BulkUpdateTransactionsResponse as o, type GetTransactionResponse as p, type CursorQuery as q, type CursorQueryPagingMethodOneOf as r, type Sorting as s, type CursorPaging as t, type QueryTransactionsResponse as u, type CursorPagingMetadata as v, type Cursors as w, type DomainEventBodyOneOf as x, type EntityCreatedEvent as y, type EntityUpdatedEvent as z };
719
+ export {};
@@ -0,0 +1,184 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.queryTransactions = exports.getTransaction = exports.WebhookIdentityType = exports.SortOrder = exports.TransactionStatus = exports.IdentityType = exports.BalanceType = void 0;
27
+ const transform_error_1 = require("@wix/sdk-runtime/transform-error");
28
+ const query_builder_1 = require("@wix/sdk-runtime/query-builder");
29
+ const rename_all_nested_keys_1 = require("@wix/sdk-runtime/rename-all-nested-keys");
30
+ const ambassadorWixBenefitProgramsV1Transaction = __importStar(require("./benefit-programs-v1-transaction-transactions.http.js"));
31
+ var BalanceType;
32
+ (function (BalanceType) {
33
+ BalanceType["UNDEFINED"] = "UNDEFINED";
34
+ /** In a pool's balance. */
35
+ BalanceType["AVAILABLE"] = "AVAILABLE";
36
+ /** Outside a pool's balance. */
37
+ BalanceType["EXTERNAL"] = "EXTERNAL";
38
+ })(BalanceType || (exports.BalanceType = BalanceType = {}));
39
+ var IdentityType;
40
+ (function (IdentityType) {
41
+ /** Unknown type. This value is not used. */
42
+ IdentityType["UNKNOWN"] = "UNKNOWN";
43
+ /** A site visitor who has not logged in. */
44
+ IdentityType["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
45
+ /** A logged-in site member. */
46
+ IdentityType["MEMBER"] = "MEMBER";
47
+ /** A Wix account holder, such as a site owner or contributor. */
48
+ IdentityType["WIX_USER"] = "WIX_USER";
49
+ })(IdentityType || (exports.IdentityType = IdentityType = {}));
50
+ var TransactionStatus;
51
+ (function (TransactionStatus) {
52
+ TransactionStatus["UNDEFINED"] = "UNDEFINED";
53
+ /** Transaction is pending. This is the initial transaction status. */
54
+ TransactionStatus["PENDING"] = "PENDING";
55
+ /** Transaction completed successfully. */
56
+ TransactionStatus["COMPLETED"] = "COMPLETED";
57
+ /** Transaction failed. */
58
+ TransactionStatus["FAILED"] = "FAILED";
59
+ })(TransactionStatus || (exports.TransactionStatus = TransactionStatus = {}));
60
+ var SortOrder;
61
+ (function (SortOrder) {
62
+ /** Ascending sort order. */
63
+ SortOrder["ASC"] = "ASC";
64
+ /** Descending sort order. */
65
+ SortOrder["DESC"] = "DESC";
66
+ })(SortOrder || (exports.SortOrder = SortOrder = {}));
67
+ var WebhookIdentityType;
68
+ (function (WebhookIdentityType) {
69
+ WebhookIdentityType["UNKNOWN"] = "UNKNOWN";
70
+ WebhookIdentityType["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
71
+ WebhookIdentityType["MEMBER"] = "MEMBER";
72
+ WebhookIdentityType["WIX_USER"] = "WIX_USER";
73
+ WebhookIdentityType["APP"] = "APP";
74
+ })(WebhookIdentityType || (exports.WebhookIdentityType = WebhookIdentityType = {}));
75
+ /**
76
+ * Retrieves a transaction.
77
+ * @param transactionId - ID of the transaction to retrieve.
78
+ * @public
79
+ * @documentationMaturity preview
80
+ * @requiredField transactionId
81
+ * @permissionId BENEFIT_PROGRAMS.TRANSACTION_READ
82
+ * @permissionScope SCOPE.BENEFIT_PROGRAMS.MANAGE
83
+ * @permissionScopeId SCOPE.BENEFIT_PROGRAMS.MANAGE
84
+ * @permissionScope SCOPE.BENEFIT_PROGRAMS.READ
85
+ * @permissionScopeId SCOPE.BENEFIT_PROGRAMS.READ
86
+ * @permissionScope Manage Events
87
+ * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
88
+ * @applicableIdentity APP
89
+ * @returns Retrieved transaction.
90
+ * @fqn wix.benefit_programs.v1.transaction.TransactionService.GetTransaction
91
+ */
92
+ async function getTransaction(transactionId) {
93
+ // @ts-ignore
94
+ const { httpClient, sideEffects } = arguments[1];
95
+ const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({
96
+ transactionId: transactionId,
97
+ });
98
+ const reqOpts = ambassadorWixBenefitProgramsV1Transaction.getTransaction(payload);
99
+ sideEffects?.onSiteCall?.();
100
+ try {
101
+ const result = await httpClient.request(reqOpts);
102
+ sideEffects?.onSuccess?.(result);
103
+ return (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(result.data)?.transaction;
104
+ }
105
+ catch (err) {
106
+ const transformedError = (0, transform_error_1.transformError)(err, {
107
+ spreadPathsToArguments: {},
108
+ explicitPathsToArguments: { transactionId: '$[0]' },
109
+ singleArgumentUnchanged: false,
110
+ }, ['transactionId']);
111
+ sideEffects?.onError?.(err);
112
+ throw transformedError;
113
+ }
114
+ }
115
+ exports.getTransaction = getTransaction;
116
+ /**
117
+ * Creates a query to retrieve a list of transactions.
118
+ *
119
+ * The Query Transactions method builds a query to retrieve a list of transactions and returns a `TransactionsQueryBuilder` object.
120
+ *
121
+ * The returned object contains the query definition, which is used to run the query using the `find()` method.
122
+ *
123
+ * You can refine the query by chaining `TransactionsQueryBuilder` methods onto the query. `TransactionsQueryBuilder` methods enable you to filter, sort, and control the results that Query Transactions returns.
124
+ *
125
+ * Query Transactions has a default paging limit of 50, which you can override.
126
+ *
127
+ * For a full description of the item object, see the object returned for the `items` property in `TransactionsQueryResult`.
128
+ * @public
129
+ * @documentationMaturity preview
130
+ * @permissionScope SCOPE.BENEFIT_PROGRAMS.MANAGE
131
+ * @permissionScopeId SCOPE.BENEFIT_PROGRAMS.MANAGE
132
+ * @permissionScope SCOPE.BENEFIT_PROGRAMS.READ
133
+ * @permissionScopeId SCOPE.BENEFIT_PROGRAMS.READ
134
+ * @permissionScope Manage Events
135
+ * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
136
+ * @permissionId BENEFIT_PROGRAMS.TRANSACTION_READ
137
+ * @applicableIdentity APP
138
+ * @fqn wix.benefit_programs.v1.transaction.TransactionService.QueryTransactions
139
+ */
140
+ function queryTransactions() {
141
+ // @ts-ignore
142
+ const { httpClient, sideEffects } = arguments[0];
143
+ return (0, query_builder_1.queryBuilder)({
144
+ func: async (payload) => {
145
+ const reqOpts = ambassadorWixBenefitProgramsV1Transaction.queryTransactions(payload);
146
+ sideEffects?.onSiteCall?.();
147
+ try {
148
+ const result = await httpClient.request(reqOpts);
149
+ sideEffects?.onSuccess?.(result);
150
+ return result;
151
+ }
152
+ catch (err) {
153
+ sideEffects?.onError?.(err);
154
+ throw err;
155
+ }
156
+ },
157
+ requestTransformer: (query) => {
158
+ const args = [query, {}];
159
+ return (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({
160
+ ...args?.[1],
161
+ query: args?.[0],
162
+ });
163
+ },
164
+ responseTransformer: ({ data, }) => {
165
+ const transformedData = (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(data);
166
+ return {
167
+ items: transformedData?.transactions,
168
+ pagingMetadata: transformedData?.metadata,
169
+ };
170
+ },
171
+ errorTransformer: (err) => {
172
+ const transformedError = (0, transform_error_1.transformError)(err, {
173
+ spreadPathsToArguments: {},
174
+ explicitPathsToArguments: { query: '$[0]' },
175
+ singleArgumentUnchanged: false,
176
+ });
177
+ throw transformedError;
178
+ },
179
+ pagingMethod: 'CURSOR',
180
+ transformationPaths: {},
181
+ });
182
+ }
183
+ exports.queryTransactions = queryTransactions;
184
+ //# sourceMappingURL=benefit-programs-v1-transaction-transactions.universal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"benefit-programs-v1-transaction-transactions.universal.js","sourceRoot":"","sources":["../../../src/benefit-programs-v1-transaction-transactions.universal.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1 @@
1
+ export * from './src/benefit-programs-v1-transaction-transactions.context.js';
@@ -0,0 +1,2 @@
1
+ export * from './src/benefit-programs-v1-transaction-transactions.context.js';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,cAAc,+DAA+D,CAAC"}
@@ -0,0 +1 @@
1
+ export * from './src/benefit-programs-v1-transaction-transactions.universal.js';
@@ -0,0 +1,2 @@
1
+ export * from './src/benefit-programs-v1-transaction-transactions.universal.js';
2
+ //# sourceMappingURL=index.typings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../index.typings.ts"],"names":[],"mappings":"AAAA,cAAc,iEAAiE,CAAC"}
@@ -0,0 +1 @@
1
+ export * from './src/benefit-programs-v1-transaction-transactions.meta.js';
@@ -0,0 +1,2 @@
1
+ export * from './src/benefit-programs-v1-transaction-transactions.meta.js';
2
+ //# sourceMappingURL=meta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":"AAAA,cAAc,4DAA4D,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { getTransaction as publicGetTransaction, queryTransactions as publicQueryTransactions } from './benefit-programs-v1-transaction-transactions.public.js';
2
+ import { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';
3
+ export declare const getTransaction: MaybeContext<BuildRESTFunction<typeof publicGetTransaction> & typeof publicGetTransaction>;
4
+ export declare const queryTransactions: MaybeContext<BuildRESTFunction<typeof publicQueryTransactions> & typeof publicQueryTransactions>;
5
+ export { BalanceType, IdentityType, TransactionStatus, SortOrder, WebhookIdentityType, } from './benefit-programs-v1-transaction-transactions.universal.js';
6
+ export { Transaction, PoolInfo, CommonIdentificationData, CommonIdentificationDataIdOneOf, TransactionDetails, Item, ExtendedFields, RequestedValues, CreateTransactionRequest, CreateTransactionResponse, BulkCreateTransactionsRequest, BulkCreateTransactionsResponse, BulkTransactionResult, ItemMetadata, ApplicationError, BulkActionMetadata, UpdateTransactionRequest, UpdateTransactionResponse, BulkUpdateTransactionsRequest, MaskedTransaction, BulkUpdateTransactionsResponse, GetTransactionRequest, GetTransactionResponse, QueryTransactionsRequest, CursorQuery, CursorQueryPagingMethodOneOf, Sorting, CursorPaging, QueryTransactionsResponse, CursorPagingMetadata, Cursors, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, TransactionsQueryResult, TransactionsQueryBuilder, } from './benefit-programs-v1-transaction-transactions.universal.js';
@@ -0,0 +1,6 @@
1
+ import { getTransaction as publicGetTransaction, queryTransactions as publicQueryTransactions, } from './benefit-programs-v1-transaction-transactions.public.js';
2
+ import { createRESTModule } from '@wix/sdk-runtime/rest-modules';
3
+ export const getTransaction = /*#__PURE__*/ createRESTModule(publicGetTransaction);
4
+ export const queryTransactions = /*#__PURE__*/ createRESTModule(publicQueryTransactions);
5
+ export { BalanceType, IdentityType, TransactionStatus, SortOrder, WebhookIdentityType, } from './benefit-programs-v1-transaction-transactions.universal.js';
6
+ //# sourceMappingURL=benefit-programs-v1-transaction-transactions.context.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"benefit-programs-v1-transaction-transactions.context.js","sourceRoot":"","sources":["../../../src/benefit-programs-v1-transaction-transactions.context.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,IAAI,oBAAoB,EACtC,iBAAiB,IAAI,uBAAuB,GAC7C,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAGjE,MAAM,CAAC,MAAM,cAAc,GAEvB,aAAa,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,CAAC;AACzD,MAAM,CAAC,MAAM,iBAAiB,GAG1B,aAAa,CAAC,gBAAgB,CAAC,uBAAuB,CAAC,CAAC;AAE5D,OAAO,EACL,WAAW,EACX,YAAY,EACZ,iBAAiB,EACjB,SAAS,EACT,mBAAmB,GACpB,MAAM,6DAA6D,CAAC"}