| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613 |
- import type { ServerOption, WrapperMeta } from './Wrappers.types'
- import { BASE_PATH, DOCS_URL } from '@/lib/constants'
- export const WRAPPER_HANDLERS = {
- STRIPE: 'stripe_fdw_handler',
- FIREBASE: 'firebase_fdw_handler',
- S3: 's3_fdw_handler',
- S3_VECTORS: 's3_vectors_fdw_handler',
- CLICK_HOUSE: 'click_house_fdw_handler',
- BIG_QUERY: 'big_query_fdw_handler',
- AIRTABLE: 'airtable_fdw_handler',
- LOGFLARE: 'logflare_fdw_handler',
- AUTH0: 'auth0_fdw_handler',
- COGNITO: 'cognito_fdw_handler',
- MSSQL: 'mssql_fdw_handler',
- REDIS: 'redis_fdw_handler',
- ICEBERG: 'iceberg_fdw_handler',
- PADDLE: 'wasm_fdw_handler',
- SNOWFLAKE: 'wasm_fdw_handler',
- CAL: 'wasm_fdw_handler',
- CALENDLY: 'wasm_fdw_handler',
- CLERK: 'wasm_fdw_handler',
- NOTION: 'wasm_fdw_handler',
- SLACK: 'wasm_fdw_handler',
- CLOUDFLARE_D1: 'wasm_fdw_handler',
- HUBSPOT: 'wasm_fdw_handler',
- ORB: 'wasm_fdw_handler',
- }
- export const BRIVEN_TARGET_SCHEMA_OPTION: ServerOption = {
- name: 'briven_target_schema',
- label: 'Target Schema',
- required: false,
- encrypted: false,
- secureEntry: false,
- readOnly: true,
- hidden: true,
- }
- export const WRAPPERS: WrapperMeta[] = [
- {
- name: 'stripe_wrapper',
- handlerName: WRAPPER_HANDLERS.STRIPE,
- validatorName: 'stripe_fdw_validator',
- icon: `${BASE_PATH}/img/icons/stripe-icon.svg`,
- description: 'Payment processing and subscription management',
- extensionName: 'StripeFdw',
- label: 'Stripe',
- docsUrl: `${DOCS_URL}/guides/database/extensions/wrappers/stripe`,
- server: {
- options: [
- {
- name: 'api_key_id',
- label: 'Stripe Secret Key',
- required: true,
- encrypted: true,
- secureEntry: true,
- urlHelper: 'https://stripe.com/docs/keys',
- },
- {
- name: 'api_url',
- label: 'Stripe API URL',
- defaultValue: 'https://api.stripe.com/v1',
- required: false,
- encrypted: false,
- secureEntry: false,
- },
- BRIVEN_TARGET_SCHEMA_OPTION,
- ],
- },
- tables: [
- {
- label: 'Accounts',
- description: 'List of accounts on your Stripe account',
- availableColumns: [
- {
- name: 'id',
- type: 'text',
- },
- {
- name: 'business_type',
- type: 'text',
- },
- {
- name: 'country',
- type: 'text',
- },
- {
- name: 'email',
- type: 'text',
- },
- {
- name: 'type',
- type: 'text',
- },
- {
- name: 'created',
- type: 'timestamp',
- },
- {
- name: 'attrs',
- type: 'jsonb',
- },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'accounts',
- editable: false,
- required: true,
- type: 'text',
- },
- {
- name: 'rowid_column',
- label: 'Row ID Column',
- defaultValue: 'id',
- editable: true,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Balance',
- description: 'The balance currently on your Stripe account',
- availableColumns: [
- {
- name: 'balance_type',
- type: 'text',
- },
- {
- name: 'amount',
- type: 'bigint',
- },
- {
- name: 'currency',
- type: 'text',
- },
- {
- name: 'attrs',
- type: 'jsonb',
- },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'balance',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Balance Transactions',
- description: 'Transactions that have contributed to the balance on your Stripe account',
- availableColumns: [
- {
- name: 'id',
- type: 'text',
- },
- {
- name: 'amount',
- type: 'bigint',
- },
- {
- name: 'currency',
- type: 'text',
- },
- {
- name: 'description',
- type: 'text',
- },
- {
- name: 'fee',
- type: 'bigint',
- },
- {
- name: 'net',
- type: 'bigint',
- },
- {
- name: 'status',
- type: 'text',
- },
- {
- name: 'type',
- type: 'text',
- },
- {
- name: 'created',
- type: 'timestamp',
- },
- {
- name: 'attrs',
- type: 'jsonb',
- },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'balance_transactions',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Charges',
- description: 'Charges made on your Stripe account',
- availableColumns: [
- {
- name: 'id',
- type: 'text',
- },
- {
- name: 'amount',
- type: 'bigint',
- },
- {
- name: 'currency',
- type: 'text',
- },
- {
- name: 'customer',
- type: 'text',
- },
- {
- name: 'description',
- type: 'text',
- },
- {
- name: 'invoice',
- type: 'text',
- },
- {
- name: 'payment_intent',
- type: 'text',
- },
- {
- name: 'status',
- type: 'text',
- },
- {
- name: 'created',
- type: 'timestamp',
- },
- {
- name: 'attrs',
- type: 'jsonb',
- },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'charges',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Checkout Sessions',
- description:
- "Customer's session as they pay for one-time purchases or subscriptions through Checkout or Payment Links",
- availableColumns: [
- {
- name: 'id',
- type: 'text',
- },
- {
- name: 'customer',
- type: 'text',
- },
- {
- name: 'payment_intent',
- type: 'text',
- },
- {
- name: 'subscription',
- type: 'text',
- },
- {
- name: 'attrs',
- type: 'jsonb',
- },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'checkout/sessions',
- editable: false,
- required: true,
- type: 'text',
- },
- {
- name: 'rowid_column',
- label: 'Row ID Column',
- defaultValue: 'id',
- editable: true,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Customers',
- description: 'Customers on your Stripe account',
- availableColumns: [
- {
- name: 'id',
- type: 'text',
- },
- {
- name: 'email',
- type: 'text',
- },
- {
- name: 'name',
- type: 'text',
- },
- {
- name: 'description',
- type: 'text',
- },
- {
- name: 'created',
- type: 'timestamp',
- },
- {
- name: 'attrs',
- type: 'jsonb',
- },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'customers',
- editable: false,
- required: true,
- type: 'text',
- },
- {
- name: 'rowid_column',
- label: 'Row ID Column',
- defaultValue: 'id',
- editable: true,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Disputes',
- description: 'When a customer questions your charge with their card issuer',
- availableColumns: [
- {
- name: 'id',
- type: 'text',
- },
- {
- name: 'amount',
- type: 'bigint',
- },
- {
- name: 'currency',
- type: 'text',
- },
- {
- name: 'charge',
- type: 'text',
- },
- {
- name: 'payment_intent',
- type: 'text',
- },
- {
- name: 'reason',
- type: 'text',
- },
- {
- name: 'status',
- type: 'text',
- },
- {
- name: 'created',
- type: 'timestamp',
- },
- {
- name: 'attrs',
- type: 'jsonb',
- },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'disputes',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Events',
- description:
- "Stripe's way of letting you know when something interesting happens in your account",
- availableColumns: [
- {
- name: 'id',
- type: 'text',
- },
- {
- name: 'type',
- type: 'text',
- },
- {
- name: 'api_version',
- type: 'text',
- },
- {
- name: 'created',
- type: 'timestamp',
- },
- {
- name: 'attrs',
- type: 'jsonb',
- },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'events',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Files',
- description: "Files that are hosted on Stripe's servers",
- availableColumns: [
- {
- name: 'id',
- type: 'text',
- },
- {
- name: 'filename',
- type: 'text',
- },
- {
- name: 'purpose',
- type: 'text',
- },
- {
- name: 'title',
- type: 'text',
- },
- {
- name: 'size',
- type: 'bigint',
- },
- {
- name: 'type',
- type: 'text',
- },
- {
- name: 'url',
- type: 'text',
- },
- {
- name: 'created',
- type: 'timestamp',
- },
- {
- name: 'expires_at',
- type: 'timestamp',
- },
- {
- name: 'attrs',
- type: 'jsonb',
- },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'files',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'File Links',
- description: 'For sharing contents of a File object with non-Stripe users',
- availableColumns: [
- {
- name: 'id',
- type: 'text',
- },
- {
- name: 'file',
- type: 'text',
- },
- {
- name: 'url',
- type: 'text',
- },
- {
- name: 'created',
- type: 'timestamp',
- },
- {
- name: 'expired',
- type: 'bool',
- },
- {
- name: 'expires_at',
- type: 'timestamp',
- },
- {
- name: 'attrs',
- type: 'jsonb',
- },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'file_links',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Invoices',
- description: 'Invoices on your Stripe account',
- availableColumns: [
- {
- name: 'id',
- type: 'text',
- },
- {
- name: 'customer',
- type: 'text',
- },
- {
- name: 'subscription',
- type: 'text',
- },
- {
- name: 'status',
- type: 'text',
- },
- {
- name: 'total',
- type: 'bigint',
- },
- {
- name: 'currency',
- type: 'text',
- },
- {
- name: 'period_start',
- type: 'timestamp',
- },
- {
- name: 'period_end',
- type: 'timestamp',
- },
- {
- name: 'attrs',
- type: 'jsonb',
- },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'invoices',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Mandates',
- description:
- 'Records of the permission a customer has given you to debit their payment method',
- availableColumns: [
- {
- name: 'id',
- type: 'text',
- },
- {
- name: 'payment_method',
- type: 'text',
- },
- {
- name: 'status',
- type: 'text',
- },
- {
- name: 'type',
- type: 'text',
- },
- {
- name: 'attrs',
- type: 'jsonb',
- },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'mandates',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Meters',
- description: 'Records for tracking event usage in billing',
- availableColumns: [
- {
- name: 'id',
- type: 'text',
- },
- {
- name: 'display_name',
- type: 'text',
- },
- {
- name: 'event_name',
- type: 'text',
- },
- {
- name: 'event_time_window',
- type: 'text',
- },
- {
- name: 'status',
- type: 'text',
- },
- {
- name: 'attrs',
- type: 'jsonb',
- },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'billing/meters',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Payment Intents',
- description: 'Payment Intents on your Stripe account',
- availableColumns: [
- {
- name: 'id',
- type: 'text',
- },
- {
- name: 'customer',
- type: 'text',
- },
- {
- name: 'amount',
- type: 'bigint',
- },
- {
- name: 'currency',
- type: 'text',
- },
- {
- name: 'payment_method',
- type: 'text',
- },
- {
- name: 'created',
- type: 'timestamp',
- },
- {
- name: 'attrs',
- type: 'jsonb',
- },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'payment_intents',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Payouts',
- description:
- 'Created when you receive funds from Stripe, or when you initiate a payout to either a bank account or debit card',
- availableColumns: [
- {
- name: 'id',
- type: 'text',
- },
- {
- name: 'amount',
- type: 'bigint',
- },
- {
- name: 'currency',
- type: 'text',
- },
- {
- name: 'arrival_date',
- type: 'timestamp',
- },
- {
- name: 'description',
- type: 'text',
- },
- {
- name: 'statement_descriptor',
- type: 'text',
- },
- {
- name: 'status',
- type: 'text',
- },
- {
- name: 'created',
- type: 'timestamp',
- },
- {
- name: 'attrs',
- type: 'jsonb',
- },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'payouts',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Prices',
- description:
- 'A Price object is needed for all your products to facilitate multiple currencies and pricing options',
- availableColumns: [
- {
- name: 'id',
- type: 'text',
- },
- {
- name: 'active',
- type: 'bool',
- },
- {
- name: 'currency',
- type: 'text',
- },
- {
- name: 'product',
- type: 'text',
- },
- {
- name: 'unit_amount',
- type: 'bigint',
- },
- {
- name: 'type',
- type: 'text',
- },
- {
- name: 'created',
- type: 'timestamp',
- },
- {
- name: 'attrs',
- type: 'jsonb',
- },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'prices',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Products',
- description: 'Products on your Stripe account',
- availableColumns: [
- {
- name: 'id',
- type: 'text',
- },
- {
- name: 'name',
- type: 'text',
- },
- {
- name: 'active',
- type: 'bool',
- },
- {
- name: 'default_price',
- type: 'text',
- },
- {
- name: 'description',
- type: 'text',
- },
- {
- name: 'created',
- type: 'timestamp',
- },
- {
- name: 'updated',
- type: 'timestamp',
- },
- {
- name: 'attrs',
- type: 'jsonb',
- },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'products',
- editable: false,
- required: true,
- type: 'text',
- },
- {
- name: 'rowid_column',
- label: 'Row ID Column',
- defaultValue: 'id',
- editable: true,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Refunds',
- description:
- 'Allows you to refund a charge that has previously been created but not yet refunded',
- availableColumns: [
- {
- name: 'id',
- type: 'text',
- },
- {
- name: 'amount',
- type: 'bigint',
- },
- {
- name: 'currency',
- type: 'text',
- },
- {
- name: 'charge',
- type: 'text',
- },
- {
- name: 'payment_intent',
- type: 'text',
- },
- {
- name: 'reason',
- type: 'text',
- },
- {
- name: 'status',
- type: 'text',
- },
- {
- name: 'created',
- type: 'timestamp',
- },
- {
- name: 'attrs',
- type: 'jsonb',
- },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'refunds',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Setup Attempts',
- description: 'Attempted confirmations of a SetupIntent, either successful or unsuccessful',
- availableColumns: [
- {
- name: 'id',
- type: 'text',
- },
- {
- name: 'application',
- type: 'text',
- },
- {
- name: 'customer',
- type: 'text',
- },
- {
- name: 'on_behalf_of',
- type: 'text',
- },
- {
- name: 'payment_method',
- type: 'text',
- },
- {
- name: 'setup_intent',
- type: 'text',
- },
- {
- name: 'status',
- type: 'text',
- },
- {
- name: 'usage',
- type: 'text',
- },
- {
- name: 'created',
- type: 'timestamp',
- },
- {
- name: 'attrs',
- type: 'jsonb',
- },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'setup_attempts',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Setup Intents',
- description:
- "Guides you through the process of setting up and saving a customer's payment credentials for future payments",
- availableColumns: [
- {
- name: 'id',
- type: 'text',
- },
- {
- name: 'client_secret',
- type: 'text',
- },
- {
- name: 'customer',
- type: 'text',
- },
- {
- name: 'description',
- type: 'text',
- },
- {
- name: 'payment_method',
- type: 'text',
- },
- {
- name: 'status',
- type: 'text',
- },
- {
- name: 'usage',
- type: 'text',
- },
- {
- name: 'created',
- type: 'timestamp',
- },
- {
- name: 'attrs',
- type: 'jsonb',
- },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'setup_intents',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Subscriptions',
- description: 'Subscriptions on your Stripe account',
- availableColumns: [
- {
- name: 'id',
- type: 'text',
- },
- {
- name: 'customer',
- type: 'text',
- },
- {
- name: 'currency',
- type: 'text',
- },
- {
- name: 'current_period_start',
- type: 'timestamp',
- },
- {
- name: 'current_period_end',
- type: 'timestamp',
- },
- {
- name: 'attrs',
- type: 'jsonb',
- },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'subscriptions',
- editable: false,
- required: true,
- type: 'text',
- },
- {
- name: 'rowid_column',
- label: 'Row ID Column',
- defaultValue: 'id',
- editable: true,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Tokens',
- description:
- 'Tokenization is the process Stripe uses to collect sensitive card or bank account details in a secure manner',
- availableColumns: [
- {
- name: 'id',
- type: 'text',
- },
- {
- name: 'customer',
- type: 'text',
- },
- {
- name: 'currency',
- type: 'text',
- },
- {
- name: 'current_period_start',
- type: 'timestamp',
- },
- {
- name: 'current_period_end',
- type: 'timestamp',
- },
- {
- name: 'attrs',
- type: 'jsonb',
- },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'tokens',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Top-ups',
- description: 'To top up your Stripe balance',
- availableColumns: [
- {
- name: 'id',
- type: 'text',
- },
- {
- name: 'amount',
- type: 'bigint',
- },
- {
- name: 'currency',
- type: 'text',
- },
- {
- name: 'description',
- type: 'text',
- },
- {
- name: 'status',
- type: 'text',
- },
- {
- name: 'created',
- type: 'timestamp',
- },
- {
- name: 'attrs',
- type: 'jsonb',
- },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'topups',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Transfers',
- description: 'When moving funds between Stripe accounts as part of Connect',
- availableColumns: [
- {
- name: 'id',
- type: 'text',
- },
- {
- name: 'amount',
- type: 'bigint',
- },
- {
- name: 'currency',
- type: 'text',
- },
- {
- name: 'description',
- type: 'text',
- },
- {
- name: 'destination',
- type: 'text',
- },
- {
- name: 'created',
- type: 'timestamp',
- },
- {
- name: 'attrs',
- type: 'jsonb',
- },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'transfers',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- ],
- canTargetSchema: true,
- sourceSchemaOption: {
- name: 'source_schema',
- label: 'Source Schema',
- required: true,
- encrypted: false,
- secureEntry: false,
- readOnly: true,
- defaultValue: 'stripe',
- },
- },
- {
- name: 'firebase_wrapper',
- handlerName: WRAPPER_HANDLERS.FIREBASE,
- validatorName: 'firebase_fdw_validator',
- icon: `${BASE_PATH}/img/icons/firebase-icon.svg`,
- description: 'Backend-as-a-Service with real-time database',
- extensionName: 'FirebaseFdw',
- label: 'Firebase',
- docsUrl: `${DOCS_URL}/guides/database/extensions/wrappers/firebase`,
- server: {
- options: [
- {
- name: 'project_id',
- label: 'Project ID',
- required: true,
- encrypted: false,
- secureEntry: false,
- },
- {
- name: 'sa_key_id',
- label: 'Service Account Key',
- required: true,
- encrypted: true,
- secureEntry: true,
- isTextArea: true,
- urlHelper: 'https://firebase.google.com/docs/admin/setup#initialize-sdk',
- },
- ],
- },
- tables: [
- {
- label: 'Users',
- description: 'Shows your Firebase users',
- availableColumns: [
- {
- name: 'uid',
- type: 'text',
- },
- {
- name: 'email',
- type: 'text',
- },
- {
- name: 'created_at',
- type: 'timestamp',
- },
- {
- name: 'attrs',
- type: 'jsonb',
- },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'auth/users',
- editable: false,
- required: true,
- type: 'text',
- },
- {
- name: 'base_url',
- label: 'Base URL',
- defaultValue: 'https://identitytoolkit.googleapis.com/v1/projects',
- editable: true,
- required: true,
- type: 'text',
- },
- {
- name: 'limit',
- label: 'Limit',
- defaultValue: '10000',
- editable: true,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Firestore Collection',
- description: 'Map to a Firestore collection',
- availableColumns: [
- {
- name: 'name',
- type: 'text',
- },
- {
- name: 'created_at',
- type: 'timestamp',
- },
- {
- name: 'updated_at',
- type: 'timestamp',
- },
- {
- name: 'attrs',
- type: 'jsonb',
- },
- ],
- options: [
- {
- name: 'object',
- label: 'Object',
- placeholder: 'firestore/[collection_id]',
- editable: true,
- required: true,
- type: 'text',
- },
- {
- name: 'base_url',
- label: 'Base URL',
- defaultValue: 'https://firestore.googleapis.com/v1beta1/projects',
- editable: true,
- required: true,
- type: 'text',
- },
- {
- name: 'limit',
- label: 'Limit',
- defaultValue: '10000',
- editable: true,
- required: true,
- type: 'text',
- },
- ],
- },
- ],
- },
- {
- name: 's3_wrapper',
- handlerName: WRAPPER_HANDLERS.S3,
- validatorName: 's3_fdw_validator',
- icon: `${BASE_PATH}/img/icons/s3-icon.svg`,
- description: 'Cloud object storage service',
- extensionName: 'S3Fdw',
- label: 'S3',
- docsUrl: `${DOCS_URL}/guides/database/extensions/wrappers/s3`,
- server: {
- options: [
- {
- name: 'vault_access_key_id',
- label: 'Access Key ID',
- required: true,
- encrypted: true,
- secureEntry: true,
- },
- {
- name: 'vault_secret_access_key',
- label: 'Access Key Secret',
- required: true,
- encrypted: true,
- secureEntry: true,
- },
- {
- name: 'aws_region',
- label: 'AWS Region',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue: 'us-east-1',
- },
- ],
- },
- tables: [
- {
- label: 'S3 File',
- description: 'Map to a file in S3 (CSV or JSON only)',
- options: [
- {
- name: 'uri',
- label: 'URI',
- editable: true,
- required: true,
- placeholder: 's3://bucket/s3_table.csv',
- type: 'text',
- },
- {
- name: 'format',
- label: 'Format',
- editable: true,
- required: true,
- type: 'select',
- defaultValue: 'csv',
- options: [
- { label: 'CSV', value: 'csv' },
- { label: 'JSONL (JSON Lines)', value: 'jsonl' },
- ],
- },
- {
- name: 'has_header',
- label: 'Has Header',
- editable: true,
- required: true,
- type: 'select',
- defaultValue: 'true',
- options: [
- { label: 'True', value: 'true' },
- { label: 'False', value: 'false' },
- ],
- },
- {
- name: 'compress',
- label: 'Compression',
- editable: true,
- required: false,
- type: 'select',
- options: [{ label: 'GZIP', value: 'gzip' }],
- },
- ],
- },
- ],
- },
- {
- name: 's3_vectors_wrapper',
- handlerName: WRAPPER_HANDLERS.S3_VECTORS,
- validatorName: 's3_vectors_fdw_validator',
- icon: `${BASE_PATH}/img/icons/s3-icon.svg`,
- description: 'Cloud storage service for high-dimensional vectors',
- extensionName: 'S3VectorsFdw',
- label: 'S3 Vectors',
- docsUrl: `${DOCS_URL}/guides/database/extensions/wrappers/s3-vectors`,
- minimumExtensionVersion: '0.5.6',
- server: {
- options: [
- {
- name: 'vault_access_key_id',
- label: 'Access Key ID',
- required: true,
- encrypted: true,
- secureEntry: true,
- },
- {
- name: 'vault_secret_access_key',
- label: 'Access Key Secret',
- required: true,
- encrypted: true,
- secureEntry: true,
- },
- {
- name: 'aws_region',
- label: 'AWS Region',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue: 'us-east-1',
- },
- {
- name: 'endpoint_url',
- label: 'Endpoint URL',
- required: false,
- encrypted: false,
- secureEntry: false,
- defaultValue: '',
- },
- BRIVEN_TARGET_SCHEMA_OPTION,
- ],
- },
- canTargetSchema: true,
- tables: [],
- },
- {
- name: 'clickhouse_wrapper',
- handlerName: WRAPPER_HANDLERS.CLICK_HOUSE,
- validatorName: 'click_house_fdw_validator',
- icon: `${BASE_PATH}/img/icons/clickhouse-icon.svg`,
- description: 'Column-oriented analytics database',
- extensionName: 'ClickHouseFdw',
- label: 'ClickHouse',
- docsUrl: `${DOCS_URL}/guides/database/extensions/wrappers/clickhouse`,
- server: {
- options: [
- {
- name: 'conn_string_id',
- label: 'ClickHouse Connection String',
- required: true,
- encrypted: true,
- secureEntry: true,
- },
- ],
- },
- tables: [
- {
- label: 'ClickHouse Table',
- description: 'Map to a ClickHouse Table',
- options: [
- {
- name: 'table',
- label: 'ClickHouse Table Name',
- editable: true,
- required: true,
- placeholder: 'my_clickhouse_table',
- type: 'text',
- },
- {
- name: 'rowid_column',
- label: 'Row ID Column',
- defaultValue: 'id',
- editable: true,
- required: true,
- type: 'text',
- },
- ],
- },
- ],
- },
- {
- name: 'bigquery_wrapper',
- handlerName: WRAPPER_HANDLERS.BIG_QUERY,
- validatorName: 'big_query_fdw_validator',
- icon: `${BASE_PATH}/img/icons/bigquery-icon.svg`,
- description: 'Serverless data warehouse and analytics',
- extensionName: 'BigQueryFdw',
- label: 'BigQuery',
- docsUrl: `${DOCS_URL}/guides/database/extensions/wrappers/bigquery`,
- server: {
- options: [
- {
- name: 'sa_key_id',
- label: 'Service Account Key',
- required: true,
- encrypted: true,
- secureEntry: true,
- },
- {
- name: 'project_id',
- label: 'Project ID',
- required: true,
- encrypted: false,
- secureEntry: false,
- },
- {
- name: 'dataset_id',
- label: 'Dataset ID',
- required: true,
- encrypted: false,
- secureEntry: false,
- },
- ],
- },
- tables: [
- {
- label: 'BigQuery Table',
- description: 'Map to a BigQuery Table',
- options: [
- {
- name: 'table',
- label: 'BigQuery Table Name',
- editable: true,
- required: true,
- placeholder: 'my_bigquery_table',
- type: 'text',
- },
- {
- name: 'location',
- label: 'Location',
- defaultValue: 'US',
- editable: true,
- required: false,
- type: 'text',
- },
- {
- name: 'timeout',
- label: 'Timeout (ms)',
- defaultValue: '30000',
- editable: true,
- required: false,
- type: 'text',
- },
- {
- name: 'rowid_column',
- label: 'Row ID Column',
- defaultValue: 'id',
- editable: true,
- required: false,
- type: 'text',
- },
- ],
- },
- ],
- },
- {
- name: 'airtable_wrapper',
- handlerName: WRAPPER_HANDLERS.AIRTABLE,
- validatorName: 'airtable_fdw_validator',
- icon: `${BASE_PATH}/img/icons/airtable-icon.svg`,
- description: 'No-code database and spreadsheet platform',
- extensionName: 'airtableFdw',
- label: 'Airtable',
- docsUrl: `${DOCS_URL}/guides/database/extensions/wrappers/airtable`,
- server: {
- options: [
- {
- name: 'api_key_id',
- label: 'API Key ID',
- required: true,
- encrypted: true,
- secureEntry: true,
- },
- ],
- },
- tables: [
- {
- label: 'Airtable Table',
- description: 'Map to an Airtable Table',
- options: [
- {
- name: 'base_id',
- label: 'Base ID',
- editable: true,
- required: true,
- type: 'text',
- },
- {
- name: 'table_id',
- label: 'Table ID',
- editable: true,
- required: true,
- type: 'text',
- },
- ],
- },
- ],
- },
- {
- name: 'logflare_wrapper',
- handlerName: WRAPPER_HANDLERS.LOGFLARE,
- validatorName: 'logflare_fdw_validator',
- icon: `${BASE_PATH}/img/icons/logflare-icon.svg`,
- description: 'Log management and analytics service',
- extensionName: 'logflareFdw',
- label: 'Logflare',
- docsUrl: `${DOCS_URL}/guides/database/extensions/wrappers/logflare`,
- server: {
- options: [
- {
- name: 'api_key_id',
- label: 'API Key ID',
- required: true,
- encrypted: true,
- secureEntry: true,
- },
- ],
- },
- tables: [
- {
- label: 'Logflare Table',
- description: 'Map to a Logflare Table',
- options: [
- {
- name: 'endpoint',
- label: 'Endpoint',
- editable: true,
- required: true,
- type: 'text',
- },
- ],
- },
- ],
- },
- {
- name: 'auth0_wrapper',
- handlerName: WRAPPER_HANDLERS.AUTH0,
- validatorName: 'auth0_fdw_validator',
- icon: `${BASE_PATH}/img/icons/auth0-icon.svg`,
- description: 'Identity and access management platform',
- extensionName: 'Auth0Fdw',
- label: 'Auth0',
- docsUrl: `${DOCS_URL}/guides/database/extensions/wrappers/auth0`,
- minimumExtensionVersion: '0.3.0',
- server: {
- options: [
- {
- name: 'api_key_id',
- label: 'Auth0 API key or PAT',
- required: true,
- encrypted: true,
- secureEntry: true,
- },
- {
- name: 'url',
- label: 'Auth0 API URL',
- defaultValue: 'https://dev-<tenant-id>.us.auth0.com/api/v2/users',
- required: false,
- encrypted: false,
- secureEntry: false,
- },
- ],
- },
- tables: [
- {
- label: 'Users',
- description: 'Auth0 Users',
- availableColumns: [
- {
- name: 'user_id',
- type: 'text',
- },
- {
- name: 'email',
- type: 'text',
- },
- {
- name: 'email_verified',
- type: 'boolean',
- },
- {
- name: 'username',
- type: 'text',
- },
- {
- name: 'phone_number',
- type: 'text',
- },
- {
- name: 'phone_verified',
- type: 'boolean',
- },
- {
- name: 'created_at',
- type: 'jsonb',
- },
- {
- name: 'updated_at',
- type: 'jsonb',
- },
- {
- name: 'identities',
- type: 'jsonb',
- },
- {
- name: 'app_metadata',
- type: 'jsonb',
- },
- {
- name: 'user_metadata',
- type: 'jsonb',
- },
- {
- name: 'picture',
- type: 'text',
- },
- {
- name: 'name',
- type: 'text',
- },
- {
- name: 'nickname',
- type: 'text',
- },
- {
- name: 'multifactor',
- type: 'jsonb',
- },
- {
- name: 'last_ip',
- type: 'text',
- },
- {
- name: 'last_login',
- type: 'jsonb',
- },
- {
- name: 'logins_count',
- type: 'integer',
- },
- {
- name: 'blocked',
- type: 'boolean',
- },
- {
- name: 'given_name',
- type: 'text',
- },
- {
- name: 'family_name',
- type: 'text',
- },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'users',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- ],
- },
- {
- name: 'cognito_wrapper',
- handlerName: WRAPPER_HANDLERS.COGNITO,
- validatorName: 'cognito_fdw_validator',
- icon: `${BASE_PATH}/img/icons/cognito-icon.svg`,
- description: 'AWS user authentication and authorization',
- extensionName: 'CognitoFdw',
- label: 'Cognito',
- docsUrl: `${DOCS_URL}/guides/database/extensions/wrappers/cognito`,
- minimumExtensionVersion: '0.3.0',
- server: {
- options: [
- {
- name: 'aws_access_key_id',
- label: 'AWS Access Key ID',
- required: true,
- encrypted: false,
- secureEntry: false,
- },
- {
- name: 'api_key_id',
- label: 'AWS Secret Key',
- required: true,
- encrypted: true,
- secureEntry: true,
- },
- {
- name: 'region',
- label: 'Region',
- required: true,
- encrypted: false,
- secureEntry: false,
- },
- {
- name: 'user_pool_id',
- label: 'User Pool ID',
- required: true,
- encrypted: false,
- secureEntry: false,
- },
- BRIVEN_TARGET_SCHEMA_OPTION,
- ],
- },
- canTargetSchema: true,
- sourceSchemaOption: {
- name: 'source_schema',
- label: 'Source Schema',
- required: true,
- encrypted: false,
- secureEntry: false,
- readOnly: true,
- defaultValue: 'cognito',
- },
- tables: [
- {
- label: 'Users',
- description: 'Cognito Users',
- availableColumns: [
- {
- name: 'email',
- type: 'text',
- },
- {
- name: 'created_at',
- type: 'text',
- },
- {
- name: 'email_verified',
- type: 'boolean',
- },
- {
- name: 'identities',
- type: 'jsonb',
- },
- {
- name: 'username',
- type: 'text',
- },
- {
- name: 'status',
- type: 'text',
- },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'users',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- ],
- },
- {
- name: 'mssql_wrapper',
- handlerName: WRAPPER_HANDLERS.MSSQL,
- validatorName: 'mssql_fdw_validator',
- icon: `${BASE_PATH}/img/icons/mssql-icon.svg`,
- description: 'Microsoft SQL Server database',
- extensionName: 'mssqlFdw',
- label: 'Microsoft SQL Server',
- docsUrl: `${DOCS_URL}/guides/database/extensions/wrappers/mssql`,
- minimumExtensionVersion: '0.3.0',
- server: {
- options: [
- {
- name: 'conn_string_id',
- label: 'Connection String',
- required: true,
- encrypted: true,
- secureEntry: true,
- },
- ],
- },
- tables: [
- {
- label: 'Microsoft SQL Server Table',
- description: 'Map to an Microsoft SQL Server Table',
- options: [
- {
- name: 'table',
- label: 'MSSQL Table',
- editable: true,
- required: true,
- type: 'text',
- },
- ],
- },
- ],
- },
- {
- name: 'redis_wrapper',
- handlerName: WRAPPER_HANDLERS.REDIS,
- validatorName: 'redis_fdw_validator',
- icon: `${BASE_PATH}/img/icons/redis-icon.svg`,
- description: 'In-memory data structure store',
- extensionName: 'redisFdw',
- label: 'Redis',
- docsUrl: `${DOCS_URL}/guides/database/extensions/wrappers/redis`,
- minimumExtensionVersion: '0.3.0',
- server: {
- options: [
- {
- name: 'conn_url_id',
- label: 'Connection URL',
- required: true,
- encrypted: true,
- secureEntry: true,
- },
- ],
- },
- tables: [
- {
- label: 'List',
- description: 'Redis list data structure',
- availableColumns: [
- {
- name: 'element',
- type: 'text',
- },
- ],
- options: [
- {
- name: 'src_type',
- defaultValue: 'list',
- editable: false,
- required: true,
- type: 'text',
- },
- {
- name: 'src_key',
- label: 'Source Key',
- editable: true,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Set',
- description: 'Redis set data structure',
- availableColumns: [
- {
- name: 'element',
- type: 'text',
- },
- ],
- options: [
- {
- name: 'src_type',
- defaultValue: 'set',
- editable: false,
- required: true,
- type: 'text',
- },
- {
- name: 'src_key',
- label: 'Source Key',
- editable: true,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Sorted Set (zset)',
- description: 'Redis sorted set data structure',
- availableColumns: [
- {
- name: 'element',
- type: 'text',
- },
- ],
- options: [
- {
- name: 'src_type',
- defaultValue: 'zset',
- editable: false,
- required: true,
- type: 'text',
- },
- {
- name: 'src_key',
- label: 'Source Key',
- editable: true,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Hash',
- description: 'Redis hash data structure',
- availableColumns: [
- {
- name: 'key',
- type: 'text',
- },
- {
- name: 'value',
- type: 'text',
- },
- ],
- options: [
- {
- name: 'src_type',
- defaultValue: 'hash',
- editable: false,
- required: true,
- type: 'text',
- },
- {
- name: 'src_key',
- label: 'Source Key',
- editable: true,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Stream',
- description: 'Redis stream data structure',
- availableColumns: [
- {
- name: 'id',
- type: 'text',
- },
- {
- name: 'items',
- type: 'text',
- },
- ],
- options: [
- {
- name: 'src_type',
- defaultValue: 'stream',
- editable: false,
- required: true,
- type: 'text',
- },
- {
- name: 'src_key',
- label: 'Source Key',
- editable: true,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Multi List',
- description: 'Query multiple Redis lists',
- availableColumns: [
- {
- name: 'key',
- type: 'text',
- },
- {
- name: 'items',
- type: 'text',
- },
- ],
- options: [
- {
- name: 'src_type',
- defaultValue: 'multi_list',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Multi Set',
- description: 'Query multiple Redis sets',
- availableColumns: [
- {
- name: 'key',
- type: 'text',
- },
- {
- name: 'items',
- type: 'text',
- },
- ],
- options: [
- {
- name: 'src_type',
- defaultValue: 'multi_set',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Multi Hash',
- description: 'Query multiple Redis hashes',
- availableColumns: [
- {
- name: 'key',
- type: 'text',
- },
- {
- name: 'items',
- type: 'text',
- },
- ],
- options: [
- {
- name: 'src_type',
- defaultValue: 'multi_hash',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Multi Sorted Set (multi_zset)',
- description: 'Query multiple Redis sorted sets',
- availableColumns: [
- {
- name: 'key',
- type: 'text',
- },
- {
- name: 'items',
- type: 'text',
- },
- ],
- options: [
- {
- name: 'src_type',
- defaultValue: 'multi_zset',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- ],
- },
- {
- name: 'paddle_wrapper',
- handlerName: WRAPPER_HANDLERS.PADDLE,
- validatorName: 'wasm_fdw_validator',
- icon: `${BASE_PATH}/img/icons/paddle-icon.svg`,
- description: 'Subscription billing and payments platform',
- extensionName: 'paddleFdw',
- label: 'Paddle',
- docsUrl: `${DOCS_URL}/guides/database/extensions/wrappers/paddle`,
- minimumExtensionVersion: '0.4.0',
- server: {
- options: [
- {
- name: 'fdw_package_url',
- label: 'FDW Package URL',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue:
- 'https://github.com/briven/wrappers/releases/download/wasm_paddle_fdw_v0.1.1/paddle_fdw.wasm',
- hidden: true,
- },
- {
- name: 'fdw_package_name',
- label: 'FDW Package Name',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue: 'briven:paddle-fdw',
- hidden: true,
- },
- {
- name: 'fdw_package_version',
- label: 'FDW Package Version',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue: '0.1.1',
- hidden: true,
- },
- {
- name: 'fdw_package_checksum',
- label: 'FDW Package Checksum',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue: 'c5ac70bb2eef33693787b7d4efce9a83cde8d4fa40889d2037403a51263ba657',
- hidden: true,
- },
- {
- name: 'api_url',
- label: 'Paddle API URL',
- defaultValue: 'https://api.paddle.com',
- required: true,
- encrypted: false,
- secureEntry: false,
- },
- {
- name: 'api_key_id',
- label: 'Paddle API Key',
- required: true,
- encrypted: true,
- secureEntry: true,
- },
- ],
- },
- tables: [
- {
- label: 'Paddle Object',
- description: 'Map to an Paddle Object',
- options: [
- {
- name: 'object',
- label: 'Object',
- editable: true,
- required: true,
- type: 'select',
- defaultValue: 'products',
- options: [
- { label: 'Products', value: 'products' },
- { label: 'Prices', value: 'prices' },
- { label: 'Discounts', value: 'discounts' },
- { label: 'Customers', value: 'customers' },
- { label: 'Transactions', value: 'transactions' },
- { label: 'Reports', value: 'reports' },
- { label: 'Notification Settings', value: 'notification-settings' },
- { label: 'notifications', value: 'notifications' },
- ],
- },
- {
- name: 'rowid_column',
- label: 'Row ID Column',
- defaultValue: 'id',
- editable: true,
- required: true,
- type: 'text',
- },
- ],
- },
- ],
- },
- {
- name: 'snowflake_wrapper',
- handlerName: WRAPPER_HANDLERS.SNOWFLAKE,
- validatorName: 'wasm_fdw_validator',
- icon: `${BASE_PATH}/img/icons/snowflake-icon.svg`,
- description: 'Cloud data warehouse platform',
- extensionName: 'snowflakeFdw',
- label: 'Snowflake',
- docsUrl: `${DOCS_URL}/guides/database/extensions/wrappers/snowflake`,
- minimumExtensionVersion: '0.4.0',
- server: {
- options: [
- {
- name: 'fdw_package_url',
- label: 'FDW Package URL',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue:
- 'https://github.com/briven/wrappers/releases/download/wasm_snowflake_fdw_v0.1.1/snowflake_fdw.wasm',
- hidden: true,
- },
- {
- name: 'fdw_package_name',
- label: 'FDW Package Name',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue: 'briven:snowflake-fdw',
- hidden: true,
- },
- {
- name: 'fdw_package_version',
- label: 'FDW Package Version',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue: '0.1.1',
- hidden: true,
- },
- {
- name: 'fdw_package_checksum',
- label: 'FDW Package Checksum',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue: '7aaafc7edc1726bc93ddc04452d41bda9e1a264a1df2ea9bf1b00b267543b860',
- hidden: true,
- },
- {
- name: 'account_identifier',
- label: 'Account Identifier',
- required: true,
- encrypted: false,
- secureEntry: false,
- },
- {
- name: 'user',
- label: 'User',
- required: true,
- encrypted: false,
- secureEntry: false,
- },
- {
- name: 'public_key_fingerprint',
- label: 'Public Key Fingerprint',
- required: true,
- encrypted: false,
- secureEntry: false,
- },
- {
- name: 'private_key_id',
- label: 'Private Key',
- required: true,
- encrypted: true,
- secureEntry: true,
- },
- ],
- },
- tables: [
- {
- label: 'Snowflake Table',
- description: 'Map to an Snowflake Table',
- options: [
- {
- name: 'table',
- label: 'Table',
- editable: true,
- required: true,
- type: 'text',
- },
- {
- name: 'rowid_column',
- label: 'Row ID Column',
- defaultValue: 'id',
- editable: true,
- required: true,
- type: 'text',
- },
- ],
- },
- ],
- },
- {
- name: 'iceberg_wrapper',
- handlerName: WRAPPER_HANDLERS.ICEBERG,
- validatorName: 'iceberg_fdw_validator',
- icon: `${BASE_PATH}/img/icons/iceberg-icon.svg`,
- description: 'Iceberg is a data warehouse',
- extensionName: 'icebergFdw',
- label: 'Iceberg',
- docsUrl: `${DOCS_URL}/guides/database/extensions/wrappers/iceberg`,
- minimumExtensionVersion: '0.5.3',
- customComponent: true,
- server: {
- // The fields are intentionally not required. The required flag is enforced in the create iceberg wrapper sheet.
- // In the edit wrapper sheet, all fields are shown and not required.
- options: [
- {
- name: 'vault_aws_access_key_id',
- label: 'AWS Access Key ID',
- required: false,
- encrypted: true,
- secureEntry: true,
- },
- {
- name: 'vault_aws_secret_access_key',
- label: 'AWS Secret Access Key',
- required: false,
- encrypted: true,
- secureEntry: true,
- },
- {
- name: 'region_name',
- label: 'Region Name',
- required: false,
- encrypted: false,
- secureEntry: false,
- },
- {
- name: 'vault_aws_s3table_bucket_arn',
- label: 'AWS S3 Table Bucket ARN',
- required: false,
- encrypted: true,
- secureEntry: true,
- },
- {
- name: 'vault_token',
- label: 'Token',
- required: false,
- encrypted: true,
- secureEntry: true,
- },
- {
- name: 'warehouse',
- label: 'Warehouse',
- required: false,
- encrypted: false,
- secureEntry: false,
- },
- {
- name: 's3.endpoint',
- label: 'S3 Endpoint',
- required: false,
- encrypted: false,
- secureEntry: false,
- },
- {
- name: 'catalog_uri',
- label: 'Catalog URI',
- required: false,
- encrypted: false,
- secureEntry: false,
- },
- BRIVEN_TARGET_SCHEMA_OPTION,
- ],
- },
- canTargetSchema: true,
- sourceSchemaOption: {
- name: 'source_schema',
- label: 'Namespace',
- description: 'It should match the namespace of the Iceberg catalog.',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue: '',
- },
- tables: [],
- },
- {
- name: 'cal_wrapper',
- description: 'Cal.com is a scheduling platform',
- handlerName: WRAPPER_HANDLERS.CAL,
- validatorName: 'wasm_fdw_validator',
- icon: `${BASE_PATH}/img/icons/cal-com-icon.svg`,
- extensionName: 'calFdw',
- label: 'Cal.com',
- docsUrl: `${DOCS_URL}/guides/database/extensions/wrappers/cal`,
- minimumExtensionVersion: '0.4.0',
- server: {
- options: [
- {
- name: 'fdw_package_url',
- label: 'FDW Package URL',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue:
- 'https://github.com/briven/wrappers/releases/download/wasm_cal_fdw_v0.1.0/cal_fdw.wasm',
- hidden: true,
- },
- {
- name: 'fdw_package_name',
- label: 'FDW Package Name',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue: 'briven:cal-fdw',
- hidden: true,
- },
- {
- name: 'fdw_package_version',
- label: 'FDW Package Version',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue: '0.1.0',
- hidden: true,
- },
- {
- name: 'fdw_package_checksum',
- label: 'FDW Package Checksum',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue: 'bca8a82d6c5f8da0aa58011940c4ddb40bb2c909c02dd89b488289c4fff890c1',
- hidden: true,
- },
- {
- name: 'api_url',
- label: 'API URL',
- required: false,
- encrypted: false,
- secureEntry: false,
- defaultValue: 'https://api.cal.com/v2',
- },
- {
- name: 'api_key_id',
- label: 'API Key ID',
- required: true,
- encrypted: true,
- secureEntry: true,
- },
- ],
- },
- tables: [
- {
- label: 'My Profile',
- description: 'Shows your Cal profile',
- availableColumns: [
- {
- name: 'id',
- type: 'bigint',
- },
- {
- name: 'username',
- type: 'text',
- },
- {
- name: 'email',
- type: 'text',
- },
- {
- name: 'attrs',
- type: 'jsonb',
- },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'my_profile',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Event Types',
- description: 'Shows your Event Types',
- availableColumns: [
- {
- name: 'attrs',
- type: 'jsonb',
- },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'event-types',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Bookings',
- description: 'Shows your Bookings',
- availableColumns: [
- {
- name: 'attrs',
- type: 'jsonb',
- },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'bookings',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Calendars',
- description: 'Shows your Calendars',
- availableColumns: [
- {
- name: 'attrs',
- type: 'jsonb',
- },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'calendars',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Schedules',
- description: 'Shows your Schedules',
- availableColumns: [
- {
- name: 'id',
- type: 'bigint',
- },
- {
- name: 'name',
- type: 'text',
- },
- {
- name: 'attrs',
- type: 'jsonb',
- },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'schedules',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Conferencing',
- description: 'Shows conferencing',
- availableColumns: [
- {
- name: 'id',
- type: 'bigint',
- },
- {
- name: 'attrs',
- type: 'jsonb',
- },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'conferencing',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- ],
- },
- {
- name: 'calendly_wrapper',
- description: 'Calendly is a scheduling platform',
- handlerName: WRAPPER_HANDLERS.CALENDLY,
- validatorName: 'wasm_fdw_validator',
- icon: `${BASE_PATH}/img/icons/calendly-icon.svg`,
- extensionName: 'calendlyFdw',
- label: 'Calendly',
- docsUrl: `${DOCS_URL}/guides/database/extensions/wrappers/calendly`,
- minimumExtensionVersion: '0.4.0',
- server: {
- options: [
- {
- name: 'fdw_package_url',
- label: 'FDW Package URL',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue:
- 'https://github.com/briven/wrappers/releases/download/wasm_calendly_fdw_v0.1.0/calendly_fdw.wasm',
- hidden: true,
- },
- {
- name: 'fdw_package_name',
- label: 'FDW Package Name',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue: 'briven:calendly-fdw',
- hidden: true,
- },
- {
- name: 'fdw_package_version',
- label: 'FDW Package Version',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue: '0.1.0',
- hidden: true,
- },
- {
- name: 'fdw_package_checksum',
- label: 'FDW Package Checksum',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue: 'aa17f1ce2b48b5d8d6cee4f61df4d6b23e9a333c3e5c7a10cec9aae619c156b9',
- hidden: true,
- },
- {
- name: 'organization',
- label: 'Organization URL',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue:
- 'https://api.calendly.com/organizations/00000000-0000-0000-0000-000000000000',
- },
- {
- name: 'api_url',
- label: 'API URL',
- required: false,
- encrypted: false,
- secureEntry: false,
- defaultValue: 'https://api.calendly.com',
- },
- {
- name: 'api_key_id',
- label: 'API Key ID',
- required: true,
- encrypted: true,
- secureEntry: true,
- },
- ],
- },
- tables: [
- {
- label: 'Current User',
- description: 'Get the current user used for the API request',
- availableColumns: [
- {
- name: 'uri',
- type: 'text',
- },
- {
- name: 'slug',
- type: 'text',
- },
- {
- name: 'created_at',
- type: 'timestamp',
- },
- {
- name: 'updated_at',
- type: 'timestamp',
- },
- {
- name: 'attrs',
- type: 'jsonb',
- },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'current_user',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Event Types',
- description: 'Shows your Event Types',
- availableColumns: [
- {
- name: 'uri',
- type: 'text',
- },
- {
- name: 'created_at',
- type: 'timestamp',
- },
- {
- name: 'updated_at',
- type: 'timestamp',
- },
- {
- name: 'attrs',
- type: 'jsonb',
- },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'event_types',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Groups',
- description: 'Shows your groups',
- availableColumns: [
- {
- name: 'uri',
- type: 'text',
- },
- {
- name: 'created_at',
- type: 'timestamp',
- },
- {
- name: 'updated_at',
- type: 'timestamp',
- },
- {
- name: 'attrs',
- type: 'jsonb',
- },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'groups',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Organization Memberships',
- description: 'Shows your Organization Memberships',
- availableColumns: [
- {
- name: 'uri',
- type: 'text',
- },
- {
- name: 'created_at',
- type: 'timestamp',
- },
- {
- name: 'updated_at',
- type: 'timestamp',
- },
- {
- name: 'attrs',
- type: 'jsonb',
- },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'organization_memberships',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Scheduled Events',
- description: 'Shows your scheduled events',
- availableColumns: [
- {
- name: 'uri',
- type: 'text',
- },
- {
- name: 'created_at',
- type: 'timestamp',
- },
- {
- name: 'updated_at',
- type: 'timestamp',
- },
- {
- name: 'attrs',
- type: 'jsonb',
- },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'scheduled_events',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- ],
- },
- {
- name: 'clerk_wrapper',
- description: 'User Management Platform',
- handlerName: WRAPPER_HANDLERS.CLERK,
- validatorName: 'wasm_fdw_validator',
- icon: `${BASE_PATH}/img/icons/clerk-icon.svg`,
- extensionName: 'clerkFdw',
- label: 'Clerk',
- docsUrl: `${DOCS_URL}/guides/database/extensions/wrappers/clerk`,
- minimumExtensionVersion: '0.4.0',
- server: {
- options: [
- {
- name: 'fdw_package_url',
- label: 'FDW Package URL',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue:
- 'https://github.com/briven/wrappers/releases/download/wasm_clerk_fdw_v0.1.0/clerk_fdw.wasm',
- hidden: true,
- },
- {
- name: 'fdw_package_name',
- label: 'FDW Package Name',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue: 'briven:clerk-fdw',
- hidden: true,
- },
- {
- name: 'fdw_package_version',
- label: 'FDW Package Version',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue: '0.1.0',
- hidden: true,
- },
- {
- name: 'fdw_package_checksum',
- label: 'FDW Package Checksum',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue: '613be26b59fa4c074e0b93f0db617fcd7b468d4d02edece0b1f85fdb683ebdc4',
- hidden: true,
- },
- {
- name: 'api_url',
- label: 'Clerk API URL',
- required: false,
- encrypted: false,
- secureEntry: false,
- defaultValue: 'https://api.clerk.com/v1',
- },
- {
- name: 'api_key_id',
- label: 'Clerk API Key',
- required: true,
- encrypted: true,
- secureEntry: true,
- },
- ],
- },
- tables: [
- {
- label: 'Allow List',
- description: 'List of all identifiers allowed to sign up to an instance',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'invitation_id', type: 'text' },
- { name: 'identifier', type: 'text' },
- { name: 'identifier_type', type: 'text' },
- { name: 'instance_id', type: 'text' },
- { name: 'created_at', type: 'timestamp' },
- { name: 'updated_at', type: 'timestamp' },
- { name: 'attrs', type: 'jsonb' },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'allowlist_identifiers',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Block List',
- description: 'List of all identifiers which are not allowed to access an instance',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'identifier', type: 'text' },
- { name: 'identifier_type', type: 'text' },
- { name: 'instance_id', type: 'text' },
- { name: 'created_at', type: 'timestamp' },
- { name: 'updated_at', type: 'timestamp' },
- { name: 'attrs', type: 'jsonb' },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'blocklist_identifiers',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Domains',
- description: 'List of all domains for an instance',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'name', type: 'text' },
- { name: 'is_satellite', type: 'boolean' },
- { name: 'frontend_api_url', type: 'text' },
- { name: 'accounts_portal_url', type: 'text' },
- { name: 'attrs', type: 'jsonb' },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'domains',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Invitations',
- description: 'List of all non-revoked invitations for your application',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'email_address', type: 'text' },
- { name: 'url', type: 'text' },
- { name: 'revoked', type: 'boolean' },
- { name: 'status', type: 'text' },
- { name: 'expires_at', type: 'timestamp' },
- { name: 'created_at', type: 'timestamp' },
- { name: 'updated_at', type: 'timestamp' },
- { name: 'attrs', type: 'jsonb' },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'invitations',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'JWT Templates',
- description: 'List of all JWT templates',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'name', type: 'text' },
- { name: 'lifetime', type: 'bigint' },
- { name: 'allowed_clock_skew', type: 'bigint' },
- { name: 'custom_signing_key', type: 'boolean' },
- { name: 'signing_algorithm', type: 'text' },
- { name: 'created_at', type: 'timestamp' },
- { name: 'updated_at', type: 'timestamp' },
- { name: 'attrs', type: 'jsonb' },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'jwt_templates',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'OAuth Applications',
- description: 'List of OAuth applications for an instance',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'name', type: 'text' },
- { name: 'instance_id', type: 'text' },
- { name: 'client_id', type: 'text' },
- { name: 'public', type: 'boolean' },
- { name: 'scopes', type: 'text' },
- { name: 'created_at', type: 'timestamp' },
- { name: 'updated_at', type: 'timestamp' },
- { name: 'attrs', type: 'jsonb' },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'oauth_applications',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Organizations',
- description: 'List of organizations for an instance',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'name', type: 'text' },
- { name: 'slug', type: 'text' },
- { name: 'created_at', type: 'timestamp' },
- { name: 'updated_at', type: 'timestamp' },
- { name: 'attrs', type: 'jsonb' },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'organizations',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Organization Invitations',
- description: 'List of organization invitations for an instance',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'email_address', type: 'text' },
- { name: 'role', type: 'text' },
- { name: 'role_name', type: 'text' },
- { name: 'organization_id', type: 'text' },
- { name: 'status', type: 'text' },
- { name: 'created_at', type: 'timestamp' },
- { name: 'updated_at', type: 'timestamp' },
- { name: 'attrs', type: 'jsonb' },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'organization_invitations',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Organization Memberships',
- description: 'List of organization user memberships for an instance',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'role', type: 'text' },
- { name: 'role_name', type: 'text' },
- { name: 'created_at', type: 'timestamp' },
- { name: 'updated_at', type: 'timestamp' },
- { name: 'attrs', type: 'jsonb' },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'organization_memberships',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Redirect URLs',
- description: 'List of all whitelisted redirect urls for the instance',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'url', type: 'text' },
- { name: 'created_at', type: 'timestamp' },
- { name: 'updated_at', type: 'timestamp' },
- { name: 'attrs', type: 'jsonb' },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'redirect_urls',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'SAML Connections',
- description: 'List of SAML Connections for an instance',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'name', type: 'text' },
- { name: 'domain', type: 'text' },
- { name: 'active', type: 'boolean' },
- { name: 'provider', type: 'text' },
- { name: 'user_count', type: 'bigint' },
- { name: 'created_at', type: 'timestamp' },
- { name: 'updated_at', type: 'timestamp' },
- { name: 'attrs', type: 'jsonb' },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'saml_connections',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Users',
- description: 'List of all users',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'external_id', type: 'text' },
- { name: 'username', type: 'text' },
- { name: 'first_name', type: 'text' },
- { name: 'last_name', type: 'text' },
- { name: 'created_at', type: 'timestamp' },
- { name: 'updated_at', type: 'timestamp' },
- { name: 'attrs', type: 'jsonb' },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'users',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- ],
- },
- {
- name: 'notion_wrapper',
- description: 'Notion provides a versatile, ready-to-use solution for managing your data.',
- handlerName: WRAPPER_HANDLERS.NOTION,
- validatorName: 'wasm_fdw_validator',
- icon: `${BASE_PATH}/img/icons/notion-icon.svg`,
- extensionName: 'NotionFdw',
- label: 'Notion',
- docsUrl: 'https://fdw.dev/catalog/notion/',
- minimumExtensionVersion: '0.4.0',
- server: {
- options: [
- {
- name: 'fdw_package_url',
- label: 'FDW Package URL',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue:
- 'https://github.com/briven/wrappers/releases/download/wasm_notion_fdw_v0.1.1/notion_fdw.wasm',
- hidden: true,
- },
- {
- name: 'fdw_package_name',
- label: 'FDW Package Name',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue: 'briven:notion-fdw',
- hidden: true,
- },
- {
- name: 'fdw_package_version',
- label: 'FDW Package Version',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue: '0.1.1',
- hidden: true,
- },
- {
- name: 'fdw_package_checksum',
- label: 'FDW Package Checksum',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue: '6dea3014f462aafd0c051c37d163fe326e7650c26a7eb5d8017a30634b5a46de',
- hidden: true,
- },
- {
- name: 'api_url',
- label: 'API URL',
- required: false,
- encrypted: false,
- secureEntry: false,
- defaultValue: 'https://api.notion.com/v1',
- },
- {
- name: 'api_key_id',
- label: 'Notion API Key',
- required: true,
- encrypted: true,
- secureEntry: true,
- },
- ],
- },
- tables: [
- {
- label: 'Blocks',
- description: 'Notion Block content',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'page_id', type: 'text' },
- { name: 'type', type: 'text' },
- { name: 'created_time', type: 'timestamp' },
- { name: 'last_edited_time', type: 'timestamp' },
- { name: 'archived', type: 'boolean' },
- { name: 'attrs', type: 'jsonb' },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'block',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Pages',
- description: 'Notion Pages',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'url', type: 'text' },
- { name: 'created_time', type: 'timestamp' },
- { name: 'last_edited_time', type: 'timestamp' },
- { name: 'archived', type: 'boolean' },
- { name: 'attrs', type: 'jsonb' },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'page',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Databases',
- description: 'Notion Databases',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'url', type: 'text' },
- { name: 'created_time', type: 'timestamp' },
- { name: 'last_edited_time', type: 'timestamp' },
- { name: 'archived', type: 'boolean' },
- { name: 'attrs', type: 'jsonb' },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'database',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Users',
- description: 'Notion Users',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'name', type: 'text' },
- { name: 'type', type: 'text' },
- { name: 'avatar_url', type: 'text' },
- { name: 'attrs', type: 'jsonb' },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'user',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- ],
- },
- {
- name: 'slack_wrapper',
- description:
- 'Query Slack workspaces, channels, messages, users, files, and more via the Slack API.',
- handlerName: WRAPPER_HANDLERS.SLACK,
- validatorName: 'wasm_fdw_validator',
- icon: `${BASE_PATH}/img/icons/slack-icon.svg`,
- extensionName: 'SlackFdw',
- label: 'Slack',
- docsUrl: 'https://fdw.dev/catalog/slack/',
- minimumExtensionVersion: '0.4.0',
- server: {
- options: [
- {
- name: 'fdw_package_url',
- label: 'FDW Package URL',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue:
- 'https://github.com/briven/wrappers/releases/download/wasm_slack_fdw_v0.1.0/slack_fdw.wasm',
- hidden: true,
- },
- {
- name: 'fdw_package_name',
- label: 'FDW Package Name',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue: 'briven:slack-fdw',
- hidden: true,
- },
- {
- name: 'fdw_package_version',
- label: 'FDW Package Version',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue: '0.1.0',
- hidden: true,
- },
- {
- name: 'fdw_package_checksum',
- label: 'FDW Package Checksum',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue: '5b022b441c0007e31d792ecb1341bfffed1c29cb865eb0c7969989dff0e8fdc3',
- hidden: true,
- },
- {
- name: 'api_token_id',
- label: 'Slack Bot User OAuth Token',
- required: true,
- encrypted: true,
- secureEntry: true,
- urlHelper: 'https://api.slack.com/apps',
- },
- {
- name: 'workspace',
- label: 'Workspace',
- required: false,
- encrypted: false,
- secureEntry: false,
- },
- ],
- },
- tables: [
- {
- label: 'Channels',
- description: 'All channels in the workspace',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'name', type: 'text' },
- { name: 'is_private', type: 'boolean' },
- { name: 'created', type: 'timestamp' },
- { name: 'creator', type: 'text' },
- ],
- options: [
- {
- name: 'resource',
- defaultValue: 'channels',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Messages',
- description: 'Messages from channels, DMs, and group messages',
- availableColumns: [
- { name: 'ts', type: 'text' },
- { name: 'user_id', type: 'text' },
- { name: 'channel_id', type: 'text' },
- { name: 'text', type: 'text' },
- { name: 'thread_ts', type: 'text' },
- { name: 'reply_count', type: 'integer' },
- ],
- options: [
- {
- name: 'resource',
- defaultValue: 'messages',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Users',
- description: 'All users in the workspace',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'name', type: 'text' },
- { name: 'real_name', type: 'text' },
- { name: 'display_name', type: 'text' },
- { name: 'display_name_normalized', type: 'text' },
- { name: 'real_name_normalized', type: 'text' },
- { name: 'email', type: 'text' },
- { name: 'phone', type: 'text' },
- { name: 'skype', type: 'text' },
- { name: 'is_admin', type: 'boolean' },
- { name: 'is_owner', type: 'boolean' },
- { name: 'is_primary_owner', type: 'boolean' },
- { name: 'is_bot', type: 'boolean' },
- { name: 'is_app_user', type: 'boolean' },
- { name: 'is_restricted', type: 'boolean' },
- { name: 'is_ultra_restricted', type: 'boolean' },
- { name: 'deleted', type: 'boolean' },
- { name: 'status_text', type: 'text' },
- { name: 'status_emoji', type: 'text' },
- { name: 'status_expiration', type: 'bigint' },
- { name: 'title', type: 'text' },
- { name: 'team_id', type: 'text' },
- { name: 'team', type: 'text' },
- { name: 'tz', type: 'text' },
- { name: 'tz_label', type: 'text' },
- { name: 'tz_offset', type: 'integer' },
- { name: 'locale', type: 'text' },
- { name: 'image_24', type: 'text' },
- { name: 'image_48', type: 'text' },
- { name: 'image_72', type: 'text' },
- { name: 'image_192', type: 'text' },
- { name: 'image_512', type: 'text' },
- { name: 'color', type: 'text' },
- { name: 'updated', type: 'bigint' },
- ],
- options: [
- {
- name: 'resource',
- defaultValue: 'users',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'User Groups',
- description: 'User groups in the workspace',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'team_id', type: 'text' },
- { name: 'name', type: 'text' },
- { name: 'handle', type: 'text' },
- { name: 'description', type: 'text' },
- { name: 'is_external', type: 'boolean' },
- { name: 'date_create', type: 'bigint' },
- { name: 'date_update', type: 'bigint' },
- { name: 'date_delete', type: 'bigint' },
- { name: 'auto_type', type: 'text' },
- { name: 'created_by', type: 'text' },
- { name: 'updated_by', type: 'text' },
- { name: 'deleted_by', type: 'text' },
- { name: 'user_count', type: 'integer' },
- { name: 'channel_count', type: 'integer' },
- ],
- options: [
- {
- name: 'resource',
- defaultValue: 'usergroups',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'User Group Members',
- description: 'Membership relation between users and user groups',
- availableColumns: [
- { name: 'usergroup_id', type: 'text' },
- { name: 'usergroup_name', type: 'text' },
- { name: 'usergroup_handle', type: 'text' },
- { name: 'user_id', type: 'text' },
- ],
- options: [
- {
- name: 'resource',
- defaultValue: 'usergroup_members',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Files',
- description: 'Files shared in the workspace',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'name', type: 'text' },
- { name: 'title', type: 'text' },
- { name: 'mimetype', type: 'text' },
- { name: 'size', type: 'bigint' },
- { name: 'url_private', type: 'text' },
- { name: 'user_id', type: 'text' },
- { name: 'created', type: 'timestamp' },
- ],
- options: [
- {
- name: 'resource',
- defaultValue: 'files',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Team Info',
- description: 'Information about the Slack team/workspace',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'name', type: 'text' },
- { name: 'domain', type: 'text' },
- { name: 'email_domain', type: 'text' },
- ],
- options: [
- {
- name: 'resource',
- defaultValue: 'team-info',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- ],
- },
- {
- name: 'cfd1_wrapper',
- description: 'Read and write data from Cloudflare D1 databases using the Wasm FDW.',
- handlerName: WRAPPER_HANDLERS.CLOUDFLARE_D1,
- validatorName: 'wasm_fdw_validator',
- icon: `${BASE_PATH}/img/icons/cloudflare-icon.svg`,
- extensionName: 'Cfd1Fdw',
- label: 'Cloudflare D1',
- docsUrl: 'https://fdw.dev/catalog/cfd1/',
- minimumExtensionVersion: '0.4.0',
- server: {
- options: [
- {
- name: 'fdw_package_url',
- label: 'FDW Package URL',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue:
- 'https://github.com/briven/wrappers/releases/download/wasm_cfd1_fdw_v0.1.0/cfd1_fdw.wasm',
- hidden: true,
- },
- {
- name: 'fdw_package_name',
- label: 'FDW Package Name',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue: 'briven:cfd1-fdw',
- hidden: true,
- },
- {
- name: 'fdw_package_version',
- label: 'FDW Package Version',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue: '0.1.0',
- hidden: true,
- },
- {
- name: 'fdw_package_checksum',
- label: 'FDW Package Checksum',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue: '783232834bb29dbd3ee6b09618c16f8a847286e63d05c54397d56c3e703fad31',
- hidden: true,
- },
- {
- name: 'api_url',
- label: 'API URL',
- required: false,
- encrypted: false,
- secureEntry: false,
- defaultValue: 'https://api.cloudflare.com/client/v4/accounts/<account_id>/d1/database',
- },
- {
- name: 'account_id',
- label: 'Account ID',
- required: true,
- encrypted: false,
- secureEntry: false,
- },
- {
- name: 'database_id',
- label: 'Database ID',
- required: true,
- encrypted: false,
- secureEntry: false,
- },
- {
- name: 'api_token_id',
- label: 'Cloudflare D1 API Token',
- required: true,
- encrypted: true,
- secureEntry: true,
- urlHelper: 'https://dash.cloudflare.com/profile/api-tokens',
- },
- ],
- },
- tables: [
- {
- label: 'D1 Databases',
- description: 'D1 databases in your Cloudflare account',
- availableColumns: [
- { name: 'uuid', type: 'text' },
- { name: 'name', type: 'text' },
- { name: 'version', type: 'text' },
- { name: 'num_tables', type: 'bigint' },
- { name: 'file_size', type: 'bigint' },
- { name: 'created_at', type: 'text' },
- { name: '_attrs', type: 'jsonb' },
- ],
- options: [
- {
- name: 'table',
- defaultValue: '_meta_databases',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'D1 Table',
- description: 'A table in your D1 database (define columns to match your D1 schema)',
- availableColumns: [
- { name: 'id', type: 'bigint' },
- { name: 'name', type: 'text' },
- { name: 'amount', type: 'double precision' },
- { name: 'metadata', type: 'text' },
- { name: '_attrs', type: 'jsonb' },
- ],
- options: [
- {
- label: 'Table',
- name: 'table',
- placeholder: 'mytable',
- editable: true,
- required: true,
- type: 'text',
- },
- {
- label: 'Row ID Column',
- name: 'rowid_column',
- placeholder: 'id',
- defaultValue: 'id',
- editable: true,
- required: false,
- type: 'text',
- },
- ],
- },
- ],
- },
- {
- name: 'hubspot_wrapper',
- description: 'Query and sync HubSpot CRM data using the Wasm FDW.',
- handlerName: WRAPPER_HANDLERS.HUBSPOT,
- validatorName: 'wasm_fdw_validator',
- icon: `${BASE_PATH}/img/icons/hubspot-icon.svg`,
- extensionName: 'HubspotFdw',
- label: 'HubSpot',
- docsUrl: 'https://fdw.dev/catalog/hubspot/',
- minimumExtensionVersion: '0.4.0',
- server: {
- options: [
- {
- name: 'fdw_package_url',
- label: 'FDW Package URL',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue:
- 'https://github.com/briven/wrappers/releases/download/wasm_hubspot_fdw_v0.1.0/hubspot_fdw.wasm',
- hidden: true,
- },
- {
- name: 'fdw_package_name',
- label: 'FDW Package Name',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue: 'briven:hubspot-fdw',
- hidden: true,
- },
- {
- name: 'fdw_package_version',
- label: 'FDW Package Version',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue: '0.1.0',
- hidden: true,
- },
- {
- name: 'fdw_package_checksum',
- label: 'FDW Package Checksum',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue: '2cbf39e9e28aa732a225db09b2186a2342c44697d4fa047652d358e292ba5521',
- hidden: true,
- },
- {
- name: 'api_url',
- label: 'API URL',
- required: false,
- encrypted: false,
- secureEntry: false,
- defaultValue: 'https://api.hubapi.com/crm/v3',
- },
- {
- name: 'api_key_id',
- label: 'HubSpot API Key',
- required: true,
- encrypted: true,
- secureEntry: true,
- urlHelper:
- 'https://developers.hubspot.com/docs/guides/apps/authentication/intro-to-auth#private-app-access-tokens',
- },
- ],
- },
- tables: [
- {
- label: 'Companies',
- description: 'Companies and organizations in your HubSpot CRM',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'name', type: 'text' },
- { name: 'domain', type: 'text' },
- { name: 'created_at', type: 'timestamp' },
- { name: 'updated_at', type: 'timestamp' },
- { name: 'attrs', type: 'jsonb' },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'objects/companies',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Contacts',
- description: 'Contacts in your HubSpot CRM',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'email', type: 'text' },
- { name: 'firstname', type: 'text' },
- { name: 'lastname', type: 'text' },
- { name: 'created_at', type: 'timestamp' },
- { name: 'updated_at', type: 'timestamp' },
- { name: 'attrs', type: 'jsonb' },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'objects/contacts',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Deals',
- description: 'Deals and transactions in your HubSpot CRM',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'created_at', type: 'timestamp' },
- { name: 'updated_at', type: 'timestamp' },
- { name: 'attrs', type: 'jsonb' },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'objects/deals',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Tickets',
- description: 'Customer service requests in your HubSpot CRM',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'subject', type: 'text' },
- { name: 'created_at', type: 'timestamp' },
- { name: 'updated_at', type: 'timestamp' },
- { name: 'attrs', type: 'jsonb' },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'objects/tickets',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Products',
- description: 'Products offered by your company in HubSpot',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'name', type: 'text' },
- { name: 'created_at', type: 'timestamp' },
- { name: 'updated_at', type: 'timestamp' },
- { name: 'attrs', type: 'jsonb' },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'objects/products',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Leads',
- description: 'Potential customers in your HubSpot CRM',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'created_at', type: 'timestamp' },
- { name: 'updated_at', type: 'timestamp' },
- { name: 'attrs', type: 'jsonb' },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'objects/leads',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Partner Clients',
- description: 'Partner clients managed by your company in HubSpot',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'created_at', type: 'timestamp' },
- { name: 'updated_at', type: 'timestamp' },
- { name: 'attrs', type: 'jsonb' },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'objects/partner_clients',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Feedback Submissions',
- description: 'Feedback submissions from NPS, CSAT, CES, and custom surveys',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'created_at', type: 'timestamp' },
- { name: 'updated_at', type: 'timestamp' },
- { name: 'attrs', type: 'jsonb' },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'objects/feedback_submissions',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Goals',
- description: 'User-specific quotas for sales and services teams',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'created_at', type: 'timestamp' },
- { name: 'updated_at', type: 'timestamp' },
- { name: 'attrs', type: 'jsonb' },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'objects/goal_targets',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Partner Clients',
- description: 'Customers that Solutions Partners have a sold or managed relationship with',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'created_at', type: 'timestamp' },
- { name: 'updated_at', type: 'timestamp' },
- { name: 'attrs', type: 'jsonb' },
- ],
- options: [
- {
- name: 'object',
- defaultValue: 'objects/partner_clients',
- editable: false,
- required: true,
- type: 'text',
- },
- ],
- },
- {
- label: 'Custom Object',
- description: 'Custom objects managed by your company in HubSpot',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'created_at', type: 'timestamp' },
- { name: 'updated_at', type: 'timestamp' },
- { name: 'attrs', type: 'jsonb' },
- ],
- options: [
- {
- label: 'Object',
- name: 'object',
- placeholder: 'objects/<objectType> e.g. `objects/2-3508482`',
- defaultValue: 'objects/<objectType>',
- editable: true,
- required: true,
- type: 'text',
- },
- ],
- },
- ],
- },
- {
- name: 'orb_wrapper',
- handlerName: WRAPPER_HANDLERS.ORB,
- validatorName: 'wasm_fdw_validator',
- icon: `${BASE_PATH}/img/icons/orb-icon.svg`,
- description: 'Usage-based billing and metering platform',
- extensionName: 'OrbFdw',
- minimumExtensionVersion: '0.4.0',
- label: 'Orb',
- docsUrl: 'https://fdw.dev/catalog/orb/',
- server: {
- options: [
- {
- name: 'fdw_package_url',
- label: 'FDW Package URL',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue:
- 'https://github.com/briven/wrappers/releases/download/wasm_orb_fdw_v0.1.0/orb_fdw.wasm',
- hidden: true,
- },
- {
- name: 'fdw_package_name',
- label: 'FDW Package Name',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue: 'briven:orb-fdw',
- hidden: true,
- },
- {
- name: 'fdw_package_version',
- label: 'FDW Package Version',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue: '0.1.0',
- hidden: true,
- },
- {
- name: 'fdw_package_checksum',
- label: 'FDW Package Checksum',
- required: true,
- encrypted: false,
- secureEntry: false,
- defaultValue: '89153a0a570257c231b78561cc909766731c828324585a5b6e2aa553902cb73a',
- hidden: true,
- },
- {
- name: 'api_url',
- label: 'Orb API URL',
- required: false,
- encrypted: false,
- secureEntry: false,
- defaultValue: 'https://api.withorb.com/v1',
- },
- {
- name: 'api_key_id',
- label: 'Orb API Key ID',
- required: true,
- encrypted: true,
- secureEntry: true,
- },
- ],
- },
- tables: [
- {
- label: 'Alerts',
- description: 'Alerts in Orb',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'type', type: 'text' },
- { name: 'enabled', type: 'boolean' },
- { name: 'customer_id', type: 'text' },
- { name: 'external_customer_id', type: 'text' },
- { name: 'subscription_id', type: 'text' },
- { name: 'created_at', type: 'timestamp' },
- { name: 'attrs', type: 'jsonb' },
- ],
- options: [
- {
- name: 'object',
- label: 'Object',
- defaultValue: 'alerts',
- editable: false,
- required: true,
- type: 'text',
- },
- {
- name: 'rowid_column',
- label: 'Row ID Column',
- placeholder: 'id',
- editable: true,
- required: false,
- type: 'text',
- },
- ],
- },
- {
- label: 'Coupons',
- description: 'Coupons in Orb',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'redemption_code', type: 'text' },
- { name: 'times_redeemed', type: 'bigint' },
- { name: 'duration_in_months', type: 'bigint' },
- { name: 'archived_at', type: 'timestamp' },
- { name: 'attrs', type: 'jsonb' },
- ],
- options: [
- {
- name: 'object',
- label: 'Object',
- defaultValue: 'coupons',
- editable: false,
- required: true,
- type: 'text',
- },
- {
- name: 'rowid_column',
- label: 'Row ID Column',
- placeholder: 'id',
- editable: true,
- required: false,
- type: 'text',
- },
- ],
- },
- {
- label: 'Credit Notes',
- description: 'Credit notes in Orb',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'type', type: 'text' },
- { name: 'total', type: 'numeric(18,2)' },
- { name: 'created_at', type: 'timestamp' },
- { name: 'attrs', type: 'jsonb' },
- ],
- options: [
- {
- name: 'object',
- label: 'Object',
- defaultValue: 'credit_notes',
- editable: false,
- required: true,
- type: 'text',
- },
- {
- name: 'rowid_column',
- label: 'Row ID Column',
- placeholder: 'id',
- editable: true,
- required: false,
- type: 'text',
- },
- ],
- },
- {
- label: 'Customers',
- description: 'Customers in Orb',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'name', type: 'text' },
- { name: 'email', type: 'text' },
- { name: 'created_at', type: 'timestamp' },
- { name: 'auto_collection', type: 'boolean' },
- { name: 'attrs', type: 'jsonb' },
- ],
- options: [
- {
- name: 'object',
- label: 'Object',
- defaultValue: 'customers',
- editable: false,
- required: true,
- type: 'text',
- },
- {
- name: 'rowid_column',
- label: 'Row ID Column',
- placeholder: 'id',
- editable: true,
- required: false,
- type: 'text',
- },
- ],
- },
- {
- label: 'Credits',
- description: 'Credits in Orb',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'customer_id', type: 'text' },
- { name: 'external_customer_id', type: 'text' },
- { name: 'balance', type: 'numeric(18,2)' },
- { name: 'status', type: 'text' },
- { name: 'effective_date', type: 'timestamp' },
- { name: 'expiry_date', type: 'timestamp' },
- { name: 'attrs', type: 'jsonb' },
- ],
- options: [
- {
- name: 'object',
- label: 'Object',
- defaultValue: 'credits',
- editable: false,
- required: true,
- type: 'text',
- },
- {
- name: 'rowid_column',
- label: 'Row ID Column',
- placeholder: 'id',
- editable: true,
- required: false,
- type: 'text',
- },
- ],
- },
- {
- label: 'Credits Ledger',
- description: 'Credits ledger in Orb',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'customer_id', type: 'text' },
- { name: 'external_customer_id', type: 'text' },
- { name: 'amount', type: 'numeric(18,2)' },
- { name: 'created_at', type: 'timestamp' },
- { name: 'attrs', type: 'jsonb' },
- ],
- options: [
- {
- name: 'object',
- label: 'Object',
- defaultValue: 'credits_ledger',
- editable: false,
- required: true,
- type: 'text',
- },
- {
- name: 'rowid_column',
- label: 'Row ID Column',
- placeholder: 'id',
- editable: true,
- required: false,
- type: 'text',
- },
- ],
- },
- {
- label: 'Dimensional Price Groups',
- description: 'Dimensional price groups in Orb',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'name', type: 'text' },
- { name: 'attrs', type: 'jsonb' },
- ],
- options: [
- {
- name: 'object',
- label: 'Object',
- defaultValue: 'dimensional_price_groups',
- editable: false,
- required: true,
- type: 'text',
- },
- {
- name: 'rowid_column',
- label: 'Row ID Column',
- placeholder: 'id',
- editable: true,
- required: false,
- type: 'text',
- },
- ],
- },
- {
- label: 'Events Backfills',
- description: 'Events backfills in Orb',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'status', type: 'text' },
- { name: 'events_ingested', type: 'bigint' },
- { name: 'created_at', type: 'timestamp' },
- { name: 'attrs', type: 'jsonb' },
- ],
- options: [
- {
- name: 'object',
- label: 'Object',
- defaultValue: 'events_backfills',
- editable: false,
- required: true,
- type: 'text',
- },
- {
- name: 'rowid_column',
- label: 'Row ID Column',
- placeholder: 'id',
- editable: true,
- required: false,
- type: 'text',
- },
- ],
- },
- {
- label: 'Events Volume',
- description: 'Events volume in Orb',
- availableColumns: [
- { name: 'count', type: 'bigint' },
- { name: 'timeframe_start', type: 'timestamp' },
- { name: 'timeframe_end', type: 'timestamp' },
- { name: 'attrs', type: 'jsonb' },
- ],
- options: [
- {
- name: 'object',
- label: 'Object',
- defaultValue: 'events_volume',
- editable: false,
- required: true,
- type: 'text',
- },
- {
- name: 'rowid_column',
- label: 'Row ID Column',
- placeholder: 'id',
- editable: true,
- required: false,
- type: 'text',
- },
- ],
- },
- {
- label: 'Invoices',
- description: 'Invoices in Orb',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'invoice_number', type: 'text' },
- { name: 'customer_id', type: 'text' },
- { name: 'external_customer_id', type: 'text' },
- { name: 'subscription_id', type: 'text' },
- { name: 'status', type: 'text' },
- { name: 'amount_due', type: 'numeric(18,2)' },
- { name: 'currency', type: 'text' },
- { name: 'due_date', type: 'timestamp' },
- { name: 'issued_at', type: 'timestamp' },
- { name: 'created_at', type: 'timestamp' },
- { name: 'attrs', type: 'jsonb' },
- ],
- options: [
- {
- name: 'object',
- label: 'Object',
- defaultValue: 'invoices',
- editable: false,
- required: true,
- type: 'text',
- },
- {
- name: 'rowid_column',
- label: 'Row ID Column',
- placeholder: 'id',
- editable: true,
- required: false,
- type: 'text',
- },
- ],
- },
- {
- label: 'Items',
- description: 'Items in Orb',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'name', type: 'text' },
- { name: 'created_at', type: 'timestamp' },
- { name: 'attrs', type: 'jsonb' },
- ],
- options: [
- {
- name: 'object',
- label: 'Object',
- defaultValue: 'items',
- editable: false,
- required: true,
- type: 'text',
- },
- {
- name: 'rowid_column',
- label: 'Row ID Column',
- placeholder: 'id',
- editable: true,
- required: false,
- type: 'text',
- },
- ],
- },
- {
- label: 'Metrics',
- description: 'Metrics in Orb',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'name', type: 'text' },
- { name: 'description', type: 'text' },
- { name: 'status', type: 'text' },
- { name: 'created_at', type: 'timestamp' },
- { name: 'attrs', type: 'jsonb' },
- ],
- options: [
- {
- name: 'object',
- label: 'Object',
- defaultValue: 'metrics',
- editable: false,
- required: true,
- type: 'text',
- },
- {
- name: 'rowid_column',
- label: 'Row ID Column',
- placeholder: 'id',
- editable: true,
- required: false,
- type: 'text',
- },
- ],
- },
- {
- label: 'Plans',
- description: 'Plans in Orb',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'name', type: 'text' },
- { name: 'description', type: 'text' },
- { name: 'status', type: 'text' },
- { name: 'maximum_amount', type: 'numeric(18,2)' },
- { name: 'minimum_amount', type: 'numeric(18,2)' },
- { name: 'created_at', type: 'timestamp' },
- { name: 'attrs', type: 'jsonb' },
- ],
- options: [
- {
- name: 'object',
- label: 'Object',
- defaultValue: 'plans',
- editable: false,
- required: true,
- type: 'text',
- },
- {
- name: 'rowid_column',
- label: 'Row ID Column',
- placeholder: 'id',
- editable: true,
- required: false,
- type: 'text',
- },
- ],
- },
- {
- label: 'Prices',
- description: 'Prices in Orb',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'name', type: 'text' },
- { name: 'external_price_id', type: 'text' },
- { name: 'price_type', type: 'text' },
- { name: 'maximum_amount', type: 'numeric(18,2)' },
- { name: 'minimum_amount', type: 'numeric(18,2)' },
- { name: 'created_at', type: 'timestamp' },
- { name: 'attrs', type: 'jsonb' },
- ],
- options: [
- {
- name: 'object',
- label: 'Object',
- defaultValue: 'prices',
- editable: false,
- required: true,
- type: 'text',
- },
- {
- name: 'rowid_column',
- label: 'Row ID Column',
- placeholder: 'id',
- editable: true,
- required: false,
- type: 'text',
- },
- ],
- },
- {
- label: 'Subscriptions',
- description: 'Subscriptions in Orb',
- availableColumns: [
- { name: 'id', type: 'text' },
- { name: 'customer_id', type: 'text' },
- { name: 'external_customer_id', type: 'text' },
- { name: 'billing_cycle_day', type: 'bigint' },
- { name: 'status', type: 'text' },
- { name: 'start_date', type: 'timestamp' },
- { name: 'end_date', type: 'timestamp' },
- { name: 'created_at', type: 'timestamp' },
- { name: 'attrs', type: 'jsonb' },
- ],
- options: [
- {
- name: 'object',
- label: 'Object',
- defaultValue: 'subscriptions',
- editable: false,
- required: true,
- type: 'text',
- },
- {
- name: 'rowid_column',
- label: 'Row ID Column',
- placeholder: 'id',
- editable: true,
- required: false,
- type: 'text',
- },
- ],
- },
- ],
- },
- ]
|