wabe 0.5.20 → 0.5.22
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/index.d.ts +21 -60
- package/dist/index.js +368 -150
- package/generated/schema.graphql +0 -256
- package/generated/wabe.ts +1 -294
- package/package.json +3 -4
package/generated/schema.graphql
CHANGED
|
@@ -15,21 +15,6 @@ enum SecondaryFactor {
|
|
|
15
15
|
EmailOTP
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
enum PaymentMode {
|
|
19
|
-
payment
|
|
20
|
-
subscription
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
enum PaymentReccuringInterval {
|
|
24
|
-
month
|
|
25
|
-
year
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
enum Currency {
|
|
29
|
-
eur
|
|
30
|
-
usd
|
|
31
|
-
}
|
|
32
|
-
|
|
33
18
|
"""User class"""
|
|
34
19
|
type User {
|
|
35
20
|
id: ID!
|
|
@@ -513,102 +498,6 @@ input RoleRelationInput {
|
|
|
513
498
|
createAndAdd: [RoleCreateFieldsInput!]
|
|
514
499
|
}
|
|
515
500
|
|
|
516
|
-
type Payment {
|
|
517
|
-
id: ID!
|
|
518
|
-
user: User
|
|
519
|
-
amount: Int!
|
|
520
|
-
currency: Currency!
|
|
521
|
-
acl: PaymentACLObject
|
|
522
|
-
createdAt: Date
|
|
523
|
-
updatedAt: Date
|
|
524
|
-
search: [String]
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
type PaymentACLObject {
|
|
528
|
-
users: [PaymentACLObjectUsersACL]
|
|
529
|
-
roles: [PaymentACLObjectRolesACL]
|
|
530
|
-
}
|
|
531
|
-
|
|
532
|
-
type PaymentACLObjectUsersACL {
|
|
533
|
-
userId: String!
|
|
534
|
-
read: Boolean!
|
|
535
|
-
write: Boolean!
|
|
536
|
-
}
|
|
537
|
-
|
|
538
|
-
type PaymentACLObjectRolesACL {
|
|
539
|
-
roleId: String!
|
|
540
|
-
read: Boolean!
|
|
541
|
-
write: Boolean!
|
|
542
|
-
}
|
|
543
|
-
|
|
544
|
-
input PaymentInput {
|
|
545
|
-
user: UserPointerInput
|
|
546
|
-
amount: Int!
|
|
547
|
-
currency: Currency!
|
|
548
|
-
acl: PaymentACLObjectInput
|
|
549
|
-
createdAt: Date
|
|
550
|
-
updatedAt: Date
|
|
551
|
-
search: [String]
|
|
552
|
-
}
|
|
553
|
-
|
|
554
|
-
input PaymentACLObjectInput {
|
|
555
|
-
users: [PaymentACLObjectUsersACLInput]
|
|
556
|
-
roles: [PaymentACLObjectRolesACLInput]
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
input PaymentACLObjectUsersACLInput {
|
|
560
|
-
userId: String!
|
|
561
|
-
read: Boolean!
|
|
562
|
-
write: Boolean!
|
|
563
|
-
}
|
|
564
|
-
|
|
565
|
-
input PaymentACLObjectRolesACLInput {
|
|
566
|
-
roleId: String!
|
|
567
|
-
read: Boolean!
|
|
568
|
-
write: Boolean!
|
|
569
|
-
}
|
|
570
|
-
|
|
571
|
-
"""Input to link an object to a pointer Payment"""
|
|
572
|
-
input PaymentPointerInput {
|
|
573
|
-
unlink: Boolean
|
|
574
|
-
link: ID
|
|
575
|
-
createAndLink: PaymentCreateFieldsInput
|
|
576
|
-
}
|
|
577
|
-
|
|
578
|
-
input PaymentCreateFieldsInput {
|
|
579
|
-
user: UserPointerInput
|
|
580
|
-
amount: Int
|
|
581
|
-
currency: Currency
|
|
582
|
-
acl: PaymentACLObjectCreateFieldsInput
|
|
583
|
-
createdAt: Date
|
|
584
|
-
updatedAt: Date
|
|
585
|
-
search: [String]
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
input PaymentACLObjectCreateFieldsInput {
|
|
589
|
-
users: [PaymentACLObjectUsersACLCreateFieldsInput]
|
|
590
|
-
roles: [PaymentACLObjectRolesACLCreateFieldsInput]
|
|
591
|
-
}
|
|
592
|
-
|
|
593
|
-
input PaymentACLObjectUsersACLCreateFieldsInput {
|
|
594
|
-
userId: String
|
|
595
|
-
read: Boolean
|
|
596
|
-
write: Boolean
|
|
597
|
-
}
|
|
598
|
-
|
|
599
|
-
input PaymentACLObjectRolesACLCreateFieldsInput {
|
|
600
|
-
roleId: String
|
|
601
|
-
read: Boolean
|
|
602
|
-
write: Boolean
|
|
603
|
-
}
|
|
604
|
-
|
|
605
|
-
"""Input to add a relation to the class Payment"""
|
|
606
|
-
input PaymentRelationInput {
|
|
607
|
-
add: [ID!]
|
|
608
|
-
remove: [ID!]
|
|
609
|
-
createAndAdd: [PaymentCreateFieldsInput!]
|
|
610
|
-
}
|
|
611
|
-
|
|
612
501
|
type _InternalConfig {
|
|
613
502
|
id: ID!
|
|
614
503
|
configKey: String!
|
|
@@ -717,8 +606,6 @@ type Query {
|
|
|
717
606
|
_sessions(where: _SessionWhereInput, offset: Int, first: Int, order: [_SessionOrder!]): _SessionConnection!
|
|
718
607
|
role(id: ID): Role
|
|
719
608
|
roles(where: RoleWhereInput, offset: Int, first: Int, order: [RoleOrder!]): RoleConnection!
|
|
720
|
-
payment(id: ID): Payment
|
|
721
|
-
payments(where: PaymentWhereInput, offset: Int, first: Int, order: [PaymentOrder!]): PaymentConnection!
|
|
722
609
|
_internalConfig(id: ID): _InternalConfig
|
|
723
610
|
_internalConfigs(where: _InternalConfigWhereInput, offset: Int, first: Int, order: [_InternalConfigOrder!]): _InternalConfigConnection!
|
|
724
611
|
|
|
@@ -1075,68 +962,6 @@ enum RoleOrder {
|
|
|
1075
962
|
search_DESC
|
|
1076
963
|
}
|
|
1077
964
|
|
|
1078
|
-
type PaymentConnection {
|
|
1079
|
-
totalCount: Int
|
|
1080
|
-
edges: [PaymentEdge]
|
|
1081
|
-
}
|
|
1082
|
-
|
|
1083
|
-
type PaymentEdge {
|
|
1084
|
-
node: Payment!
|
|
1085
|
-
}
|
|
1086
|
-
|
|
1087
|
-
input PaymentWhereInput {
|
|
1088
|
-
id: IdWhereInput
|
|
1089
|
-
user: UserWhereInput
|
|
1090
|
-
amount: IntWhereInput
|
|
1091
|
-
currency: AnyWhereInput
|
|
1092
|
-
acl: PaymentACLObjectWhereInput
|
|
1093
|
-
createdAt: DateWhereInput
|
|
1094
|
-
updatedAt: DateWhereInput
|
|
1095
|
-
search: SearchWhereInput
|
|
1096
|
-
OR: [PaymentWhereInput]
|
|
1097
|
-
AND: [PaymentWhereInput]
|
|
1098
|
-
}
|
|
1099
|
-
|
|
1100
|
-
input PaymentACLObjectWhereInput {
|
|
1101
|
-
users: [PaymentACLObjectUsersACLWhereInput]
|
|
1102
|
-
roles: [PaymentACLObjectRolesACLWhereInput]
|
|
1103
|
-
OR: [PaymentACLObjectWhereInput]
|
|
1104
|
-
AND: [PaymentACLObjectWhereInput]
|
|
1105
|
-
}
|
|
1106
|
-
|
|
1107
|
-
input PaymentACLObjectUsersACLWhereInput {
|
|
1108
|
-
userId: StringWhereInput
|
|
1109
|
-
read: BooleanWhereInput
|
|
1110
|
-
write: BooleanWhereInput
|
|
1111
|
-
OR: [PaymentACLObjectUsersACLWhereInput]
|
|
1112
|
-
AND: [PaymentACLObjectUsersACLWhereInput]
|
|
1113
|
-
}
|
|
1114
|
-
|
|
1115
|
-
input PaymentACLObjectRolesACLWhereInput {
|
|
1116
|
-
roleId: StringWhereInput
|
|
1117
|
-
read: BooleanWhereInput
|
|
1118
|
-
write: BooleanWhereInput
|
|
1119
|
-
OR: [PaymentACLObjectRolesACLWhereInput]
|
|
1120
|
-
AND: [PaymentACLObjectRolesACLWhereInput]
|
|
1121
|
-
}
|
|
1122
|
-
|
|
1123
|
-
enum PaymentOrder {
|
|
1124
|
-
user_ASC
|
|
1125
|
-
user_DESC
|
|
1126
|
-
amount_ASC
|
|
1127
|
-
amount_DESC
|
|
1128
|
-
currency_ASC
|
|
1129
|
-
currency_DESC
|
|
1130
|
-
acl_ASC
|
|
1131
|
-
acl_DESC
|
|
1132
|
-
createdAt_ASC
|
|
1133
|
-
createdAt_DESC
|
|
1134
|
-
updatedAt_ASC
|
|
1135
|
-
updatedAt_DESC
|
|
1136
|
-
search_ASC
|
|
1137
|
-
search_DESC
|
|
1138
|
-
}
|
|
1139
|
-
|
|
1140
965
|
type _InternalConfigConnection {
|
|
1141
966
|
totalCount: Int
|
|
1142
967
|
edges: [_InternalConfigEdge]
|
|
@@ -1239,12 +1064,6 @@ type Mutation {
|
|
|
1239
1064
|
updateRoles(input: UpdateRolesInput!): RoleConnection!
|
|
1240
1065
|
deleteRole(input: DeleteRoleInput!): DeleteRolePayload
|
|
1241
1066
|
deleteRoles(input: DeleteRolesInput!): RoleConnection!
|
|
1242
|
-
createPayment(input: CreatePaymentInput!): CreatePaymentPayload
|
|
1243
|
-
createPayments(input: CreatePaymentsInput!): PaymentConnection!
|
|
1244
|
-
updatePayment(input: UpdatePaymentInput!): UpdatePaymentPayload
|
|
1245
|
-
updatePayments(input: UpdatePaymentsInput!): PaymentConnection!
|
|
1246
|
-
deletePayment(input: DeletePaymentInput!): DeletePaymentPayload
|
|
1247
|
-
deletePayments(input: DeletePaymentsInput!): PaymentConnection!
|
|
1248
1067
|
create_InternalConfig(input: Create_InternalConfigInput!): Create_InternalConfigPayload
|
|
1249
1068
|
create_InternalConfigs(input: Create_InternalConfigsInput!): _InternalConfigConnection!
|
|
1250
1069
|
update_InternalConfig(input: Update_InternalConfigInput!): Update_InternalConfigPayload
|
|
@@ -1594,81 +1413,6 @@ input DeleteRolesInput {
|
|
|
1594
1413
|
order: [RoleOrder]
|
|
1595
1414
|
}
|
|
1596
1415
|
|
|
1597
|
-
type CreatePaymentPayload {
|
|
1598
|
-
payment: Payment
|
|
1599
|
-
ok: Boolean
|
|
1600
|
-
}
|
|
1601
|
-
|
|
1602
|
-
input CreatePaymentInput {
|
|
1603
|
-
fields: PaymentCreateFieldsInput
|
|
1604
|
-
}
|
|
1605
|
-
|
|
1606
|
-
input CreatePaymentsInput {
|
|
1607
|
-
fields: [PaymentCreateFieldsInput]!
|
|
1608
|
-
offset: Int
|
|
1609
|
-
first: Int
|
|
1610
|
-
order: [PaymentOrder]
|
|
1611
|
-
}
|
|
1612
|
-
|
|
1613
|
-
type UpdatePaymentPayload {
|
|
1614
|
-
payment: Payment
|
|
1615
|
-
ok: Boolean
|
|
1616
|
-
}
|
|
1617
|
-
|
|
1618
|
-
input UpdatePaymentInput {
|
|
1619
|
-
id: ID
|
|
1620
|
-
fields: PaymentUpdateFieldsInput
|
|
1621
|
-
}
|
|
1622
|
-
|
|
1623
|
-
input PaymentUpdateFieldsInput {
|
|
1624
|
-
user: UserPointerInput
|
|
1625
|
-
amount: Int
|
|
1626
|
-
currency: Currency
|
|
1627
|
-
acl: PaymentACLObjectUpdateFieldsInput
|
|
1628
|
-
createdAt: Date
|
|
1629
|
-
updatedAt: Date
|
|
1630
|
-
search: [String]
|
|
1631
|
-
}
|
|
1632
|
-
|
|
1633
|
-
input PaymentACLObjectUpdateFieldsInput {
|
|
1634
|
-
users: [PaymentACLObjectUsersACLUpdateFieldsInput]
|
|
1635
|
-
roles: [PaymentACLObjectRolesACLUpdateFieldsInput]
|
|
1636
|
-
}
|
|
1637
|
-
|
|
1638
|
-
input PaymentACLObjectUsersACLUpdateFieldsInput {
|
|
1639
|
-
userId: String
|
|
1640
|
-
read: Boolean
|
|
1641
|
-
write: Boolean
|
|
1642
|
-
}
|
|
1643
|
-
|
|
1644
|
-
input PaymentACLObjectRolesACLUpdateFieldsInput {
|
|
1645
|
-
roleId: String
|
|
1646
|
-
read: Boolean
|
|
1647
|
-
write: Boolean
|
|
1648
|
-
}
|
|
1649
|
-
|
|
1650
|
-
input UpdatePaymentsInput {
|
|
1651
|
-
fields: PaymentUpdateFieldsInput
|
|
1652
|
-
where: PaymentWhereInput
|
|
1653
|
-
offset: Int
|
|
1654
|
-
first: Int
|
|
1655
|
-
order: [PaymentOrder]
|
|
1656
|
-
}
|
|
1657
|
-
|
|
1658
|
-
type DeletePaymentPayload {
|
|
1659
|
-
payment: Payment
|
|
1660
|
-
ok: Boolean
|
|
1661
|
-
}
|
|
1662
|
-
|
|
1663
|
-
input DeletePaymentInput {
|
|
1664
|
-
id: ID
|
|
1665
|
-
}
|
|
1666
|
-
|
|
1667
|
-
input DeletePaymentsInput {
|
|
1668
|
-
where: PaymentWhereInput
|
|
1669
|
-
order: [PaymentOrder]
|
|
1670
|
-
}
|
|
1671
|
-
|
|
1672
1416
|
type Create_InternalConfigPayload {
|
|
1673
1417
|
_internalConfig: _InternalConfig
|
|
1674
1418
|
ok: Boolean
|
package/generated/wabe.ts
CHANGED
|
@@ -27,21 +27,6 @@ export enum SecondaryFactor {
|
|
|
27
27
|
EmailOTP = "EmailOTP",
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
export enum PaymentMode {
|
|
31
|
-
payment = "payment",
|
|
32
|
-
subscription = "subscription",
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export enum PaymentReccuringInterval {
|
|
36
|
-
month = "month",
|
|
37
|
-
year = "year",
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export enum Currency {
|
|
41
|
-
eur = "eur",
|
|
42
|
-
usd = "usd",
|
|
43
|
-
}
|
|
44
|
-
|
|
45
30
|
export type User = {
|
|
46
31
|
id: Scalars['ID']['output'];
|
|
47
32
|
name?: Scalars['String']['output'];
|
|
@@ -505,100 +490,6 @@ export type RoleRelationInput = {
|
|
|
505
490
|
createAndAdd?: RoleCreateFieldsInput[];
|
|
506
491
|
};
|
|
507
492
|
|
|
508
|
-
export type Payment = {
|
|
509
|
-
id: Scalars['ID']['output'];
|
|
510
|
-
user?: User;
|
|
511
|
-
amount: Scalars['Int']['output'];
|
|
512
|
-
currency: Currency;
|
|
513
|
-
acl?: PaymentACLObject;
|
|
514
|
-
createdAt?: Scalars['Date']['output'];
|
|
515
|
-
updatedAt?: Scalars['Date']['output'];
|
|
516
|
-
search?: Scalars['String']['output'][];
|
|
517
|
-
};
|
|
518
|
-
|
|
519
|
-
export type PaymentACLObject = {
|
|
520
|
-
users?: PaymentACLObjectUsersACL[];
|
|
521
|
-
roles?: PaymentACLObjectRolesACL[];
|
|
522
|
-
};
|
|
523
|
-
|
|
524
|
-
export type PaymentACLObjectUsersACL = {
|
|
525
|
-
userId: Scalars['String']['output'];
|
|
526
|
-
read: Scalars['Boolean']['output'];
|
|
527
|
-
write: Scalars['Boolean']['output'];
|
|
528
|
-
};
|
|
529
|
-
|
|
530
|
-
export type PaymentACLObjectRolesACL = {
|
|
531
|
-
roleId: Scalars['String']['output'];
|
|
532
|
-
read: Scalars['Boolean']['output'];
|
|
533
|
-
write: Scalars['Boolean']['output'];
|
|
534
|
-
};
|
|
535
|
-
|
|
536
|
-
export type PaymentInput = {
|
|
537
|
-
user?: UserPointerInput;
|
|
538
|
-
amount: Scalars['Int']['input'];
|
|
539
|
-
currency: Currency;
|
|
540
|
-
acl?: PaymentACLObjectInput;
|
|
541
|
-
createdAt?: Scalars['Date']['input'];
|
|
542
|
-
updatedAt?: Scalars['Date']['input'];
|
|
543
|
-
search?: Scalars['String']['input'][];
|
|
544
|
-
};
|
|
545
|
-
|
|
546
|
-
export type PaymentACLObjectInput = {
|
|
547
|
-
users?: PaymentACLObjectUsersACLInput[];
|
|
548
|
-
roles?: PaymentACLObjectRolesACLInput[];
|
|
549
|
-
};
|
|
550
|
-
|
|
551
|
-
export type PaymentACLObjectUsersACLInput = {
|
|
552
|
-
userId: Scalars['String']['input'];
|
|
553
|
-
read: Scalars['Boolean']['input'];
|
|
554
|
-
write: Scalars['Boolean']['input'];
|
|
555
|
-
};
|
|
556
|
-
|
|
557
|
-
export type PaymentACLObjectRolesACLInput = {
|
|
558
|
-
roleId: Scalars['String']['input'];
|
|
559
|
-
read: Scalars['Boolean']['input'];
|
|
560
|
-
write: Scalars['Boolean']['input'];
|
|
561
|
-
};
|
|
562
|
-
|
|
563
|
-
export type PaymentPointerInput = {
|
|
564
|
-
unlink?: Scalars['Boolean']['input'];
|
|
565
|
-
link?: Scalars['ID']['input'];
|
|
566
|
-
createAndLink?: PaymentCreateFieldsInput;
|
|
567
|
-
};
|
|
568
|
-
|
|
569
|
-
export type PaymentCreateFieldsInput = {
|
|
570
|
-
user?: UserPointerInput;
|
|
571
|
-
amount?: Scalars['Int']['input'];
|
|
572
|
-
currency?: Currency;
|
|
573
|
-
acl?: PaymentACLObjectCreateFieldsInput;
|
|
574
|
-
createdAt?: Scalars['Date']['input'];
|
|
575
|
-
updatedAt?: Scalars['Date']['input'];
|
|
576
|
-
search?: Scalars['String']['input'][];
|
|
577
|
-
};
|
|
578
|
-
|
|
579
|
-
export type PaymentACLObjectCreateFieldsInput = {
|
|
580
|
-
users?: PaymentACLObjectUsersACLCreateFieldsInput[];
|
|
581
|
-
roles?: PaymentACLObjectRolesACLCreateFieldsInput[];
|
|
582
|
-
};
|
|
583
|
-
|
|
584
|
-
export type PaymentACLObjectUsersACLCreateFieldsInput = {
|
|
585
|
-
userId?: Scalars['String']['input'];
|
|
586
|
-
read?: Scalars['Boolean']['input'];
|
|
587
|
-
write?: Scalars['Boolean']['input'];
|
|
588
|
-
};
|
|
589
|
-
|
|
590
|
-
export type PaymentACLObjectRolesACLCreateFieldsInput = {
|
|
591
|
-
roleId?: Scalars['String']['input'];
|
|
592
|
-
read?: Scalars['Boolean']['input'];
|
|
593
|
-
write?: Scalars['Boolean']['input'];
|
|
594
|
-
};
|
|
595
|
-
|
|
596
|
-
export type PaymentRelationInput = {
|
|
597
|
-
add?: Scalars['ID']['input'][];
|
|
598
|
-
remove?: Scalars['ID']['input'][];
|
|
599
|
-
createAndAdd?: PaymentCreateFieldsInput[];
|
|
600
|
-
};
|
|
601
|
-
|
|
602
493
|
export type _InternalConfig = {
|
|
603
494
|
id: Scalars['ID']['output'];
|
|
604
495
|
configKey: Scalars['String']['output'];
|
|
@@ -702,8 +593,6 @@ export type Query = {
|
|
|
702
593
|
_sessions: _SessionConnection;
|
|
703
594
|
role?: Role;
|
|
704
595
|
roles: RoleConnection;
|
|
705
|
-
payment?: Payment;
|
|
706
|
-
payments: PaymentConnection;
|
|
707
596
|
_internalConfig?: _InternalConfig;
|
|
708
597
|
_internalConfigs: _InternalConfigConnection;
|
|
709
598
|
helloWorld?: Scalars['String']['output'];
|
|
@@ -754,17 +643,6 @@ export type QueryRolesArgs = {
|
|
|
754
643
|
order?: RoleOrder[];
|
|
755
644
|
};
|
|
756
645
|
|
|
757
|
-
export type QueryPaymentArgs = {
|
|
758
|
-
id?: Scalars['ID']['input'];
|
|
759
|
-
};
|
|
760
|
-
|
|
761
|
-
export type QueryPaymentsArgs = {
|
|
762
|
-
where?: PaymentWhereInput;
|
|
763
|
-
offset?: Scalars['Int']['input'];
|
|
764
|
-
first?: Scalars['Int']['input'];
|
|
765
|
-
order?: PaymentOrder[];
|
|
766
|
-
};
|
|
767
|
-
|
|
768
646
|
export type Query_internalConfigArgs = {
|
|
769
647
|
id?: Scalars['ID']['input'];
|
|
770
648
|
};
|
|
@@ -1119,68 +997,6 @@ export enum RoleOrder {
|
|
|
1119
997
|
search_DESC = "search_DESC",
|
|
1120
998
|
}
|
|
1121
999
|
|
|
1122
|
-
export type PaymentConnection = {
|
|
1123
|
-
totalCount?: Scalars['Int']['output'];
|
|
1124
|
-
edges?: PaymentEdge[];
|
|
1125
|
-
};
|
|
1126
|
-
|
|
1127
|
-
export type PaymentEdge = {
|
|
1128
|
-
node: Payment;
|
|
1129
|
-
};
|
|
1130
|
-
|
|
1131
|
-
export type PaymentWhereInput = {
|
|
1132
|
-
id?: IdWhereInput;
|
|
1133
|
-
user?: UserWhereInput;
|
|
1134
|
-
amount?: IntWhereInput;
|
|
1135
|
-
currency?: AnyWhereInput;
|
|
1136
|
-
acl?: PaymentACLObjectWhereInput;
|
|
1137
|
-
createdAt?: DateWhereInput;
|
|
1138
|
-
updatedAt?: DateWhereInput;
|
|
1139
|
-
search?: SearchWhereInput;
|
|
1140
|
-
OR?: PaymentWhereInput[];
|
|
1141
|
-
AND?: PaymentWhereInput[];
|
|
1142
|
-
};
|
|
1143
|
-
|
|
1144
|
-
export type PaymentACLObjectWhereInput = {
|
|
1145
|
-
users?: PaymentACLObjectUsersACLWhereInput[];
|
|
1146
|
-
roles?: PaymentACLObjectRolesACLWhereInput[];
|
|
1147
|
-
OR?: PaymentACLObjectWhereInput[];
|
|
1148
|
-
AND?: PaymentACLObjectWhereInput[];
|
|
1149
|
-
};
|
|
1150
|
-
|
|
1151
|
-
export type PaymentACLObjectUsersACLWhereInput = {
|
|
1152
|
-
userId?: StringWhereInput;
|
|
1153
|
-
read?: BooleanWhereInput;
|
|
1154
|
-
write?: BooleanWhereInput;
|
|
1155
|
-
OR?: PaymentACLObjectUsersACLWhereInput[];
|
|
1156
|
-
AND?: PaymentACLObjectUsersACLWhereInput[];
|
|
1157
|
-
};
|
|
1158
|
-
|
|
1159
|
-
export type PaymentACLObjectRolesACLWhereInput = {
|
|
1160
|
-
roleId?: StringWhereInput;
|
|
1161
|
-
read?: BooleanWhereInput;
|
|
1162
|
-
write?: BooleanWhereInput;
|
|
1163
|
-
OR?: PaymentACLObjectRolesACLWhereInput[];
|
|
1164
|
-
AND?: PaymentACLObjectRolesACLWhereInput[];
|
|
1165
|
-
};
|
|
1166
|
-
|
|
1167
|
-
export enum PaymentOrder {
|
|
1168
|
-
user_ASC = "user_ASC",
|
|
1169
|
-
user_DESC = "user_DESC",
|
|
1170
|
-
amount_ASC = "amount_ASC",
|
|
1171
|
-
amount_DESC = "amount_DESC",
|
|
1172
|
-
currency_ASC = "currency_ASC",
|
|
1173
|
-
currency_DESC = "currency_DESC",
|
|
1174
|
-
acl_ASC = "acl_ASC",
|
|
1175
|
-
acl_DESC = "acl_DESC",
|
|
1176
|
-
createdAt_ASC = "createdAt_ASC",
|
|
1177
|
-
createdAt_DESC = "createdAt_DESC",
|
|
1178
|
-
updatedAt_ASC = "updatedAt_ASC",
|
|
1179
|
-
updatedAt_DESC = "updatedAt_DESC",
|
|
1180
|
-
search_ASC = "search_ASC",
|
|
1181
|
-
search_DESC = "search_DESC",
|
|
1182
|
-
}
|
|
1183
|
-
|
|
1184
1000
|
export type _InternalConfigConnection = {
|
|
1185
1001
|
totalCount?: Scalars['Int']['output'];
|
|
1186
1002
|
edges?: _InternalConfigEdge[];
|
|
@@ -1272,12 +1088,6 @@ export type Mutation = {
|
|
|
1272
1088
|
updateRoles: RoleConnection;
|
|
1273
1089
|
deleteRole?: DeleteRolePayload;
|
|
1274
1090
|
deleteRoles: RoleConnection;
|
|
1275
|
-
createPayment?: CreatePaymentPayload;
|
|
1276
|
-
createPayments: PaymentConnection;
|
|
1277
|
-
updatePayment?: UpdatePaymentPayload;
|
|
1278
|
-
updatePayments: PaymentConnection;
|
|
1279
|
-
deletePayment?: DeletePaymentPayload;
|
|
1280
|
-
deletePayments: PaymentConnection;
|
|
1281
1091
|
create_InternalConfig?: Create_InternalConfigPayload;
|
|
1282
1092
|
create_InternalConfigs: _InternalConfigConnection;
|
|
1283
1093
|
update_InternalConfig?: Update_InternalConfigPayload;
|
|
@@ -1393,30 +1203,6 @@ export type MutationDeleteRolesArgs = {
|
|
|
1393
1203
|
input: DeleteRolesInput;
|
|
1394
1204
|
};
|
|
1395
1205
|
|
|
1396
|
-
export type MutationCreatePaymentArgs = {
|
|
1397
|
-
input: CreatePaymentInput;
|
|
1398
|
-
};
|
|
1399
|
-
|
|
1400
|
-
export type MutationCreatePaymentsArgs = {
|
|
1401
|
-
input: CreatePaymentsInput;
|
|
1402
|
-
};
|
|
1403
|
-
|
|
1404
|
-
export type MutationUpdatePaymentArgs = {
|
|
1405
|
-
input: UpdatePaymentInput;
|
|
1406
|
-
};
|
|
1407
|
-
|
|
1408
|
-
export type MutationUpdatePaymentsArgs = {
|
|
1409
|
-
input: UpdatePaymentsInput;
|
|
1410
|
-
};
|
|
1411
|
-
|
|
1412
|
-
export type MutationDeletePaymentArgs = {
|
|
1413
|
-
input: DeletePaymentInput;
|
|
1414
|
-
};
|
|
1415
|
-
|
|
1416
|
-
export type MutationDeletePaymentsArgs = {
|
|
1417
|
-
input: DeletePaymentsInput;
|
|
1418
|
-
};
|
|
1419
|
-
|
|
1420
1206
|
export type MutationCreate_InternalConfigArgs = {
|
|
1421
1207
|
input: Create_InternalConfigInput;
|
|
1422
1208
|
};
|
|
@@ -1804,81 +1590,6 @@ export type DeleteRolesInput = {
|
|
|
1804
1590
|
order?: RoleOrder[];
|
|
1805
1591
|
};
|
|
1806
1592
|
|
|
1807
|
-
export type CreatePaymentPayload = {
|
|
1808
|
-
payment?: Payment;
|
|
1809
|
-
ok?: Scalars['Boolean']['output'];
|
|
1810
|
-
};
|
|
1811
|
-
|
|
1812
|
-
export type CreatePaymentInput = {
|
|
1813
|
-
fields?: PaymentCreateFieldsInput;
|
|
1814
|
-
};
|
|
1815
|
-
|
|
1816
|
-
export type CreatePaymentsInput = {
|
|
1817
|
-
fields: PaymentCreateFieldsInput[];
|
|
1818
|
-
offset?: Scalars['Int']['input'];
|
|
1819
|
-
first?: Scalars['Int']['input'];
|
|
1820
|
-
order?: PaymentOrder[];
|
|
1821
|
-
};
|
|
1822
|
-
|
|
1823
|
-
export type UpdatePaymentPayload = {
|
|
1824
|
-
payment?: Payment;
|
|
1825
|
-
ok?: Scalars['Boolean']['output'];
|
|
1826
|
-
};
|
|
1827
|
-
|
|
1828
|
-
export type UpdatePaymentInput = {
|
|
1829
|
-
id?: Scalars['ID']['input'];
|
|
1830
|
-
fields?: PaymentUpdateFieldsInput;
|
|
1831
|
-
};
|
|
1832
|
-
|
|
1833
|
-
export type PaymentUpdateFieldsInput = {
|
|
1834
|
-
user?: UserPointerInput;
|
|
1835
|
-
amount?: Scalars['Int']['input'];
|
|
1836
|
-
currency?: Currency;
|
|
1837
|
-
acl?: PaymentACLObjectUpdateFieldsInput;
|
|
1838
|
-
createdAt?: Scalars['Date']['input'];
|
|
1839
|
-
updatedAt?: Scalars['Date']['input'];
|
|
1840
|
-
search?: Scalars['String']['input'][];
|
|
1841
|
-
};
|
|
1842
|
-
|
|
1843
|
-
export type PaymentACLObjectUpdateFieldsInput = {
|
|
1844
|
-
users?: PaymentACLObjectUsersACLUpdateFieldsInput[];
|
|
1845
|
-
roles?: PaymentACLObjectRolesACLUpdateFieldsInput[];
|
|
1846
|
-
};
|
|
1847
|
-
|
|
1848
|
-
export type PaymentACLObjectUsersACLUpdateFieldsInput = {
|
|
1849
|
-
userId?: Scalars['String']['input'];
|
|
1850
|
-
read?: Scalars['Boolean']['input'];
|
|
1851
|
-
write?: Scalars['Boolean']['input'];
|
|
1852
|
-
};
|
|
1853
|
-
|
|
1854
|
-
export type PaymentACLObjectRolesACLUpdateFieldsInput = {
|
|
1855
|
-
roleId?: Scalars['String']['input'];
|
|
1856
|
-
read?: Scalars['Boolean']['input'];
|
|
1857
|
-
write?: Scalars['Boolean']['input'];
|
|
1858
|
-
};
|
|
1859
|
-
|
|
1860
|
-
export type UpdatePaymentsInput = {
|
|
1861
|
-
fields?: PaymentUpdateFieldsInput;
|
|
1862
|
-
where?: PaymentWhereInput;
|
|
1863
|
-
offset?: Scalars['Int']['input'];
|
|
1864
|
-
first?: Scalars['Int']['input'];
|
|
1865
|
-
order?: PaymentOrder[];
|
|
1866
|
-
};
|
|
1867
|
-
|
|
1868
|
-
export type DeletePaymentPayload = {
|
|
1869
|
-
payment?: Payment;
|
|
1870
|
-
ok?: Scalars['Boolean']['output'];
|
|
1871
|
-
};
|
|
1872
|
-
|
|
1873
|
-
export type DeletePaymentInput = {
|
|
1874
|
-
id?: Scalars['ID']['input'];
|
|
1875
|
-
};
|
|
1876
|
-
|
|
1877
|
-
export type DeletePaymentsInput = {
|
|
1878
|
-
where?: PaymentWhereInput;
|
|
1879
|
-
order?: PaymentOrder[];
|
|
1880
|
-
};
|
|
1881
|
-
|
|
1882
1593
|
export type Create_InternalConfigPayload = {
|
|
1883
1594
|
_internalConfig?: _InternalConfig;
|
|
1884
1595
|
ok?: Scalars['Boolean']['output'];
|
|
@@ -2081,10 +1792,7 @@ export type WabeSchemaScalars = "Phone"
|
|
|
2081
1792
|
export type WabeSchemaEnums = {
|
|
2082
1793
|
RoleEnum: RoleEnum,
|
|
2083
1794
|
AuthenticationProvider: AuthenticationProvider,
|
|
2084
|
-
SecondaryFactor: SecondaryFactor
|
|
2085
|
-
PaymentMode: PaymentMode,
|
|
2086
|
-
PaymentReccuringInterval: PaymentReccuringInterval,
|
|
2087
|
-
Currency: Currency
|
|
1795
|
+
SecondaryFactor: SecondaryFactor
|
|
2088
1796
|
}
|
|
2089
1797
|
|
|
2090
1798
|
export type WabeSchemaTypes = {
|
|
@@ -2092,6 +1800,5 @@ export type WabeSchemaTypes = {
|
|
|
2092
1800
|
Post: Post,
|
|
2093
1801
|
_Session: _Session,
|
|
2094
1802
|
Role: Role,
|
|
2095
|
-
Payment: Payment,
|
|
2096
1803
|
_InternalConfig: _InternalConfig
|
|
2097
1804
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wabe",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.22",
|
|
4
4
|
"description": "Your backend in minutes not days",
|
|
5
5
|
"homepage": "https://wabe.dev",
|
|
6
6
|
"author": {
|
|
@@ -31,18 +31,17 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@graphql-yoga/plugin-disable-introspection": "2.10.9",
|
|
34
|
-
"@graphql-tools/graphql-file-loader": "8.0.1",
|
|
35
|
-
"@graphql-tools/load": "8.0.2",
|
|
36
34
|
"@node-rs/argon2": "2.0.0",
|
|
37
35
|
"jsonwebtoken": "9.0.2",
|
|
38
36
|
"mongodb": "6.8.0",
|
|
39
37
|
"otplib": "12.0.1",
|
|
38
|
+
"p-retry": "6.2.1",
|
|
40
39
|
"wobe": "1.1.9",
|
|
41
40
|
"wobe-graphql-yoga": "1.2.5"
|
|
42
41
|
},
|
|
43
42
|
"devDependencies": {
|
|
44
43
|
"@parcel/watcher": "2.3.0",
|
|
45
|
-
"@types/bun": "
|
|
44
|
+
"@types/bun": "latest",
|
|
46
45
|
"@types/jsonwebtoken": "9.0.6",
|
|
47
46
|
"@types/uuid": "9.0.6",
|
|
48
47
|
"dts-bundle-generator": "9.5.1",
|