File tree Expand file tree Collapse file tree 5 files changed +24
-147
lines changed Expand file tree Collapse file tree 5 files changed +24
-147
lines changed Original file line number Diff line number Diff line change @@ -292,10 +292,6 @@ structure ShareContractInput {
292
292
emailsToRemove : EmailList
293
293
}
294
294
295
- list EmailList {
296
- member : String
297
- }
298
-
299
295
structure ShareContractOutput {
300
296
@required
301
297
success : Boolean
@@ -322,7 +318,7 @@ structure SharedUserDetails {
322
318
userId : UserId
323
319
324
320
@required
325
- email : String
321
+ email : Email
326
322
327
323
@required
328
324
sharedTime : Timestamp
Original file line number Diff line number Diff line change @@ -22,12 +22,6 @@ service EqualIQ {
22
22
ShareContract
23
23
GetContractReadURL
24
24
25
- // signatures.smithy
26
- SignContract
27
- GetContractSignatures
28
- UpdateSignatureStatus
29
- DeleteContractSignature
30
-
31
25
// profiles.smithy
32
26
GetProfile
33
27
GetProfilePicture
@@ -70,21 +64,6 @@ structure PingOutput {
70
64
message : String
71
65
}
72
66
73
- // Shared types used across operations - keep these in main file for reference
74
-
75
- // Common patterns
76
- @mixin
77
- @pattern (" ^[A-Za-z0-9-]+$" )
78
- string UuidLikeMixin
79
-
80
- // Common structures
81
- document Document
82
-
83
- // Generics
84
- list StringList {
85
- member : String
86
- }
87
-
88
67
// Error structures
89
68
@error (" client" )
90
69
structure AuthenticationError {
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ structure UserProfile {
90
90
firstName : String
91
91
lastName : String
92
92
displayName : String
93
- email : String
93
+ email : Email
94
94
accountType : AccountType
95
95
bio : String
96
96
}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ $ version : " 2"
2
+
3
+ namespace equaliq
4
+
5
+ // Shared types used across operations - keep these in main file for reference
6
+
7
+ // Common patterns
8
+ @mixin
9
+ @pattern (" ^[A-Za-z0-9-]+$" )
10
+ string UuidLikeMixin
11
+
12
+ @pattern (" ^[\\ w-\\ .]+@[\\ w-\\ .]+\\ .+[\\ w-]{1,63}$" )
13
+ string Email
14
+
15
+ // Generics
16
+ list StringList {
17
+ member : String
18
+ }
19
+
20
+ list EmailList {
21
+ member : Email
22
+ }
You can’t perform that action at this time.
0 commit comments