@wix/auto_sdk_benefit-programs_transactions 1.0.0 → 1.0.2

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 (29) hide show
  1. package/build/cjs/src/benefit-programs-v1-transaction-transactions.http.js +30 -6
  2. package/build/cjs/src/benefit-programs-v1-transaction-transactions.http.js.map +1 -1
  3. package/build/cjs/src/benefit-programs-v1-transaction-transactions.types.d.ts +133 -28
  4. package/build/cjs/src/benefit-programs-v1-transaction-transactions.types.js.map +1 -1
  5. package/build/cjs/src/benefit-programs-v1-transaction-transactions.universal.d.ts +147 -28
  6. package/build/cjs/src/benefit-programs-v1-transaction-transactions.universal.js +14 -0
  7. package/build/cjs/src/benefit-programs-v1-transaction-transactions.universal.js.map +1 -1
  8. package/build/es/src/benefit-programs-v1-transaction-transactions.http.js +30 -6
  9. package/build/es/src/benefit-programs-v1-transaction-transactions.http.js.map +1 -1
  10. package/build/es/src/benefit-programs-v1-transaction-transactions.types.d.ts +133 -28
  11. package/build/es/src/benefit-programs-v1-transaction-transactions.types.js.map +1 -1
  12. package/build/es/src/benefit-programs-v1-transaction-transactions.universal.d.ts +147 -28
  13. package/build/es/src/benefit-programs-v1-transaction-transactions.universal.js +14 -0
  14. package/build/es/src/benefit-programs-v1-transaction-transactions.universal.js.map +1 -1
  15. package/build/internal/cjs/src/benefit-programs-v1-transaction-transactions.http.js +30 -6
  16. package/build/internal/cjs/src/benefit-programs-v1-transaction-transactions.http.js.map +1 -1
  17. package/build/internal/cjs/src/benefit-programs-v1-transaction-transactions.types.d.ts +133 -28
  18. package/build/internal/cjs/src/benefit-programs-v1-transaction-transactions.types.js.map +1 -1
  19. package/build/internal/cjs/src/benefit-programs-v1-transaction-transactions.universal.d.ts +147 -28
  20. package/build/internal/cjs/src/benefit-programs-v1-transaction-transactions.universal.js +14 -0
  21. package/build/internal/cjs/src/benefit-programs-v1-transaction-transactions.universal.js.map +1 -1
  22. package/build/internal/es/src/benefit-programs-v1-transaction-transactions.http.js +30 -6
  23. package/build/internal/es/src/benefit-programs-v1-transaction-transactions.http.js.map +1 -1
  24. package/build/internal/es/src/benefit-programs-v1-transaction-transactions.types.d.ts +133 -28
  25. package/build/internal/es/src/benefit-programs-v1-transaction-transactions.types.js.map +1 -1
  26. package/build/internal/es/src/benefit-programs-v1-transaction-transactions.universal.d.ts +147 -28
  27. package/build/internal/es/src/benefit-programs-v1-transaction-transactions.universal.js +14 -0
  28. package/build/internal/es/src/benefit-programs-v1-transaction-transactions.universal.js.map +1 -1
  29. package/package.json +2 -2
@@ -13,35 +13,45 @@ function resolveWixBenefitProgramsV1TransactionTransactionServiceUrl(opts) {
13
13
  destPath: '',
14
14
  },
15
15
  ],
16
- 'www.wixapis.com': [
17
- {
18
- srcPath: '/benefit-programs/v1/transactions',
19
- destPath: '/v1/transactions',
20
- },
21
- ],
22
16
  'manage._base_domain_': [
23
17
  {
24
18
  srcPath: '/_api/benefit-programs/v1/transactions',
25
19
  destPath: '/v1/transactions',
26
20
  },
21
+ {
22
+ srcPath: '/_api/benefit-programs/v1/bulk/transactions',
23
+ destPath: '/v1/bulk/transactions',
24
+ },
27
25
  ],
28
26
  'editor._base_domain_': [
29
27
  {
30
28
  srcPath: '/_api/benefit-programs/v1/transactions',
31
29
  destPath: '/v1/transactions',
32
30
  },
31
+ {
32
+ srcPath: '/_api/benefit-programs/v1/bulk/transactions',
33
+ destPath: '/v1/bulk/transactions',
34
+ },
33
35
  ],
