aws-amplify / amplify-studio

AWS Amplify Studio (Formerly Admin UI)
136 stars 31 forks source link

@matriedel thanks for providing your schema. You're facing the same problem as @frouhi [here](https://github.com/aws-amplify/amplify-adminui/issues/513#issuecomment-1077946911). #776

Closed krishnav999 closed 1 year ago

krishnav999 commented 1 year ago
schema {
  query: Query
  mutation: Mutation
  subscription: Subscription
}

type Account @aws_cognito_user_pools {
  acctLast4: String
  acctNumber: String
  debitCardUrl: String
  routingNumber: String
}

type Address @aws_cognito_user_pools {
  address: String
  city: String
  state: String
  zipcode: String
}

type Addresses @aws_cognito_user_pools {
  business: Address
  delivery: Address
  home: Address
  isDeliverySameAsHome: Boolean
  isShippingSameAsHome: Boolean
  shipping: Address
}

type Agree @aws_api_key @aws_cognito_user_pools {
  companyEmail: AWSEmail
  documentId: String
  iAgree: String
}

type Agreement @aws_api_key @aws_cognito_user_pools {
  agreedDate: AWSDateTime
  agreement: Agree
  agreementId: String
  userEmail: AWSEmail
}

type Agreements @aws_api_key @aws_cognito_user_pools {
  items: [Agreement]
  scannedCount: Int
}

type Balance @aws_cognito_user_pools {
  balance: String
  exception: Exception
  identity: Identity
}

type Card @aws_cognito_user_pools {
  defaultCard: Boolean
  last4: Int
  nickname: String
  savedCardID: Int
}

type Cashback @aws_cognito_user_pools {
  cashBack: Float
  cashbackGiven: Float
  cost: Float
  exception: Exception
  identity: Identity
  logo: String
  merchant: String
  orderDate: String
  orderNumber: Int
  orderNumberDetail: Int
  redeemToken: String
  status: String
  transactionType: String
}

type Cashbacks @aws_cognito_user_pools {
  exception: Exception
  history: [Cashback]
  identity: Identity
}

type Checkout @aws_cognito_user_pools {
  cashbackYouWillEarn: Float
  checkoutToken: String
  checkoutTotal: Float
  exception: Exception
  identity: Identity
  logo: String
  merchant: String
  quantityRequested: String
}

type CpToken @aws_cognito_user_pools {
  accessToken: String
  exception: Exception
  identity: Identity
  jti: String
  lastSignonTimestamp: String
  refreshToken: String
  statusCode: Int
  tenantName: String
  uuid: String
}

type Doc @aws_api_key @aws_cognito_user_pools {
  description: String
  language: Language
  url: AWSURL
}

type Document @aws_api_key @aws_cognito_user_pools {
  companyEmail: AWSEmail
  document: Doc
  documentId: ID
  enterDate: AWSDateTime
}

type Documents @aws_api_key @aws_cognito_user_pools {
  items: [Document]
  scannedCount: Int
}

type Ecode @aws_cognito_user_pools {
  description: String
  hasRange: Boolean
  id: String
  logo: String
  maxRange: Float
  minRange: Float
  percent: String
  staticPrices: [Float]
}

type Email @aws_cognito_user_pools {
  exception: Exception
  identity: Identity
  messageId: String
}

type Exception @aws_cognito_user_pools {
  description: String
  errorCode: Int
  statusCode: Int
}

type Execution @aws_cognito_user_pools {
  executionArn: String
  input: String
  name: String
  output: String
  startDate: String
  status: String
  stopDate: String
}

type Favorite @aws_cognito_user_pools {
  merchantID: Int
  merchantLogo: String
  merchantName: String
  percent: String
}

type Giftcard @aws_cognito_user_pools {
  denomination: Float
  giftcardURL: String
  logo: String
  merchant: String
  orderNumberDetail: Int
}

type Giftcards @aws_cognito_user_pools {
  allGiftCardsReturned: Boolean
  exception: Exception
  giftCards: [Giftcard]
  identity: Identity
  message: String
  orderNumber: Int
  statusCode: String
}

