@voyantjs/transactions-contracts 0.95.0 → 0.97.0
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/LICENSE +201 -0
- package/dist/validation.d.ts +51 -51
- package/package.json +25 -30
package/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for describing the origin of the Work and
|
|
141
|
+
reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may accept and charge a
|
|
167
|
+
fee for, the acceptance of support, warranty, indemnity, or
|
|
168
|
+
other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2026 PixelMakers Studio SRL
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
package/dist/validation.d.ts
CHANGED
|
@@ -115,26 +115,26 @@ export declare const offerMetadataSchema: z.ZodObject<{
|
|
|
115
115
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
116
116
|
export declare const offerStatusSchema: z.ZodEnum<{
|
|
117
117
|
draft: "draft";
|
|
118
|
-
expired: "expired";
|
|
119
118
|
published: "published";
|
|
120
119
|
sent: "sent";
|
|
121
120
|
accepted: "accepted";
|
|
121
|
+
expired: "expired";
|
|
122
122
|
withdrawn: "withdrawn";
|
|
123
123
|
converted: "converted";
|
|
124
124
|
}>;
|
|
125
125
|
export declare const orderStatusSchema: z.ZodEnum<{
|
|
126
126
|
draft: "draft";
|
|
127
|
+
expired: "expired";
|
|
127
128
|
pending: "pending";
|
|
128
129
|
confirmed: "confirmed";
|
|
129
130
|
fulfilled: "fulfilled";
|
|
130
131
|
cancelled: "cancelled";
|
|
131
|
-
expired: "expired";
|
|
132
132
|
}>;
|
|
133
133
|
export declare const transactionParticipantTypeSchema: z.ZodEnum<{
|
|
134
|
-
other: "other";
|
|
135
134
|
traveler: "traveler";
|
|
136
135
|
occupant: "occupant";
|
|
137
136
|
staff: "staff";
|
|
137
|
+
other: "other";
|
|
138
138
|
}>;
|
|
139
139
|
export declare const transactionTravelerCategorySchema: z.ZodEnum<{
|
|
140
140
|
other: "other";
|
|
@@ -144,6 +144,7 @@ export declare const transactionTravelerCategorySchema: z.ZodEnum<{
|
|
|
144
144
|
senior: "senior";
|
|
145
145
|
}>;
|
|
146
146
|
export declare const transactionItemTypeSchema: z.ZodEnum<{
|
|
147
|
+
other: "other";
|
|
147
148
|
unit: "unit";
|
|
148
149
|
service: "service";
|
|
149
150
|
extra: "extra";
|
|
@@ -153,7 +154,6 @@ export declare const transactionItemTypeSchema: z.ZodEnum<{
|
|
|
153
154
|
adjustment: "adjustment";
|
|
154
155
|
accommodation: "accommodation";
|
|
155
156
|
transport: "transport";
|
|
156
|
-
other: "other";
|
|
157
157
|
}>;
|
|
158
158
|
export declare const transactionItemStatusSchema: z.ZodEnum<{
|
|
159
159
|
draft: "draft";
|
|
@@ -163,9 +163,9 @@ export declare const transactionItemStatusSchema: z.ZodEnum<{
|
|
|
163
163
|
priced: "priced";
|
|
164
164
|
}>;
|
|
165
165
|
export declare const transactionItemParticipantRoleSchema: z.ZodEnum<{
|
|
166
|
-
other: "other";
|
|
167
166
|
traveler: "traveler";
|
|
168
167
|
occupant: "occupant";
|
|
168
|
+
other: "other";
|
|
169
169
|
primary_contact: "primary_contact";
|
|
170
170
|
beneficiary: "beneficiary";
|
|
171
171
|
service_assignee: "service_assignee";
|
|
@@ -192,8 +192,8 @@ export declare const orderTermTypeSchema: z.ZodEnum<{
|
|
|
192
192
|
commission: "commission";
|
|
193
193
|
}>;
|
|
194
194
|
export declare const orderTermAcceptanceStatusSchema: z.ZodEnum<{
|
|
195
|
-
pending: "pending";
|
|
196
195
|
accepted: "accepted";
|
|
196
|
+
pending: "pending";
|
|
197
197
|
not_required: "not_required";
|
|
198
198
|
declined: "declined";
|
|
199
199
|
}>;
|
|
@@ -202,10 +202,10 @@ export declare const insertOfferSchema: z.ZodObject<{
|
|
|
202
202
|
title: z.ZodString;
|
|
203
203
|
status: z.ZodDefault<z.ZodEnum<{
|
|
204
204
|
draft: "draft";
|
|
205
|
-
expired: "expired";
|
|
206
205
|
published: "published";
|
|
207
206
|
sent: "sent";
|
|
208
207
|
accepted: "accepted";
|
|
208
|
+
expired: "expired";
|
|
209
209
|
withdrawn: "withdrawn";
|
|
210
210
|
converted: "converted";
|
|
211
211
|
}>>;
|
|
@@ -307,10 +307,10 @@ export declare const updateOfferSchema: z.ZodObject<{
|
|
|
307
307
|
title: z.ZodOptional<z.ZodString>;
|
|
308
308
|
status: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
309
309
|
draft: "draft";
|
|
310
|
-
expired: "expired";
|
|
311
310
|
published: "published";
|
|
312
311
|
sent: "sent";
|
|
313
312
|
accepted: "accepted";
|
|
313
|
+
expired: "expired";
|
|
314
314
|
withdrawn: "withdrawn";
|
|
315
315
|
converted: "converted";
|
|
316
316
|
}>>>;
|
|
@@ -412,10 +412,10 @@ export declare const offerListQuerySchema: z.ZodObject<{
|
|
|
412
412
|
offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
413
413
|
status: z.ZodOptional<z.ZodEnum<{
|
|
414
414
|
draft: "draft";
|
|
415
|
-
expired: "expired";
|
|
416
415
|
published: "published";
|
|
417
416
|
sent: "sent";
|
|
418
417
|
accepted: "accepted";
|
|
418
|
+
expired: "expired";
|
|
419
419
|
withdrawn: "withdrawn";
|
|
420
420
|
converted: "converted";
|
|
421
421
|
}>>;
|
|
@@ -429,10 +429,10 @@ export declare const offerListQuerySchema: z.ZodObject<{
|
|
|
429
429
|
export declare const insertOfferTravelerSchema: z.ZodObject<{
|
|
430
430
|
personId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
431
431
|
participantType: z.ZodDefault<z.ZodEnum<{
|
|
432
|
-
other: "other";
|
|
433
432
|
traveler: "traveler";
|
|
434
433
|
occupant: "occupant";
|
|
435
434
|
staff: "staff";
|
|
435
|
+
other: "other";
|
|
436
436
|
}>>;
|
|
437
437
|
travelerCategory: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
438
438
|
other: "other";
|
|
@@ -455,10 +455,10 @@ export declare const insertOfferTravelerSchema: z.ZodObject<{
|
|
|
455
455
|
export declare const updateOfferTravelerSchema: z.ZodObject<{
|
|
456
456
|
personId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
457
457
|
participantType: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
458
|
-
other: "other";
|
|
459
458
|
traveler: "traveler";
|
|
460
459
|
occupant: "occupant";
|
|
461
460
|
staff: "staff";
|
|
461
|
+
other: "other";
|
|
462
462
|
}>>>;
|
|
463
463
|
travelerCategory: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
464
464
|
other: "other";
|
|
@@ -486,10 +486,10 @@ export declare const offerTravelerListQuerySchema: z.ZodObject<{
|
|
|
486
486
|
export declare const insertOfferParticipantSchema: z.ZodObject<{
|
|
487
487
|
personId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
488
488
|
participantType: z.ZodDefault<z.ZodEnum<{
|
|
489
|
-
other: "other";
|
|
490
489
|
traveler: "traveler";
|
|
491
490
|
occupant: "occupant";
|
|
492
491
|
staff: "staff";
|
|
492
|
+
other: "other";
|
|
493
493
|
}>>;
|
|
494
494
|
travelerCategory: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
495
495
|
other: "other";
|
|
@@ -512,10 +512,10 @@ export declare const insertOfferParticipantSchema: z.ZodObject<{
|
|
|
512
512
|
export declare const updateOfferParticipantSchema: z.ZodObject<{
|
|
513
513
|
personId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
514
514
|
participantType: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
515
|
-
other: "other";
|
|
516
515
|
traveler: "traveler";
|
|
517
516
|
occupant: "occupant";
|
|
518
517
|
staff: "staff";
|
|
518
|
+
other: "other";
|
|
519
519
|
}>>>;
|
|
520
520
|
travelerCategory: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
521
521
|
other: "other";
|
|
@@ -636,6 +636,7 @@ export declare const insertOfferItemSchema: z.ZodObject<{
|
|
|
636
636
|
title: z.ZodString;
|
|
637
637
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
638
638
|
itemType: z.ZodDefault<z.ZodEnum<{
|
|
639
|
+
other: "other";
|
|
639
640
|
unit: "unit";
|
|
640
641
|
service: "service";
|
|
641
642
|
extra: "extra";
|
|
@@ -645,7 +646,6 @@ export declare const insertOfferItemSchema: z.ZodObject<{
|
|
|
645
646
|
adjustment: "adjustment";
|
|
646
647
|
accommodation: "accommodation";
|
|
647
648
|
transport: "transport";
|
|
648
|
-
other: "other";
|
|
649
649
|
}>>;
|
|
650
650
|
status: z.ZodDefault<z.ZodEnum<{
|
|
651
651
|
draft: "draft";
|
|
@@ -678,6 +678,7 @@ export declare const updateOfferItemSchema: z.ZodObject<{
|
|
|
678
678
|
title: z.ZodOptional<z.ZodString>;
|
|
679
679
|
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
680
680
|
itemType: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
681
|
+
other: "other";
|
|
681
682
|
unit: "unit";
|
|
682
683
|
service: "service";
|
|
683
684
|
extra: "extra";
|
|
@@ -687,7 +688,6 @@ export declare const updateOfferItemSchema: z.ZodObject<{
|
|
|
687
688
|
adjustment: "adjustment";
|
|
688
689
|
accommodation: "accommodation";
|
|
689
690
|
transport: "transport";
|
|
690
|
-
other: "other";
|
|
691
691
|
}>>>;
|
|
692
692
|
status: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
693
693
|
draft: "draft";
|
|
@@ -730,9 +730,9 @@ export declare const offerItemListQuerySchema: z.ZodObject<{
|
|
|
730
730
|
export declare const insertOfferItemTravelerSchema: z.ZodPipe<z.ZodObject<{
|
|
731
731
|
travelerId: z.ZodOptional<z.ZodString>;
|
|
732
732
|
role: z.ZodDefault<z.ZodEnum<{
|
|
733
|
-
other: "other";
|
|
734
733
|
traveler: "traveler";
|
|
735
734
|
occupant: "occupant";
|
|
735
|
+
other: "other";
|
|
736
736
|
primary_contact: "primary_contact";
|
|
737
737
|
beneficiary: "beneficiary";
|
|
738
738
|
service_assignee: "service_assignee";
|
|
@@ -741,11 +741,11 @@ export declare const insertOfferItemTravelerSchema: z.ZodPipe<z.ZodObject<{
|
|
|
741
741
|
offerItemId: z.ZodString;
|
|
742
742
|
}, z.core.$strip>, z.ZodTransform<{
|
|
743
743
|
travelerId: string;
|
|
744
|
-
role: "
|
|
744
|
+
role: "traveler" | "occupant" | "other" | "primary_contact" | "beneficiary" | "service_assignee";
|
|
745
745
|
isPrimary: boolean;
|
|
746
746
|
offerItemId: string;
|
|
747
747
|
}, {
|
|
748
|
-
role: "
|
|
748
|
+
role: "traveler" | "occupant" | "other" | "primary_contact" | "beneficiary" | "service_assignee";
|
|
749
749
|
isPrimary: boolean;
|
|
750
750
|
offerItemId: string;
|
|
751
751
|
travelerId?: string | undefined;
|
|
@@ -753,9 +753,9 @@ export declare const insertOfferItemTravelerSchema: z.ZodPipe<z.ZodObject<{
|
|
|
753
753
|
export declare const updateOfferItemTravelerSchema: z.ZodPipe<z.ZodObject<{
|
|
754
754
|
travelerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
755
755
|
role: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
756
|
-
other: "other";
|
|
757
756
|
traveler: "traveler";
|
|
758
757
|
occupant: "occupant";
|
|
758
|
+
other: "other";
|
|
759
759
|
primary_contact: "primary_contact";
|
|
760
760
|
beneficiary: "beneficiary";
|
|
761
761
|
service_assignee: "service_assignee";
|
|
@@ -763,11 +763,11 @@ export declare const updateOfferItemTravelerSchema: z.ZodPipe<z.ZodObject<{
|
|
|
763
763
|
isPrimary: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
764
764
|
}, z.core.$strip>, z.ZodTransform<{
|
|
765
765
|
travelerId: string | undefined;
|
|
766
|
-
role?: "
|
|
766
|
+
role?: "traveler" | "occupant" | "other" | "primary_contact" | "beneficiary" | "service_assignee" | undefined;
|
|
767
767
|
isPrimary?: boolean | undefined;
|
|
768
768
|
}, {
|
|
769
769
|
travelerId?: string | undefined;
|
|
770
|
-
role?: "
|
|
770
|
+
role?: "traveler" | "occupant" | "other" | "primary_contact" | "beneficiary" | "service_assignee" | undefined;
|
|
771
771
|
isPrimary?: boolean | undefined;
|
|
772
772
|
}>>;
|
|
773
773
|
export declare const offerItemTravelerListQuerySchema: z.ZodPipe<z.ZodObject<{
|
|
@@ -789,9 +789,9 @@ export declare const offerItemTravelerListQuerySchema: z.ZodPipe<z.ZodObject<{
|
|
|
789
789
|
export declare const insertOfferItemParticipantSchema: z.ZodPipe<z.ZodObject<{
|
|
790
790
|
travelerId: z.ZodOptional<z.ZodString>;
|
|
791
791
|
role: z.ZodDefault<z.ZodEnum<{
|
|
792
|
-
other: "other";
|
|
793
792
|
traveler: "traveler";
|
|
794
793
|
occupant: "occupant";
|
|
794
|
+
other: "other";
|
|
795
795
|
primary_contact: "primary_contact";
|
|
796
796
|
beneficiary: "beneficiary";
|
|
797
797
|
service_assignee: "service_assignee";
|
|
@@ -800,11 +800,11 @@ export declare const insertOfferItemParticipantSchema: z.ZodPipe<z.ZodObject<{
|
|
|
800
800
|
offerItemId: z.ZodString;
|
|
801
801
|
}, z.core.$strip>, z.ZodTransform<{
|
|
802
802
|
travelerId: string;
|
|
803
|
-
role: "
|
|
803
|
+
role: "traveler" | "occupant" | "other" | "primary_contact" | "beneficiary" | "service_assignee";
|
|
804
804
|
isPrimary: boolean;
|
|
805
805
|
offerItemId: string;
|
|
806
806
|
}, {
|
|
807
|
-
role: "
|
|
807
|
+
role: "traveler" | "occupant" | "other" | "primary_contact" | "beneficiary" | "service_assignee";
|
|
808
808
|
isPrimary: boolean;
|
|
809
809
|
offerItemId: string;
|
|
810
810
|
travelerId?: string | undefined;
|
|
@@ -812,9 +812,9 @@ export declare const insertOfferItemParticipantSchema: z.ZodPipe<z.ZodObject<{
|
|
|
812
812
|
export declare const updateOfferItemParticipantSchema: z.ZodPipe<z.ZodObject<{
|
|
813
813
|
travelerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
814
814
|
role: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
815
|
-
other: "other";
|
|
816
815
|
traveler: "traveler";
|
|
817
816
|
occupant: "occupant";
|
|
817
|
+
other: "other";
|
|
818
818
|
primary_contact: "primary_contact";
|
|
819
819
|
beneficiary: "beneficiary";
|
|
820
820
|
service_assignee: "service_assignee";
|
|
@@ -822,11 +822,11 @@ export declare const updateOfferItemParticipantSchema: z.ZodPipe<z.ZodObject<{
|
|
|
822
822
|
isPrimary: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
823
823
|
}, z.core.$strip>, z.ZodTransform<{
|
|
824
824
|
travelerId: string | undefined;
|
|
825
|
-
role?: "
|
|
825
|
+
role?: "traveler" | "occupant" | "other" | "primary_contact" | "beneficiary" | "service_assignee" | undefined;
|
|
826
826
|
isPrimary?: boolean | undefined;
|
|
827
827
|
}, {
|
|
828
828
|
travelerId?: string | undefined;
|
|
829
|
-
role?: "
|
|
829
|
+
role?: "traveler" | "occupant" | "other" | "primary_contact" | "beneficiary" | "service_assignee" | undefined;
|
|
830
830
|
isPrimary?: boolean | undefined;
|
|
831
831
|
}>>;
|
|
832
832
|
export declare const offerItemParticipantListQuerySchema: z.ZodPipe<z.ZodObject<{
|
|
@@ -851,11 +851,11 @@ export declare const insertOrderSchema: z.ZodObject<{
|
|
|
851
851
|
title: z.ZodString;
|
|
852
852
|
status: z.ZodDefault<z.ZodEnum<{
|
|
853
853
|
draft: "draft";
|
|
854
|
+
expired: "expired";
|
|
854
855
|
pending: "pending";
|
|
855
856
|
confirmed: "confirmed";
|
|
856
857
|
fulfilled: "fulfilled";
|
|
857
858
|
cancelled: "cancelled";
|
|
858
|
-
expired: "expired";
|
|
859
859
|
}>>;
|
|
860
860
|
personId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
861
861
|
organizationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -900,11 +900,11 @@ export declare const updateOrderSchema: z.ZodObject<{
|
|
|
900
900
|
title: z.ZodOptional<z.ZodString>;
|
|
901
901
|
status: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
902
902
|
draft: "draft";
|
|
903
|
+
expired: "expired";
|
|
903
904
|
pending: "pending";
|
|
904
905
|
confirmed: "confirmed";
|
|
905
906
|
fulfilled: "fulfilled";
|
|
906
907
|
cancelled: "cancelled";
|
|
907
|
-
expired: "expired";
|
|
908
908
|
}>>>;
|
|
909
909
|
personId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
910
910
|
organizationId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -948,11 +948,11 @@ export declare const orderListQuerySchema: z.ZodObject<{
|
|
|
948
948
|
offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
949
949
|
status: z.ZodOptional<z.ZodEnum<{
|
|
950
950
|
draft: "draft";
|
|
951
|
+
expired: "expired";
|
|
951
952
|
pending: "pending";
|
|
952
953
|
confirmed: "confirmed";
|
|
953
954
|
fulfilled: "fulfilled";
|
|
954
955
|
cancelled: "cancelled";
|
|
955
|
-
expired: "expired";
|
|
956
956
|
}>>;
|
|
957
957
|
offerId: z.ZodOptional<z.ZodString>;
|
|
958
958
|
opportunityId: z.ZodOptional<z.ZodString>;
|
|
@@ -965,10 +965,10 @@ export declare const orderListQuerySchema: z.ZodObject<{
|
|
|
965
965
|
export declare const insertOrderTravelerSchema: z.ZodObject<{
|
|
966
966
|
personId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
967
967
|
participantType: z.ZodDefault<z.ZodEnum<{
|
|
968
|
-
other: "other";
|
|
969
968
|
traveler: "traveler";
|
|
970
969
|
occupant: "occupant";
|
|
971
970
|
staff: "staff";
|
|
971
|
+
other: "other";
|
|
972
972
|
}>>;
|
|
973
973
|
travelerCategory: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
974
974
|
other: "other";
|
|
@@ -991,10 +991,10 @@ export declare const insertOrderTravelerSchema: z.ZodObject<{
|
|
|
991
991
|
export declare const updateOrderTravelerSchema: z.ZodObject<{
|
|
992
992
|
personId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
993
993
|
participantType: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
994
|
-
other: "other";
|
|
995
994
|
traveler: "traveler";
|
|
996
995
|
occupant: "occupant";
|
|
997
996
|
staff: "staff";
|
|
997
|
+
other: "other";
|
|
998
998
|
}>>>;
|
|
999
999
|
travelerCategory: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1000
1000
|
other: "other";
|
|
@@ -1022,10 +1022,10 @@ export declare const orderTravelerListQuerySchema: z.ZodObject<{
|
|
|
1022
1022
|
export declare const insertOrderParticipantSchema: z.ZodObject<{
|
|
1023
1023
|
personId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1024
1024
|
participantType: z.ZodDefault<z.ZodEnum<{
|
|
1025
|
-
other: "other";
|
|
1026
1025
|
traveler: "traveler";
|
|
1027
1026
|
occupant: "occupant";
|
|
1028
1027
|
staff: "staff";
|
|
1028
|
+
other: "other";
|
|
1029
1029
|
}>>;
|
|
1030
1030
|
travelerCategory: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1031
1031
|
other: "other";
|
|
@@ -1048,10 +1048,10 @@ export declare const insertOrderParticipantSchema: z.ZodObject<{
|
|
|
1048
1048
|
export declare const updateOrderParticipantSchema: z.ZodObject<{
|
|
1049
1049
|
personId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1050
1050
|
participantType: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
1051
|
-
other: "other";
|
|
1052
1051
|
traveler: "traveler";
|
|
1053
1052
|
occupant: "occupant";
|
|
1054
1053
|
staff: "staff";
|
|
1054
|
+
other: "other";
|
|
1055
1055
|
}>>>;
|
|
1056
1056
|
travelerCategory: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1057
1057
|
other: "other";
|
|
@@ -1172,6 +1172,7 @@ export declare const insertOrderItemSchema: z.ZodObject<{
|
|
|
1172
1172
|
title: z.ZodString;
|
|
1173
1173
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1174
1174
|
itemType: z.ZodDefault<z.ZodEnum<{
|
|
1175
|
+
other: "other";
|
|
1175
1176
|
unit: "unit";
|
|
1176
1177
|
service: "service";
|
|
1177
1178
|
extra: "extra";
|
|
@@ -1181,7 +1182,6 @@ export declare const insertOrderItemSchema: z.ZodObject<{
|
|
|
1181
1182
|
adjustment: "adjustment";
|
|
1182
1183
|
accommodation: "accommodation";
|
|
1183
1184
|
transport: "transport";
|
|
1184
|
-
other: "other";
|
|
1185
1185
|
}>>;
|
|
1186
1186
|
status: z.ZodDefault<z.ZodEnum<{
|
|
1187
1187
|
draft: "draft";
|
|
@@ -1215,6 +1215,7 @@ export declare const updateOrderItemSchema: z.ZodObject<{
|
|
|
1215
1215
|
title: z.ZodOptional<z.ZodString>;
|
|
1216
1216
|
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1217
1217
|
itemType: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
1218
|
+
other: "other";
|
|
1218
1219
|
unit: "unit";
|
|
1219
1220
|
service: "service";
|
|
1220
1221
|
extra: "extra";
|
|
@@ -1224,7 +1225,6 @@ export declare const updateOrderItemSchema: z.ZodObject<{
|
|
|
1224
1225
|
adjustment: "adjustment";
|
|
1225
1226
|
accommodation: "accommodation";
|
|
1226
1227
|
transport: "transport";
|
|
1227
|
-
other: "other";
|
|
1228
1228
|
}>>>;
|
|
1229
1229
|
status: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
1230
1230
|
draft: "draft";
|
|
@@ -1269,9 +1269,9 @@ export declare const orderItemListQuerySchema: z.ZodObject<{
|
|
|
1269
1269
|
export declare const insertOrderItemTravelerSchema: z.ZodPipe<z.ZodObject<{
|
|
1270
1270
|
travelerId: z.ZodOptional<z.ZodString>;
|
|
1271
1271
|
role: z.ZodDefault<z.ZodEnum<{
|
|
1272
|
-
other: "other";
|
|
1273
1272
|
traveler: "traveler";
|
|
1274
1273
|
occupant: "occupant";
|
|
1274
|
+
other: "other";
|
|
1275
1275
|
primary_contact: "primary_contact";
|
|
1276
1276
|
beneficiary: "beneficiary";
|
|
1277
1277
|
service_assignee: "service_assignee";
|
|
@@ -1280,11 +1280,11 @@ export declare const insertOrderItemTravelerSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1280
1280
|
orderItemId: z.ZodString;
|
|
1281
1281
|
}, z.core.$strip>, z.ZodTransform<{
|
|
1282
1282
|
travelerId: string;
|
|
1283
|
-
role: "
|
|
1283
|
+
role: "traveler" | "occupant" | "other" | "primary_contact" | "beneficiary" | "service_assignee";
|
|
1284
1284
|
isPrimary: boolean;
|
|
1285
1285
|
orderItemId: string;
|
|
1286
1286
|
}, {
|
|
1287
|
-
role: "
|
|
1287
|
+
role: "traveler" | "occupant" | "other" | "primary_contact" | "beneficiary" | "service_assignee";
|
|
1288
1288
|
isPrimary: boolean;
|
|
1289
1289
|
orderItemId: string;
|
|
1290
1290
|
travelerId?: string | undefined;
|
|
@@ -1292,9 +1292,9 @@ export declare const insertOrderItemTravelerSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1292
1292
|
export declare const updateOrderItemTravelerSchema: z.ZodPipe<z.ZodObject<{
|
|
1293
1293
|
travelerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1294
1294
|
role: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
1295
|
-
other: "other";
|
|
1296
1295
|
traveler: "traveler";
|
|
1297
1296
|
occupant: "occupant";
|
|
1297
|
+
other: "other";
|
|
1298
1298
|
primary_contact: "primary_contact";
|
|
1299
1299
|
beneficiary: "beneficiary";
|
|
1300
1300
|
service_assignee: "service_assignee";
|
|
@@ -1302,11 +1302,11 @@ export declare const updateOrderItemTravelerSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1302
1302
|
isPrimary: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1303
1303
|
}, z.core.$strip>, z.ZodTransform<{
|
|
1304
1304
|
travelerId: string | undefined;
|
|
1305
|
-
role?: "
|
|
1305
|
+
role?: "traveler" | "occupant" | "other" | "primary_contact" | "beneficiary" | "service_assignee" | undefined;
|
|
1306
1306
|
isPrimary?: boolean | undefined;
|
|
1307
1307
|
}, {
|
|
1308
1308
|
travelerId?: string | undefined;
|
|
1309
|
-
role?: "
|
|
1309
|
+
role?: "traveler" | "occupant" | "other" | "primary_contact" | "beneficiary" | "service_assignee" | undefined;
|
|
1310
1310
|
isPrimary?: boolean | undefined;
|
|
1311
1311
|
}>>;
|
|
1312
1312
|
export declare const orderItemTravelerListQuerySchema: z.ZodPipe<z.ZodObject<{
|
|
@@ -1328,9 +1328,9 @@ export declare const orderItemTravelerListQuerySchema: z.ZodPipe<z.ZodObject<{
|
|
|
1328
1328
|
export declare const insertOrderItemParticipantSchema: z.ZodPipe<z.ZodObject<{
|
|
1329
1329
|
travelerId: z.ZodOptional<z.ZodString>;
|
|
1330
1330
|
role: z.ZodDefault<z.ZodEnum<{
|
|
1331
|
-
other: "other";
|
|
1332
1331
|
traveler: "traveler";
|
|
1333
1332
|
occupant: "occupant";
|
|
1333
|
+
other: "other";
|
|
1334
1334
|
primary_contact: "primary_contact";
|
|
1335
1335
|
beneficiary: "beneficiary";
|
|
1336
1336
|
service_assignee: "service_assignee";
|
|
@@ -1339,11 +1339,11 @@ export declare const insertOrderItemParticipantSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1339
1339
|
orderItemId: z.ZodString;
|
|
1340
1340
|
}, z.core.$strip>, z.ZodTransform<{
|
|
1341
1341
|
travelerId: string;
|
|
1342
|
-
role: "
|
|
1342
|
+
role: "traveler" | "occupant" | "other" | "primary_contact" | "beneficiary" | "service_assignee";
|
|
1343
1343
|
isPrimary: boolean;
|
|
1344
1344
|
orderItemId: string;
|
|
1345
1345
|
}, {
|
|
1346
|
-
role: "
|
|
1346
|
+
role: "traveler" | "occupant" | "other" | "primary_contact" | "beneficiary" | "service_assignee";
|
|
1347
1347
|
isPrimary: boolean;
|
|
1348
1348
|
orderItemId: string;
|
|
1349
1349
|
travelerId?: string | undefined;
|
|
@@ -1351,9 +1351,9 @@ export declare const insertOrderItemParticipantSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1351
1351
|
export declare const updateOrderItemParticipantSchema: z.ZodPipe<z.ZodObject<{
|
|
1352
1352
|
travelerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1353
1353
|
role: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
1354
|
-
other: "other";
|
|
1355
1354
|
traveler: "traveler";
|
|
1356
1355
|
occupant: "occupant";
|
|
1356
|
+
other: "other";
|
|
1357
1357
|
primary_contact: "primary_contact";
|
|
1358
1358
|
beneficiary: "beneficiary";
|
|
1359
1359
|
service_assignee: "service_assignee";
|
|
@@ -1361,11 +1361,11 @@ export declare const updateOrderItemParticipantSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1361
1361
|
isPrimary: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1362
1362
|
}, z.core.$strip>, z.ZodTransform<{
|
|
1363
1363
|
travelerId: string | undefined;
|
|
1364
|
-
role?: "
|
|
1364
|
+
role?: "traveler" | "occupant" | "other" | "primary_contact" | "beneficiary" | "service_assignee" | undefined;
|
|
1365
1365
|
isPrimary?: boolean | undefined;
|
|
1366
1366
|
}, {
|
|
1367
1367
|
travelerId?: string | undefined;
|
|
1368
|
-
role?: "
|
|
1368
|
+
role?: "traveler" | "occupant" | "other" | "primary_contact" | "beneficiary" | "service_assignee" | undefined;
|
|
1369
1369
|
isPrimary?: boolean | undefined;
|
|
1370
1370
|
}>>;
|
|
1371
1371
|
export declare const orderItemParticipantListQuerySchema: z.ZodPipe<z.ZodObject<{
|
|
@@ -1402,8 +1402,8 @@ export declare const insertOrderTermSchema: z.ZodObject<{
|
|
|
1402
1402
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1403
1403
|
sortOrder: z.ZodDefault<z.ZodNumber>;
|
|
1404
1404
|
acceptanceStatus: z.ZodDefault<z.ZodEnum<{
|
|
1405
|
-
pending: "pending";
|
|
1406
1405
|
accepted: "accepted";
|
|
1406
|
+
pending: "pending";
|
|
1407
1407
|
not_required: "not_required";
|
|
1408
1408
|
declined: "declined";
|
|
1409
1409
|
}>>;
|
|
@@ -1429,8 +1429,8 @@ export declare const updateOrderTermSchema: z.ZodObject<{
|
|
|
1429
1429
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1430
1430
|
sortOrder: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
1431
1431
|
acceptanceStatus: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
1432
|
-
pending: "pending";
|
|
1433
1432
|
accepted: "accepted";
|
|
1433
|
+
pending: "pending";
|
|
1434
1434
|
not_required: "not_required";
|
|
1435
1435
|
declined: "declined";
|
|
1436
1436
|
}>>>;
|
|
@@ -1453,8 +1453,8 @@ export declare const orderTermListQuerySchema: z.ZodObject<{
|
|
|
1453
1453
|
commission: "commission";
|
|
1454
1454
|
}>>;
|
|
1455
1455
|
acceptanceStatus: z.ZodOptional<z.ZodEnum<{
|
|
1456
|
-
pending: "pending";
|
|
1457
1456
|
accepted: "accepted";
|
|
1457
|
+
pending: "pending";
|
|
1458
1458
|
not_required: "not_required";
|
|
1459
1459
|
declined: "declined";
|
|
1460
1460
|
}>>;
|
package/package.json
CHANGED
|
@@ -1,51 +1,46 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/transactions-contracts",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.97.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
7
|
-
".":
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
7
|
+
".": {
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"import": "./dist/index.js",
|
|
10
|
+
"default": "./dist/index.js"
|
|
11
|
+
},
|
|
12
|
+
"./validation": {
|
|
13
|
+
"types": "./dist/validation.d.ts",
|
|
14
|
+
"import": "./dist/validation.js",
|
|
15
|
+
"default": "./dist/validation.js"
|
|
16
|
+
}
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
19
|
"dist"
|
|
20
20
|
],
|
|
21
21
|
"publishConfig": {
|
|
22
|
-
"access": "public"
|
|
23
|
-
"exports": {
|
|
24
|
-
".": {
|
|
25
|
-
"types": "./dist/index.d.ts",
|
|
26
|
-
"import": "./dist/index.js",
|
|
27
|
-
"default": "./dist/index.js"
|
|
28
|
-
},
|
|
29
|
-
"./validation": {
|
|
30
|
-
"types": "./dist/validation.d.ts",
|
|
31
|
-
"import": "./dist/validation.js",
|
|
32
|
-
"default": "./dist/validation.js"
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
"main": "./dist/index.js",
|
|
36
|
-
"types": "./dist/index.d.ts"
|
|
22
|
+
"access": "public"
|
|
37
23
|
},
|
|
38
24
|
"dependencies": {
|
|
39
25
|
"zod": "^4.3.6"
|
|
40
26
|
},
|
|
41
27
|
"devDependencies": {
|
|
42
|
-
"@voyantjs/voyant-typescript-config": "workspace:*",
|
|
43
28
|
"typescript": "^6.0.2",
|
|
44
|
-
"vitest": "^4.1.2"
|
|
29
|
+
"vitest": "^4.1.2",
|
|
30
|
+
"@voyantjs/voyant-typescript-config": "0.1.0"
|
|
45
31
|
},
|
|
46
32
|
"repository": {
|
|
47
33
|
"type": "git",
|
|
48
34
|
"url": "https://github.com/voyantjs/voyant.git",
|
|
49
35
|
"directory": "packages/transactions-contracts"
|
|
50
|
-
}
|
|
51
|
-
|
|
36
|
+
},
|
|
37
|
+
"scripts": {
|
|
38
|
+
"typecheck": "tsc --noEmit",
|
|
39
|
+
"lint": "biome check src/",
|
|
40
|
+
"test": "vitest run --passWithNoTests",
|
|
41
|
+
"build": "tsc -p tsconfig.json",
|
|
42
|
+
"clean": "rm -rf dist tsconfig.tsbuildinfo"
|
|
43
|
+
},
|
|
44
|
+
"main": "./dist/index.js",
|
|
45
|
+
"types": "./dist/index.d.ts"
|
|
46
|
+
}
|