Skip to content

Commit

Permalink
Regenerate graphql schema and types
Browse files Browse the repository at this point in the history
  • Loading branch information
tung2744 committed Jan 13, 2025
1 parent 0e1b7ce commit 3667724
Show file tree
Hide file tree
Showing 2 changed files with 120 additions and 0 deletions.
45 changes: 45 additions & 0 deletions portal/src/graphql/portal/globalTypes.generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,11 @@ export type CreateDomainPayload = {
domain: Domain;
};

export type CustomSmsProviderSecretsInput = {
timeout: Scalars['Int']['input'];
url: Scalars['String']['input'];
};

export type DataPoint = {
__typename?: 'DataPoint';
data: Scalars['Float']['output'];
Expand Down Expand Up @@ -667,6 +672,44 @@ export type SamlSpSigningSecretsUpdateInstructionsInput = {
setData?: InputMaybe<SamlSpSigningSecretsSetDataInput>;
};

/** Custom SMS Provider configs */
export type SmsProviderCustomSmsProviderSecrets = {
__typename?: 'SMSProviderCustomSmsProviderSecrets';
timeout?: Maybe<Scalars['Int']['output']>;
url: Scalars['String']['output'];
};

/** SMS Provider secrets */
export type SmsProviderSecrets = {
__typename?: 'SMSProviderSecrets';
customSmsProvider?: Maybe<SmsProviderCustomSmsProviderSecrets>;
twilioCredentials?: Maybe<SmsProviderTwilioCredentials>;
};

export type SmsProviderSecretsSetDataInput = {
customSmsProvider?: InputMaybe<CustomSmsProviderSecretsInput>;
twilioCredentials?: InputMaybe<SmsProviderTwilioCredentialsInput>;
};

export type SmsProviderSecretsUpdateInstructionsInput = {
action: Scalars['String']['input'];
setData?: InputMaybe<SmsProviderSecretsSetDataInput>;
};

/** Twilio credentials */
export type SmsProviderTwilioCredentials = {
__typename?: 'SMSProviderTwilioCredentials';
accountSid: Scalars['String']['output'];
authToken: Scalars['String']['output'];
messageServiceSid: Scalars['String']['output'];
};

export type SmsProviderTwilioCredentialsInput = {
accountSid: Scalars['String']['input'];
authToken?: InputMaybe<Scalars['String']['input']>;
messageServiceSid: Scalars['String']['input'];
};

/** SMTP secret */
export type SmtpSecret = {
__typename?: 'SMTPSecret';
Expand Down Expand Up @@ -697,6 +740,7 @@ export type SecretConfig = {
oauthSSOProviderClientSecrets?: Maybe<Array<OAuthSsoProviderClientSecret>>;
samlIdpSigningSecrets?: Maybe<SamlIdpSigningSecrets>;
samlSpSigningSecrets?: Maybe<Array<SamlSpSigningSecrets>>;
smsProviderSecrets?: Maybe<Array<SmsProviderSecrets>>;
smtpSecret?: Maybe<SmtpSecret>;
webhookSecret?: Maybe<WebhookSecret>;
};
Expand All @@ -708,6 +752,7 @@ export type SecretConfigUpdateInstructionsInput = {
oauthSSOProviderClientSecrets?: InputMaybe<OAuthSsoProviderClientSecretsUpdateInstructionsInput>;
samlIdpSigningSecrets?: InputMaybe<SamlIdpSigningSecretsUpdateInstructionsInput>;
samlSpSigningSecrets?: InputMaybe<SamlSpSigningSecretsUpdateInstructionsInput>;
smsProviderSecrets?: InputMaybe<SmsProviderSecretsUpdateInstructionsInput>;
smtpSecret?: InputMaybe<SmtpSecretUpdateInstructionsInput>;
};

Expand Down
75 changes: 75 additions & 0 deletions portal/src/graphql/portal/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,15 @@ type CreateDomainPayload {
domain: Domain!
}

""""""
input CustomSmsProviderSecretsInput {
""""""
timeout: Int!

""""""
url: String!
}

""""""
type DataPoint {
""""""
Expand Down Expand Up @@ -764,6 +773,66 @@ input SAMLSpSigningSecretsUpdateInstructionsInput {
setData: SAMLSpSigningSecretsSetDataInput
}

"""Custom SMS Provider configs"""
type SMSProviderCustomSmsProviderSecrets {
""""""
timeout: Int

""""""
url: String!
}

"""SMS Provider secrets"""
type SMSProviderSecrets {
""""""
customSmsProvider: SMSProviderCustomSmsProviderSecrets

""""""
twilioCredentials: SMSProviderTwilioCredentials
}

""""""
input SMSProviderSecretsSetDataInput {
""""""
customSmsProvider: CustomSmsProviderSecretsInput

""""""
twilioCredentials: SMSProviderTwilioCredentialsInput
}

""""""
input SMSProviderSecretsUpdateInstructionsInput {
""""""
action: String!

""""""
setData: SMSProviderSecretsSetDataInput
}

"""Twilio credentials"""
type SMSProviderTwilioCredentials {
""""""
accountSid: String!

""""""
authToken: String!

""""""
messageServiceSid: String!
}

""""""
input SMSProviderTwilioCredentialsInput {
""""""
accountSid: String!

""""""
authToken: String

""""""
messageServiceSid: String!
}

"""SMTP secret"""
type SMTPSecret {
""""""
Expand Down Expand Up @@ -820,6 +889,9 @@ type SecretConfig {
""""""
samlSpSigningSecrets: [SAMLSpSigningSecrets!]

""""""
smsProviderSecrets: [SMSProviderSecrets!]

""""""
smtpSecret: SMTPSecret

Expand Down Expand Up @@ -847,6 +919,9 @@ input SecretConfigUpdateInstructionsInput {
""""""
samlSpSigningSecrets: SAMLSpSigningSecretsUpdateInstructionsInput

""""""
smsProviderSecrets: SMSProviderSecretsUpdateInstructionsInput

""""""
smtpSecret: SmtpSecretUpdateInstructionsInput
}
Expand Down

0 comments on commit 3667724

Please sign in to comment.