type Identity @aws_cognito_user_pools {
  defaultAuthStrategy: String
  issuer: String
  sub: String
  username: String
}

type Info @aws_cognito_user_pools {
  fieldName: String
  parentTypeName: String
  selectionSetGraphQL: String
}

type InvitationDetail @aws_cognito_user_pools {
  exception: Exception
  identity: Identity
  profile: Profile
  signupToken: String
}

type Kyc @aws_cognito_user_pools {
  scanStatus: String
  scanUi: ScanUi
  scanUrl: String
  transactionId: String
}

type KycKeyPair @aws_cognito_user_pools {
  key: String
  message: String
}

type KycResults @aws_cognito_user_pools {
  error: String
  identity: Identity
  liveId: KycKeyPair
  qualifiers: Qualifiers
  results: KycKeyPair
  scanResult: KycKeyPair
  scanStatus: String
  scanSummary: KycKeyPair
  scanUrl: String
  scanVerification: KycKeyPair
  summary: KycKeyPair
  transactionId: String
}

type Mall @aws_cognito_user_pools {
  affiliateLink: String
  description: String
  id: Int
  percent: String
}

type Merchant @aws_cognito_user_pools {
  buyMessage: String
  categories: [String]
  couponLink: String
  id: String
  logo: String
  name: String
  percent: String
}

type MerchantDetail @aws_cognito_user_pools {
  ecode: Ecode
  exception: Exception
  identity: Identity
  merchant: Merchant
  onlineMall: Mall
}

type Merchants @aws_cognito_user_pools {
  exception: Exception
  identity: Identity
  merchants: [Merchant]
}

type Message @aws_cognito_user_pools {
  code: String
  exception: Exception
  identity: Identity
  savedCardID: Int
  status: Int
  title: String
  type: String
  uuid: String
}

type Migrate @aws_cognito_user_pools {
  password: String
  status: String
}

type Mutation {
  addressSave(address: AddressInput, type: AddressType): String @aws_cognito_user_pools
  authenticateCloudPaymentUser: CpToken @aws_cognito_user_pools
  authenticateRefreshShoppingBoss(bearerToken: String!, refreshToken: String!): SbToken @aws_cognito_user_pools
  authenticateShoppingBossUser: SbToken @aws_cognito_user_pools
  cardGalileoAcctInfo: Account @aws_cognito_user_pools
  documentAdd(document: addAgreement!): Document @aws_api_key @aws_cognito_user_pools
  documentRemove(document: removeAgreement!): Document @aws_api_key @aws_cognito_user_pools
  documentUpdate(document: updateAgreement!): Document @aws_api_key @aws_cognito_user_pools
  ecodeHide(orderDetailID: Int!, requestToken: String!): Message @aws_cognito_user_pools
  ecodeUnhide(orderDetailID: Int!, requestToken: String!): Message @aws_cognito_user_pools
  kycIdologyIDSubmit(registration: kycRegistration): Kyc @aws_cognito_user_pools
  kycIdologyScanPublish(scanStatus: String!, scanUrl: String, transactionId: String!): Kyc @aws_cognito_user_pools
  kycIdologyScanStatus(transactionId: String!): Kyc @aws_cognito_user_pools
  merchantFavoriteAdd(merchantId: Int!): Message @aws_cognito_user_pools
  merchantFavoriteRemove(merchantId: Int!): Message @aws_cognito_user_pools
  orderCheckoutCartClear: Message @aws_cognito_user_pools
  orderCheckoutProcess(order: orderProcess): Giftcards @aws_cognito_user_pools
  orderCheckoutStart(order: orderCheckout): Checkout @aws_cognito_user_pools
  passwordGenerator: Migrate @aws_cognito_user_pools
  registrationDelete(tenantId: String!, userEmail: String!): Registration @aws_cognito_user_pools
  registrationSave(services: services!): Registration @aws_cognito_user_pools
  registrationUpdate(services: services!): Registration @aws_cognito_user_pools
  sendEmail(templateName: String!): Email @aws_cognito_user_pools
  signupCloudPaymentsCreate(verified: Boolean): Message @aws_api_key @aws_cognito_user_pools
  signupSmsActivate(smsCode: String): Message @aws_cognito_user_pools
  signupUserCheck(sysEmail: AWSEmail!, userName: String!): Message @aws_cognito_user_pools
  signupUserShoppingBossCreate(signup: signupUser): Message @aws_cognito_user_pools
  userAccountCancel: Message @aws_cognito_user_pools
  userAccountReactivate: Message @aws_cognito_user_pools
  userAddressUpdate(body: personAddress): Message @aws_cognito_user_pools
  userAgreementAdd(agreement: addUserAgreement!): Agreement @aws_api_key @aws_cognito_user_pools
  userAgreementRemove(agreement: removeUserAgreement!): Agreement @aws_api_key @aws_cognito_user_pools
  userAgreementUpdate(agreement: updateUserAgreement!): Agreement @aws_api_key @aws_cognito_user_pools
  userCashbackExternalRedeem(amount: Float, externalClientId: Int, redeemToken: String): Message @aws_cognito_user_pools
  userCashbackRedeem(redeem: redeemCashback): Message @aws_cognito_user_pools
  userPasswordUpdate(newPassword: String, oldPassword: String): Message @aws_cognito_user_pools
  userPaymentMethodAdd(body: cardPayment): Message @aws_cognito_user_pools
  userPaymentMethodDefaultSet(cardId: Int): Balance @aws_cognito_user_pools
  userPaymentMethodNicknameSave(nickname: String, savedCardID: Int): Message @aws_cognito_user_pools
  userPaymentMethodRemove(cardId: String): Balance @aws_cognito_user_pools
  userPersonUpdate(firstName: String, lastName: String): Message @aws_cognito_user_pools
  userPrimaryCardUpdate(body: cardPayment): Message @aws_cognito_user_pools
  userSignUpInMultiSystems(execution: StartExecutionInput!): Execution @aws_cognito_user_pools
  walletBalanceCheck(orderNumberDetail: Int): Balance @aws_cognito_user_pools
  walletItemUpdate(archive: Boolean, notes: String, orderNumberDetail: Int): Message @aws_cognito_user_pools
}

