Build stripe integration on backend side (#5246)
Adding stripe integration by making the server logic independent of the input fields: - query factories (remote server, foreign data wrapper, foreign table) to loop on fields and values without hardcoding the names of the fields - adding stripe input and type - add the logic to handle static schema. Simply creating a big object to store into the server Additional work: - rename username field to user. This is the input intended for postgres user mapping and we now need a matching by name --------- Co-authored-by: Thomas Trompette <thomast@twenty.com>
This commit is contained in:
@ -577,14 +577,14 @@ export type RemoteServer = {
|
||||
id: Scalars['ID'];
|
||||
schema?: Maybe<Scalars['String']>;
|
||||
updatedAt: Scalars['DateTime'];
|
||||
userMappingOptions?: Maybe<UserMappingOptionsUsername>;
|
||||
userMappingOptions?: Maybe<UserMappingOptionsUser>;
|
||||
};
|
||||
|
||||
export type RemoteTable = {
|
||||
__typename?: 'RemoteTable';
|
||||
id?: Maybe<Scalars['UUID']>;
|
||||
name: Scalars['String'];
|
||||
schema: Scalars['String'];
|
||||
schema?: Maybe<Scalars['String']>;
|
||||
status: RemoteTableStatus;
|
||||
};
|
||||
|
||||
@ -772,9 +772,9 @@ export type UserExists = {
|
||||
exists: Scalars['Boolean'];
|
||||
};
|
||||
|
||||
export type UserMappingOptionsUsername = {
|
||||
__typename?: 'UserMappingOptionsUsername';
|
||||
username?: Maybe<Scalars['String']>;
|
||||
export type UserMappingOptionsUser = {
|
||||
__typename?: 'UserMappingOptionsUser';
|
||||
user?: Maybe<Scalars['String']>;
|
||||
};
|
||||
|
||||
export type UserWorkspace = {
|
||||
|
||||
Reference in New Issue
Block a user