wabe 0.5.4 → 0.5.5

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.
@@ -606,6 +606,102 @@ input PaymentRelationInput {
606
606
  createAndAdd: [PaymentCreateFieldsInput!]
607
607
  }
608
608
 
609
+ type _InternalConfig {
610
+ id: ID!
611
+ configKey: String!
612
+ configValue: String!
613
+ description: String
614
+ acl: _InternalConfigACLObject
615
+ createdAt: Date
616
+ updatedAt: Date
617
+ search: [String]
618
+ }
619
+
620
+ type _InternalConfigACLObject {
621
+ users: [_InternalConfigACLObjectUsersACL]
622
+ roles: [_InternalConfigACLObjectRolesACL]
623
+ }
624
+
625
+ type _InternalConfigACLObjectUsersACL {
626
+ userId: String!
627
+ read: Boolean!
628
+ write: Boolean!
629
+ }
630
+
631
+ type _InternalConfigACLObjectRolesACL {
632
+ roleId: String!
633
+ read: Boolean!
634
+ write: Boolean!
635
+ }
636
+
637
+ input _InternalConfigInput {
638
+ configKey: String!
639
+ configValue: String!
640
+ description: String
641
+ acl: _InternalConfigACLObjectInput
642
+ createdAt: Date
643
+ updatedAt: Date
644
+ search: [String]
645
+ }
646
+
647
+ input _InternalConfigACLObjectInput {
648
+ users: [_InternalConfigACLObjectUsersACLInput]
649
+ roles: [_InternalConfigACLObjectRolesACLInput]
650
+ }
651
+
652
+ input _InternalConfigACLObjectUsersACLInput {
653
+ userId: String!
654
+ read: Boolean!
655
+ write: Boolean!
656
+ }
657
+
658
+ input _InternalConfigACLObjectRolesACLInput {
659
+ roleId: String!
660
+ read: Boolean!
661
+ write: Boolean!
662
+ }
663
+
664
+ """Input to link an object to a pointer _InternalConfig"""
665
+ input _InternalConfigPointerInput {
666
+ unlink: Boolean
667
+ link: ID
668
+ createAndLink: _InternalConfigCreateFieldsInput
669
+ }
670
+
671
+ input _InternalConfigCreateFieldsInput {
672
+ configKey: String
673
+ configValue: String
674
+ description: String
675
+ acl: _InternalConfigACLObjectCreateFieldsInput
676
+ createdAt: Date
677
+ updatedAt: Date
678
+ search: [String]
679
+ }
680
+
681
+ input _InternalConfigACLObjectCreateFieldsInput {
682
+ users: [_InternalConfigACLObjectUsersACLCreateFieldsInput]
683
+ roles: [_InternalConfigACLObjectRolesACLCreateFieldsInput]
684
+ }
685
+
686
+ input _InternalConfigACLObjectUsersACLCreateFieldsInput {
687
+ userId: String
688
+ read: Boolean
689
+ write: Boolean
690
+ }
691
+
692
+ input _InternalConfigACLObjectRolesACLCreateFieldsInput {
693
+ roleId: String
694
+ read: Boolean
695
+ write: Boolean
696
+ }
697
+
698
+ """Input to add a relation to the class _InternalConfig"""
699
+ input _InternalConfigRelationInput {
700
+ add: [ID!]
701
+ remove: [ID!]
702
+ createAndAdd: [_InternalConfigCreateFieldsInput!]
703
+ }
704
+
609
705
  type Query {
610
706
  """User class"""
611
707
  user(id: ID): User
@@ -620,6 +716,8 @@ type Query {
620
716
  roles(where: RoleWhereInput, offset: Int, first: Int, order: [RoleOrder!]): RoleConnection!
621
717
  payment(id: ID): Payment
622
718
  payments(where: PaymentWhereInput, offset: Int, first: Int, order: [PaymentOrder!]): PaymentConnection!
719
+ _internalConfig(id: ID): _InternalConfig
720
+ _internalConfigs(where: _InternalConfigWhereInput, offset: Int, first: Int, order: [_InternalConfigOrder!]): _InternalConfigConnection!
623
721
 
624
722
  """Hello world description"""
625
723
  helloWorld(name: String!): String
@@ -1036,6 +1134,68 @@ enum PaymentOrder {
1036
1134
  search_DESC
1037
1135
  }
1038
1136
 
1137
+ type _InternalConfigConnection {
1138
+ totalCount: Int
1139
+ edges: [_InternalConfigEdge]
1140
+ }
1141
+
1142
+ type _InternalConfigEdge {
1143
+ node: _InternalConfig!
1144
+ }
1145
+
1146
+ input _InternalConfigWhereInput {
1147
+ id: IdWhereInput
1148
+ configKey: StringWhereInput
1149
+ configValue: StringWhereInput
1150
+ description: StringWhereInput
1151
+ acl: _InternalConfigACLObjectWhereInput
1152
+ createdAt: DateWhereInput
1153
+ updatedAt: DateWhereInput
1154
+ search: SearchWhereInput
1155
+ OR: [_InternalConfigWhereInput]
1156
+ AND: [_InternalConfigWhereInput]
1157
+ }
1158
+
1159
+ input _InternalConfigACLObjectWhereInput {
1160
+ users: [_InternalConfigACLObjectUsersACLWhereInput]
1161
+ roles: [_InternalConfigACLObjectRolesACLWhereInput]
1162
+ OR: [_InternalConfigACLObjectWhereInput]
1163
+ AND: [_InternalConfigACLObjectWhereInput]
1164
+ }
1165
+
1166
+ input _InternalConfigACLObjectUsersACLWhereInput {
1167
+ userId: StringWhereInput
1168
+ read: BooleanWhereInput
1169
+ write: BooleanWhereInput
1170
+ OR: [_InternalConfigACLObjectUsersACLWhereInput]
1171
+ AND: [_InternalConfigACLObjectUsersACLWhereInput]
1172
+ }
1173
+
1174
+ input _InternalConfigACLObjectRolesACLWhereInput {
1175
+ roleId: StringWhereInput
1176
+ read: BooleanWhereInput
1177
+ write: BooleanWhereInput
1178
+ OR: [_InternalConfigACLObjectRolesACLWhereInput]
1179
+ AND: [_InternalConfigACLObjectRolesACLWhereInput]
1180
+ }
1181
+
1182
+ enum _InternalConfigOrder {
1183
+ configKey_ASC
1184
+ configKey_DESC
1185
+ configValue_ASC
1186
+ configValue_DESC
1187
+ description_ASC
1188
+ description_DESC
1189
+ acl_ASC
1190
+ acl_DESC
1191
+ createdAt_ASC
1192
+ createdAt_DESC
1193
+ updatedAt_ASC
1194
+ updatedAt_DESC
1195
+ search_ASC
1196
+ search_DESC
1197
+ }
1198
+
1039
1199
  type MeOutput {
1040
1200
  user: User
1041
1201
  }
@@ -1092,10 +1252,22 @@ type Mutation {
1092
1252
  updatePayments(input: UpdatePaymentsInput!): PaymentConnection!
1093
1253
  deletePayment(input: DeletePaymentInput!): DeletePaymentPayload
1094
1254
  deletePayments(input: DeletePaymentsInput!): PaymentConnection!
1255
+ create_InternalConfig(input: Create_InternalConfigInput!): Create_InternalConfigPayload
1256
+ create_InternalConfigs(input: Create_InternalConfigsInput!): _InternalConfigConnection!
1257
+ update_InternalConfig(input: Update_InternalConfigInput!): Update_InternalConfigPayload
1258
+ update_InternalConfigs(input: Update_InternalConfigsInput!): _InternalConfigConnection!
1259
+ delete_InternalConfig(input: Delete_InternalConfigInput!): Delete_InternalConfigPayload
1260
+ delete_InternalConfigs(input: Delete_InternalConfigsInput!): _InternalConfigConnection!
1095
1261
  createMutation(input: CreateMutationInput!): Boolean!
1096
1262
  customMutation(input: CustomMutationInput!): Int
1097
1263
  secondCustomMutation(input: SecondCustomMutationInput!): Int
1098
1264
 
1265
+ """Mutation to reset the password of the user"""
1266
+ resetPassword(input: ResetPasswordInput!): Boolean
1267
+
1268
+ """Send an OTP code by email to the user"""
1269
+ sendOtpCode(input: SendOtpCodeInput!): Boolean
1270
+
1099
1271
  """
1100
1272
  Create a payment with the payment provider. Returns the url to redirect the user to pay
1101
1273
  """
@@ -1509,6 +1681,81 @@ input DeletePaymentsInput {
1509
1681
  order: [PaymentOrder]
1510
1682
  }
1511
1683
 
1684
+ type Create_InternalConfigPayload {
1685
+ _internalConfig: _InternalConfig
1686
+ clientMutationId: String
1687
+ }
1688
+
1689
+ input Create_InternalConfigInput {
1690
+ fields: _InternalConfigCreateFieldsInput
1691
+ }
1692
+
1693
+ input Create_InternalConfigsInput {
1694
+ fields: [_InternalConfigCreateFieldsInput]!
1695
+ offset: Int
1696
+ first: Int
1697
+ order: [_InternalConfigOrder]
1698
+ }
1699
+
1700
+ type Update_InternalConfigPayload {
1701
+ _internalConfig: _InternalConfig
1702
+ clientMutationId: String
1703
+ }
1704
+
1705
+ input Update_InternalConfigInput {
1706
+ id: ID
1707
+ fields: _InternalConfigUpdateFieldsInput
1708
+ }
1709
+
1710
+ input _InternalConfigUpdateFieldsInput {
1711
+ configKey: String
1712
+ configValue: String
1713
+ description: String
1714
+ acl: _InternalConfigACLObjectUpdateFieldsInput
1715
+ createdAt: Date
1716
+ updatedAt: Date
1717
+ search: [String]
1718
+ }
1719
+
1720
+ input _InternalConfigACLObjectUpdateFieldsInput {
1721
+ users: [_InternalConfigACLObjectUsersACLUpdateFieldsInput]
1722
+ roles: [_InternalConfigACLObjectRolesACLUpdateFieldsInput]
1723
+ }
1724
+
1725
+ input _InternalConfigACLObjectUsersACLUpdateFieldsInput {
1726
+ userId: String
1727
+ read: Boolean
1728
+ write: Boolean
1729
+ }
1730
+
1731
+ input _InternalConfigACLObjectRolesACLUpdateFieldsInput {
1732
+ roleId: String
1733
+ read: Boolean
1734
+ write: Boolean
1735
+ }
1736
+
1737
+ input Update_InternalConfigsInput {
1738
+ fields: _InternalConfigUpdateFieldsInput
1739
+ where: _InternalConfigWhereInput
1740
+ offset: Int
1741
+ first: Int
1742
+ order: [_InternalConfigOrder]
1743
+ }
1744
+
1745
+ type Delete_InternalConfigPayload {
1746
+ _internalConfig: _InternalConfig
1747
+ clientMutationId: String
1748
+ }
1749
+
1750
+ input Delete_InternalConfigInput {
1751
+ id: ID
1752
+ }
1753
+
1754
+ input Delete_InternalConfigsInput {
1755
+ where: _InternalConfigWhereInput
1756
+ order: [_InternalConfigOrder]
1757
+ }
1758
+
1512
1759
  input CreateMutationInput {
1513
1760
  name: Int!
1514
1761
  }
@@ -1527,6 +1774,17 @@ input SecondCustomMutationSumInput {
1527
1774
  b: Int!
1528
1775
  }
1529
1776
 
1777
+ input ResetPasswordInput {
1778
+ password: String!
1779
+ email: Email!
1780
+ otp: String!
1781
+ provider: AuthenticationProvider!
1782
+ }
1783
+
1784
+ input SendOtpCodeInput {
1785
+ email: Email!
1786
+ }
1787
+
1530
1788
  input MakePaymentInput {
1531
1789
  customerEmail: Email
1532
1790
  paymentMode: PaymentMode!
package/generated/wabe.ts CHANGED
@@ -652,6 +652,106 @@ export type PaymentRelationInput = {
652
652
  createAndAdd?: InputMaybe<Array<PaymentCreateFieldsInput>>;
653
653
  };
654
654
 
655
+ export type _InternalConfig = {
656
+ __typename?: '_InternalConfig';
657
+ id: Scalars['ID']['output'];
658
+ configKey: Scalars['String']['output'];
659
+ configValue: Scalars['String']['output'];
660
+ description?: Maybe<Scalars['String']['output']>;
661
+ acl?: Maybe<_InternalConfigAclObject>;
662
+ createdAt?: Maybe<Scalars['Date']['output']>;
663
+ updatedAt?: Maybe<Scalars['Date']['output']>;
664
+ search?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
665
+ };
666
+
667
+ export type _InternalConfigAclObject = {
668
+ __typename?: '_InternalConfigACLObject';
669
+ users?: Maybe<Array<Maybe<_InternalConfigAclObjectUsersAcl>>>;
670
+ roles?: Maybe<Array<Maybe<_InternalConfigAclObjectRolesAcl>>>;
671
+ };
672
+
673
+ export type _InternalConfigAclObjectUsersAcl = {
674
+ __typename?: '_InternalConfigACLObjectUsersACL';
675
+ userId: Scalars['String']['output'];
676
+ read: Scalars['Boolean']['output'];
677
+ write: Scalars['Boolean']['output'];
678
+ };
679
+
680
+ export type _InternalConfigAclObjectRolesAcl = {
681
+ __typename?: '_InternalConfigACLObjectRolesACL';
682
+ roleId: Scalars['String']['output'];
683
+ read: Scalars['Boolean']['output'];
684
+ write: Scalars['Boolean']['output'];
685
+ };
686
+
687
+ export type _InternalConfigInput = {
688
+ configKey: Scalars['String']['input'];
689
+ configValue: Scalars['String']['input'];
690
+ description?: InputMaybe<Scalars['String']['input']>;
691
+ acl?: InputMaybe<_InternalConfigAclObjectInput>;
692
+ createdAt?: InputMaybe<Scalars['Date']['input']>;
693
+ updatedAt?: InputMaybe<Scalars['Date']['input']>;
694
+ search?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
695
+ };
696
+
697
+ export type _InternalConfigAclObjectInput = {
698
+ users?: InputMaybe<Array<InputMaybe<_InternalConfigAclObjectUsersAclInput>>>;
699
+ roles?: InputMaybe<Array<InputMaybe<_InternalConfigAclObjectRolesAclInput>>>;
700
+ };
701
+
702
+ export type _InternalConfigAclObjectUsersAclInput = {
703
+ userId: Scalars['String']['input'];
704
+ read: Scalars['Boolean']['input'];
705
+ write: Scalars['Boolean']['input'];
706
+ };
707
+
708
+ export type _InternalConfigAclObjectRolesAclInput = {
709
+ roleId: Scalars['String']['input'];
710
+ read: Scalars['Boolean']['input'];
711
+ write: Scalars['Boolean']['input'];
712
+ };
713
+
714
+ /** Input to link an object to a pointer _InternalConfig */
715
+ export type _InternalConfigPointerInput = {
716
+ unlink?: InputMaybe<Scalars['Boolean']['input']>;
717
+ link?: InputMaybe<Scalars['ID']['input']>;
718
+ createAndLink?: InputMaybe<_InternalConfigCreateFieldsInput>;
719
+ };
720
+
721
+ export type _InternalConfigCreateFieldsInput = {
722
+ configKey?: InputMaybe<Scalars['String']['input']>;
723
+ configValue?: InputMaybe<Scalars['String']['input']>;
724
+ description?: InputMaybe<Scalars['String']['input']>;
725
+ acl?: InputMaybe<_InternalConfigAclObjectCreateFieldsInput>;
726
+ createdAt?: InputMaybe<Scalars['Date']['input']>;
727
+ updatedAt?: InputMaybe<Scalars['Date']['input']>;
728
+ search?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
729
+ };
730
+
731
+ export type _InternalConfigAclObjectCreateFieldsInput = {
732
+ users?: InputMaybe<Array<InputMaybe<_InternalConfigAclObjectUsersAclCreateFieldsInput>>>;
733
+ roles?: InputMaybe<Array<InputMaybe<_InternalConfigAclObjectRolesAclCreateFieldsInput>>>;
734
+ };
735
+
736
+ export type _InternalConfigAclObjectUsersAclCreateFieldsInput = {
737
+ userId?: InputMaybe<Scalars['String']['input']>;
738
+ read?: InputMaybe<Scalars['Boolean']['input']>;
739
+ write?: InputMaybe<Scalars['Boolean']['input']>;
740
+ };
741
+
742
+ export type _InternalConfigAclObjectRolesAclCreateFieldsInput = {
743
+ roleId?: InputMaybe<Scalars['String']['input']>;
744
+ read?: InputMaybe<Scalars['Boolean']['input']>;
745
+ write?: InputMaybe<Scalars['Boolean']['input']>;
746
+ };
747
+
748
+ /** Input to add a relation to the class _InternalConfig */
749
+ export type _InternalConfigRelationInput = {
750
+ add?: InputMaybe<Array<Scalars['ID']['input']>>;
751
+ remove?: InputMaybe<Array<Scalars['ID']['input']>>;
752
+ createAndAdd?: InputMaybe<Array<_InternalConfigCreateFieldsInput>>;
753
+ };
754
+
655
755
  export type Query = {
656
756
  __typename?: 'Query';
657
757
  /** User class */
@@ -666,6 +766,8 @@ export type Query = {
666
766
  roles: RoleConnection;
667
767
  payment?: Maybe<Payment>;
668
768
  payments: PaymentConnection;
769
+ _internalConfig?: Maybe<_InternalConfig>;
770
+ _internalConfigs: _InternalConfigConnection;
669
771
  /** Hello world description */
670
772
  helloWorld?: Maybe<Scalars['String']['output']>;
671
773
  me?: Maybe<MeOutput>;
@@ -739,6 +841,19 @@ export type QueryPaymentsArgs = {
739
841
  };
740
842
 
741
843
 
844
+ export type Query_InternalConfigArgs = {
845
+ id?: InputMaybe<Scalars['ID']['input']>;
846
+ };
847
+
848
+
849
+ export type Query_InternalConfigsArgs = {
850
+ where?: InputMaybe<_InternalConfigWhereInput>;
851
+ offset?: InputMaybe<Scalars['Int']['input']>;
852
+ first?: InputMaybe<Scalars['Int']['input']>;
853
+ order?: InputMaybe<Array<_InternalConfigOrder>>;
854
+ };
855
+
856
+
742
857
  export type QueryHelloWorldArgs = {
743
858
  name: Scalars['String']['input'];
744
859
  };
@@ -1153,6 +1268,70 @@ export enum PaymentOrder {
1153
1268
  SearchDesc = 'search_DESC'
1154
1269
  }
1155
1270
 
1271
+ export type _InternalConfigConnection = {
1272
+ __typename?: '_InternalConfigConnection';
1273
+ totalCount?: Maybe<Scalars['Int']['output']>;
1274
+ edges?: Maybe<Array<Maybe<_InternalConfigEdge>>>;
1275
+ };
1276
+
1277
+ export type _InternalConfigEdge = {
1278
+ __typename?: '_InternalConfigEdge';
1279
+ node: _InternalConfig;
1280
+ };
1281
+
1282
+ export type _InternalConfigWhereInput = {
1283
+ id?: InputMaybe<IdWhereInput>;
1284
+ configKey?: InputMaybe<StringWhereInput>;
1285
+ configValue?: InputMaybe<StringWhereInput>;
1286
+ description?: InputMaybe<StringWhereInput>;
1287
+ acl?: InputMaybe<_InternalConfigAclObjectWhereInput>;
1288
+ createdAt?: InputMaybe<DateWhereInput>;
1289
+ updatedAt?: InputMaybe<DateWhereInput>;
1290
+ search?: InputMaybe<SearchWhereInput>;
1291
+ OR?: InputMaybe<Array<InputMaybe<_InternalConfigWhereInput>>>;
1292
+ AND?: InputMaybe<Array<InputMaybe<_InternalConfigWhereInput>>>;
1293
+ };
1294
+
1295
+ export type _InternalConfigAclObjectWhereInput = {
1296
+ users?: InputMaybe<Array<InputMaybe<_InternalConfigAclObjectUsersAclWhereInput>>>;
1297
+ roles?: InputMaybe<Array<InputMaybe<_InternalConfigAclObjectRolesAclWhereInput>>>;
1298
+ OR?: InputMaybe<Array<InputMaybe<_InternalConfigAclObjectWhereInput>>>;
1299
+ AND?: InputMaybe<Array<InputMaybe<_InternalConfigAclObjectWhereInput>>>;
1300
+ };
1301
+
1302
+ export type _InternalConfigAclObjectUsersAclWhereInput = {
1303
+ userId?: InputMaybe<StringWhereInput>;
1304
+ read?: InputMaybe<BooleanWhereInput>;
1305
+ write?: InputMaybe<BooleanWhereInput>;
1306
+ OR?: InputMaybe<Array<InputMaybe<_InternalConfigAclObjectUsersAclWhereInput>>>;
1307
+ AND?: InputMaybe<Array<InputMaybe<_InternalConfigAclObjectUsersAclWhereInput>>>;
1308
+ };
1309
+
1310
+ export type _InternalConfigAclObjectRolesAclWhereInput = {
1311
+ roleId?: InputMaybe<StringWhereInput>;
1312
+ read?: InputMaybe<BooleanWhereInput>;
1313
+ write?: InputMaybe<BooleanWhereInput>;
1314
+ OR?: InputMaybe<Array<InputMaybe<_InternalConfigAclObjectRolesAclWhereInput>>>;
1315
+ AND?: InputMaybe<Array<InputMaybe<_InternalConfigAclObjectRolesAclWhereInput>>>;
1316
+ };
1317
+
1318
+ export enum _InternalConfigOrder {
1319
+ ConfigKeyAsc = 'configKey_ASC',
1320
+ ConfigKeyDesc = 'configKey_DESC',
1321
+ ConfigValueAsc = 'configValue_ASC',
1322
+ ConfigValueDesc = 'configValue_DESC',
1323
+ DescriptionAsc = 'description_ASC',
1324
+ DescriptionDesc = 'description_DESC',
1325
+ AclAsc = 'acl_ASC',
1326
+ AclDesc = 'acl_DESC',
1327
+ CreatedAtAsc = 'createdAt_ASC',
1328
+ CreatedAtDesc = 'createdAt_DESC',
1329
+ UpdatedAtAsc = 'updatedAt_ASC',
1330
+ UpdatedAtDesc = 'updatedAt_DESC',
1331
+ SearchAsc = 'search_ASC',
1332
+ SearchDesc = 'search_DESC'
1333
+ }
1334
+
1156
1335
  export type MeOutput = {
1157
1336
  __typename?: 'MeOutput';
1158
1337
  user?: Maybe<User>;
@@ -1207,9 +1386,19 @@ export type Mutation = {
1207
1386
  updatePayments: PaymentConnection;
1208
1387
  deletePayment?: Maybe<DeletePaymentPayload>;
1209
1388
  deletePayments: PaymentConnection;
1389
+ create_InternalConfig?: Maybe<Create_InternalConfigPayload>;
1390
+ create_InternalConfigs: _InternalConfigConnection;
1391
+ update_InternalConfig?: Maybe<Update_InternalConfigPayload>;
1392
+ update_InternalConfigs: _InternalConfigConnection;
1393
+ delete_InternalConfig?: Maybe<Delete_InternalConfigPayload>;
1394
+ delete_InternalConfigs: _InternalConfigConnection;
1210
1395
  createMutation: Scalars['Boolean']['output'];
1211
1396
  customMutation?: Maybe<Scalars['Int']['output']>;
1212
1397
  secondCustomMutation?: Maybe<Scalars['Int']['output']>;
1398
+ /** Mutation to reset the password of the user */
1399
+ resetPassword?: Maybe<Scalars['Boolean']['output']>;
1400
+ /** Send an OTP code by email to the user */
1401
+ sendOtpCode?: Maybe<Scalars['Boolean']['output']>;
1213
1402
  /** Create a payment with the payment provider. Returns the url to redirect the user to pay */
1214
1403
  makePayment?: Maybe<Scalars['String']['output']>;
1215
1404
  cancelSubscription?: Maybe<Scalars['Boolean']['output']>;
@@ -1373,6 +1562,36 @@ export type MutationDeletePaymentsArgs = {
1373
1562
  };
1374
1563
 
1375
1564
 
1565
+ export type MutationCreate_InternalConfigArgs = {
1566
+ input: Create_InternalConfigInput;
1567
+ };
1568
+
1569
+
1570
+ export type MutationCreate_InternalConfigsArgs = {
1571
+ input: Create_InternalConfigsInput;
1572
+ };
1573
+
1574
+
1575
+ export type MutationUpdate_InternalConfigArgs = {
1576
+ input: Update_InternalConfigInput;
1577
+ };
1578
+
1579
+
1580
+ export type MutationUpdate_InternalConfigsArgs = {
1581
+ input: Update_InternalConfigsInput;
1582
+ };
1583
+
1584
+
1585
+ export type MutationDelete_InternalConfigArgs = {
1586
+ input: Delete_InternalConfigInput;
1587
+ };
1588
+
1589
+
1590
+ export type MutationDelete_InternalConfigsArgs = {
1591
+ input: Delete_InternalConfigsInput;
1592
+ };
1593
+
1594
+
1376
1595
  export type MutationCreateMutationArgs = {
1377
1596
  input: CreateMutationInput;
1378
1597
  };
@@ -1388,6 +1607,16 @@ export type MutationSecondCustomMutationArgs = {
1388
1607
  };
1389
1608
 
1390
1609
 
1610
+ export type MutationResetPasswordArgs = {
1611
+ input: ResetPasswordInput;
1612
+ };
1613
+
1614
+
1615
+ export type MutationSendOtpCodeArgs = {
1616
+ input: SendOtpCodeInput;
1617
+ };
1618
+
1619
+
1391
1620
  export type MutationMakePaymentArgs = {
1392
1621
  input: MakePaymentInput;
1393
1622
  };
@@ -1835,6 +2064,84 @@ export type DeletePaymentsInput = {
1835
2064
  order?: InputMaybe<Array<InputMaybe<PaymentOrder>>>;
1836
2065
  };
1837
2066
 
2067
+ export type Create_InternalConfigPayload = {
2068
+ __typename?: 'Create_InternalConfigPayload';
2069
+ _internalConfig?: Maybe<_InternalConfig>;
2070
+ clientMutationId?: Maybe<Scalars['String']['output']>;
2071
+ };
2072
+
2073
+ export type Create_InternalConfigInput = {
2074
+ fields?: InputMaybe<_InternalConfigCreateFieldsInput>;
2075
+ };
2076
+
2077
+ export type Create_InternalConfigsInput = {
2078
+ fields: Array<InputMaybe<_InternalConfigCreateFieldsInput>>;
2079
+ offset?: InputMaybe<Scalars['Int']['input']>;
2080
+ first?: InputMaybe<Scalars['Int']['input']>;
2081
+ order?: InputMaybe<Array<InputMaybe<_InternalConfigOrder>>>;
2082
+ };
2083
+
2084
+ export type Update_InternalConfigPayload = {
2085
+ __typename?: 'Update_InternalConfigPayload';
2086
+ _internalConfig?: Maybe<_InternalConfig>;
2087
+ clientMutationId?: Maybe<Scalars['String']['output']>;
2088
+ };
2089
+
2090
+ export type Update_InternalConfigInput = {
2091
+ id?: InputMaybe<Scalars['ID']['input']>;
2092
+ fields?: InputMaybe<_InternalConfigUpdateFieldsInput>;
2093
+ };
2094
+
2095
+ export type _InternalConfigUpdateFieldsInput = {
2096
+ configKey?: InputMaybe<Scalars['String']['input']>;
2097
+ configValue?: InputMaybe<Scalars['String']['input']>;
2098
+ description?: InputMaybe<Scalars['String']['input']>;
2099
+ acl?: InputMaybe<_InternalConfigAclObjectUpdateFieldsInput>;
2100
+ createdAt?: InputMaybe<Scalars['Date']['input']>;
2101
+ updatedAt?: InputMaybe<Scalars['Date']['input']>;
2102
+ search?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
2103
+ };
2104
+
2105
+ export type _InternalConfigAclObjectUpdateFieldsInput = {
2106
+ users?: InputMaybe<Array<InputMaybe<_InternalConfigAclObjectUsersAclUpdateFieldsInput>>>;
2107
+ roles?: InputMaybe<Array<InputMaybe<_InternalConfigAclObjectRolesAclUpdateFieldsInput>>>;
2108
+ };
2109
+
2110
+ export type _InternalConfigAclObjectUsersAclUpdateFieldsInput = {
2111
+ userId?: InputMaybe<Scalars['String']['input']>;
2112
+ read?: InputMaybe<Scalars['Boolean']['input']>;
2113
+ write?: InputMaybe<Scalars['Boolean']['input']>;
2114
+ };
2115
+
2116
+ export type _InternalConfigAclObjectRolesAclUpdateFieldsInput = {
2117
+ roleId?: InputMaybe<Scalars['String']['input']>;
2118
+ read?: InputMaybe<Scalars['Boolean']['input']>;
2119
+ write?: InputMaybe<Scalars['Boolean']['input']>;
2120
+ };
2121
+
2122
+ export type Update_InternalConfigsInput = {
2123
+ fields?: InputMaybe<_InternalConfigUpdateFieldsInput>;
2124
+ where?: InputMaybe<_InternalConfigWhereInput>;
2125
+ offset?: InputMaybe<Scalars['Int']['input']>;
2126
+ first?: InputMaybe<Scalars['Int']['input']>;
2127
+ order?: InputMaybe<Array<InputMaybe<_InternalConfigOrder>>>;
2128
+ };
2129
+
2130
+ export type Delete_InternalConfigPayload = {
2131
+ __typename?: 'Delete_InternalConfigPayload';
2132
+ _internalConfig?: Maybe<_InternalConfig>;
2133
+ clientMutationId?: Maybe<Scalars['String']['output']>;
2134
+ };
2135
+
2136
+ export type Delete_InternalConfigInput = {
2137
+ id?: InputMaybe<Scalars['ID']['input']>;
2138
+ };
2139
+
2140
+ export type Delete_InternalConfigsInput = {
2141
+ where?: InputMaybe<_InternalConfigWhereInput>;
2142
+ order?: InputMaybe<Array<InputMaybe<_InternalConfigOrder>>>;
2143
+ };
2144
+
1838
2145
  export type CreateMutationInput = {
1839
2146
  name: Scalars['Int']['input'];
1840
2147
  };
@@ -1853,6 +2160,17 @@ export type SecondCustomMutationSumInput = {
1853
2160
  b: Scalars['Int']['input'];
1854
2161
  };
1855
2162
 
2163
+ export type ResetPasswordInput = {
2164
+ password: Scalars['String']['input'];
2165
+ email: Scalars['Email']['input'];
2166
+ otp: Scalars['String']['input'];
2167
+ provider: AuthenticationProvider;
2168
+ };
2169
+
2170
+ export type SendOtpCodeInput = {
2171
+ email: Scalars['Email']['input'];
2172
+ };
2173
+
1856
2174
  export type MakePaymentInput = {
1857
2175
  customerEmail?: InputMaybe<Scalars['Email']['input']>;
1858
2176
  paymentMode: PaymentMode;
@@ -1991,5 +2309,6 @@ export type WabeSchemaTypes = {
1991
2309
  Post: Post,
1992
2310
  _Session: _Session,
1993
2311
  Role: Role,
1994
- Payment: Payment
2312
+ Payment: Payment,
2313
+ _InternalConfig: _InternalConfig
1995
2314
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wabe",
3
- "version": "0.5.4",
3
+ "version": "0.5.5",
4
4
  "description": "Your backend in minutes not days",
5
5
  "homepage": "https://wabe.dev",
6
6
  "author": {
@@ -40,7 +40,8 @@
40
40
  "jsonwebtoken": "9.0.2",
41
41
  "mongodb": "6.8.0",
42
42
  "wobe": "1.1.8",
43
- "wobe-graphql-yoga": "1.2.5"
43
+ "wobe-graphql-yoga": "1.2.5",
44
+ "otplib": "12.0.1"
44
45
  },
45
46
  "devDependencies": {
46
47
  "@parcel/watcher": "2.3.0",