@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.
- package/build/cjs/src/benefit-programs-v1-transaction-transactions.http.js +30 -6
- package/build/cjs/src/benefit-programs-v1-transaction-transactions.http.js.map +1 -1
- package/build/cjs/src/benefit-programs-v1-transaction-transactions.types.d.ts +133 -28
- package/build/cjs/src/benefit-programs-v1-transaction-transactions.types.js.map +1 -1
- package/build/cjs/src/benefit-programs-v1-transaction-transactions.universal.d.ts +147 -28
- package/build/cjs/src/benefit-programs-v1-transaction-transactions.universal.js +14 -0
- package/build/cjs/src/benefit-programs-v1-transaction-transactions.universal.js.map +1 -1
- package/build/es/src/benefit-programs-v1-transaction-transactions.http.js +30 -6
- package/build/es/src/benefit-programs-v1-transaction-transactions.http.js.map +1 -1
- package/build/es/src/benefit-programs-v1-transaction-transactions.types.d.ts +133 -28
- package/build/es/src/benefit-programs-v1-transaction-transactions.types.js.map +1 -1
- package/build/es/src/benefit-programs-v1-transaction-transactions.universal.d.ts +147 -28
- package/build/es/src/benefit-programs-v1-transaction-transactions.universal.js +14 -0
- package/build/es/src/benefit-programs-v1-transaction-transactions.universal.js.map +1 -1
- package/build/internal/cjs/src/benefit-programs-v1-transaction-transactions.http.js +30 -6
- package/build/internal/cjs/src/benefit-programs-v1-transaction-transactions.http.js.map +1 -1
- package/build/internal/cjs/src/benefit-programs-v1-transaction-transactions.types.d.ts +133 -28
- package/build/internal/cjs/src/benefit-programs-v1-transaction-transactions.types.js.map +1 -1
- package/build/internal/cjs/src/benefit-programs-v1-transaction-transactions.universal.d.ts +147 -28
- package/build/internal/cjs/src/benefit-programs-v1-transaction-transactions.universal.js +14 -0
- package/build/internal/cjs/src/benefit-programs-v1-transaction-transactions.universal.js.map +1 -1
- package/build/internal/es/src/benefit-programs-v1-transaction-transactions.http.js +30 -6
- package/build/internal/es/src/benefit-programs-v1-transaction-transactions.http.js.map +1 -1
- package/build/internal/es/src/benefit-programs-v1-transaction-transactions.types.d.ts +133 -28
- package/build/internal/es/src/benefit-programs-v1-transaction-transactions.types.js.map +1 -1
- package/build/internal/es/src/benefit-programs-v1-transaction-transactions.universal.d.ts +147 -28
- package/build/internal/es/src/benefit-programs-v1-transaction-transactions.universal.js +14 -0
- package/build/internal/es/src/benefit-programs-v1-transaction-transactions.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -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
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
125
|
+
/**
|
|
126
|
+
* ID of a site visitor that has not logged in to the site.
|
|
127
|
+
* @format GUID
|
|
128
|
+
*/
|
|
109
129
|
anonymousVisitorId?: string;
|
|
110
|
-
/**
|
|
130
|
+
/**
|
|
131
|
+
* ID of a site visitor that has logged in to the site.
|
|
132
|
+
* @format GUID
|
|
133
|
+
*/
|
|
111
134
|
memberId?: string;
|
|
112
|
-
/**
|
|
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
|
-
/**
|
|
143
|
+
/**
|
|
144
|
+
* ID of a site visitor that has not logged in to the site.
|
|
145
|
+
* @format GUID
|
|
146
|
+
*/
|
|
118
147
|
anonymousVisitorId?: string;
|
|
119
|
-
/**
|
|
148
|
+
/**
|
|
149
|
+
* ID of a site visitor that has logged in to the site.
|
|
150
|
+
* @format GUID
|
|
151
|
+
*/
|
|
120
152
|
memberId?: string;
|
|
121
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
439
|
+
/**
|
|
440
|
+
* Cursor string pointing to the next page in the list of results.
|
|
441
|
+
* @maxLength 16000
|
|
442
|
+
*/
|
|
371
443
|
next?: string | null;
|
|
372
|
-
/**
|
|
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 {
|
|
@@ -443,9 +518,15 @@ export interface ActionEvent {
|
|
|
443
518
|
body?: string;
|
|
444
519
|
}
|
|
445
520
|
export interface MessageEnvelope {
|
|
446
|
-
/**
|
|
521
|
+
/**
|
|
522
|
+
* App instance ID.
|
|
523
|
+
* @format GUID
|
|
524
|
+
*/
|
|
447
525
|
instanceId?: string | null;
|
|
448
|
-
/**
|
|
526
|
+
/**
|
|
527
|
+
* Event type.
|
|
528
|
+
* @maxLength 150
|
|
529
|
+
*/
|
|
449
530
|
eventType?: string;
|
|
450
531
|
/** The identification type and identity data. */
|
|
451
532
|
identity?: IdentificationData;
|
|
@@ -453,26 +534,50 @@ export interface MessageEnvelope {
|
|
|
453
534
|
data?: string;
|
|
454
535
|
}
|
|
455
536
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
456
|
-
/**
|
|
537
|
+
/**
|
|
538
|
+
* ID of a site visitor that has not logged in to the site.
|
|
539
|
+
* @format GUID
|
|
540
|
+
*/
|
|
457
541
|
anonymousVisitorId?: string;
|
|
458
|
-
/**
|
|
542
|
+
/**
|
|
543
|
+
* ID of a site visitor that has logged in to the site.
|
|
544
|
+
* @format GUID
|
|
545
|
+
*/
|
|
459
546
|
memberId?: string;
|
|
460
|
-
/**
|
|
547
|
+
/**
|
|
548
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
549
|
+
* @format GUID
|
|
550
|
+
*/
|
|
461
551
|
wixUserId?: string;
|
|
462
|
-
/**
|
|
552
|
+
/**
|
|
553
|
+
* ID of an app.
|
|
554
|
+
* @format GUID
|
|
555
|
+
*/
|
|
463
556
|
appId?: string;
|
|
464
557
|
/** @readonly */
|
|
465
558
|
identityType?: WebhookIdentityType;
|
|
466
559
|
}
|
|
467
560
|
/** @oneof */
|
|
468
561
|
export interface IdentificationDataIdOneOf {
|
|
469
|
-
/**
|
|
562
|
+
/**
|
|
563
|
+
* ID of a site visitor that has not logged in to the site.
|
|
564
|
+
* @format GUID
|
|
565
|
+
*/
|
|
470
566
|
anonymousVisitorId?: string;
|
|
471
|
-
/**
|
|
567
|
+
/**
|
|
568
|
+
* ID of a site visitor that has logged in to the site.
|
|
569
|
+
* @format GUID
|
|
570
|
+
*/
|
|
472
571
|
memberId?: string;
|
|
473
|
-
/**
|
|
572
|
+
/**
|
|
573
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
574
|
+
* @format GUID
|
|
575
|
+
*/
|
|
474
576
|
wixUserId?: string;
|
|
475
|
-
/**
|
|
577
|
+
/**
|
|
578
|
+
* ID of an app.
|
|
579
|
+
* @format GUID
|
|
580
|
+
*/
|
|
476
581
|
appId?: string;
|
|
477
582
|
}
|
|
478
583
|
export declare enum WebhookIdentityType {
|
|
@@ -514,6 +619,13 @@ export interface QueryTransactionsResponseNonNullableFields {
|
|
|
514
619
|
* @documentationMaturity preview
|
|
515
620
|
* @requiredField transactionId
|
|
516
621
|
* @permissionId BENEFIT_PROGRAMS.TRANSACTION_READ
|
|
622
|
+
* @permissionScope SCOPE.BENEFIT_PROGRAMS.MANAGE
|
|
623
|
+
* @permissionScopeId SCOPE.BENEFIT_PROGRAMS.MANAGE
|
|
624
|
+
* @permissionScope SCOPE.BENEFIT_PROGRAMS.READ
|
|
625
|
+
* @permissionScopeId SCOPE.BENEFIT_PROGRAMS.READ
|
|
626
|
+
* @permissionScope Manage Events
|
|
627
|
+
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
628
|
+
* @applicableIdentity APP
|
|
517
629
|
* @returns Retrieved transaction.
|
|
518
630
|
* @fqn wix.benefit_programs.v1.transaction.TransactionService.GetTransaction
|
|
519
631
|
*/
|
|
@@ -530,7 +642,14 @@ export declare function getTransaction(transactionId: string): Promise<Transacti
|
|
|
530
642
|
* The following `TransactionsQueryBuilder` functions are supported for `queryTransactions()`. For a full description of the transaction object, see the object returned for the [`items`](/transactions/transactions-query-result/items) property in `TransactionsQueryResult`.
|
|
531
643
|
* @public
|
|
532
644
|
* @documentationMaturity preview
|
|
645
|
+
* @permissionScope SCOPE.BENEFIT_PROGRAMS.MANAGE
|
|
646
|
+
* @permissionScopeId SCOPE.BENEFIT_PROGRAMS.MANAGE
|
|
647
|
+
* @permissionScope SCOPE.BENEFIT_PROGRAMS.READ
|
|
648
|
+
* @permissionScopeId SCOPE.BENEFIT_PROGRAMS.READ
|
|
649
|
+
* @permissionScope Manage Events
|
|
650
|
+
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
533
651
|
* @permissionId BENEFIT_PROGRAMS.TRANSACTION_READ
|
|
652
|
+
* @applicableIdentity APP
|
|
534
653
|
* @fqn wix.benefit_programs.v1.transaction.TransactionService.QueryTransactions
|
|
535
654
|
*/
|
|
536
655
|
export declare function queryTransactions(): TransactionsQueryBuilder;
|
|
@@ -81,6 +81,13 @@ var WebhookIdentityType;
|
|
|
81
81
|
* @documentationMaturity preview
|
|
82
82
|
* @requiredField transactionId
|
|
83
83
|
* @permissionId BENEFIT_PROGRAMS.TRANSACTION_READ
|
|
84
|
+
* @permissionScope SCOPE.BENEFIT_PROGRAMS.MANAGE
|
|
85
|
+
* @permissionScopeId SCOPE.BENEFIT_PROGRAMS.MANAGE
|
|
86
|
+
* @permissionScope SCOPE.BENEFIT_PROGRAMS.READ
|
|
87
|
+
* @permissionScopeId SCOPE.BENEFIT_PROGRAMS.READ
|
|
88
|
+
* @permissionScope Manage Events
|
|
89
|
+
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
90
|
+
* @applicableIdentity APP
|
|
84
91
|
* @returns Retrieved transaction.
|
|
85
92
|
* @fqn wix.benefit_programs.v1.transaction.TransactionService.GetTransaction
|
|
86
93
|
*/
|
|
@@ -120,7 +127,14 @@ exports.getTransaction = getTransaction;
|
|
|
120
127
|
* The following `TransactionsQueryBuilder` functions are supported for `queryTransactions()`. For a full description of the transaction object, see the object returned for the [`items`](/transactions/transactions-query-result/items) property in `TransactionsQueryResult`.
|
|
121
128
|
* @public
|
|
122
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
|
|
123
136
|
* @permissionId BENEFIT_PROGRAMS.TRANSACTION_READ
|
|
137
|
+
* @applicableIdentity APP
|
|
124
138
|
* @fqn wix.benefit_programs.v1.transaction.TransactionService.QueryTransactions
|
|
125
139
|
*/
|
|
126
140
|
function queryTransactions() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"benefit-programs-v1-transaction-transactions.universal.js","sourceRoot":"","sources":["../../../src/benefit-programs-v1-transaction-transactions.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,kIAAoH;
|
|
1
|
+
{"version":3,"file":"benefit-programs-v1-transaction-transactions.universal.js","sourceRoot":"","sources":["../../../src/benefit-programs-v1-transaction-transactions.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,kIAAoH;AAuHpH,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,0B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,EAAE;gBAC1B,wBAAwB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;gBAC3C,uBAAuB,EAAE,KAAK;aAC/B,CAAC,CAAC;YAEH,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,EAAE;KACxB,CAAC,CAAC;AACL,CAAC;AAxDD,8CAwDC"}
|
|
@@ -10,35 +10,45 @@ function resolveWixBenefitProgramsV1TransactionTransactionServiceUrl(opts) {
|
|
|
10
10
|
destPath: '',
|
|
11
11
|
},
|
|
12
12
|
],
|
|
13
|
-
'www.wixapis.com': [
|
|
14
|
-
{
|
|
15
|
-
srcPath: '/benefit-programs/v1/transactions',
|
|
16
|
-
destPath: '/v1/transactions',
|
|
17
|
-
},
|
|
18
|
-
],
|
|
19
13
|
'manage._base_domain_': [
|
|
20
14
|
{
|
|
21
15
|
srcPath: '/_api/benefit-programs/v1/transactions',
|
|
22
16
|
destPath: '/v1/transactions',
|
|
23
17
|
},
|
|
18
|
+
{
|
|
19
|
+
srcPath: '/_api/benefit-programs/v1/bulk/transactions',
|
|
20
|
+
destPath: '/v1/bulk/transactions',
|
|
21
|
+
},
|
|
24
22
|
],
|
|
25
23
|
'editor._base_domain_': [
|
|
26
24
|
{
|
|
27
25
|
srcPath: '/_api/benefit-programs/v1/transactions',
|
|
28
26
|
destPath: '/v1/transactions',
|
|
29
27
|
},
|
|
28
|
+
{
|
|
29
|
+
srcPath: '/_api/benefit-programs/v1/bulk/transactions',
|
|
30
|
+
destPath: '/v1/bulk/transactions',
|
|
31
|
+
},
|
|
30
32
|
],
|
|
31
33
|
'blocks._base_domain_': [
|
|
32
34
|
{
|
|
33
35
|
srcPath: '/_api/benefit-programs/v1/transactions',
|
|
34
36
|
destPath: '/v1/transactions',
|
|
35
37
|
},
|
|
38
|
+
{
|
|
39
|
+
srcPath: '/_api/benefit-programs/v1/bulk/transactions',
|
|
40
|
+
destPath: '/v1/bulk/transactions',
|
|
41
|
+
},
|
|
36
42
|
],
|
|
37
43
|
'create.editorx': [
|
|
38
44
|
{
|
|
39
45
|
srcPath: '/_api/benefit-programs/v1/transactions',
|
|
40
46
|
destPath: '/v1/transactions',
|
|
41
47
|
},
|
|
48
|
+
{
|
|
49
|
+
srcPath: '/_api/benefit-programs/v1/bulk/transactions',
|
|
50
|
+
destPath: '/v1/bulk/transactions',
|
|
51
|
+
},
|
|
42
52
|
],
|
|
43
53
|
_: [
|
|
44
54
|
{
|
|
@@ -51,6 +61,20 @@ function resolveWixBenefitProgramsV1TransactionTransactionServiceUrl(opts) {
|
|
|
51
61
|
srcPath: '/_api/benefit-programs/v1/transactions',
|
|
52
62
|
destPath: '/v1/transactions',
|
|
53
63
|
},
|
|
64
|
+
{
|
|
65
|
+
srcPath: '/_api/benefit-programs/v1/bulk/transactions',
|
|
66
|
+
destPath: '/v1/bulk/transactions',
|
|
67
|
+
},
|
|
68
|
+
],
|
|
69
|
+
'www.wixapis.com': [
|
|
70
|
+
{
|
|
71
|
+
srcPath: '/_api/benefit-programs/v1/transactions',
|
|
72
|
+
destPath: '/v1/transactions',
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
srcPath: '/_api/benefit-programs/v1/bulk/transactions',
|
|
76
|
+
destPath: '/v1/bulk/transactions',
|
|
77
|
+
},
|
|
54
78
|
],
|
|
55
79
|
};
|
|
56
80
|
return 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,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AAClG,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAClF,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAI3D,SAAS,2DAA2D,CAClE,IAA8C;IAE9C,MAAM,gBAAgB,GAAG;QACvB,uBAAuB,EAAE;YACvB;gBACE,OAAO,EAAE,oBAAoB;gBAC7B,QAAQ,EAAE,EAAE;aACb;SACF;QACD,
|
|
1
|
+
{"version":3,"file":"benefit-programs-v1-transaction-transactions.http.js","sourceRoot":"","sources":["../../../src/benefit-programs-v1-transaction-transactions.http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AAClG,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAClF,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;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,EAAE,wCAAwC;gBACjD,QAAQ,EAAE,kBAAkB;aAC7B;YACD;gBACE,OAAO,EAAE,6CAA6C;gBACtD,QAAQ,EAAE,uBAAuB;aAClC;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,gBAAgB,EAAE;YAChB;gBACE,OAAO,EAAE,wCAAwC;gBACjD,QAAQ,EAAE,kBAAkB;aAC7B;YACD;gBACE,OAAO,EAAE,6CAA6C;gBACtD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