@wix/auto_sdk_benefit-programs_transactions 1.0.63 → 1.0.65
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/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +15 -5
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +6 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +15 -5
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +6 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +16 -5
- package/build/internal/cjs/meta.d.ts +7 -1
- package/build/internal/es/index.typings.d.mts +16 -5
- package/build/internal/es/meta.d.mts +7 -1
- package/package.json +4 -11
- package/build/cjs/schemas.d.ts +0 -311
- package/build/cjs/schemas.js +0 -532
- package/build/cjs/schemas.js.map +0 -1
- package/build/es/schemas.d.mts +0 -311
- package/build/es/schemas.mjs +0 -492
- package/build/es/schemas.mjs.map +0 -1
- package/build/internal/cjs/index.js +0 -380
- package/build/internal/cjs/index.js.map +0 -1
- package/build/internal/cjs/index.typings.js +0 -343
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/meta.js +0 -274
- package/build/internal/cjs/meta.js.map +0 -1
- package/build/internal/cjs/schemas.d.ts +0 -311
- package/build/internal/cjs/schemas.js +0 -532
- package/build/internal/cjs/schemas.js.map +0 -1
- package/build/internal/es/index.mjs +0 -349
- package/build/internal/es/index.mjs.map +0 -1
- package/build/internal/es/index.typings.mjs +0 -311
- package/build/internal/es/index.typings.mjs.map +0 -1
- package/build/internal/es/meta.mjs +0 -241
- package/build/internal/es/meta.mjs.map +0 -1
- package/build/internal/es/schemas.d.mts +0 -311
- package/build/internal/es/schemas.mjs +0 -492
- package/build/internal/es/schemas.mjs.map +0 -1
- package/schemas/package.json +0 -3
|
@@ -11,6 +11,7 @@ interface Transaction extends TransactionStatusDetailsOneOf {
|
|
|
11
11
|
* Transaction ID.
|
|
12
12
|
* @format GUID
|
|
13
13
|
* @readonly
|
|
14
|
+
* @immutable
|
|
14
15
|
*/
|
|
15
16
|
id?: string | null;
|
|
16
17
|
/**
|
|
@@ -47,12 +48,14 @@ interface Transaction extends TransactionStatusDetailsOneOf {
|
|
|
47
48
|
* Used to recognize repeated attempts to make the same request.
|
|
48
49
|
* @maxLength 200
|
|
49
50
|
* @readonly
|
|
51
|
+
* @immutable
|
|
50
52
|
*/
|
|
51
53
|
idempotencyKey?: string;
|
|
52
54
|
/**
|
|
53
55
|
* ID of the related transaction. For example, if this transaction is a refund for a benefit redemption, the related transaction is the benefit redemption transaction.
|
|
54
56
|
* @format GUID
|
|
55
57
|
* @readonly
|
|
58
|
+
* @immutable
|
|
56
59
|
*/
|
|
57
60
|
relatedTransactionId?: string | null;
|
|
58
61
|
/**
|
|
@@ -60,6 +63,7 @@ interface Transaction extends TransactionStatusDetailsOneOf {
|
|
|
60
63
|
* @internal
|
|
61
64
|
* @format GUID
|
|
62
65
|
* @readonly
|
|
66
|
+
* @immutable
|
|
63
67
|
*/
|
|
64
68
|
correlationId?: string | null;
|
|
65
69
|
/**
|
|
@@ -271,11 +275,13 @@ interface TransactionDetails {
|
|
|
271
275
|
/**
|
|
272
276
|
* Date and time the transaction was created.
|
|
273
277
|
* @readonly
|
|
278
|
+
* @immutable
|
|
274
279
|
*/
|
|
275
280
|
effectiveDate?: Date | null;
|
|
276
281
|
/**
|
|
277
282
|
* Reason for the transaction. For example, `Redemption`.
|
|
278
283
|
* @readonly
|
|
284
|
+
* @immutable
|
|
279
285
|
* @maxLength 256
|
|
280
286
|
*/
|
|
281
287
|
reason?: string | null;
|
|
@@ -320,7 +326,7 @@ interface Item {
|
|
|
320
326
|
itemSetId?: string | null;
|
|
321
327
|
/**
|
|
322
328
|
* Item name.
|
|
323
|
-
* @maxLength
|
|
329
|
+
* @maxLength 400
|
|
324
330
|
* @readonly
|
|
325
331
|
*/
|
|
326
332
|
displayName?: string | null;
|
|
@@ -11,6 +11,7 @@ interface Transaction extends TransactionStatusDetailsOneOf {
|
|
|
11
11
|
* Transaction ID.
|
|
12
12
|
* @format GUID
|
|
13
13
|
* @readonly
|
|
14
|
+
* @immutable
|
|
14
15
|
*/
|
|
15
16
|
_id?: string | null;
|
|
16
17
|
/**
|
|
@@ -47,12 +48,14 @@ interface Transaction extends TransactionStatusDetailsOneOf {
|
|
|
47
48
|
* Used to recognize repeated attempts to make the same request.
|
|
48
49
|
* @maxLength 200
|
|
49
50
|
* @readonly
|
|
51
|
+
* @immutable
|
|
50
52
|
*/
|
|
51
53
|
idempotencyKey?: string;
|
|
52
54
|
/**
|
|
53
55
|
* ID of the related transaction. For example, if this transaction is a refund for a benefit redemption, the related transaction is the benefit redemption transaction.
|
|
54
56
|
* @format GUID
|
|
55
57
|
* @readonly
|
|
58
|
+
* @immutable
|
|
56
59
|
*/
|
|
57
60
|
relatedTransactionId?: string | null;
|
|
58
61
|
/**
|
|
@@ -60,6 +63,7 @@ interface Transaction extends TransactionStatusDetailsOneOf {
|
|
|
60
63
|
* @internal
|
|
61
64
|
* @format GUID
|
|
62
65
|
* @readonly
|
|
66
|
+
* @immutable
|
|
63
67
|
*/
|
|
64
68
|
correlationId?: string | null;
|
|
65
69
|
/**
|
|
@@ -271,11 +275,13 @@ interface TransactionDetails {
|
|
|
271
275
|
/**
|
|
272
276
|
* Date and time the transaction was created.
|
|
273
277
|
* @readonly
|
|
278
|
+
* @immutable
|
|
274
279
|
*/
|
|
275
280
|
effectiveDate?: Date | null;
|
|
276
281
|
/**
|
|
277
282
|
* Reason for the transaction. For example, `Redemption`.
|
|
278
283
|
* @readonly
|
|
284
|
+
* @immutable
|
|
279
285
|
* @maxLength 256
|
|
280
286
|
*/
|
|
281
287
|
reason?: string | null;
|
|
@@ -320,7 +326,7 @@ interface Item {
|
|
|
320
326
|
itemSetId?: string | null;
|
|
321
327
|
/**
|
|
322
328
|
* Item name.
|
|
323
|
-
* @maxLength
|
|
329
|
+
* @maxLength 400
|
|
324
330
|
* @readonly
|
|
325
331
|
*/
|
|
326
332
|
displayName?: string | null;
|
|
@@ -826,11 +832,11 @@ interface TransactionsQueryBuilder {
|
|
|
826
832
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
827
833
|
* @param value - Value to compare against.
|
|
828
834
|
*/
|
|
829
|
-
eq: (propertyName: '_id' | '_createdDate' | 'pool.id' | 'relatedTransactionId' | 'correlationId' | 'beneficiary.memberId' | 'beneficiary.wixUserId' | 'details.item.id', value: any) => TransactionsQueryBuilder;
|
|
835
|
+
eq: (propertyName: '_id' | '_createdDate' | 'pool.id' | 'relatedTransactionId' | 'correlationId' | 'beneficiary.memberId' | 'beneficiary.wixUserId' | 'status' | 'details.item.id', value: any) => TransactionsQueryBuilder;
|
|
830
836
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
831
837
|
* @param value - Value to compare against.
|
|
832
838
|
*/
|
|
833
|
-
ne: (propertyName: '_id' | '_createdDate' | 'pool.id' | 'relatedTransactionId' | 'correlationId' | 'beneficiary.memberId' | 'beneficiary.wixUserId' | 'details.item.id', value: any) => TransactionsQueryBuilder;
|
|
839
|
+
ne: (propertyName: '_id' | '_createdDate' | 'pool.id' | 'relatedTransactionId' | 'correlationId' | 'beneficiary.memberId' | 'beneficiary.wixUserId' | 'status' | 'details.item.id', value: any) => TransactionsQueryBuilder;
|
|
834
840
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
835
841
|
* @param value - Value to compare against.
|
|
836
842
|
*/
|
|
@@ -851,8 +857,8 @@ interface TransactionsQueryBuilder {
|
|
|
851
857
|
* @param string - String to compare against. Case-insensitive.
|
|
852
858
|
*/
|
|
853
859
|
startsWith: (propertyName: '_id' | 'pool.id' | 'relatedTransactionId' | 'correlationId' | 'beneficiary.memberId' | 'beneficiary.wixUserId' | 'details.item.id', value: string) => TransactionsQueryBuilder;
|
|
854
|
-
in: (propertyName: '_id' | '_createdDate' | 'pool.id' | 'relatedTransactionId' | 'correlationId' | 'beneficiary.memberId' | 'beneficiary.wixUserId' | 'details.item.id', value: any) => TransactionsQueryBuilder;
|
|
855
|
-
exists: (propertyName: '_id' | '_createdDate' | 'pool.id' | 'relatedTransactionId' | 'correlationId' | 'beneficiary.memberId' | 'beneficiary.wixUserId' | 'details.item.id', value: boolean) => TransactionsQueryBuilder;
|
|
860
|
+
in: (propertyName: '_id' | '_createdDate' | 'pool.id' | 'relatedTransactionId' | 'correlationId' | 'beneficiary.memberId' | 'beneficiary.wixUserId' | 'status' | 'details.item.id', value: any) => TransactionsQueryBuilder;
|
|
861
|
+
exists: (propertyName: '_id' | '_createdDate' | 'pool.id' | 'relatedTransactionId' | 'correlationId' | 'beneficiary.memberId' | 'beneficiary.wixUserId' | 'status' | 'details.item.id', value: boolean) => TransactionsQueryBuilder;
|
|
856
862
|
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
|
|
857
863
|
ascending: (...propertyNames: Array<'_id' | '_createdDate' | 'pool.id' | 'relatedTransactionId' | 'correlationId' | 'beneficiary.memberId' | 'beneficiary.wixUserId' | 'details.item.id'>) => TransactionsQueryBuilder;
|
|
858
864
|
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
|
|
@@ -885,6 +891,11 @@ interface TransactionQuerySpec extends QuerySpec {
|
|
|
885
891
|
];
|
|
886
892
|
operators: '*';
|
|
887
893
|
sort: 'BOTH';
|
|
894
|
+
},
|
|
895
|
+
{
|
|
896
|
+
fields: ['status'];
|
|
897
|
+
operators: '*';
|
|
898
|
+
sort: 'NONE';
|
|
888
899
|
}
|
|
889
900
|
];
|
|
890
901
|
}
|
|
@@ -11,6 +11,7 @@ interface Transaction extends TransactionStatusDetailsOneOf {
|
|
|
11
11
|
* Transaction ID.
|
|
12
12
|
* @format GUID
|
|
13
13
|
* @readonly
|
|
14
|
+
* @immutable
|
|
14
15
|
*/
|
|
15
16
|
id?: string | null;
|
|
16
17
|
/**
|
|
@@ -47,12 +48,14 @@ interface Transaction extends TransactionStatusDetailsOneOf {
|
|
|
47
48
|
* Used to recognize repeated attempts to make the same request.
|
|
48
49
|
* @maxLength 200
|
|
49
50
|
* @readonly
|
|
51
|
+
* @immutable
|
|
50
52
|
*/
|
|
51
53
|
idempotencyKey?: string;
|
|
52
54
|
/**
|
|
53
55
|
* ID of the related transaction. For example, if this transaction is a refund for a benefit redemption, the related transaction is the benefit redemption transaction.
|
|
54
56
|
* @format GUID
|
|
55
57
|
* @readonly
|
|
58
|
+
* @immutable
|
|
56
59
|
*/
|
|
57
60
|
relatedTransactionId?: string | null;
|
|
58
61
|
/**
|
|
@@ -60,6 +63,7 @@ interface Transaction extends TransactionStatusDetailsOneOf {
|
|
|
60
63
|
* @internal
|
|
61
64
|
* @format GUID
|
|
62
65
|
* @readonly
|
|
66
|
+
* @immutable
|
|
63
67
|
*/
|
|
64
68
|
correlationId?: string | null;
|
|
65
69
|
/**
|
|
@@ -271,11 +275,13 @@ interface TransactionDetails {
|
|
|
271
275
|
/**
|
|
272
276
|
* Date and time the transaction was created.
|
|
273
277
|
* @readonly
|
|
278
|
+
* @immutable
|
|
274
279
|
*/
|
|
275
280
|
effectiveDate?: Date | null;
|
|
276
281
|
/**
|
|
277
282
|
* Reason for the transaction. For example, `Redemption`.
|
|
278
283
|
* @readonly
|
|
284
|
+
* @immutable
|
|
279
285
|
* @maxLength 256
|
|
280
286
|
*/
|
|
281
287
|
reason?: string | null;
|
|
@@ -320,7 +326,7 @@ interface Item {
|
|
|
320
326
|
itemSetId?: string | null;
|
|
321
327
|
/**
|
|
322
328
|
* Item name.
|
|
323
|
-
* @maxLength
|
|
329
|
+
* @maxLength 400
|
|
324
330
|
* @readonly
|
|
325
331
|
*/
|
|
326
332
|
displayName?: string | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_benefit-programs_transactions",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.65",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -21,23 +21,16 @@
|
|
|
21
21
|
"import": "./build/es/meta.mjs",
|
|
22
22
|
"require": "./build/cjs/meta.js",
|
|
23
23
|
"types": "./build/es/meta.d.mts"
|
|
24
|
-
},
|
|
25
|
-
"./schemas": {
|
|
26
|
-
"import": "./build/es/schemas.mjs",
|
|
27
|
-
"require": "./build/cjs/schemas.js",
|
|
28
|
-
"types": "./build/es/schemas.d.mts"
|
|
29
24
|
}
|
|
30
25
|
},
|
|
31
26
|
"files": [
|
|
32
27
|
"build",
|
|
33
28
|
"meta",
|
|
34
|
-
"service-plugins"
|
|
35
|
-
"schemas"
|
|
29
|
+
"service-plugins"
|
|
36
30
|
],
|
|
37
31
|
"dependencies": {
|
|
38
32
|
"@wix/sdk-runtime": "^1.0.24",
|
|
39
|
-
"@wix/sdk-types": "^1.17.11"
|
|
40
|
-
"zod": "^4.3.6"
|
|
33
|
+
"@wix/sdk-types": "^1.17.11"
|
|
41
34
|
},
|
|
42
35
|
"devDependencies": {
|
|
43
36
|
"tsup": "^8.4.0",
|
|
@@ -57,5 +50,5 @@
|
|
|
57
50
|
"fqdn": "wix.benefit_programs.v1.transaction"
|
|
58
51
|
}
|
|
59
52
|
},
|
|
60
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "a9100e1c09b72f0a91661a32a14eeff72df312d5e463b1eaea5d4709"
|
|
61
54
|
}
|
package/build/cjs/schemas.d.ts
DELETED
|
@@ -1,311 +0,0 @@
|
|
|
1
|
-
import * as z from 'zod';
|
|
2
|
-
|
|
3
|
-
declare const GetTransactionRequest: z.ZodObject<{
|
|
4
|
-
transactionId: z.ZodString;
|
|
5
|
-
}, z.core.$strip>;
|
|
6
|
-
declare const GetTransactionResponse: z.ZodObject<{
|
|
7
|
-
_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8
|
-
revision: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9
|
-
_createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
10
|
-
_updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
11
|
-
pool: z.ZodOptional<z.ZodObject<{
|
|
12
|
-
_id: z.ZodOptional<z.ZodString>;
|
|
13
|
-
poolDefinitionId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
14
|
-
programDefinitionId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
15
|
-
externalProgramDefinitionId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
16
|
-
programId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
17
|
-
externalProgramId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
18
|
-
creditAmount: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
19
|
-
namespace: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
20
|
-
displayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
21
|
-
benefitDisplayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
22
|
-
}, z.core.$strip>>;
|
|
23
|
-
amount: z.ZodOptional<z.ZodString>;
|
|
24
|
-
source: z.ZodOptional<z.ZodEnum<{
|
|
25
|
-
AVAILABLE: "AVAILABLE";
|
|
26
|
-
EXTERNAL: "EXTERNAL";
|
|
27
|
-
}>>;
|
|
28
|
-
target: z.ZodOptional<z.ZodEnum<{
|
|
29
|
-
AVAILABLE: "AVAILABLE";
|
|
30
|
-
EXTERNAL: "EXTERNAL";
|
|
31
|
-
}>>;
|
|
32
|
-
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
33
|
-
relatedTransactionId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
34
|
-
beneficiary: z.ZodOptional<z.ZodIntersection<z.ZodObject<{}, z.core.$strip>, z.ZodXor<readonly [z.ZodObject<{
|
|
35
|
-
anonymousVisitorId: z.ZodOptional<z.ZodNever>;
|
|
36
|
-
memberId: z.ZodOptional<z.ZodNever>;
|
|
37
|
-
wixUserId: z.ZodOptional<z.ZodNever>;
|
|
38
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
39
|
-
memberId: z.ZodOptional<z.ZodNever>;
|
|
40
|
-
wixUserId: z.ZodOptional<z.ZodNever>;
|
|
41
|
-
anonymousVisitorId: z.ZodString;
|
|
42
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
-
anonymousVisitorId: z.ZodOptional<z.ZodNever>;
|
|
44
|
-
wixUserId: z.ZodOptional<z.ZodNever>;
|
|
45
|
-
memberId: z.ZodString;
|
|
46
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
-
anonymousVisitorId: z.ZodOptional<z.ZodNever>;
|
|
48
|
-
memberId: z.ZodOptional<z.ZodNever>;
|
|
49
|
-
wixUserId: z.ZodString;
|
|
50
|
-
}, z.core.$strip>]>>>;
|
|
51
|
-
instructingParty: z.ZodOptional<z.ZodIntersection<z.ZodObject<{}, z.core.$strip>, z.ZodXor<readonly [z.ZodObject<{
|
|
52
|
-
anonymousVisitorId: z.ZodOptional<z.ZodNever>;
|
|
53
|
-
memberId: z.ZodOptional<z.ZodNever>;
|
|
54
|
-
wixUserId: z.ZodOptional<z.ZodNever>;
|
|
55
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
56
|
-
memberId: z.ZodOptional<z.ZodNever>;
|
|
57
|
-
wixUserId: z.ZodOptional<z.ZodNever>;
|
|
58
|
-
anonymousVisitorId: z.ZodString;
|
|
59
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
60
|
-
anonymousVisitorId: z.ZodOptional<z.ZodNever>;
|
|
61
|
-
wixUserId: z.ZodOptional<z.ZodNever>;
|
|
62
|
-
memberId: z.ZodString;
|
|
63
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
64
|
-
anonymousVisitorId: z.ZodOptional<z.ZodNever>;
|
|
65
|
-
memberId: z.ZodOptional<z.ZodNever>;
|
|
66
|
-
wixUserId: z.ZodString;
|
|
67
|
-
}, z.core.$strip>]>>>;
|
|
68
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
69
|
-
PENDING: "PENDING";
|
|
70
|
-
COMPLETED: "COMPLETED";
|
|
71
|
-
FAILED: "FAILED";
|
|
72
|
-
}>>;
|
|
73
|
-
details: z.ZodOptional<z.ZodObject<{
|
|
74
|
-
item: z.ZodOptional<z.ZodObject<{
|
|
75
|
-
_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
76
|
-
externalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
77
|
-
category: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
78
|
-
itemSetId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
79
|
-
displayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
80
|
-
providerAppId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
81
|
-
}, z.core.$strip>>;
|
|
82
|
-
itemCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
83
|
-
effectiveDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
84
|
-
reason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
85
|
-
benefitKey: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
86
|
-
}, z.core.$strip>>;
|
|
87
|
-
extendedFields: z.ZodOptional<z.ZodObject<{
|
|
88
|
-
namespaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
89
|
-
}, z.core.$strip>>;
|
|
90
|
-
externalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
91
|
-
}, z.core.$strip>;
|
|
92
|
-
declare const QueryTransactionsRequest: z.ZodObject<{
|
|
93
|
-
query: z.ZodObject<{
|
|
94
|
-
filter: z.ZodOptional<z.ZodObject<{
|
|
95
|
-
_id: z.ZodOptional<z.ZodObject<{
|
|
96
|
-
$eq: z.ZodOptional<z.ZodString>;
|
|
97
|
-
$exists: z.ZodOptional<z.ZodBoolean>;
|
|
98
|
-
$gt: z.ZodOptional<z.ZodString>;
|
|
99
|
-
$gte: z.ZodOptional<z.ZodString>;
|
|
100
|
-
$hasAll: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
101
|
-
$hasSome: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
102
|
-
$in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
103
|
-
$lt: z.ZodOptional<z.ZodString>;
|
|
104
|
-
$lte: z.ZodOptional<z.ZodString>;
|
|
105
|
-
$ne: z.ZodOptional<z.ZodString>;
|
|
106
|
-
$nin: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
107
|
-
$startsWith: z.ZodOptional<z.ZodString>;
|
|
108
|
-
}, z.core.$strict>>;
|
|
109
|
-
relatedTransactionId: z.ZodOptional<z.ZodObject<{
|
|
110
|
-
$eq: z.ZodOptional<z.ZodString>;
|
|
111
|
-
$exists: z.ZodOptional<z.ZodBoolean>;
|
|
112
|
-
$gt: z.ZodOptional<z.ZodString>;
|
|
113
|
-
$gte: z.ZodOptional<z.ZodString>;
|
|
114
|
-
$hasAll: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
115
|
-
$hasSome: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
116
|
-
$in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
117
|
-
$lt: z.ZodOptional<z.ZodString>;
|
|
118
|
-
$lte: z.ZodOptional<z.ZodString>;
|
|
119
|
-
$ne: z.ZodOptional<z.ZodString>;
|
|
120
|
-
$nin: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
121
|
-
$startsWith: z.ZodOptional<z.ZodString>;
|
|
122
|
-
}, z.core.$strict>>;
|
|
123
|
-
'pool._id': z.ZodOptional<z.ZodObject<{
|
|
124
|
-
$eq: z.ZodOptional<z.ZodString>;
|
|
125
|
-
$exists: z.ZodOptional<z.ZodBoolean>;
|
|
126
|
-
$gt: z.ZodOptional<z.ZodString>;
|
|
127
|
-
$gte: z.ZodOptional<z.ZodString>;
|
|
128
|
-
$hasAll: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
129
|
-
$hasSome: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
130
|
-
$in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
131
|
-
$lt: z.ZodOptional<z.ZodString>;
|
|
132
|
-
$lte: z.ZodOptional<z.ZodString>;
|
|
133
|
-
$ne: z.ZodOptional<z.ZodString>;
|
|
134
|
-
$nin: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
135
|
-
$startsWith: z.ZodOptional<z.ZodString>;
|
|
136
|
-
}, z.core.$strict>>;
|
|
137
|
-
'beneficiary.memberId': z.ZodOptional<z.ZodObject<{
|
|
138
|
-
$eq: z.ZodOptional<z.ZodAny>;
|
|
139
|
-
$exists: z.ZodOptional<z.ZodBoolean>;
|
|
140
|
-
$gt: z.ZodOptional<z.ZodAny>;
|
|
141
|
-
$gte: z.ZodOptional<z.ZodAny>;
|
|
142
|
-
$hasAll: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
143
|
-
$hasSome: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
144
|
-
$in: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
145
|
-
$lt: z.ZodOptional<z.ZodAny>;
|
|
146
|
-
$lte: z.ZodOptional<z.ZodAny>;
|
|
147
|
-
$ne: z.ZodOptional<z.ZodAny>;
|
|
148
|
-
$nin: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
149
|
-
$startsWith: z.ZodOptional<z.ZodString>;
|
|
150
|
-
}, z.core.$strict>>;
|
|
151
|
-
'beneficiary.wixUserId': z.ZodOptional<z.ZodObject<{
|
|
152
|
-
$eq: z.ZodOptional<z.ZodAny>;
|
|
153
|
-
$exists: z.ZodOptional<z.ZodBoolean>;
|
|
154
|
-
$gt: z.ZodOptional<z.ZodAny>;
|
|
155
|
-
$gte: z.ZodOptional<z.ZodAny>;
|
|
156
|
-
$hasAll: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
157
|
-
$hasSome: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
158
|
-
$in: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
159
|
-
$lt: z.ZodOptional<z.ZodAny>;
|
|
160
|
-
$lte: z.ZodOptional<z.ZodAny>;
|
|
161
|
-
$ne: z.ZodOptional<z.ZodAny>;
|
|
162
|
-
$nin: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
163
|
-
$startsWith: z.ZodOptional<z.ZodString>;
|
|
164
|
-
}, z.core.$strict>>;
|
|
165
|
-
'details.item._id': z.ZodOptional<z.ZodObject<{
|
|
166
|
-
$eq: z.ZodOptional<z.ZodString>;
|
|
167
|
-
$exists: z.ZodOptional<z.ZodBoolean>;
|
|
168
|
-
$gt: z.ZodOptional<z.ZodString>;
|
|
169
|
-
$gte: z.ZodOptional<z.ZodString>;
|
|
170
|
-
$hasAll: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
171
|
-
$hasSome: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
172
|
-
$in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
173
|
-
$lt: z.ZodOptional<z.ZodString>;
|
|
174
|
-
$lte: z.ZodOptional<z.ZodString>;
|
|
175
|
-
$ne: z.ZodOptional<z.ZodString>;
|
|
176
|
-
$nin: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
177
|
-
$startsWith: z.ZodOptional<z.ZodString>;
|
|
178
|
-
}, z.core.$strict>>;
|
|
179
|
-
_createdDate: z.ZodOptional<z.ZodObject<{
|
|
180
|
-
$eq: z.ZodOptional<z.ZodString>;
|
|
181
|
-
$exists: z.ZodOptional<z.ZodBoolean>;
|
|
182
|
-
$gt: z.ZodOptional<z.ZodString>;
|
|
183
|
-
$gte: z.ZodOptional<z.ZodString>;
|
|
184
|
-
$hasAll: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
185
|
-
$hasSome: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
186
|
-
$in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
187
|
-
$lt: z.ZodOptional<z.ZodString>;
|
|
188
|
-
$lte: z.ZodOptional<z.ZodString>;
|
|
189
|
-
$ne: z.ZodOptional<z.ZodString>;
|
|
190
|
-
$nin: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
191
|
-
$startsWith: z.ZodOptional<z.ZodString>;
|
|
192
|
-
}, z.core.$strict>>;
|
|
193
|
-
$and: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
194
|
-
$or: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
195
|
-
$not: z.ZodOptional<z.ZodAny>;
|
|
196
|
-
}, z.core.$strict>>;
|
|
197
|
-
sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
198
|
-
fieldName: z.ZodOptional<z.ZodEnum<{
|
|
199
|
-
"pool._id": "pool._id";
|
|
200
|
-
"beneficiary.memberId": "beneficiary.memberId";
|
|
201
|
-
"beneficiary.wixUserId": "beneficiary.wixUserId";
|
|
202
|
-
_id: "_id";
|
|
203
|
-
_createdDate: "_createdDate";
|
|
204
|
-
relatedTransactionId: "relatedTransactionId";
|
|
205
|
-
"details.item._id": "details.item._id";
|
|
206
|
-
}>>;
|
|
207
|
-
order: z.ZodOptional<z.ZodEnum<{
|
|
208
|
-
ASC: "ASC";
|
|
209
|
-
DESC: "DESC";
|
|
210
|
-
}>>;
|
|
211
|
-
}, z.core.$strip>>>;
|
|
212
|
-
}, z.core.$catchall<z.ZodAny>>;
|
|
213
|
-
}, z.core.$strip>;
|
|
214
|
-
declare const QueryTransactionsResponse: z.ZodObject<{
|
|
215
|
-
transactions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
216
|
-
_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
217
|
-
revision: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
218
|
-
_createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
219
|
-
_updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
220
|
-
pool: z.ZodOptional<z.ZodObject<{
|
|
221
|
-
_id: z.ZodOptional<z.ZodString>;
|
|
222
|
-
poolDefinitionId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
223
|
-
programDefinitionId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
224
|
-
externalProgramDefinitionId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
225
|
-
programId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
226
|
-
externalProgramId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
227
|
-
creditAmount: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
228
|
-
namespace: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
229
|
-
displayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
230
|
-
benefitDisplayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
231
|
-
}, z.core.$strip>>;
|
|
232
|
-
amount: z.ZodOptional<z.ZodString>;
|
|
233
|
-
source: z.ZodOptional<z.ZodEnum<{
|
|
234
|
-
AVAILABLE: "AVAILABLE";
|
|
235
|
-
EXTERNAL: "EXTERNAL";
|
|
236
|
-
}>>;
|
|
237
|
-
target: z.ZodOptional<z.ZodEnum<{
|
|
238
|
-
AVAILABLE: "AVAILABLE";
|
|
239
|
-
EXTERNAL: "EXTERNAL";
|
|
240
|
-
}>>;
|
|
241
|
-
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
242
|
-
relatedTransactionId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
243
|
-
beneficiary: z.ZodOptional<z.ZodIntersection<z.ZodObject<{}, z.core.$strip>, z.ZodXor<readonly [z.ZodObject<{
|
|
244
|
-
anonymousVisitorId: z.ZodOptional<z.ZodNever>;
|
|
245
|
-
memberId: z.ZodOptional<z.ZodNever>;
|
|
246
|
-
wixUserId: z.ZodOptional<z.ZodNever>;
|
|
247
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
248
|
-
memberId: z.ZodOptional<z.ZodNever>;
|
|
249
|
-
wixUserId: z.ZodOptional<z.ZodNever>;
|
|
250
|
-
anonymousVisitorId: z.ZodString;
|
|
251
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
252
|
-
anonymousVisitorId: z.ZodOptional<z.ZodNever>;
|
|
253
|
-
wixUserId: z.ZodOptional<z.ZodNever>;
|
|
254
|
-
memberId: z.ZodString;
|
|
255
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
256
|
-
anonymousVisitorId: z.ZodOptional<z.ZodNever>;
|
|
257
|
-
memberId: z.ZodOptional<z.ZodNever>;
|
|
258
|
-
wixUserId: z.ZodString;
|
|
259
|
-
}, z.core.$strip>]>>>;
|
|
260
|
-
instructingParty: z.ZodOptional<z.ZodIntersection<z.ZodObject<{}, z.core.$strip>, z.ZodXor<readonly [z.ZodObject<{
|
|
261
|
-
anonymousVisitorId: z.ZodOptional<z.ZodNever>;
|
|
262
|
-
memberId: z.ZodOptional<z.ZodNever>;
|
|
263
|
-
wixUserId: z.ZodOptional<z.ZodNever>;
|
|
264
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
265
|
-
memberId: z.ZodOptional<z.ZodNever>;
|
|
266
|
-
wixUserId: z.ZodOptional<z.ZodNever>;
|
|
267
|
-
anonymousVisitorId: z.ZodString;
|
|
268
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
269
|
-
anonymousVisitorId: z.ZodOptional<z.ZodNever>;
|
|
270
|
-
wixUserId: z.ZodOptional<z.ZodNever>;
|
|
271
|
-
memberId: z.ZodString;
|
|
272
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
273
|
-
anonymousVisitorId: z.ZodOptional<z.ZodNever>;
|
|
274
|
-
memberId: z.ZodOptional<z.ZodNever>;
|
|
275
|
-
wixUserId: z.ZodString;
|
|
276
|
-
}, z.core.$strip>]>>>;
|
|
277
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
278
|
-
PENDING: "PENDING";
|
|
279
|
-
COMPLETED: "COMPLETED";
|
|
280
|
-
FAILED: "FAILED";
|
|
281
|
-
}>>;
|
|
282
|
-
details: z.ZodOptional<z.ZodObject<{
|
|
283
|
-
item: z.ZodOptional<z.ZodObject<{
|
|
284
|
-
_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
285
|
-
externalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
286
|
-
category: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
287
|
-
itemSetId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
288
|
-
displayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
289
|
-
providerAppId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
290
|
-
}, z.core.$strip>>;
|
|
291
|
-
itemCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
292
|
-
effectiveDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
293
|
-
reason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
294
|
-
benefitKey: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
295
|
-
}, z.core.$strip>>;
|
|
296
|
-
extendedFields: z.ZodOptional<z.ZodObject<{
|
|
297
|
-
namespaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
298
|
-
}, z.core.$strip>>;
|
|
299
|
-
externalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
300
|
-
}, z.core.$strip>>>;
|
|
301
|
-
metadata: z.ZodOptional<z.ZodObject<{
|
|
302
|
-
count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
303
|
-
cursors: z.ZodOptional<z.ZodObject<{
|
|
304
|
-
next: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
305
|
-
prev: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
306
|
-
}, z.core.$strip>>;
|
|
307
|
-
hasNext: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
308
|
-
}, z.core.$strip>>;
|
|
309
|
-
}, z.core.$strip>;
|
|
310
|
-
|
|
311
|
-
export { GetTransactionRequest, GetTransactionResponse, QueryTransactionsRequest, QueryTransactionsResponse };
|