type Order @aws_cognito_user_pools {
  archived: Boolean
  balanceCheck: Boolean
  cardURL: String
  cashbackGiven: Float
  cost: Float
  denomination: Float
  identity: Identity
  logo: String
  merchant: String
  orderDate: String
  orderNotes: String
  orderNumber: Int
  orderNumberDetail: Int
  status: String
  transactionType: String
}

type Orders @aws_cognito_user_pools {
  exception: Exception
  history: [Order]
}

type Person @aws_cognito_user_pools {
  address1: String
  address2: String
  cashbackRedemption: Boolean
  cashbackRedemptionCharity: Boolean
  city: String
  country: String
  email: AWSEmail
  firstName: String
  lastName: String
  phone: String
  primaryCardExpireDate: String
  state: String
  totalActiveCashback: Float
  totalCashback: Float
  totalEarnedCashback: Float
  totalPendingCashback: Float
  userName: String
  zipCode: String
}

type Profile @aws_cognito_user_pools {
  displayPromoPeriod: Boolean
  hideCancel: Boolean
  logo: String
  logoBanner: String
  logoFooter: String
  name: String
  profileCode: String
  promoPeriodText: String
  recurringText: String
  referralEnabled: Boolean
  renewalText: String
  staticReferral: Boolean
  staticReferralCode: String
  staticReferralList: [String]
  supportText: String
}

type Purchases @aws_cognito_user_pools {
  exception: Exception
  identity: Identity
  purchases: [Order]
}

type Qualifier {
  key: String
  message: String
}

type Qualifiers {
  items: [Qualifier]
}

