wabe 0.5.2 → 0.5.3
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/dist/generated/wabe.d.ts +347 -7
- package/dist/index.d.ts +154 -23
- package/dist/index.js +298 -64
- package/generated/schema.graphql +346 -8
- package/generated/wabe.ts +403 -8
- package/package.json +1 -1
package/dist/generated/wabe.d.ts
CHANGED
|
@@ -73,6 +73,10 @@ export type Scalars = {
|
|
|
73
73
|
output: any;
|
|
74
74
|
};
|
|
75
75
|
};
|
|
76
|
+
export declare enum RoleEnum {
|
|
77
|
+
Admin = "Admin",
|
|
78
|
+
Client = "Client"
|
|
79
|
+
}
|
|
76
80
|
export declare enum AuthenticationProvider {
|
|
77
81
|
Google = "Google"
|
|
78
82
|
}
|
|
@@ -516,6 +520,92 @@ export type RoleRelationInput = {
|
|
|
516
520
|
remove?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
517
521
|
createAndAdd?: InputMaybe<Array<RoleCreateFieldsInput>>;
|
|
518
522
|
};
|
|
523
|
+
export type Payment = {
|
|
524
|
+
__typename?: 'Payment';
|
|
525
|
+
id: Scalars['ID']['output'];
|
|
526
|
+
user?: Maybe<User>;
|
|
527
|
+
amount: Scalars['Int']['output'];
|
|
528
|
+
currency: Currency;
|
|
529
|
+
acl?: Maybe<PaymentAclObject>;
|
|
530
|
+
createdAt?: Maybe<Scalars['Date']['output']>;
|
|
531
|
+
updatedAt?: Maybe<Scalars['Date']['output']>;
|
|
532
|
+
search?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
533
|
+
};
|
|
534
|
+
export type PaymentAclObject = {
|
|
535
|
+
__typename?: 'PaymentACLObject';
|
|
536
|
+
users?: Maybe<Array<Maybe<PaymentAclObjectUsersAcl>>>;
|
|
537
|
+
roles?: Maybe<Array<Maybe<PaymentAclObjectRolesAcl>>>;
|
|
538
|
+
};
|
|
539
|
+
export type PaymentAclObjectUsersAcl = {
|
|
540
|
+
__typename?: 'PaymentACLObjectUsersACL';
|
|
541
|
+
userId: Scalars['String']['output'];
|
|
542
|
+
read: Scalars['Boolean']['output'];
|
|
543
|
+
write: Scalars['Boolean']['output'];
|
|
544
|
+
};
|
|
545
|
+
export type PaymentAclObjectRolesAcl = {
|
|
546
|
+
__typename?: 'PaymentACLObjectRolesACL';
|
|
547
|
+
roleId: Scalars['String']['output'];
|
|
548
|
+
read: Scalars['Boolean']['output'];
|
|
549
|
+
write: Scalars['Boolean']['output'];
|
|
550
|
+
};
|
|
551
|
+
export type PaymentInput = {
|
|
552
|
+
user?: InputMaybe<UserPointerInput>;
|
|
553
|
+
amount: Scalars['Int']['input'];
|
|
554
|
+
currency: Currency;
|
|
555
|
+
acl?: InputMaybe<PaymentAclObjectInput>;
|
|
556
|
+
createdAt?: InputMaybe<Scalars['Date']['input']>;
|
|
557
|
+
updatedAt?: InputMaybe<Scalars['Date']['input']>;
|
|
558
|
+
search?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
559
|
+
};
|
|
560
|
+
export type PaymentAclObjectInput = {
|
|
561
|
+
users?: InputMaybe<Array<InputMaybe<PaymentAclObjectUsersAclInput>>>;
|
|
562
|
+
roles?: InputMaybe<Array<InputMaybe<PaymentAclObjectRolesAclInput>>>;
|
|
563
|
+
};
|
|
564
|
+
export type PaymentAclObjectUsersAclInput = {
|
|
565
|
+
userId: Scalars['String']['input'];
|
|
566
|
+
read: Scalars['Boolean']['input'];
|
|
567
|
+
write: Scalars['Boolean']['input'];
|
|
568
|
+
};
|
|
569
|
+
export type PaymentAclObjectRolesAclInput = {
|
|
570
|
+
roleId: Scalars['String']['input'];
|
|
571
|
+
read: Scalars['Boolean']['input'];
|
|
572
|
+
write: Scalars['Boolean']['input'];
|
|
573
|
+
};
|
|
574
|
+
/** Input to link an object to a pointer Payment */
|
|
575
|
+
export type PaymentPointerInput = {
|
|
576
|
+
unlink?: InputMaybe<Scalars['Boolean']['input']>;
|
|
577
|
+
link?: InputMaybe<Scalars['ID']['input']>;
|
|
578
|
+
createAndLink?: InputMaybe<PaymentCreateFieldsInput>;
|
|
579
|
+
};
|
|
580
|
+
export type PaymentCreateFieldsInput = {
|
|
581
|
+
user?: InputMaybe<UserPointerInput>;
|
|
582
|
+
amount?: InputMaybe<Scalars['Int']['input']>;
|
|
583
|
+
currency?: InputMaybe<Currency>;
|
|
584
|
+
acl?: InputMaybe<PaymentAclObjectCreateFieldsInput>;
|
|
585
|
+
createdAt?: InputMaybe<Scalars['Date']['input']>;
|
|
586
|
+
updatedAt?: InputMaybe<Scalars['Date']['input']>;
|
|
587
|
+
search?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
588
|
+
};
|
|
589
|
+
export type PaymentAclObjectCreateFieldsInput = {
|
|
590
|
+
users?: InputMaybe<Array<InputMaybe<PaymentAclObjectUsersAclCreateFieldsInput>>>;
|
|
591
|
+
roles?: InputMaybe<Array<InputMaybe<PaymentAclObjectRolesAclCreateFieldsInput>>>;
|
|
592
|
+
};
|
|
593
|
+
export type PaymentAclObjectUsersAclCreateFieldsInput = {
|
|
594
|
+
userId?: InputMaybe<Scalars['String']['input']>;
|
|
595
|
+
read?: InputMaybe<Scalars['Boolean']['input']>;
|
|
596
|
+
write?: InputMaybe<Scalars['Boolean']['input']>;
|
|
597
|
+
};
|
|
598
|
+
export type PaymentAclObjectRolesAclCreateFieldsInput = {
|
|
599
|
+
roleId?: InputMaybe<Scalars['String']['input']>;
|
|
600
|
+
read?: InputMaybe<Scalars['Boolean']['input']>;
|
|
601
|
+
write?: InputMaybe<Scalars['Boolean']['input']>;
|
|
602
|
+
};
|
|
603
|
+
/** Input to add a relation to the class Payment */
|
|
604
|
+
export type PaymentRelationInput = {
|
|
605
|
+
add?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
606
|
+
remove?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
607
|
+
createAndAdd?: InputMaybe<Array<PaymentCreateFieldsInput>>;
|
|
608
|
+
};
|
|
519
609
|
export type Query = {
|
|
520
610
|
__typename?: 'Query';
|
|
521
611
|
/** User class */
|
|
@@ -528,6 +618,8 @@ export type Query = {
|
|
|
528
618
|
_sessions: _SessionConnection;
|
|
529
619
|
role?: Maybe<Role>;
|
|
530
620
|
roles: RoleConnection;
|
|
621
|
+
payment?: Maybe<Payment>;
|
|
622
|
+
payments: PaymentConnection;
|
|
531
623
|
/** Hello world description */
|
|
532
624
|
helloWorld?: Maybe<Scalars['String']['output']>;
|
|
533
625
|
me?: Maybe<MeOutput>;
|
|
@@ -541,6 +633,7 @@ export type QueryUsersArgs = {
|
|
|
541
633
|
where?: InputMaybe<UserWhereInput>;
|
|
542
634
|
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
543
635
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
636
|
+
order?: InputMaybe<Array<UserOrder>>;
|
|
544
637
|
};
|
|
545
638
|
export type QueryPostArgs = {
|
|
546
639
|
id?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -549,6 +642,7 @@ export type QueryPostsArgs = {
|
|
|
549
642
|
where?: InputMaybe<PostWhereInput>;
|
|
550
643
|
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
551
644
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
645
|
+
order?: InputMaybe<Array<PostOrder>>;
|
|
552
646
|
};
|
|
553
647
|
export type Query_SessionArgs = {
|
|
554
648
|
id?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -557,6 +651,7 @@ export type Query_SessionsArgs = {
|
|
|
557
651
|
where?: InputMaybe<_SessionWhereInput>;
|
|
558
652
|
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
559
653
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
654
|
+
order?: InputMaybe<Array<_SessionOrder>>;
|
|
560
655
|
};
|
|
561
656
|
export type QueryRoleArgs = {
|
|
562
657
|
id?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -565,6 +660,16 @@ export type QueryRolesArgs = {
|
|
|
565
660
|
where?: InputMaybe<RoleWhereInput>;
|
|
566
661
|
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
567
662
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
663
|
+
order?: InputMaybe<Array<RoleOrder>>;
|
|
664
|
+
};
|
|
665
|
+
export type QueryPaymentArgs = {
|
|
666
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
|
667
|
+
};
|
|
668
|
+
export type QueryPaymentsArgs = {
|
|
669
|
+
where?: InputMaybe<PaymentWhereInput>;
|
|
670
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
671
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
672
|
+
order?: InputMaybe<Array<PaymentOrder>>;
|
|
568
673
|
};
|
|
569
674
|
export type QueryHelloWorldArgs = {
|
|
570
675
|
name: Scalars['String']['input'];
|
|
@@ -746,6 +851,34 @@ export type _SessionAclObjectRolesAclWhereInput = {
|
|
|
746
851
|
OR?: InputMaybe<Array<InputMaybe<_SessionAclObjectRolesAclWhereInput>>>;
|
|
747
852
|
AND?: InputMaybe<Array<InputMaybe<_SessionAclObjectRolesAclWhereInput>>>;
|
|
748
853
|
};
|
|
854
|
+
export declare enum UserOrder {
|
|
855
|
+
NameAsc = "name_ASC",
|
|
856
|
+
NameDesc = "name_DESC",
|
|
857
|
+
AgeAsc = "age_ASC",
|
|
858
|
+
AgeDesc = "age_DESC",
|
|
859
|
+
AclAsc = "acl_ASC",
|
|
860
|
+
AclDesc = "acl_DESC",
|
|
861
|
+
CreatedAtAsc = "createdAt_ASC",
|
|
862
|
+
CreatedAtDesc = "createdAt_DESC",
|
|
863
|
+
UpdatedAtAsc = "updatedAt_ASC",
|
|
864
|
+
UpdatedAtDesc = "updatedAt_DESC",
|
|
865
|
+
SearchAsc = "search_ASC",
|
|
866
|
+
SearchDesc = "search_DESC",
|
|
867
|
+
AuthenticationAsc = "authentication_ASC",
|
|
868
|
+
AuthenticationDesc = "authentication_DESC",
|
|
869
|
+
ProviderAsc = "provider_ASC",
|
|
870
|
+
ProviderDesc = "provider_DESC",
|
|
871
|
+
IsOauthAsc = "isOauth_ASC",
|
|
872
|
+
IsOauthDesc = "isOauth_DESC",
|
|
873
|
+
EmailAsc = "email_ASC",
|
|
874
|
+
EmailDesc = "email_DESC",
|
|
875
|
+
VerifiedEmailAsc = "verifiedEmail_ASC",
|
|
876
|
+
VerifiedEmailDesc = "verifiedEmail_DESC",
|
|
877
|
+
RoleAsc = "role_ASC",
|
|
878
|
+
RoleDesc = "role_DESC",
|
|
879
|
+
SessionsAsc = "sessions_ASC",
|
|
880
|
+
SessionsDesc = "sessions_DESC"
|
|
881
|
+
}
|
|
749
882
|
export type PostConnection = {
|
|
750
883
|
__typename?: 'PostConnection';
|
|
751
884
|
totalCount?: Maybe<Scalars['Int']['output']>;
|
|
@@ -792,6 +925,40 @@ export type PostAclObjectRolesAclWhereInput = {
|
|
|
792
925
|
OR?: InputMaybe<Array<InputMaybe<PostAclObjectRolesAclWhereInput>>>;
|
|
793
926
|
AND?: InputMaybe<Array<InputMaybe<PostAclObjectRolesAclWhereInput>>>;
|
|
794
927
|
};
|
|
928
|
+
export declare enum PostOrder {
|
|
929
|
+
NameAsc = "name_ASC",
|
|
930
|
+
NameDesc = "name_DESC",
|
|
931
|
+
TestAsc = "test_ASC",
|
|
932
|
+
TestDesc = "test_DESC",
|
|
933
|
+
AclAsc = "acl_ASC",
|
|
934
|
+
AclDesc = "acl_DESC",
|
|
935
|
+
CreatedAtAsc = "createdAt_ASC",
|
|
936
|
+
CreatedAtDesc = "createdAt_DESC",
|
|
937
|
+
UpdatedAtAsc = "updatedAt_ASC",
|
|
938
|
+
UpdatedAtDesc = "updatedAt_DESC",
|
|
939
|
+
SearchAsc = "search_ASC",
|
|
940
|
+
SearchDesc = "search_DESC"
|
|
941
|
+
}
|
|
942
|
+
export declare enum _SessionOrder {
|
|
943
|
+
UserAsc = "user_ASC",
|
|
944
|
+
UserDesc = "user_DESC",
|
|
945
|
+
AccessTokenAsc = "accessToken_ASC",
|
|
946
|
+
AccessTokenDesc = "accessToken_DESC",
|
|
947
|
+
AccessTokenExpiresAtAsc = "accessTokenExpiresAt_ASC",
|
|
948
|
+
AccessTokenExpiresAtDesc = "accessTokenExpiresAt_DESC",
|
|
949
|
+
RefreshTokenAsc = "refreshToken_ASC",
|
|
950
|
+
RefreshTokenDesc = "refreshToken_DESC",
|
|
951
|
+
RefreshTokenExpiresAtAsc = "refreshTokenExpiresAt_ASC",
|
|
952
|
+
RefreshTokenExpiresAtDesc = "refreshTokenExpiresAt_DESC",
|
|
953
|
+
AclAsc = "acl_ASC",
|
|
954
|
+
AclDesc = "acl_DESC",
|
|
955
|
+
CreatedAtAsc = "createdAt_ASC",
|
|
956
|
+
CreatedAtDesc = "createdAt_DESC",
|
|
957
|
+
UpdatedAtAsc = "updatedAt_ASC",
|
|
958
|
+
UpdatedAtDesc = "updatedAt_DESC",
|
|
959
|
+
SearchAsc = "search_ASC",
|
|
960
|
+
SearchDesc = "search_DESC"
|
|
961
|
+
}
|
|
795
962
|
export type RoleConnection = {
|
|
796
963
|
__typename?: 'RoleConnection';
|
|
797
964
|
totalCount?: Maybe<Scalars['Int']['output']>;
|
|
@@ -801,6 +968,77 @@ export type RoleEdge = {
|
|
|
801
968
|
__typename?: 'RoleEdge';
|
|
802
969
|
node: Role;
|
|
803
970
|
};
|
|
971
|
+
export declare enum RoleOrder {
|
|
972
|
+
NameAsc = "name_ASC",
|
|
973
|
+
NameDesc = "name_DESC",
|
|
974
|
+
UsersAsc = "users_ASC",
|
|
975
|
+
UsersDesc = "users_DESC",
|
|
976
|
+
AclAsc = "acl_ASC",
|
|
977
|
+
AclDesc = "acl_DESC",
|
|
978
|
+
CreatedAtAsc = "createdAt_ASC",
|
|
979
|
+
CreatedAtDesc = "createdAt_DESC",
|
|
980
|
+
UpdatedAtAsc = "updatedAt_ASC",
|
|
981
|
+
UpdatedAtDesc = "updatedAt_DESC",
|
|
982
|
+
SearchAsc = "search_ASC",
|
|
983
|
+
SearchDesc = "search_DESC"
|
|
984
|
+
}
|
|
985
|
+
export type PaymentConnection = {
|
|
986
|
+
__typename?: 'PaymentConnection';
|
|
987
|
+
totalCount?: Maybe<Scalars['Int']['output']>;
|
|
988
|
+
edges?: Maybe<Array<Maybe<PaymentEdge>>>;
|
|
989
|
+
};
|
|
990
|
+
export type PaymentEdge = {
|
|
991
|
+
__typename?: 'PaymentEdge';
|
|
992
|
+
node: Payment;
|
|
993
|
+
};
|
|
994
|
+
export type PaymentWhereInput = {
|
|
995
|
+
id?: InputMaybe<IdWhereInput>;
|
|
996
|
+
user?: InputMaybe<UserWhereInput>;
|
|
997
|
+
amount?: InputMaybe<IntWhereInput>;
|
|
998
|
+
currency?: InputMaybe<AnyWhereInput>;
|
|
999
|
+
acl?: InputMaybe<PaymentAclObjectWhereInput>;
|
|
1000
|
+
createdAt?: InputMaybe<DateWhereInput>;
|
|
1001
|
+
updatedAt?: InputMaybe<DateWhereInput>;
|
|
1002
|
+
search?: InputMaybe<SearchWhereInput>;
|
|
1003
|
+
OR?: InputMaybe<Array<InputMaybe<PaymentWhereInput>>>;
|
|
1004
|
+
AND?: InputMaybe<Array<InputMaybe<PaymentWhereInput>>>;
|
|
1005
|
+
};
|
|
1006
|
+
export type PaymentAclObjectWhereInput = {
|
|
1007
|
+
users?: InputMaybe<Array<InputMaybe<PaymentAclObjectUsersAclWhereInput>>>;
|
|
1008
|
+
roles?: InputMaybe<Array<InputMaybe<PaymentAclObjectRolesAclWhereInput>>>;
|
|
1009
|
+
OR?: InputMaybe<Array<InputMaybe<PaymentAclObjectWhereInput>>>;
|
|
1010
|
+
AND?: InputMaybe<Array<InputMaybe<PaymentAclObjectWhereInput>>>;
|
|
1011
|
+
};
|
|
1012
|
+
export type PaymentAclObjectUsersAclWhereInput = {
|
|
1013
|
+
userId?: InputMaybe<StringWhereInput>;
|
|
1014
|
+
read?: InputMaybe<BooleanWhereInput>;
|
|
1015
|
+
write?: InputMaybe<BooleanWhereInput>;
|
|
1016
|
+
OR?: InputMaybe<Array<InputMaybe<PaymentAclObjectUsersAclWhereInput>>>;
|
|
1017
|
+
AND?: InputMaybe<Array<InputMaybe<PaymentAclObjectUsersAclWhereInput>>>;
|
|
1018
|
+
};
|
|
1019
|
+
export type PaymentAclObjectRolesAclWhereInput = {
|
|
1020
|
+
roleId?: InputMaybe<StringWhereInput>;
|
|
1021
|
+
read?: InputMaybe<BooleanWhereInput>;
|
|
1022
|
+
write?: InputMaybe<BooleanWhereInput>;
|
|
1023
|
+
OR?: InputMaybe<Array<InputMaybe<PaymentAclObjectRolesAclWhereInput>>>;
|
|
1024
|
+
AND?: InputMaybe<Array<InputMaybe<PaymentAclObjectRolesAclWhereInput>>>;
|
|
1025
|
+
};
|
|
1026
|
+
export declare enum PaymentOrder {
|
|
1027
|
+
UserAsc = "user_ASC",
|
|
1028
|
+
UserDesc = "user_DESC",
|
|
1029
|
+
AmountAsc = "amount_ASC",
|
|
1030
|
+
AmountDesc = "amount_DESC",
|
|
1031
|
+
CurrencyAsc = "currency_ASC",
|
|
1032
|
+
CurrencyDesc = "currency_DESC",
|
|
1033
|
+
AclAsc = "acl_ASC",
|
|
1034
|
+
AclDesc = "acl_DESC",
|
|
1035
|
+
CreatedAtAsc = "createdAt_ASC",
|
|
1036
|
+
CreatedAtDesc = "createdAt_DESC",
|
|
1037
|
+
UpdatedAtAsc = "updatedAt_ASC",
|
|
1038
|
+
UpdatedAtDesc = "updatedAt_DESC",
|
|
1039
|
+
SearchAsc = "search_ASC",
|
|
1040
|
+
SearchDesc = "search_DESC"
|
|
1041
|
+
}
|
|
804
1042
|
export type MeOutput = {
|
|
805
1043
|
__typename?: 'MeOutput';
|
|
806
1044
|
user?: Maybe<User>;
|
|
@@ -847,11 +1085,17 @@ export type Mutation = {
|
|
|
847
1085
|
updateRoles: RoleConnection;
|
|
848
1086
|
deleteRole?: Maybe<DeleteRolePayload>;
|
|
849
1087
|
deleteRoles: RoleConnection;
|
|
1088
|
+
createPayment?: Maybe<CreatePaymentPayload>;
|
|
1089
|
+
createPayments: PaymentConnection;
|
|
1090
|
+
updatePayment?: Maybe<UpdatePaymentPayload>;
|
|
1091
|
+
updatePayments: PaymentConnection;
|
|
1092
|
+
deletePayment?: Maybe<DeletePaymentPayload>;
|
|
1093
|
+
deletePayments: PaymentConnection;
|
|
850
1094
|
createMutation: Scalars['Boolean']['output'];
|
|
851
1095
|
customMutation?: Maybe<Scalars['Int']['output']>;
|
|
852
1096
|
secondCustomMutation?: Maybe<Scalars['Int']['output']>;
|
|
853
1097
|
/** Create a payment with the payment provider. Returns the url to redirect the user to pay */
|
|
854
|
-
|
|
1098
|
+
makePayment?: Maybe<Scalars['String']['output']>;
|
|
855
1099
|
cancelSubscription?: Maybe<Scalars['Boolean']['output']>;
|
|
856
1100
|
/** Send basic email with text and html, returns the id of the email */
|
|
857
1101
|
sendEmail?: Maybe<Scalars['String']['output']>;
|
|
@@ -933,6 +1177,24 @@ export type MutationDeleteRoleArgs = {
|
|
|
933
1177
|
export type MutationDeleteRolesArgs = {
|
|
934
1178
|
input: DeleteRolesInput;
|
|
935
1179
|
};
|
|
1180
|
+
export type MutationCreatePaymentArgs = {
|
|
1181
|
+
input: CreatePaymentInput;
|
|
1182
|
+
};
|
|
1183
|
+
export type MutationCreatePaymentsArgs = {
|
|
1184
|
+
input: CreatePaymentsInput;
|
|
1185
|
+
};
|
|
1186
|
+
export type MutationUpdatePaymentArgs = {
|
|
1187
|
+
input: UpdatePaymentInput;
|
|
1188
|
+
};
|
|
1189
|
+
export type MutationUpdatePaymentsArgs = {
|
|
1190
|
+
input: UpdatePaymentsInput;
|
|
1191
|
+
};
|
|
1192
|
+
export type MutationDeletePaymentArgs = {
|
|
1193
|
+
input: DeletePaymentInput;
|
|
1194
|
+
};
|
|
1195
|
+
export type MutationDeletePaymentsArgs = {
|
|
1196
|
+
input: DeletePaymentsInput;
|
|
1197
|
+
};
|
|
936
1198
|
export type MutationCreateMutationArgs = {
|
|
937
1199
|
input: CreateMutationInput;
|
|
938
1200
|
};
|
|
@@ -942,8 +1204,8 @@ export type MutationCustomMutationArgs = {
|
|
|
942
1204
|
export type MutationSecondCustomMutationArgs = {
|
|
943
1205
|
input: SecondCustomMutationInput;
|
|
944
1206
|
};
|
|
945
|
-
export type
|
|
946
|
-
input:
|
|
1207
|
+
export type MutationMakePaymentArgs = {
|
|
1208
|
+
input: MakePaymentInput;
|
|
947
1209
|
};
|
|
948
1210
|
export type MutationCancelSubscriptionArgs = {
|
|
949
1211
|
input: CancelSubscriptionInput;
|
|
@@ -975,6 +1237,7 @@ export type CreateUsersInput = {
|
|
|
975
1237
|
fields: Array<InputMaybe<UserCreateFieldsInput>>;
|
|
976
1238
|
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
977
1239
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1240
|
+
order?: InputMaybe<Array<InputMaybe<UserOrder>>>;
|
|
978
1241
|
};
|
|
979
1242
|
export type UpdateUserPayload = {
|
|
980
1243
|
__typename?: 'UpdateUserPayload';
|
|
@@ -1033,6 +1296,7 @@ export type UpdateUsersInput = {
|
|
|
1033
1296
|
where?: InputMaybe<UserWhereInput>;
|
|
1034
1297
|
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
1035
1298
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1299
|
+
order?: InputMaybe<Array<InputMaybe<UserOrder>>>;
|
|
1036
1300
|
};
|
|
1037
1301
|
export type DeleteUserPayload = {
|
|
1038
1302
|
__typename?: 'DeleteUserPayload';
|
|
@@ -1044,6 +1308,7 @@ export type DeleteUserInput = {
|
|
|
1044
1308
|
};
|
|
1045
1309
|
export type DeleteUsersInput = {
|
|
1046
1310
|
where?: InputMaybe<UserWhereInput>;
|
|
1311
|
+
order?: InputMaybe<Array<InputMaybe<UserOrder>>>;
|
|
1047
1312
|
};
|
|
1048
1313
|
export type CreatePostPayload = {
|
|
1049
1314
|
__typename?: 'CreatePostPayload';
|
|
@@ -1057,6 +1322,7 @@ export type CreatePostsInput = {
|
|
|
1057
1322
|
fields: Array<InputMaybe<PostCreateFieldsInput>>;
|
|
1058
1323
|
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
1059
1324
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1325
|
+
order?: InputMaybe<Array<InputMaybe<PostOrder>>>;
|
|
1060
1326
|
};
|
|
1061
1327
|
export type UpdatePostPayload = {
|
|
1062
1328
|
__typename?: 'UpdatePostPayload';
|
|
@@ -1094,6 +1360,7 @@ export type UpdatePostsInput = {
|
|
|
1094
1360
|
where?: InputMaybe<PostWhereInput>;
|
|
1095
1361
|
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
1096
1362
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1363
|
+
order?: InputMaybe<Array<InputMaybe<PostOrder>>>;
|
|
1097
1364
|
};
|
|
1098
1365
|
export type DeletePostPayload = {
|
|
1099
1366
|
__typename?: 'DeletePostPayload';
|
|
@@ -1105,6 +1372,7 @@ export type DeletePostInput = {
|
|
|
1105
1372
|
};
|
|
1106
1373
|
export type DeletePostsInput = {
|
|
1107
1374
|
where?: InputMaybe<PostWhereInput>;
|
|
1375
|
+
order?: InputMaybe<Array<InputMaybe<PostOrder>>>;
|
|
1108
1376
|
};
|
|
1109
1377
|
export type Create_SessionPayload = {
|
|
1110
1378
|
__typename?: 'Create_SessionPayload';
|
|
@@ -1118,6 +1386,7 @@ export type Create_SessionsInput = {
|
|
|
1118
1386
|
fields: Array<InputMaybe<_SessionCreateFieldsInput>>;
|
|
1119
1387
|
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
1120
1388
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1389
|
+
order?: InputMaybe<Array<InputMaybe<_SessionOrder>>>;
|
|
1121
1390
|
};
|
|
1122
1391
|
export type Update_SessionPayload = {
|
|
1123
1392
|
__typename?: 'Update_SessionPayload';
|
|
@@ -1158,6 +1427,7 @@ export type Update_SessionsInput = {
|
|
|
1158
1427
|
where?: InputMaybe<_SessionWhereInput>;
|
|
1159
1428
|
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
1160
1429
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1430
|
+
order?: InputMaybe<Array<InputMaybe<_SessionOrder>>>;
|
|
1161
1431
|
};
|
|
1162
1432
|
export type Delete_SessionPayload = {
|
|
1163
1433
|
__typename?: 'Delete_SessionPayload';
|
|
@@ -1169,6 +1439,7 @@ export type Delete_SessionInput = {
|
|
|
1169
1439
|
};
|
|
1170
1440
|
export type Delete_SessionsInput = {
|
|
1171
1441
|
where?: InputMaybe<_SessionWhereInput>;
|
|
1442
|
+
order?: InputMaybe<Array<InputMaybe<_SessionOrder>>>;
|
|
1172
1443
|
};
|
|
1173
1444
|
export type CreateRolePayload = {
|
|
1174
1445
|
__typename?: 'CreateRolePayload';
|
|
@@ -1182,6 +1453,7 @@ export type CreateRolesInput = {
|
|
|
1182
1453
|
fields: Array<InputMaybe<RoleCreateFieldsInput>>;
|
|
1183
1454
|
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
1184
1455
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1456
|
+
order?: InputMaybe<Array<InputMaybe<RoleOrder>>>;
|
|
1185
1457
|
};
|
|
1186
1458
|
export type UpdateRolePayload = {
|
|
1187
1459
|
__typename?: 'UpdateRolePayload';
|
|
@@ -1219,6 +1491,7 @@ export type UpdateRolesInput = {
|
|
|
1219
1491
|
where?: InputMaybe<RoleWhereInput>;
|
|
1220
1492
|
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
1221
1493
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1494
|
+
order?: InputMaybe<Array<InputMaybe<RoleOrder>>>;
|
|
1222
1495
|
};
|
|
1223
1496
|
export type DeleteRolePayload = {
|
|
1224
1497
|
__typename?: 'DeleteRolePayload';
|
|
@@ -1230,6 +1503,72 @@ export type DeleteRoleInput = {
|
|
|
1230
1503
|
};
|
|
1231
1504
|
export type DeleteRolesInput = {
|
|
1232
1505
|
where?: InputMaybe<RoleWhereInput>;
|
|
1506
|
+
order?: InputMaybe<Array<InputMaybe<RoleOrder>>>;
|
|
1507
|
+
};
|
|
1508
|
+
export type CreatePaymentPayload = {
|
|
1509
|
+
__typename?: 'CreatePaymentPayload';
|
|
1510
|
+
payment?: Maybe<Payment>;
|
|
1511
|
+
clientMutationId?: Maybe<Scalars['String']['output']>;
|
|
1512
|
+
};
|
|
1513
|
+
export type CreatePaymentInput = {
|
|
1514
|
+
fields?: InputMaybe<PaymentCreateFieldsInput>;
|
|
1515
|
+
};
|
|
1516
|
+
export type CreatePaymentsInput = {
|
|
1517
|
+
fields: Array<InputMaybe<PaymentCreateFieldsInput>>;
|
|
1518
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
1519
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1520
|
+
order?: InputMaybe<Array<InputMaybe<PaymentOrder>>>;
|
|
1521
|
+
};
|
|
1522
|
+
export type UpdatePaymentPayload = {
|
|
1523
|
+
__typename?: 'UpdatePaymentPayload';
|
|
1524
|
+
payment?: Maybe<Payment>;
|
|
1525
|
+
clientMutationId?: Maybe<Scalars['String']['output']>;
|
|
1526
|
+
};
|
|
1527
|
+
export type UpdatePaymentInput = {
|
|
1528
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
|
1529
|
+
fields?: InputMaybe<PaymentUpdateFieldsInput>;
|
|
1530
|
+
};
|
|
1531
|
+
export type PaymentUpdateFieldsInput = {
|
|
1532
|
+
user?: InputMaybe<UserPointerInput>;
|
|
1533
|
+
amount?: InputMaybe<Scalars['Int']['input']>;
|
|
1534
|
+
currency?: InputMaybe<Currency>;
|
|
1535
|
+
acl?: InputMaybe<PaymentAclObjectUpdateFieldsInput>;
|
|
1536
|
+
createdAt?: InputMaybe<Scalars['Date']['input']>;
|
|
1537
|
+
updatedAt?: InputMaybe<Scalars['Date']['input']>;
|
|
1538
|
+
search?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
1539
|
+
};
|
|
1540
|
+
export type PaymentAclObjectUpdateFieldsInput = {
|
|
1541
|
+
users?: InputMaybe<Array<InputMaybe<PaymentAclObjectUsersAclUpdateFieldsInput>>>;
|
|
1542
|
+
roles?: InputMaybe<Array<InputMaybe<PaymentAclObjectRolesAclUpdateFieldsInput>>>;
|
|
1543
|
+
};
|
|
1544
|
+
export type PaymentAclObjectUsersAclUpdateFieldsInput = {
|
|
1545
|
+
userId?: InputMaybe<Scalars['String']['input']>;
|
|
1546
|
+
read?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1547
|
+
write?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1548
|
+
};
|
|
1549
|
+
export type PaymentAclObjectRolesAclUpdateFieldsInput = {
|
|
1550
|
+
roleId?: InputMaybe<Scalars['String']['input']>;
|
|
1551
|
+
read?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1552
|
+
write?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1553
|
+
};
|
|
1554
|
+
export type UpdatePaymentsInput = {
|
|
1555
|
+
fields?: InputMaybe<PaymentUpdateFieldsInput>;
|
|
1556
|
+
where?: InputMaybe<PaymentWhereInput>;
|
|
1557
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
1558
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1559
|
+
order?: InputMaybe<Array<InputMaybe<PaymentOrder>>>;
|
|
1560
|
+
};
|
|
1561
|
+
export type DeletePaymentPayload = {
|
|
1562
|
+
__typename?: 'DeletePaymentPayload';
|
|
1563
|
+
payment?: Maybe<Payment>;
|
|
1564
|
+
clientMutationId?: Maybe<Scalars['String']['output']>;
|
|
1565
|
+
};
|
|
1566
|
+
export type DeletePaymentInput = {
|
|
1567
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
|
1568
|
+
};
|
|
1569
|
+
export type DeletePaymentsInput = {
|
|
1570
|
+
where?: InputMaybe<PaymentWhereInput>;
|
|
1571
|
+
order?: InputMaybe<Array<InputMaybe<PaymentOrder>>>;
|
|
1233
1572
|
};
|
|
1234
1573
|
export type CreateMutationInput = {
|
|
1235
1574
|
name: Scalars['Int']['input'];
|
|
@@ -1245,16 +1584,16 @@ export type SecondCustomMutationSumInput = {
|
|
|
1245
1584
|
a: Scalars['Int']['input'];
|
|
1246
1585
|
b: Scalars['Int']['input'];
|
|
1247
1586
|
};
|
|
1248
|
-
export type
|
|
1587
|
+
export type MakePaymentInput = {
|
|
1249
1588
|
customerEmail?: InputMaybe<Scalars['Email']['input']>;
|
|
1250
1589
|
paymentMode: PaymentMode;
|
|
1251
1590
|
successUrl: Scalars['String']['input'];
|
|
1252
1591
|
cancelUrl: Scalars['String']['input'];
|
|
1253
|
-
products: Array<InputMaybe<
|
|
1592
|
+
products: Array<InputMaybe<MakePaymentProductInput>>;
|
|
1254
1593
|
automaticTax?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1255
1594
|
recurringInterval?: InputMaybe<PaymentReccuringInterval>;
|
|
1256
1595
|
};
|
|
1257
|
-
export type
|
|
1596
|
+
export type MakePaymentProductInput = {
|
|
1258
1597
|
name: Scalars['String']['input'];
|
|
1259
1598
|
unitAmount: Scalars['Int']['input'];
|
|
1260
1599
|
quantity: Scalars['Int']['input'];
|
|
@@ -1343,10 +1682,11 @@ export type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, st
|
|
|
1343
1682
|
export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {};
|
|
1344
1683
|
export type Sdk = ReturnType<typeof getSdk>;
|
|
1345
1684
|
export type WabeSchemaScalars = "Phone";
|
|
1346
|
-
export type WabeSchemaEnums = "AuthenticationProvider" | "SecondaryFactor" | "PaymentMode" | "PaymentReccuringInterval" | "Currency";
|
|
1685
|
+
export type WabeSchemaEnums = "RoleEnum" | "AuthenticationProvider" | "SecondaryFactor" | "PaymentMode" | "PaymentReccuringInterval" | "Currency";
|
|
1347
1686
|
export type WabeSchemaTypes = {
|
|
1348
1687
|
User: User;
|
|
1349
1688
|
Post: Post;
|
|
1350
1689
|
_Session: _Session;
|
|
1351
1690
|
Role: Role;
|
|
1691
|
+
Payment: Payment;
|
|
1352
1692
|
};
|