wabe 0.5.4 → 0.5.6

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!