type Query {
  getAddress(type: AddressType): Address @aws_cognito_user_pools
  getAddresses: Addresses @aws_cognito_user_pools
  getAppConfig: Message @aws_cognito_user_pools
  getDocument(companyEmail: AWSEmail!, documentId: String!): Document @aws_api_key @aws_cognito_user_pools
  getDocuments: Documents @aws_api_key @aws_cognito_user_pools
  getKycIdologyScanStatus(transactionId: String): Kyc @aws_cognito_user_pools
  getMerchant(merchantId: Int!): MerchantDetail @aws_cognito_user_pools
  getMerchantNoAuthRequired(profilecode: String): Merchants @aws_cognito_user_pools
  getMerchants: Merchants @aws_cognito_user_pools
  getOrders: Orders @aws_cognito_user_pools
  getRegistration(tenantId: String, userEmail: AWSEmail): Registration @aws_cognito_user_pools
  getRegistrations: Registrations @aws_cognito_user_pools
  getSignupInvitationDetails(invitationCode: String): InvitationDetail @aws_cognito_user_pools
  getState(code: String!): State @aws_api_key @aws_cognito_user_pools
  getStates: States @aws_cognito_user_pools
  getUserAgreement(agreementId: String!, userEmail: String!): Agreement @aws_api_key @aws_cognito_user_pools
  getUserAgreements: Agreements @aws_api_key @aws_cognito_user_pools
  getUserCashback: Cashback @aws_cognito_user_pools
  getUserCashbackAvailable(amount: Float): Cashback @aws_cognito_user_pools
  getUserCashbacks: Cashbacks @aws_cognito_user_pools
  getUserDetails: User @aws_cognito_user_pools
  getWallet(archived: String): Purchases @aws_cognito_user_pools
  getWalletByOrder(orderId: Int): Purchases @aws_cognito_user_pools
  isUserRegistrated: Registration @aws_cognito_user_pools
}

type Redemption @aws_cognito_user_pools {
  address: String
  address2: String
  amount: Float
  charityName: String
  city: String
  state: String
  zip: String
}

type Registration @aws_cognito_user_pools {
  enterDate: AWSDateTime
  services: VbnServices
  tenantId: String!
  userEmail: String!
  userName: String
}

type Registrations @aws_cognito_user_pools {
  items: [Registration]
  scannedCount: Int
}

type SbToken @aws_cognito_user_pools {
  bearerToken: String
  bearerTokenExpires: String
  exception: Exception
  identity: Identity
  message: String
  refreshToken: String
  refreshTokenExpires: String
}

type ScanUi @aws_cognito_user_pools {
  English: Ui
  Portuguese: Ui
}

type State @aws_cognito_user_pools {
  Abbrev: String
  Code: String
  State: String
}

type States @aws_cognito_user_pools {
  items: [State]
  scannedCount: Int
}

type Subscription {
  onCreateDocument(documentId: String): Document @aws_subscribe(mutations: ["documentAdd"])
  onCreateUserAgreement(agreementId: String, userEmail: String): Agreement @aws_subscribe(mutations: ["userAgreementAdd"])
  onDeleteDocument(documentId: String): Document @aws_subscribe(mutations: ["documentRemove"])
  onDeleteRegistration(tenantId: String, userEmail: String): Registration @aws_subscribe(mutations: ["registrationDelete"])
  onDeleteUserAgreement(agreementId: String, userEmail: String): Agreement @aws_subscribe(mutations: ["userAgreementRemove"])
  onKycIdologyScanPublish(transactionId: String!): Kyc @aws_subscribe(mutations: ["kycIdologyScanPublish"])
  onKycIdologyScanStatus(transactionId: String!): Kyc @aws_subscribe(mutations: ["kycIdologyScanStatus"])
  onSaveRegistration(tenantId: String, userEmail: String): Registration @aws_subscribe(mutations: ["registrationSave"])
  onUpdateDocument(documentId: String): Document @aws_subscribe(mutations: ["documentUpdate"])
  onUpdateRegistration(tenantId: String, userEmail: String): Registration @aws_subscribe(mutations: ["registrationUpdate"])
  onUpdateUserAgreement(agreementId: String, userEmail: String): Agreement @aws_subscribe(mutations: ["userAgreementUpdate"])
}

type Ui @aws_cognito_user_pools {
  description: String
  label: String
}

