-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.gql
47 lines (41 loc) · 1.06 KB
/
schema.gql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# ------------------------------------------------------
# THIS FILE WAS AUTOMATICALLY GENERATED (DO NOT MODIFY)
# ------------------------------------------------------
directive @upper on FIELD_DEFINITION
type ChargeModel {
id: ID!
amount: Float!
status: String!
provider: String!
emv: String
provider_id: String
qr_code: String
e2e_id: String
created_at: DateTime!
updated_at: DateTime!
user_id: String!
}
"""
A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
"""
scalar DateTime
type UserWebhookNotificationModel {
id: ID!
user_id: String!
type: String!
charge_id: String!
payload: JSON!
attempts: Float!
delivered_at: DateTime
created_at: DateTime!
updated_at: DateTime!
}
"""
The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).
"""
scalar JSON
type Query {
findAll: [ChargeModel!]!
findByStatus(status: String!): [ChargeModel!]!
findAllUserWeboohok: [UserWebhookNotificationModel!]!
}