34
36
  'blocks._base_domain_': [
35
37
  {
36
38
  srcPath: '/_api/benefit-programs/v1/transactions',
37
39
  destPath: '/v1/transactions',
38
40
  },
41
+ {
42
+ srcPath: '/_api/benefit-programs/v1/bulk/transactions',
43
+ destPath: '/v1/bulk/transactions',
44
+ },
39
45
  ],
40
46
  'create.editorx': [
41
47
  {
42
48
  srcPath: '/_api/benefit-programs/v1/transactions',
43
49
  destPath: '/v1/transactions',
44
50
  },
51
+ {
52
+ srcPath: '/_api/benefit-programs/v1/bulk/transactions',
53
+ destPath: '/v1/bulk/transactions',
54
+ },
45
55
  ],
46
56
  _: [
47
57
  {
@@ -54,6 +64,20 @@ function resolveWixBenefitProgramsV1TransactionTransactionServiceUrl(opts) {
54
64
  srcPath: '/_api/benefit-programs/v1/transactions',
55
65
  destPath: '/v1/transactions',
56
66
  },
67
+ {
68
+ srcPath: '/_api/benefit-programs/v1/bulk/transactions',
69
+ destPath: '/v1/bulk/transactions',
70
+ },
71
+ ],
72
+ 'www.wixapis.com': [
73
+ {
74
+ srcPath: '/_api/benefit-programs/v1/transactions',
75
+ destPath: '/v1/transactions',
76
+ },
77
+ {
78
+ srcPath: '/_api/benefit-programs/v1/bulk/transactions',
79
+ destPath: '/v1/bulk/transactions',
80
+ },
57
81
  ],
58
82
  };
59
83
  return (0, rest_modules_2.resolveUrl)(Object.assign(opts, { domainToMappings }));