type User @aws_cognito_user_pools {
  cards: [Card]
  exception: Exception
  favorites: [Favorite]
  identity: Identity
  info: Info
  message: String
  primaryEmail: AWSEmail
  profile: Profile
  statusCode: Int
  sysEmail: AWSEmail
  user: Person
  userName: String
}

type VbnServices @aws_cognito_user_pools {
  cloudPayments: Boolean
  kyc: KycResults
  shoppingBoss: Boolean
}

enum AddressType {
  Delivery
  Home
  Shipping
}

enum KycStatus {
  failed
  pending
  scanning
  successful
}

enum Language {
  English
  Portuguese
  Spanish
}

input AddressInput {
  address: String
  city: String
  state: String
  zipcode: String
}

input StartExecutionInput {
  input: String!
  name: String!
}

input addAgreement {
  companyEmail: AWSEmail!
  description: String
  language: Language!
  url: AWSURL
}

input addUserAgreement {
  companyEmail: AWSEmail
  documentId: String
  iAgree: Boolean
  userEmail: AWSEmail!
}

input authUser {
  grant_type: String
  password: String
  username: String
}

input cardPayment {
  address1: String
  address2: String
  cardCVV: String
  cardNickName: String
  cardNumber: String
  city: String
  country: String
  expireMonth: Int
  expireYear: Int
  firstName: String
  lastName: String
  state: String
  zipCode: String
}

input kycRegistration {
  address: String
  city: String
  country: String
  dateOfBirthDay: Int
  dateOfBirthMonth: Int
  dateOfBrithYear: Int
  email: String
  firstName: String
  itin: Int
  lastName: String
  phoneNumber: String
  ssn: Int
  ssnLast4: Int
  state: String
  transactionId: String
  zipcode: Int
}

input orderCheckout {
  denomination: Float
  ecodeID: Int
  merchantID: Int
  quantityRequested: Int
}

input orderProcess {
  address1: String
  address2: String
  altEmailId: Int
  cardCVV: Int
  cardMonth: Int
  cardNickname: String
  cardNumber: String
  cardYear: Int
  cashbackAmount: Float
  checkoutToken: String
  city: String
  country: String
  denomination: Float
  eWalletAmount: Float
  ecodeId: Int
  emailEcodes: Boolean
  emailReceipt: Boolean
  externalPaymentMethodIdentifier: Int
  firstName: String
  lastName: String
  merchantId: Int
  paymentMethod: Int
  quantityRequested: Int
  savedCardId: Int
  state: String
  zipCode: String
}

input personAddress {
  address1: String
  address2: String
  city: String
  country: String
  state: String
  zipCode: String
}

input personUser {
  firstName: String
  lastName: String
}

input redeemCashback {
  address: String
  address2: String
  amount: Float
  charityName: String
  city: String
  state: String
  zip: String
}

input refreshToken {
  bearerToken: String!
  refreshToken: String
}

input removeAgreement {
  companyEmail: AWSEmail
  documentId: String!
}

input removeUserAgreement {
  agreementId: String!
  userEmail: String!
}

input services {
  cloudPayments: Boolean
  shoppingBoss: Boolean
}

input signupCloudPayments {
  contactType: String
  firstName: String
  lastName: String
  password: String
  preferredLanguage: String
  timeZoneFormatted: String
  username: String
  verified: Boolean
}

input signupUser {
  address: String
  cardCVV: String
  cardMonth: Int
  cardNumber: String
  cardYear: Int
  city: String
  country: String
  firstName: String
  lastName: String
  state: String
  zipCode: String
}

input updateAgreement {
  companyEmail: AWSEmail
  description: String
  documentId: ID!
  url: AWSURL
}

input updateUserAgreement {
  companyEmail: AWSEmail
  documentId: String
  iAgree: Boolean
  userEmail: AWSEmail!
}
ykethan commented 1 year ago

hey @krishnav999 , thank you for reaching out. Could you provide us some additional on the issue you are experiencing?

Additional, could you provide us the AppID and the project identifier generated by running amplify diagnose --send-report if the application has been pulled locally.

ykethan commented 1 year ago

Closing the issue due to inactivity. Please feel free in reaching out to us again by reopening this issue or create a new issue.