wabe 0.5.2 → 0.5.4
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/README.md +2 -0
- package/dist/index.d.ts +261 -99
- package/dist/index.js +3502 -3024
- package/generated/schema.graphql +348 -9
- package/generated/wabe.ts +405 -9
- package/package.json +2 -2
- package/dist/generated/wabe.d.ts +0 -1352
package/generated/schema.graphql
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
"""Phone custom scalar type"""
|
|
2
2
|
scalar Phone
|
|
3
3
|
|
|
4
|
+
enum RoleEnum {
|
|
5
|
+
Admin
|
|
6
|
+
Client
|
|
7
|
+
}
|
|
8
|
+
|
|
4
9
|
enum AuthenticationProvider {
|
|
5
|
-
|
|
10
|
+
google
|
|
11
|
+
emailPassword
|
|
6
12
|
}
|
|
7
13
|
|
|
8
14
|
enum SecondaryFactor {
|
|
@@ -504,18 +510,116 @@ input RoleRelationInput {
|
|
|
504
510
|
createAndAdd: [RoleCreateFieldsInput!]
|
|
505
511
|
}
|
|
506
512
|
|
|
513
|
+
type Payment {
|
|
514
|
+
id: ID!
|
|
515
|
+
user: User
|
|
516
|
+
amount: Int!
|
|
517
|
+
currency: Currency!
|
|
518
|
+
acl: PaymentACLObject
|
|
519
|
+
createdAt: Date
|
|
520
|
+
updatedAt: Date
|
|
521
|
+
search: [String]
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
type PaymentACLObject {
|
|
525
|
+
users: [PaymentACLObjectUsersACL]
|
|
526
|
+
roles: [PaymentACLObjectRolesACL]
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
type PaymentACLObjectUsersACL {
|
|
530
|
+
userId: String!
|
|
531
|
+
read: Boolean!
|
|
532
|
+
write: Boolean!
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
type PaymentACLObjectRolesACL {
|
|
536
|
+
roleId: String!
|
|
537
|
+
read: Boolean!
|
|
538
|
+
write: Boolean!
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
input PaymentInput {
|
|
542
|
+
user: UserPointerInput
|
|
543
|
+
amount: Int!
|
|
544
|
+
currency: Currency!
|
|
545
|
+
acl: PaymentACLObjectInput
|
|
546
|
+
createdAt: Date
|
|
547
|
+
updatedAt: Date
|
|
548
|
+
search: [String]
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
input PaymentACLObjectInput {
|
|
552
|
+
users: [PaymentACLObjectUsersACLInput]
|
|
553
|
+
roles: [PaymentACLObjectRolesACLInput]
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
input PaymentACLObjectUsersACLInput {
|
|
557
|
+
userId: String!
|
|
558
|
+
read: Boolean!
|
|
559
|
+
write: Boolean!
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
input PaymentACLObjectRolesACLInput {
|
|
563
|
+
roleId: String!
|
|
564
|
+
read: Boolean!
|
|
565
|
+
write: Boolean!
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
"""Input to link an object to a pointer Payment"""
|
|
569
|
+
input PaymentPointerInput {
|
|
570
|
+
unlink: Boolean
|
|
571
|
+
link: ID
|
|
572
|
+
createAndLink: PaymentCreateFieldsInput
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
input PaymentCreateFieldsInput {
|
|
576
|
+
user: UserPointerInput
|
|
577
|
+
amount: Int
|
|
578
|
+
currency: Currency
|
|
579
|
+
acl: PaymentACLObjectCreateFieldsInput
|
|
580
|
+
createdAt: Date
|
|
581
|
+
updatedAt: Date
|
|
582
|
+
search: [String]
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
input PaymentACLObjectCreateFieldsInput {
|
|
586
|
+
users: [PaymentACLObjectUsersACLCreateFieldsInput]
|
|
587
|
+
roles: [PaymentACLObjectRolesACLCreateFieldsInput]
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
input PaymentACLObjectUsersACLCreateFieldsInput {
|
|
591
|
+
userId: String
|
|
592
|
+
read: Boolean
|
|
593
|
+
write: Boolean
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
input PaymentACLObjectRolesACLCreateFieldsInput {
|
|
597
|
+
roleId: String
|
|
598
|
+
read: Boolean
|
|
599
|
+
write: Boolean
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
"""Input to add a relation to the class Payment"""
|
|
603
|
+
input PaymentRelationInput {
|
|
604
|
+
add: [ID!]
|
|
605
|
+
remove: [ID!]
|
|
606
|
+
createAndAdd: [PaymentCreateFieldsInput!]
|
|
607
|
+
}
|
|
608
|
+
|
|
507
609
|
type Query {
|
|
508
610
|
"""User class"""
|
|
509
611
|
user(id: ID): User
|
|
510
612
|
|
|
511
613
|
"""User class"""
|
|
512
|
-
users(where: UserWhereInput, offset: Int, first: Int): UserConnection!
|
|
614
|
+
users(where: UserWhereInput, offset: Int, first: Int, order: [UserOrder!]): UserConnection!
|
|
513
615
|
post(id: ID): Post
|
|
514
|
-
posts(where: PostWhereInput, offset: Int, first: Int): PostConnection!
|
|
616
|
+
posts(where: PostWhereInput, offset: Int, first: Int, order: [PostOrder!]): PostConnection!
|
|
515
617
|
_session(id: ID): _Session
|
|
516
|
-
_sessions(where: _SessionWhereInput, offset: Int, first: Int): _SessionConnection!
|
|
618
|
+
_sessions(where: _SessionWhereInput, offset: Int, first: Int, order: [_SessionOrder!]): _SessionConnection!
|
|
517
619
|
role(id: ID): Role
|
|
518
|
-
roles(where: RoleWhereInput, offset: Int, first: Int): RoleConnection!
|
|
620
|
+
roles(where: RoleWhereInput, offset: Int, first: Int, order: [RoleOrder!]): RoleConnection!
|
|
621
|
+
payment(id: ID): Payment
|
|
622
|
+
payments(where: PaymentWhereInput, offset: Int, first: Int, order: [PaymentOrder!]): PaymentConnection!
|
|
519
623
|
|
|
520
624
|
"""Hello world description"""
|
|
521
625
|
helloWorld(name: String!): String
|
|
@@ -730,6 +834,35 @@ input _SessionACLObjectRolesACLWhereInput {
|
|
|
730
834
|
AND: [_SessionACLObjectRolesACLWhereInput]
|
|
731
835
|
}
|
|
732
836
|
|
|
837
|
+
enum UserOrder {
|
|
838
|
+
name_ASC
|
|
839
|
+
name_DESC
|
|
840
|
+
age_ASC
|
|
841
|
+
age_DESC
|
|
842
|
+
acl_ASC
|
|
843
|
+
acl_DESC
|
|
844
|
+
createdAt_ASC
|
|
845
|
+
createdAt_DESC
|
|
846
|
+
updatedAt_ASC
|
|
847
|
+
updatedAt_DESC
|
|
848
|
+
search_ASC
|
|
849
|
+
search_DESC
|
|
850
|
+
authentication_ASC
|
|
851
|
+
authentication_DESC
|
|
852
|
+
provider_ASC
|
|
853
|
+
provider_DESC
|
|
854
|
+
isOauth_ASC
|
|
855
|
+
isOauth_DESC
|
|
856
|
+
email_ASC
|
|
857
|
+
email_DESC
|
|
858
|
+
verifiedEmail_ASC
|
|
859
|
+
verifiedEmail_DESC
|
|
860
|
+
role_ASC
|
|
861
|
+
role_DESC
|
|
862
|
+
sessions_ASC
|
|
863
|
+
sessions_DESC
|
|
864
|
+
}
|
|
865
|
+
|
|
733
866
|
type PostConnection {
|
|
734
867
|
totalCount: Int
|
|
735
868
|
edges: [PostEdge]
|
|
@@ -781,6 +914,42 @@ input PostACLObjectRolesACLWhereInput {
|
|
|
781
914
|
AND: [PostACLObjectRolesACLWhereInput]
|
|
782
915
|
}
|
|
783
916
|
|
|
917
|
+
enum PostOrder {
|
|
918
|
+
name_ASC
|
|
919
|
+
name_DESC
|
|
920
|
+
test_ASC
|
|
921
|
+
test_DESC
|
|
922
|
+
acl_ASC
|
|
923
|
+
acl_DESC
|
|
924
|
+
createdAt_ASC
|
|
925
|
+
createdAt_DESC
|
|
926
|
+
updatedAt_ASC
|
|
927
|
+
updatedAt_DESC
|
|
928
|
+
search_ASC
|
|
929
|
+
search_DESC
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
enum _SessionOrder {
|
|
933
|
+
user_ASC
|
|
934
|
+
user_DESC
|
|
935
|
+
accessToken_ASC
|
|
936
|
+
accessToken_DESC
|
|
937
|
+
accessTokenExpiresAt_ASC
|
|
938
|
+
accessTokenExpiresAt_DESC
|
|
939
|
+
refreshToken_ASC
|
|
940
|
+
refreshToken_DESC
|
|
941
|
+
refreshTokenExpiresAt_ASC
|
|
942
|
+
refreshTokenExpiresAt_DESC
|
|
943
|
+
acl_ASC
|
|
944
|
+
acl_DESC
|
|
945
|
+
createdAt_ASC
|
|
946
|
+
createdAt_DESC
|
|
947
|
+
updatedAt_ASC
|
|
948
|
+
updatedAt_DESC
|
|
949
|
+
search_ASC
|
|
950
|
+
search_DESC
|
|
951
|
+
}
|
|
952
|
+
|
|
784
953
|
type RoleConnection {
|
|
785
954
|
totalCount: Int
|
|
786
955
|
edges: [RoleEdge]
|
|
@@ -790,6 +959,83 @@ type RoleEdge {
|
|
|
790
959
|
node: Role!
|
|
791
960
|
}
|
|
792
961
|
|
|
962
|
+
enum RoleOrder {
|
|
963
|
+
name_ASC
|
|
964
|
+
name_DESC
|
|
965
|
+
users_ASC
|
|
966
|
+
users_DESC
|
|
967
|
+
acl_ASC
|
|
968
|
+
acl_DESC
|
|
969
|
+
createdAt_ASC
|
|
970
|
+
createdAt_DESC
|
|
971
|
+
updatedAt_ASC
|
|
972
|
+
updatedAt_DESC
|
|
973
|
+
search_ASC
|
|
974
|
+
search_DESC
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
type PaymentConnection {
|
|
978
|
+
totalCount: Int
|
|
979
|
+
edges: [PaymentEdge]
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
type PaymentEdge {
|
|
983
|
+
node: Payment!
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
input PaymentWhereInput {
|
|
987
|
+
id: IdWhereInput
|
|
988
|
+
user: UserWhereInput
|
|
989
|
+
amount: IntWhereInput
|
|
990
|
+
currency: AnyWhereInput
|
|
991
|
+
acl: PaymentACLObjectWhereInput
|
|
992
|
+
createdAt: DateWhereInput
|
|
993
|
+
updatedAt: DateWhereInput
|
|
994
|
+
search: SearchWhereInput
|
|
995
|
+
OR: [PaymentWhereInput]
|
|
996
|
+
AND: [PaymentWhereInput]
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
input PaymentACLObjectWhereInput {
|
|
1000
|
+
users: [PaymentACLObjectUsersACLWhereInput]
|
|
1001
|
+
roles: [PaymentACLObjectRolesACLWhereInput]
|
|
1002
|
+
OR: [PaymentACLObjectWhereInput]
|
|
1003
|
+
AND: [PaymentACLObjectWhereInput]
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
input PaymentACLObjectUsersACLWhereInput {
|
|
1007
|
+
userId: StringWhereInput
|
|
1008
|
+
read: BooleanWhereInput
|
|
1009
|
+
write: BooleanWhereInput
|
|
1010
|
+
OR: [PaymentACLObjectUsersACLWhereInput]
|
|
1011
|
+
AND: [PaymentACLObjectUsersACLWhereInput]
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
input PaymentACLObjectRolesACLWhereInput {
|
|
1015
|
+
roleId: StringWhereInput
|
|
1016
|
+
read: BooleanWhereInput
|
|
1017
|
+
write: BooleanWhereInput
|
|
1018
|
+
OR: [PaymentACLObjectRolesACLWhereInput]
|
|
1019
|
+
AND: [PaymentACLObjectRolesACLWhereInput]
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
enum PaymentOrder {
|
|
1023
|
+
user_ASC
|
|
1024
|
+
user_DESC
|
|
1025
|
+
amount_ASC
|
|
1026
|
+
amount_DESC
|
|
1027
|
+
currency_ASC
|
|
1028
|
+
currency_DESC
|
|
1029
|
+
acl_ASC
|
|
1030
|
+
acl_DESC
|
|
1031
|
+
createdAt_ASC
|
|
1032
|
+
createdAt_DESC
|
|
1033
|
+
updatedAt_ASC
|
|
1034
|
+
updatedAt_DESC
|
|
1035
|
+
search_ASC
|
|
1036
|
+
search_DESC
|
|
1037
|
+
}
|
|
1038
|
+
|
|
793
1039
|
type MeOutput {
|
|
794
1040
|
user: User
|
|
795
1041
|
}
|
|
@@ -840,6 +1086,12 @@ type Mutation {
|
|
|
840
1086
|
updateRoles(input: UpdateRolesInput!): RoleConnection!
|
|
841
1087
|
deleteRole(input: DeleteRoleInput!): DeleteRolePayload
|
|
842
1088
|
deleteRoles(input: DeleteRolesInput!): RoleConnection!
|
|
1089
|
+
createPayment(input: CreatePaymentInput!): CreatePaymentPayload
|
|
1090
|
+
createPayments(input: CreatePaymentsInput!): PaymentConnection!
|
|
1091
|
+
updatePayment(input: UpdatePaymentInput!): UpdatePaymentPayload
|
|
1092
|
+
updatePayments(input: UpdatePaymentsInput!): PaymentConnection!
|
|
1093
|
+
deletePayment(input: DeletePaymentInput!): DeletePaymentPayload
|
|
1094
|
+
deletePayments(input: DeletePaymentsInput!): PaymentConnection!
|
|
843
1095
|
createMutation(input: CreateMutationInput!): Boolean!
|
|
844
1096
|
customMutation(input: CustomMutationInput!): Int
|
|
845
1097
|
secondCustomMutation(input: SecondCustomMutationInput!): Int
|
|
@@ -847,7 +1099,7 @@ type Mutation {
|
|
|
847
1099
|
"""
|
|
848
1100
|
Create a payment with the payment provider. Returns the url to redirect the user to pay
|
|
849
1101
|
"""
|
|
850
|
-
|
|
1102
|
+
makePayment(input: MakePaymentInput!): String
|
|
851
1103
|
cancelSubscription(input: CancelSubscriptionInput!): Boolean
|
|
852
1104
|
|
|
853
1105
|
"""Send basic email with text and html, returns the id of the email"""
|
|
@@ -872,6 +1124,7 @@ input CreateUsersInput {
|
|
|
872
1124
|
fields: [UserCreateFieldsInput]!
|
|
873
1125
|
offset: Int
|
|
874
1126
|
first: Int
|
|
1127
|
+
order: [UserOrder]
|
|
875
1128
|
}
|
|
876
1129
|
|
|
877
1130
|
type UpdateUserPayload {
|
|
@@ -939,6 +1192,7 @@ input UpdateUsersInput {
|
|
|
939
1192
|
where: UserWhereInput
|
|
940
1193
|
offset: Int
|
|
941
1194
|
first: Int
|
|
1195
|
+
order: [UserOrder]
|
|
942
1196
|
}
|
|
943
1197
|
|
|
944
1198
|
type DeleteUserPayload {
|
|
@@ -952,6 +1206,7 @@ input DeleteUserInput {
|
|
|
952
1206
|
|
|
953
1207
|
input DeleteUsersInput {
|
|
954
1208
|
where: UserWhereInput
|
|
1209
|
+
order: [UserOrder]
|
|
955
1210
|
}
|
|
956
1211
|
|
|
957
1212
|
type CreatePostPayload {
|
|
@@ -967,6 +1222,7 @@ input CreatePostsInput {
|
|
|
967
1222
|
fields: [PostCreateFieldsInput]!
|
|
968
1223
|
offset: Int
|
|
969
1224
|
first: Int
|
|
1225
|
+
order: [PostOrder]
|
|
970
1226
|
}
|
|
971
1227
|
|
|
972
1228
|
type UpdatePostPayload {
|
|
@@ -1010,6 +1266,7 @@ input UpdatePostsInput {
|
|
|
1010
1266
|
where: PostWhereInput
|
|
1011
1267
|
offset: Int
|
|
1012
1268
|
first: Int
|
|
1269
|
+
order: [PostOrder]
|
|
1013
1270
|
}
|
|
1014
1271
|
|
|
1015
1272
|
type DeletePostPayload {
|
|
@@ -1023,6 +1280,7 @@ input DeletePostInput {
|
|
|
1023
1280
|
|
|
1024
1281
|
input DeletePostsInput {
|
|
1025
1282
|
where: PostWhereInput
|
|
1283
|
+
order: [PostOrder]
|
|
1026
1284
|
}
|
|
1027
1285
|
|
|
1028
1286
|
type Create_SessionPayload {
|
|
@@ -1038,6 +1296,7 @@ input Create_SessionsInput {
|
|
|
1038
1296
|
fields: [_SessionCreateFieldsInput]!
|
|
1039
1297
|
offset: Int
|
|
1040
1298
|
first: Int
|
|
1299
|
+
order: [_SessionOrder]
|
|
1041
1300
|
}
|
|
1042
1301
|
|
|
1043
1302
|
type Update_SessionPayload {
|
|
@@ -1084,6 +1343,7 @@ input Update_SessionsInput {
|
|
|
1084
1343
|
where: _SessionWhereInput
|
|
1085
1344
|
offset: Int
|
|
1086
1345
|
first: Int
|
|
1346
|
+
order: [_SessionOrder]
|
|
1087
1347
|
}
|
|
1088
1348
|
|
|
1089
1349
|
type Delete_SessionPayload {
|
|
@@ -1097,6 +1357,7 @@ input Delete_SessionInput {
|
|
|
1097
1357
|
|
|
1098
1358
|
input Delete_SessionsInput {
|
|
1099
1359
|
where: _SessionWhereInput
|
|
1360
|
+
order: [_SessionOrder]
|
|
1100
1361
|
}
|
|
1101
1362
|
|
|
1102
1363
|
type CreateRolePayload {
|
|
@@ -1112,6 +1373,7 @@ input CreateRolesInput {
|
|
|
1112
1373
|
fields: [RoleCreateFieldsInput]!
|
|
1113
1374
|
offset: Int
|
|
1114
1375
|
first: Int
|
|
1376
|
+
order: [RoleOrder]
|
|
1115
1377
|
}
|
|
1116
1378
|
|
|
1117
1379
|
type UpdateRolePayload {
|
|
@@ -1155,6 +1417,7 @@ input UpdateRolesInput {
|
|
|
1155
1417
|
where: RoleWhereInput
|
|
1156
1418
|
offset: Int
|
|
1157
1419
|
first: Int
|
|
1420
|
+
order: [RoleOrder]
|
|
1158
1421
|
}
|
|
1159
1422
|
|
|
1160
1423
|
type DeleteRolePayload {
|
|
@@ -1168,6 +1431,82 @@ input DeleteRoleInput {
|
|
|
1168
1431
|
|
|
1169
1432
|
input DeleteRolesInput {
|
|
1170
1433
|
where: RoleWhereInput
|
|
1434
|
+
order: [RoleOrder]
|
|
1435
|
+
}
|
|
1436
|
+
|
|
1437
|
+
type CreatePaymentPayload {
|
|
1438
|
+
payment: Payment
|
|
1439
|
+
clientMutationId: String
|
|
1440
|
+
}
|
|
1441
|
+
|
|
1442
|
+
input CreatePaymentInput {
|
|
1443
|
+
fields: PaymentCreateFieldsInput
|
|
1444
|
+
}
|
|
1445
|
+
|
|
1446
|
+
input CreatePaymentsInput {
|
|
1447
|
+
fields: [PaymentCreateFieldsInput]!
|
|
1448
|
+
offset: Int
|
|
1449
|
+
first: Int
|
|
1450
|
+
order: [PaymentOrder]
|
|
1451
|
+
}
|
|
1452
|
+
|
|
1453
|
+
type UpdatePaymentPayload {
|
|
1454
|
+
payment: Payment
|
|
1455
|
+
clientMutationId: String
|
|
1456
|
+
}
|
|
1457
|
+
|
|
1458
|
+
input UpdatePaymentInput {
|
|
1459
|
+
id: ID
|
|
1460
|
+
fields: PaymentUpdateFieldsInput
|
|
1461
|
+
}
|
|
1462
|
+
|
|
1463
|
+
input PaymentUpdateFieldsInput {
|
|
1464
|
+
user: UserPointerInput
|
|
1465
|
+
amount: Int
|
|
1466
|
+
currency: Currency
|
|
1467
|
+
acl: PaymentACLObjectUpdateFieldsInput
|
|
1468
|
+
createdAt: Date
|
|
1469
|
+
updatedAt: Date
|
|
1470
|
+
search: [String]
|
|
1471
|
+
}
|
|
1472
|
+
|
|
1473
|
+
input PaymentACLObjectUpdateFieldsInput {
|
|
1474
|
+
users: [PaymentACLObjectUsersACLUpdateFieldsInput]
|
|
1475
|
+
roles: [PaymentACLObjectRolesACLUpdateFieldsInput]
|
|
1476
|
+
}
|
|
1477
|
+
|
|
1478
|
+
input PaymentACLObjectUsersACLUpdateFieldsInput {
|
|
1479
|
+
userId: String
|
|
1480
|
+
read: Boolean
|
|
1481
|
+
write: Boolean
|
|
1482
|
+
}
|
|
1483
|
+
|
|
1484
|
+
input PaymentACLObjectRolesACLUpdateFieldsInput {
|
|
1485
|
+
roleId: String
|
|
1486
|
+
read: Boolean
|
|
1487
|
+
write: Boolean
|
|
1488
|
+
}
|
|
1489
|
+
|
|
1490
|
+
input UpdatePaymentsInput {
|
|
1491
|
+
fields: PaymentUpdateFieldsInput
|
|
1492
|
+
where: PaymentWhereInput
|
|
1493
|
+
offset: Int
|
|
1494
|
+
first: Int
|
|
1495
|
+
order: [PaymentOrder]
|
|
1496
|
+
}
|
|
1497
|
+
|
|
1498
|
+
type DeletePaymentPayload {
|
|
1499
|
+
payment: Payment
|
|
1500
|
+
clientMutationId: String
|
|
1501
|
+
}
|
|
1502
|
+
|
|
1503
|
+
input DeletePaymentInput {
|
|
1504
|
+
id: ID
|
|
1505
|
+
}
|
|
1506
|
+
|
|
1507
|
+
input DeletePaymentsInput {
|
|
1508
|
+
where: PaymentWhereInput
|
|
1509
|
+
order: [PaymentOrder]
|
|
1171
1510
|
}
|
|
1172
1511
|
|
|
1173
1512
|
input CreateMutationInput {
|
|
@@ -1188,17 +1527,17 @@ input SecondCustomMutationSumInput {
|
|
|
1188
1527
|
b: Int!
|
|
1189
1528
|
}
|
|
1190
1529
|
|
|
1191
|
-
input
|
|
1530
|
+
input MakePaymentInput {
|
|
1192
1531
|
customerEmail: Email
|
|
1193
1532
|
paymentMode: PaymentMode!
|
|
1194
1533
|
successUrl: String!
|
|
1195
1534
|
cancelUrl: String!
|
|
1196
|
-
products: [
|
|
1535
|
+
products: [MakePaymentProductInput]!
|
|
1197
1536
|
automaticTax: Boolean
|
|
1198
1537
|
recurringInterval: PaymentReccuringInterval
|
|
1199
1538
|
}
|
|
1200
1539
|
|
|
1201
|
-
input
|
|
1540
|
+
input MakePaymentProductInput {
|
|
1202
1541
|
name: String!
|
|
1203
1542
|
unitAmount: Int!
|
|
1204
1543
|
quantity: Int!
|