@@ -1 +1 @@
1
- {"version":3,"file":"benefit-programs-v1-transaction-transactions.http.js","sourceRoot":"","sources":["../../../src/benefit-programs-v1-transaction-transactions.http.ts"],"names":[],"mappings":";;;AAAA,gEAAkE;AAClE,0EAAkG;AAClG,sFAAkF;AAClF,gEAA2D;AAI3D,SAAS,2DAA2D,CAClE,IAA8C;IAE9C,MAAM,gBAAgB,GAAG;QACvB,uBAAuB,EAAE;YACvB;gBACE,OAAO,EAAE,oBAAoB;gBAC7B,QAAQ,EAAE,EAAE;aACb;SACF;QACD,iBAAiB,EAAE;YACjB;gBACE,OAAO,EAAE,mCAAmC;gBAC5C,QAAQ,EAAE,kBAAkB;aAC7B;SACF;QACD,sBAAsB,EAAE;YACtB;gBACE,OAAO,EAAE,wCAAwC;gBACjD,QAAQ,EAAE,kBAAkB;aAC7B;SACF;QACD,sBAAsB,EAAE;YACtB;gBACE,OAAO,EAAE,wCAAwC;gBACjD,QAAQ,EAAE,kBAAkB;aAC7B;SACF;QACD,sBAAsB,EAAE;YACtB;gBACE,OAAO,EAAE,wCAAwC;gBACjD,QAAQ,EAAE,kBAAkB;a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AACH,SAAgB,iBAAiB,CAAC,OAAe;IAC/C,SAAS,mBAAmB,CAAC,EAAE,IAAI,EAAO;QACxC,MAAM,QAAQ,GAAG;YACf,UAAU,EAAE,qCAAqC;YACjD,MAAM,EAAE,MAAa;YACrB,SAAS,EACP,0EAA0E;YAC5E,WAAW,EAAE,YAAY;YACzB,GAAG,EAAE,2DAA2D,CAAC;gBAC/D,SAAS,EAAE,wBAAwB;gBACnC,IAAI,EAAE,OAAO;gBACb,IAAI;aACL,CAAC;YACF,IAAI,EAAE,OAAO;YACb,iBAAiB,EAAE,CAAC,OAAY,EAAE,EAAE,CAClC,IAAA,gCAAc,EAAC,OAAO,EAAE;gBACtB;oBACE,WAAW,EAAE,gDAAoC;oBACjD,KAAK,EAAE;wBACL,EAAE,IAAI,EAAE,0BAA0B,EAAE;wBACpC,EAAE,IAAI,EAAE,0BAA0B,EAAE;wBACpC,EAAE,IAAI,EAAE,oCAAoC,EAAE;qBAC/C;iBACF;aACF,CAAC;SACL,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,mBAAmB,CAAC;AAC7B,CAAC;AA/BD,8CA+BC"}
1
+ {"version":3,"file":"benefit-programs-v1-transaction-transactions.http.js","sourceRoot":"","sources":["../../../src/benefit-programs-v1-transaction-transactions.http.ts"],"names":[],"mappings":";;;AAAA,gEAAkE;AAClE,0EAAkG;AAClG,sFAAkF;AAClF,gEAA2D;AAI3D,SAAS,2DAA2D,CAClE,IAA8C;IAE9C,MAAM,gBAAgB,GAAG;QACvB,uBAAuB,EAAE;YACvB;gBACE,OAAO,EAAE,oBAAoB;gBAC7B,QAAQ,EAAE,EAAE;aACb;SACF;QACD,sBAAsB,EAAE;YACtB;gBACE,OAAO,EAAE,wCAAwC;gBACjD,QAAQ,EAAE,kBAAkB;aAC7B;YACD;gBACE,OAAO,EAAE,6CAA6C;gBACtD,QAAQ,EAAE,uBAAuB;aAClC;SACF;QACD,sBAAsB,EAAE;YACtB;gBACE,OAAO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,mBAAmB,CAAC;AAC7B,CAAC;AA/BD,8CA+BC"}
@@ -1,6 +1,7 @@
1
1
  export interface Transaction {
2
2
  /**
3
3
  * Transaction ID.
4
+ * @format GUID
4
5
  * @readonly
5
6
  */
6
7
  id?: string | null;
@@ -24,7 +25,10 @@ export interface Transaction {
24
25
  * @readonly
25
26
  */
26
27
  pool?: PoolInfo;
27
- /** Absolute amount to adjust the balance with. This field is determined by the source and target balances. */
28
+ /**
29
+ * Absolute amount to adjust the balance with. This field is determined by the source and target balances.
30
+ * @decimalValue options { gte:0, maxScale:4 }
31
+ */
28
32
  amount?: string;
29
33
  /** Source balance. */
30
34
  source?: BalanceType;
@@ -33,11 +37,13 @@ export interface Transaction {
33
37
  /**
34
38
  * Unique identifier, generated by the client.
35
39
  * Used to recognize repeated attempts to make the same request.
40
+ * @maxLength 200
36
41
  * @readonly
37
42
  */
38
43
  idempotencyKey?: string;
39
44
  /**
40
45
  * Related transaction ID. For example, in the case of a cancelled reservation, the related transaction is the benefit redemption.
46
+ * @format GUID
41
47
  * @readonly
42
48
  */
43
49
  relatedTransactionId?: string | null;
@@ -72,27 +78,38 @@ export interface Transaction {
72
78
  export interface PoolInfo {
73
79
  /**
74
80
  * Benefit pool ID.
81
+ * @format GUID
75
82
  * @readonly
76
83
  */
77
84
  id?: string;
78
85
  /**
79
86
  * Pool definition ID from which this benefit pool was instantiated.
87
+ * @format GUID
80
88
  * @readonly
81
89
  */
82
90
  poolDefinitionId?: string | null;
83
91
  /**
84
92
  * ID for the program definition from which this benefit pool was provisioned.
93
+ * @format GUID
85
94
  * @readonly
86
95
  */
87
96
  programDefinitionId?: string | null;
88
97
  /**
89
98
  * ID of the program to which this benefit pool belongs.
99
+ * @format GUID
90
100
  * @readonly
91
101
  */
92
102
  programId?: string | null;
93
- /** Total amount of credits available for this benefit pool. */
103
+ /**
104
+ * Total amount of credits available for this benefit pool.
105
+ * @decimalValue options { gte:0, maxScale:4 }
106
+ */
94
107
  creditAmount?: string | null;
95
- /** The external system that is the source of the pool creation. For example, `wix-pricing-plans`, `wix-loyalty`. */
108
+ /**
109
+ * The external system that is the source of the pool creation. For example, `wix-pricing-plans`, `wix-loyalty`.
110
+ * @minLength 1
111
+ * @maxLength 50
112
+ */
96
113
  namespace?: string | null;
97
114
  }
98
115
  export declare enum BalanceType {
@@ -105,20 +122,38 @@ export declare enum BalanceType {
105
122
  EXTERNAL = "EXTERNAL"
106
123
  }
107
124
  export interface CommonIdentificationData extends CommonIdentificationDataIdOneOf {
108
- /** ID of a site visitor that has not logged in to the site. */
125
+ /**
126
+ * ID of a site visitor that has not logged in to the site.
127
+ * @format GUID
128
+ */
109
129
  anonymousVisitorId?: string;
110
- /** ID of a site visitor that has logged in to the site. */
130
+ /**
131
+ * ID of a site visitor that has logged in to the site.
132
+ * @format GUID
133
+ */
111
134
  memberId?: string;
112
- /** ID of a Wix user (site owner, contributor, etc.). */
135
+ /**
136
+ * ID of a Wix user (site owner, contributor, etc.).
137
+ * @format GUID
138
+ */
113
139
  wixUserId?: string;
114
140
  }
115
141
  /** @oneof */
116
142
  export interface CommonIdentificationDataIdOneOf {
117
- /** ID of a site visitor that has not logged in to the site. */
143
+ /**
144
+ * ID of a site visitor that has not logged in to the site.
145
+ * @format GUID
146
+ */
118
147
  anonymousVisitorId?: string;
119
- /** ID of a site visitor that has logged in to the site. */
148
+ /**
149
+ * ID of a site visitor that has logged in to the site.
150
+ * @format GUID
151
+ */
120
152
  memberId?: string;
121
- /** ID of a Wix user (site owner, contributor, etc.). */
153
+ /**
154
+ * ID of a Wix user (site owner, contributor, etc.).
155
+ * @format GUID
156
+ */
122
157
  wixUserId?: string;
123
158
  }
124
159
  export declare enum IdentityType {
@@ -157,29 +192,37 @@ export interface TransactionDetails {
157
192
  /**
158
193
  * Reason for the transaction. For example, `Redemption` or `Manual adjustment`.
159
194
  * @readonly
195
+ * @maxLength 256
160
196
  */
161
197
  reason?: string | null;
162
198
  }
163
199
  export interface Item {
164
200
  /**
165
201
  * Item ID.
202
+ * @format GUID
166
203
  * @readonly
167
204
  */
168
205
  id?: string | null;
169
206
  /**
170
207
  * External item ID.
208
+ * @format GUID
171
209
  * @readonly
172
210
  */
173
211
  externalId?: string | null;
174
212
  /**
175
213
  * Item category. Distinguishes between different types of items. For example, `posts`, `groups`, `events`.
214
+ * @maxLength 20
176
215
  * @readonly
177
216
  */
178
217
  category?: string | null;
179
- /** @readonly */
218
+ /**
219
+ * @format GUID
220
+ * @readonly
221
+ */
180
222
  itemSetId?: string | null;
181
223
  /**
182
224
  * Item display name.
225
+ * @maxLength 64
183
226
  * @readonly
184
227
  */
185
228
  displayName?: string | null;
@@ -204,7 +247,11 @@ export interface CreateTransactionResponse {
204
247
  transaction?: Transaction;
205
248
  }
206
249
  export interface BulkCreateTransactionsRequest {
207
- /** Transactions to be created. */
250
+ /**
251
+ * Transactions to be created.
252
+ * @minSize 1
253
+ * @maxSize 100
254
+ */
208
255
  transactions?: Transaction[];
209
256
  /**
210
257
  * Whether to return the full item entities.
@@ -218,6 +265,8 @@ export interface BulkCreateTransactionsResponse {
218
265
  * List of results for each transaction.
219
266
  *
220
267
  * Includes the transaction and whether the operation was successful.
268
+ * @minSize 1
269
+ * @maxSize 100
221
270
  */
222
271
  results?: BulkTransactionResult[];
223
272
  /** Bulk action metadata. */
@@ -230,7 +279,10 @@ export interface BulkTransactionResult {
230
279
  transaction?: Transaction;
231
280
  }
232
281
  export interface ItemMetadata {
233
- /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
282
+ /**
283
+ * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
284
+ * @format GUID
285
+ */
234
286
  id?: string | null;
235
287
  /** Index of the item within the request array. Allows for correlation between request and response items. */
236
288
  originalIndex?: number;
@@ -264,7 +316,11 @@ export interface UpdateTransactionResponse {
264
316
  transaction?: Transaction;
265
317
  }
266
318
  export interface BulkUpdateTransactionsRequest {
267
- /** Transactions to update. */
319
+ /**
320
+ * Transactions to update.
321
+ * @minSize 1
322
+ * @maxSize 100
323
+ */
268
324
  transactions?: MaskedTransaction[];
269
325
  /**
270
326
  * Whether to return full transaction entities.
@@ -284,13 +340,18 @@ export interface BulkUpdateTransactionsResponse {
284
340
  * List of results for each Transaction.
285
341
  *
286
342
  * Includes the Transaction and whether the update was successful.
343
+ * @minSize 1
344
+ * @maxSize 100
287
345
  */
288
346
  results?: BulkTransactionResult[];
289
347
  /** Bulk action metadata. */
290
348
  bulkActionMetadata?: BulkActionMetadata;
291
349
  }
292
350
  export interface GetTransactionRequest {
293
- /** Id of the transaction to retrieve. */
351
+ /**
352
+ * Id of the transaction to retrieve.
353
+ * @format GUID
354
+ */
294
355
  transactionId: string;
295
356
  }
296
357
  export interface GetTransactionResponse {
@@ -316,6 +377,7 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
316
377
  /**
317
378
  * Sort object in the following format:
318
379
  * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
380
+ * @maxSize 5
319
381
  */
320
382
  sort?: Sorting[];
321
383
  }
@@ -325,7 +387,10 @@ export interface CursorQueryPagingMethodOneOf {
325
387
  cursorPaging?: CursorPaging;
326
388
  }
327
389
  export interface Sorting {
328
- /** Name of the field to sort by. */
390
+ /**
391
+ * Name of the field to sort by.
392
+ * @maxLength 512
393
+ */
329
394
  fieldName?: string;
330
395
  /** Sort order. */
331
396
  order?: SortOrder;
@@ -337,13 +402,17 @@ export declare enum SortOrder {
337
402
  DESC = "DESC"
338
403
  }
339
404
  export interface CursorPaging {
340
- /** Maximum number of items to return in the results. */
405
+ /**
406
+ * Maximum number of items to return in the results.
407
+ * @max 100
408
+ */
341
409
  limit?: number | null;
342
410
  /**
343
411
  * Pointer to the next or previous page in the list of results.
344
412
  *
345
413
  * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
346
414
  * Not relevant for the first request.
415
+ * @maxLength 16000
347
416
  */
348
417
  cursor?: string | null;
349
418
  }
@@ -367,9 +436,15 @@ export interface CursorPagingMetadata {
367
436
  hasNext?: boolean | null;
368
437
  }
369
438
  export interface Cursors {
370
- /** Cursor string pointing to the next page in the list of results. */
439
+ /**
440
+ * Cursor string pointing to the next page in the list of results.
441
+ * @maxLength 16000
442
+ */
371
443
  next?: string | null;
372
- /** Cursor pointing to the previous page in the list of results. */
444
+ /**
445
+ * Cursor pointing to the previous page in the list of results.
446
+ * @maxLength 16000
447
+ */
373
448
  prev?: string | null;
374
449
  }
375
450
  export interface DomainEvent extends DomainEventBodyOneOf {
@@ -445,9 +520,15 @@ export interface ActionEvent {
445
520
  bodyAsJson?: string;
446
521
  }
447
522
  export interface MessageEnvelope {
448
- /** App instance ID. */
523
+ /**
524
+ * App instance ID.
525
+ * @format GUID
526
+ */
449
527
  instanceId?: string | null;
450
- /** Event type. */
528
+ /**
529
+ * Event type.
530
+ * @maxLength 150
531
+ */
451
532
  eventType?: string;
452
533
  /** The identification type and identity data. */
453
534
  identity?: IdentificationData;
@@ -455,26 +536,50 @@ export interface MessageEnvelope {
455
536
  data?: string;
456
537
  }
457
538
  export interface IdentificationData extends IdentificationDataIdOneOf {
458
- /** ID of a site visitor that has not logged in to the site. */
539
+ /**
540
+ * ID of a site visitor that has not logged in to the site.
541
+ * @format GUID
542
+ */
459
543
  anonymousVisitorId?: string;
460
- /** ID of a site visitor that has logged in to the site. */
544
+ /**
545
+ * ID of a site visitor that has logged in to the site.
546
+ * @format GUID
547
+ */
461
548
  memberId?: string;
462
- /** ID of a Wix user (site owner, contributor, etc.). */
549
+ /**
550
+ * ID of a Wix user (site owner, contributor, etc.).
551
+ * @format GUID
552
+ */
463
553
  wixUserId?: string;
464
- /** ID of an app. */
554
+ /**
555
+ * ID of an app.
556
+ * @format GUID
557
+ */
465
558
  appId?: string;
466
559
  /** @readonly */
467
560
  identityType?: WebhookIdentityType;
468
561
  }
469
562
  /** @oneof */
470
563
  export interface IdentificationDataIdOneOf {
471
- /** ID of a site visitor that has not logged in to the site. */
564
+ /**
565
+ * ID of a site visitor that has not logged in to the site.
566
+ * @format GUID
567
+ */
472
568
  anonymousVisitorId?: string;
473
- /** ID of a site visitor that has logged in to the site. */
569
+ /**
570
+ * ID of a site visitor that has logged in to the site.
571
+ * @format GUID
572
+ */
474
573
  memberId?: string;
475
- /** ID of a Wix user (site owner, contributor, etc.). */
574
+ /**
575
+ * ID of a Wix user (site owner, contributor, etc.).
576
+ * @format GUID
577
+ */
476
578
  wixUserId?: string;
477
- /** ID of an app. */
579
+ /**
580
+ * ID of an app.
581
+ * @format GUID
582
+ */
478
583
  appId?: string;
479
584
  }
480
585
  export declare enum WebhookIdentityType {
@@ -1 +1 @@
1
- {"version":3,"file":"benefit-programs-v1-transaction-transactions.types.js","sourceRoot":"","sources":["../../../src/benefit-programs-v1-transaction-transactions.types.ts"],"names":[],"mappings":";;;AAmGA,IAAY,WAQX;AARD,WAAY,WAAW;IACrB,sCAAuB,CAAA;IACvB,yBAAyB;IACzB,sCAAuB,CAAA;IACvB,wBAAwB;IACxB,oCAAqB,CAAA;IACrB,wBAAwB;IACxB,oCAAqB,CAAA;AACvB,CAAC,EARW,WAAW,2BAAX,WAAW,QAQtB;AAsBD,IAAY,YASX;AATD,WAAY,YAAY;IACtB,4CAA4C;IAC5C,mCAAmB,CAAA;IACnB,4CAA4C;IAC5C,uDAAuC,CAAA;IACvC,+BAA+B;IAC/B,iCAAiB,CAAA;IACjB,iEAAiE;IACjE,qCAAqB,CAAA;AACvB,CAAC,EATW,YAAY,4BAAZ,YAAY,QASvB;AAED,IAAY,iBAQX;AARD,WAAY,iBAAiB;IAC3B,4CAAuB,CAAA;IACvB,8BAA8B;IAC9B,wCAAmB,CAAA;IACnB,6BAA6B;IAC7B,4CAAuB,CAAA;IACvB,0BAA0B;IAC1B,sCAAiB,CAAA;AACnB,CAAC,EARW,iBAAiB,iCAAjB,iBAAiB,QAQ5B;AAsND,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,4BAA4B;IAC5B,wBAAW,CAAA;IACX,6BAA6B;IAC7B,0BAAa,CAAA;AACf,CAAC,EALW,SAAS,yBAAT,SAAS,QAKpB;AA6JD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
1
+ {"version":3,"file":"benefit-programs-v1-transaction-transactions.types.js","sourceRoot":"","sources":["../../../src/benefit-programs-v1-transaction-transactions.types.ts"],"names":[],"mappings":";;;AAoHA,IAAY,WAQX;AARD,WAAY,WAAW;IACrB,sCAAuB,CAAA;IACvB,yBAAyB;IACzB,sCAAuB,CAAA;IACvB,wBAAwB;IACxB,oCAAqB,CAAA;IACrB,wBAAwB;IACxB,oCAAqB,CAAA;AACvB,CAAC,EARW,WAAW,2BAAX,WAAW,QAQtB;AAwCD,IAAY,YASX;AATD,WAAY,YAAY;IACtB,4CAA4C;IAC5C,mCAAmB,CAAA;IACnB,4CAA4C;IAC5C,uDAAuC,CAAA;IACvC,+BAA+B;IAC/B,iCAAiB,CAAA;IACjB,iEAAiE;IACjE,qCAAqB,CAAA;AACvB,CAAC,EATW,YAAY,4BAAZ,YAAY,QASvB;AAED,IAAY,iBAQX;AARD,WAAY,iBAAiB;IAC3B,4CAAuB,CAAA;IACvB,8BAA8B;IAC9B,wCAAmB,CAAA;IACnB,6BAA6B;IAC7B,4CAAuB,CAAA;IACvB,0BAA0B;IAC1B,sCAAiB,CAAA;AACnB,CAAC,EARW,iBAAiB,iCAAjB,iBAAiB,QAQ5B;AAoPD,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,4BAA4B;IAC5B,wBAAW,CAAA;IACX,6BAA6B;IAC7B,0BAAa,CAAA;AACf,CAAC,EALW,SAAS,yBAAT,SAAS,QAKpB;AAqMD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}