@airporting/integrations-app 0.4.156 → 0.4.158
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mf/2070.css +73 -73
- package/dist/mf/3899.js +1 -0
- package/dist/mf/5741.js +1 -1
- package/dist/mf/9005.js +1 -1
- package/dist/mf/@mf-types/compiled-types/api/pennylane/pennylaneOauthDisconnectMutation.d.ts +2 -0
- package/dist/mf/@mf-types/compiled-types/api/pennylane/pennylaneOauthStartMutation.d.ts +4 -0
- package/dist/mf/@mf-types/compiled-types/api/pennylane/pennylaneOauthStatusQuery.d.ts +3 -0
- package/dist/mf/@mf-types/compiled-types/components/pennylane/PennylaneConfigPanel.d.ts +4 -0
- package/dist/mf/@mf-types/compiled-types/components/pennylane/PennylaneOauthPanel.d.ts +1 -0
- package/dist/mf/@mf-types/compiled-types/components/pennylane/usePennylaneOauthPopup.d.ts +13 -0
- package/dist/mf/@mf-types/compiled-types/gen/IntegrationsApi.d.ts +346 -0
- package/dist/mf/@mf-types.zip +0 -0
- package/dist/mf/__federation_expose_single_connector.js +1 -1
- package/dist/mf/index.js +3 -3
- package/dist/mf/integrations_app.js +3 -3
- package/dist/mf/mf-manifest.json +3 -3
- package/dist/mf/mf-stats.json +8 -8
- package/package.json +1 -1
- package/dist/mf/4257.js +0 -1
package/dist/mf/9005.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis["chunk_integrations_app"]=globalThis["chunk_integrations_app"]||[]).push([["9005"],{4184:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{q:()=>ConnectorBubble});var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(4848);var _mantine_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(2773);var _tabler_icons_react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(5200);var _src_utils_connectorLogoUrl_ts__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(1034);function ConnectorBubble({connector,rename}){const{colorScheme}=(0,_mantine_core__WEBPACK_IMPORTED_MODULE_1__.useMantineColorScheme)();const bg="dark"===colorScheme?"white":"dark";const logoUrl=(0,_src_utils_connectorLogoUrl_ts__WEBPACK_IMPORTED_MODULE_3__.U)(connector.main_connectorlist);return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_mantine_core__WEBPACK_IMPORTED_MODULE_1__.Card,{children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_mantine_core__WEBPACK_IMPORTED_MODULE_1__.Stack,{children:[/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_mantine_core__WEBPACK_IMPORTED_MODULE_1__.Avatar,{src:logoUrl,size:64,radius:"md",bg:bg,color:"dark"===colorScheme?"black":"white",p:18}),rename?rename.editing?/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_mantine_core__WEBPACK_IMPORTED_MODULE_1__.Group,{gap:"xs",wrap:"nowrap",children:[/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_mantine_core__WEBPACK_IMPORTED_MODULE_1__.TextInput,{value:rename.draft,onChange:e=>rename.onDraftChange(e.currentTarget.value),autoFocus:true,onKeyDown:e=>{if("Enter"===e.key)rename.onSave();if("Escape"===e.key)rename.onCancel()},style:{flex:1}}),/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_mantine_core__WEBPACK_IMPORTED_MODULE_1__.ActionIcon,{onClick:rename.onSave,"aria-label":"Sauvegarder",loading:rename.isPending,children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_tabler_icons_react__WEBPACK_IMPORTED_MODULE_2__.IconCheck,{size:16})}),/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_mantine_core__WEBPACK_IMPORTED_MODULE_1__.ActionIcon,{onClick:rename.onCancel,"aria-label":"Annuler",variant:"subtle",children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_tabler_icons_react__WEBPACK_IMPORTED_MODULE_2__.IconX,{size:16})})]}):/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_mantine_core__WEBPACK_IMPORTED_MODULE_1__.Group,{gap:"xs",wrap:"nowrap",children:[/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_mantine_core__WEBPACK_IMPORTED_MODULE_1__.Title,{w:"fit-content",order:3,children:connector.name}),/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_mantine_core__WEBPACK_IMPORTED_MODULE_1__.ActionIcon,{onClick:rename.onStartEditing,"aria-label":"Renommer",variant:"subtle",children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_tabler_icons_react__WEBPACK_IMPORTED_MODULE_2__.IconPencil,{size:16})})]}):/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_mantine_core__WEBPACK_IMPORTED_MODULE_1__.Title,{w:"fit-content",order:3,children:connector.name}),/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_mantine_core__WEBPACK_IMPORTED_MODULE_1__.Text,{c:"dimmed",size:"lg",lineClamp:3,children:connector.main_connectorlist.description_fr})]})})}},6699:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{Qq:()=>HttpClient,cM:()=>ContentType,qx:()=>IntegrationsApi});var ContentType=/*#__PURE__*/function(ContentType){ContentType["Json"]="application/json";ContentType["JsonApi"]="application/vnd.api+json";ContentType["FormData"]="multipart/form-data";ContentType["UrlEncoded"]="application/x-www-form-urlencoded";ContentType["Text"]="text/plain";return ContentType}({});class HttpClient{baseUrl="";securityData=null;securityWorker;abortControllers=new Map;customFetch=(...fetchParams)=>fetch(...fetchParams);baseApiParams={credentials:"same-origin",headers:{},redirect:"follow",referrerPolicy:"no-referrer"};constructor(apiConfig={}){Object.assign(this,apiConfig)}setSecurityData=data=>{this.securityData=data};encodeQueryParam(key,value){const encodedKey=encodeURIComponent(key);return`${encodedKey}=${encodeURIComponent("number"==typeof value?value:`${value}`)}`}addQueryParam(query,key){return this.encodeQueryParam(key,query[key])}addArrayQueryParam(query,key){const value=query[key];return value.map(v=>this.encodeQueryParam(key,v)).join("&")}toQueryString(rawQuery){const query=rawQuery||{};const keys=Object.keys(query).filter(key=>void 0!==query[key]);return keys.map(key=>Array.isArray(query[key])?this.addArrayQueryParam(query,key):this.addQueryParam(query,key)).join("&")}addQueryParams(rawQuery){const queryString=this.toQueryString(rawQuery);return queryString?`?${queryString}`:""}contentFormatters={["application/json"]:input=>null!==input&&("object"==typeof input||"string"==typeof input)?JSON.stringify(input):input,["application/vnd.api+json"]:input=>null!==input&&("object"==typeof input||"string"==typeof input)?JSON.stringify(input):input,["text/plain"]:input=>null!==input&&"string"!=typeof input?JSON.stringify(input):input,["multipart/form-data"]:input=>{if(input instanceof FormData)return input;return Object.keys(input||{}).reduce((formData,key)=>{const property=input[key];formData.append(key,property instanceof Blob?property:"object"==typeof property&&null!==property?JSON.stringify(property):`${property}`);return formData},new FormData)},["application/x-www-form-urlencoded"]:input=>this.toQueryString(input)};mergeRequestParams(params1,params2){return{...this.baseApiParams,...params1,...params2||{},headers:{...this.baseApiParams.headers||{},...params1.headers||{},...params2&¶ms2.headers||{}}}}createAbortSignal=cancelToken=>{if(this.abortControllers.has(cancelToken)){const abortController=this.abortControllers.get(cancelToken);if(abortController)return abortController.signal;return}const abortController=new AbortController;this.abortControllers.set(cancelToken,abortController);return abortController.signal};abortRequest=cancelToken=>{const abortController=this.abortControllers.get(cancelToken);if(abortController){abortController.abort();this.abortControllers.delete(cancelToken)}};request=async({body,secure,path,type,query,format,baseUrl,cancelToken,...params})=>{const secureParams=("boolean"==typeof secure?secure:this.baseApiParams.secure)&&this.securityWorker&&await this.securityWorker(this.securityData)||{};const requestParams=this.mergeRequestParams(params,secureParams);const queryString=query&&this.toQueryString(query);const payloadFormatter=this.contentFormatters[type||"application/json"];const responseFormat=format||requestParams.format;return this.customFetch(`${baseUrl||this.baseUrl||""}${path}${queryString?`?${queryString}`:""}`,{...requestParams,headers:{...requestParams.headers||{},...type&&"multipart/form-data"!==type?{"Content-Type":type}:{}},signal:(cancelToken?this.createAbortSignal(cancelToken):requestParams.signal)||null,body:null==body?null:payloadFormatter(body)}).then(async response=>{const r=response;r.data=null;r.error=null;const responseToParse=responseFormat?response.clone():response;const data=responseFormat?await responseToParse[responseFormat]().then(data=>{if(r.ok)r.data=data;else r.error=data;return r}).catch(e=>{r.error=e;return r}):r;if(cancelToken)this.abortControllers.delete(cancelToken);if(!response.ok)throw data;return data})}}class IntegrationsApi{http;constructor(http){this.http=http}status=(params={})=>this.http.request({path:"/status",method:"GET",...params});connectors={getStatsConnectorsV1:({cid,...query},params={})=>this.http.request({path:`/v1/connectors/${cid}/stats`,method:"GET",secure:true,format:"json",...params}),getConnectorsV1:({cid,...query},params={})=>this.http.request({path:`/v1/connectors/${cid}/ok`,method:"GET",secure:true,format:"json",...params}),getIllConnectorsV1:({cid,...query},params={})=>this.http.request({path:`/v1/connectors/${cid}/ill`,method:"GET",secure:true,format:"json",...params}),getCatalogConnectorsV1:({cid,...query},params={})=>this.http.request({path:`/v1/connectors/${cid}/catalog`,method:"GET",secure:true,format:"json",...params}),addConnectorV1:({cid,...query},data,params={})=>this.http.request({path:`/v1/connectors/${cid}/add`,method:"POST",body:data,secure:true,type:"application/json",format:"json",...params}),getConnectorConfigV1:({connector,cid,...query},params={})=>this.http.request({path:`/v1/connectors/${cid}/config/${connector}`,method:"GET",format:"json",...params}),getConnectorSingleV1:({connector,cid,...query},params={})=>this.http.request({path:`/v1/connectors/${cid}/single/${connector}`,method:"GET",format:"json",...params}),putConnectorDataV1:({connector,cid,...query},data,params={})=>this.http.request({path:`/v1/connectors/${cid}/data/${connector}`,method:"PUT",body:data,type:"application/json",format:"json",...params}),renameConnectorV1:({connector,cid,...query},data,params={})=>this.http.request({path:`/v1/connectors/${cid}/${connector}`,method:"PATCH",body:data,secure:true,type:"application/json",format:"json",...params}),deleteConnectorV1:({connector,cid,...query},params={})=>this.http.request({path:`/v1/connectors/${cid}/${connector}`,method:"DELETE",secure:true,format:"json",...params}),getAuthSecretsV1:({connector,cid,...query},params={})=>this.http.request({path:`/v1/connectors/${cid}/${connector}/auth-secrets`,method:"GET",secure:true,format:"json",...params})};microsoft={startAdminConsentV1:({cid,...query},params={})=>this.http.request({path:`/v1/microsoft/${cid}/admin-consent/start`,method:"GET",query:query,secure:true,format:"json",...params}),handleCallbackV1:(query,params={})=>this.http.request({path:"/v1/microsoft/admin-consent/callback",method:"GET",query:query,...params}),getTenantV1:({cid,...query},params={})=>this.http.request({path:`/v1/microsoft/${cid}/tenant`,method:"GET",secure:true,format:"json",...params}),resolveFileV1:({cid,...query},data,params={})=>this.http.request({path:`/v1/microsoft/${cid}/resolve-file`,method:"POST",body:data,secure:true,type:"application/json",format:"json",...params}),listExcelFilesV1:({cid,...query},params={})=>this.http.request({path:`/v1/microsoft/${cid}/excel/files`,method:"GET",secure:true,format:"json",...params}),addExcelFileV1:({cid,...query},data,params={})=>this.http.request({path:`/v1/microsoft/${cid}/excel/files`,method:"POST",body:data,secure:true,type:"application/json",format:"json",...params}),deleteExcelFileV1:({fileId,cid,...query},params={})=>this.http.request({path:`/v1/microsoft/${cid}/excel/files/${fileId}`,method:"DELETE",secure:true,format:"json",...params})}}},1034:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{U:()=>connectorLogoUrl});const fec_namespaceObject=__webpack_require__.p+"static/image/fec.png";function connectorLogoUrl(connector){if("fec"===connector.codename)return fec_namespaceObject;return connector.logo_key?`https://img.logo.dev/${connector.logo_key}?token=pk_QvyqAb6uTRGJE2_sDsEb9g&retina=true`:`https://s3.eu-west-3.amazonaws.com/media.airporting/connectors/${connector.codename}.png`}}}]);
|
|
1
|
+
"use strict";(globalThis["chunk_integrations_app"]=globalThis["chunk_integrations_app"]||[]).push([["9005"],{4184:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{q:()=>ConnectorBubble});var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(4848);var _mantine_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(2773);var _tabler_icons_react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(5200);var _src_utils_connectorLogoUrl_ts__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(1034);function ConnectorBubble({connector,rename}){const{colorScheme}=(0,_mantine_core__WEBPACK_IMPORTED_MODULE_1__.useMantineColorScheme)();const bg="dark"===colorScheme?"white":"dark";const logoUrl=(0,_src_utils_connectorLogoUrl_ts__WEBPACK_IMPORTED_MODULE_3__.U)(connector.main_connectorlist);return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_mantine_core__WEBPACK_IMPORTED_MODULE_1__.Card,{children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_mantine_core__WEBPACK_IMPORTED_MODULE_1__.Stack,{children:[/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_mantine_core__WEBPACK_IMPORTED_MODULE_1__.Avatar,{src:logoUrl,size:64,radius:"md",bg:bg,color:"dark"===colorScheme?"black":"white",p:18}),rename?rename.editing?/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_mantine_core__WEBPACK_IMPORTED_MODULE_1__.Group,{gap:"xs",wrap:"nowrap",children:[/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_mantine_core__WEBPACK_IMPORTED_MODULE_1__.TextInput,{value:rename.draft,onChange:e=>rename.onDraftChange(e.currentTarget.value),autoFocus:true,onKeyDown:e=>{if("Enter"===e.key)rename.onSave();if("Escape"===e.key)rename.onCancel()},style:{flex:1}}),/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_mantine_core__WEBPACK_IMPORTED_MODULE_1__.ActionIcon,{onClick:rename.onSave,"aria-label":"Sauvegarder",loading:rename.isPending,children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_tabler_icons_react__WEBPACK_IMPORTED_MODULE_2__.IconCheck,{size:16})}),/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_mantine_core__WEBPACK_IMPORTED_MODULE_1__.ActionIcon,{onClick:rename.onCancel,"aria-label":"Annuler",variant:"subtle",children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_tabler_icons_react__WEBPACK_IMPORTED_MODULE_2__.IconX,{size:16})})]}):/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_mantine_core__WEBPACK_IMPORTED_MODULE_1__.Group,{gap:"xs",wrap:"nowrap",children:[/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_mantine_core__WEBPACK_IMPORTED_MODULE_1__.Title,{w:"fit-content",order:3,children:connector.name}),/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_mantine_core__WEBPACK_IMPORTED_MODULE_1__.ActionIcon,{onClick:rename.onStartEditing,"aria-label":"Renommer",variant:"subtle",children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_tabler_icons_react__WEBPACK_IMPORTED_MODULE_2__.IconPencil,{size:16})})]}):/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_mantine_core__WEBPACK_IMPORTED_MODULE_1__.Title,{w:"fit-content",order:3,children:connector.name}),/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_mantine_core__WEBPACK_IMPORTED_MODULE_1__.Text,{c:"dimmed",size:"lg",lineClamp:3,children:connector.main_connectorlist.description_fr})]})})}},6699:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{Qq:()=>HttpClient,cM:()=>ContentType,qx:()=>IntegrationsApi});var ContentType=/*#__PURE__*/function(ContentType){ContentType["Json"]="application/json";ContentType["JsonApi"]="application/vnd.api+json";ContentType["FormData"]="multipart/form-data";ContentType["UrlEncoded"]="application/x-www-form-urlencoded";ContentType["Text"]="text/plain";return ContentType}({});class HttpClient{baseUrl="";securityData=null;securityWorker;abortControllers=new Map;customFetch=(...fetchParams)=>fetch(...fetchParams);baseApiParams={credentials:"same-origin",headers:{},redirect:"follow",referrerPolicy:"no-referrer"};constructor(apiConfig={}){Object.assign(this,apiConfig)}setSecurityData=data=>{this.securityData=data};encodeQueryParam(key,value){const encodedKey=encodeURIComponent(key);return`${encodedKey}=${encodeURIComponent("number"==typeof value?value:`${value}`)}`}addQueryParam(query,key){return this.encodeQueryParam(key,query[key])}addArrayQueryParam(query,key){const value=query[key];return value.map(v=>this.encodeQueryParam(key,v)).join("&")}toQueryString(rawQuery){const query=rawQuery||{};const keys=Object.keys(query).filter(key=>void 0!==query[key]);return keys.map(key=>Array.isArray(query[key])?this.addArrayQueryParam(query,key):this.addQueryParam(query,key)).join("&")}addQueryParams(rawQuery){const queryString=this.toQueryString(rawQuery);return queryString?`?${queryString}`:""}contentFormatters={["application/json"]:input=>null!==input&&("object"==typeof input||"string"==typeof input)?JSON.stringify(input):input,["application/vnd.api+json"]:input=>null!==input&&("object"==typeof input||"string"==typeof input)?JSON.stringify(input):input,["text/plain"]:input=>null!==input&&"string"!=typeof input?JSON.stringify(input):input,["multipart/form-data"]:input=>{if(input instanceof FormData)return input;return Object.keys(input||{}).reduce((formData,key)=>{const property=input[key];formData.append(key,property instanceof Blob?property:"object"==typeof property&&null!==property?JSON.stringify(property):`${property}`);return formData},new FormData)},["application/x-www-form-urlencoded"]:input=>this.toQueryString(input)};mergeRequestParams(params1,params2){return{...this.baseApiParams,...params1,...params2||{},headers:{...this.baseApiParams.headers||{},...params1.headers||{},...params2&¶ms2.headers||{}}}}createAbortSignal=cancelToken=>{if(this.abortControllers.has(cancelToken)){const abortController=this.abortControllers.get(cancelToken);if(abortController)return abortController.signal;return}const abortController=new AbortController;this.abortControllers.set(cancelToken,abortController);return abortController.signal};abortRequest=cancelToken=>{const abortController=this.abortControllers.get(cancelToken);if(abortController){abortController.abort();this.abortControllers.delete(cancelToken)}};request=async({body,secure,path,type,query,format,baseUrl,cancelToken,...params})=>{const secureParams=("boolean"==typeof secure?secure:this.baseApiParams.secure)&&this.securityWorker&&await this.securityWorker(this.securityData)||{};const requestParams=this.mergeRequestParams(params,secureParams);const queryString=query&&this.toQueryString(query);const payloadFormatter=this.contentFormatters[type||"application/json"];const responseFormat=format||requestParams.format;return this.customFetch(`${baseUrl||this.baseUrl||""}${path}${queryString?`?${queryString}`:""}`,{...requestParams,headers:{...requestParams.headers||{},...type&&"multipart/form-data"!==type?{"Content-Type":type}:{}},signal:(cancelToken?this.createAbortSignal(cancelToken):requestParams.signal)||null,body:null==body?null:payloadFormatter(body)}).then(async response=>{const r=response;r.data=null;r.error=null;const responseToParse=responseFormat?response.clone():response;const data=responseFormat?await responseToParse[responseFormat]().then(data=>{if(r.ok)r.data=data;else r.error=data;return r}).catch(e=>{r.error=e;return r}):r;if(cancelToken)this.abortControllers.delete(cancelToken);if(!response.ok)throw data;return data})}}class IntegrationsApi{http;constructor(http){this.http=http}status=(params={})=>this.http.request({path:"/status",method:"GET",...params});connectors={getStatsConnectorsV1:({cid,...query},params={})=>this.http.request({path:`/v1/connectors/${cid}/stats`,method:"GET",secure:true,format:"json",...params}),getConnectorsV1:({cid,...query},params={})=>this.http.request({path:`/v1/connectors/${cid}/ok`,method:"GET",secure:true,format:"json",...params}),getIllConnectorsV1:({cid,...query},params={})=>this.http.request({path:`/v1/connectors/${cid}/ill`,method:"GET",secure:true,format:"json",...params}),getCatalogConnectorsV1:({cid,...query},params={})=>this.http.request({path:`/v1/connectors/${cid}/catalog`,method:"GET",secure:true,format:"json",...params}),addConnectorV1:({cid,...query},data,params={})=>this.http.request({path:`/v1/connectors/${cid}/add`,method:"POST",body:data,secure:true,type:"application/json",format:"json",...params}),getConnectorConfigV1:({connector,cid,...query},params={})=>this.http.request({path:`/v1/connectors/${cid}/config/${connector}`,method:"GET",format:"json",...params}),getConnectorSingleV1:({connector,cid,...query},params={})=>this.http.request({path:`/v1/connectors/${cid}/single/${connector}`,method:"GET",format:"json",...params}),putConnectorDataV1:({connector,cid,...query},data,params={})=>this.http.request({path:`/v1/connectors/${cid}/data/${connector}`,method:"PUT",body:data,type:"application/json",format:"json",...params}),refreshConnectorAccountsV1:({connector,cid,...query},params={})=>this.http.request({path:`/v1/connectors/${cid}/${connector}/refresh-accounts`,method:"POST",secure:true,format:"json",...params}),renameConnectorV1:({connector,cid,...query},data,params={})=>this.http.request({path:`/v1/connectors/${cid}/${connector}`,method:"PATCH",body:data,secure:true,type:"application/json",format:"json",...params}),deleteConnectorV1:({connector,cid,...query},params={})=>this.http.request({path:`/v1/connectors/${cid}/${connector}`,method:"DELETE",secure:true,format:"json",...params}),getAuthSecretsV1:({connector,cid,...query},params={})=>this.http.request({path:`/v1/connectors/${cid}/${connector}/auth-secrets`,method:"GET",secure:true,format:"json",...params})};google={listGsheetFilesV1:({cid,...query},params={})=>this.http.request({path:`/v1/google/${cid}/gsheet/files`,method:"GET",secure:true,format:"json",...params}),deleteGsheetFileV1:({fileId,cid,...query},params={})=>this.http.request({path:`/v1/google/${cid}/gsheet/files/${fileId}`,method:"DELETE",secure:true,format:"json",...params})};microsoft={startAdminConsentV1:({cid,...query},params={})=>this.http.request({path:`/v1/microsoft/${cid}/admin-consent/start`,method:"GET",query:query,secure:true,format:"json",...params}),handleCallbackV1:(query,params={})=>this.http.request({path:"/v1/microsoft/admin-consent/callback",method:"GET",query:query,...params}),getTenantV1:({cid,...query},params={})=>this.http.request({path:`/v1/microsoft/${cid}/tenant`,method:"GET",secure:true,format:"json",...params}),resolveFileV1:({cid,...query},data,params={})=>this.http.request({path:`/v1/microsoft/${cid}/resolve-file`,method:"POST",body:data,secure:true,type:"application/json",format:"json",...params}),listExcelFilesV1:({cid,...query},params={})=>this.http.request({path:`/v1/microsoft/${cid}/excel/files`,method:"GET",secure:true,format:"json",...params}),addExcelFileV1:({cid,...query},data,params={})=>this.http.request({path:`/v1/microsoft/${cid}/excel/files`,method:"POST",body:data,secure:true,type:"application/json",format:"json",...params}),readExcelV1:({cid,...query},data,params={})=>this.http.request({path:`/v1/microsoft/${cid}/excel/read`,method:"POST",body:data,secure:true,type:"application/json",format:"json",...params}),deleteExcelFileV1:({fileId,cid,...query},params={})=>this.http.request({path:`/v1/microsoft/${cid}/excel/files/${fileId}`,method:"DELETE",secure:true,format:"json",...params})};pennylane={startOauthV1:({cid,...query},params={})=>this.http.request({path:`/v1/pennylane/${cid}/oauth/start`,method:"GET",query:query,secure:true,format:"json",...params}),getStatusV1:({cid,...query},params={})=>this.http.request({path:`/v1/pennylane/${cid}/oauth/status`,method:"GET",secure:true,format:"json",...params}),disconnectV1:({cid,...query},params={})=>this.http.request({path:`/v1/pennylane/${cid}/oauth`,method:"DELETE",secure:true,format:"json",...params}),getTokenV1:({cid,...query},params={})=>this.http.request({path:`/v1/pennylane/${cid}/oauth/token`,method:"GET",format:"json",...params}),handleCallbackV1:(query,params={})=>this.http.request({path:"/v1/pennylane/callback",method:"GET",query:query,...params})}}},1034:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{U:()=>connectorLogoUrl});const fec_namespaceObject=__webpack_require__.p+"static/image/fec.png";function connectorLogoUrl(connector){if("fec"===connector.codename)return fec_namespaceObject;return connector.logo_key?`https://img.logo.dev/${connector.logo_key}?token=pk_QvyqAb6uTRGJE2_sDsEb9g&retina=true`:`https://s3.eu-west-3.amazonaws.com/media.airporting/connectors/${connector.codename}.png`}}}]);
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { OauthStatusResponse } from '@/src/gen/IntegrationsApi.ts';
|
|
2
|
+
export declare function pennylaneOauthStatusQueryKey(company: string): string[];
|
|
3
|
+
export declare function usePennylaneOauthStatusQuery(): import("@tanstack/react-query").UseQueryResult<OauthStatusResponse, Error>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function PennylaneOauthPanel(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type PennylaneOauthMessage = {
|
|
2
|
+
type: 'airporting-pennylane-oauth';
|
|
3
|
+
success: boolean;
|
|
4
|
+
error: string | null;
|
|
5
|
+
errorDescription: string | null;
|
|
6
|
+
};
|
|
7
|
+
export declare function usePennylaneOauthPopup({ onResult, }: {
|
|
8
|
+
onResult: (message: PennylaneOauthMessage) => void;
|
|
9
|
+
}): {
|
|
10
|
+
openPopup: (url: string) => void;
|
|
11
|
+
closePopup: () => void;
|
|
12
|
+
isOpen: boolean;
|
|
13
|
+
};
|
|
@@ -62,6 +62,15 @@ export interface ConnectorItem {
|
|
|
62
62
|
};
|
|
63
63
|
name: string;
|
|
64
64
|
}
|
|
65
|
+
export interface ConnectorRefreshAccountsResponse {
|
|
66
|
+
/** `job_name` mis en file, `null` si `unsupported`. */
|
|
67
|
+
job: string | null;
|
|
68
|
+
/**
|
|
69
|
+
* `queued` : le job de découverte des comptes a été mis en file.
|
|
70
|
+
* `unsupported` : ce connecteur n'a pas de job de découverte, rien à faire.
|
|
71
|
+
*/
|
|
72
|
+
status: object;
|
|
73
|
+
}
|
|
65
74
|
export interface ConnectorRenameRequest {
|
|
66
75
|
/**
|
|
67
76
|
* @minLength 1
|
|
@@ -91,6 +100,10 @@ export interface ConnectorSingleResponse {
|
|
|
91
100
|
name: string;
|
|
92
101
|
requiresMicrosoftConsent: boolean;
|
|
93
102
|
status: object;
|
|
103
|
+
/**
|
|
104
|
+
* Ce connecteur a un job de découverte des comptes, donc le bouton de
|
|
105
|
+
* rafraîchissement a un sens. Faux pour la grande majorité d'entre eux.
|
|
106
|
+
*/
|
|
94
107
|
supportsAccountDiscovery: boolean;
|
|
95
108
|
}
|
|
96
109
|
export interface ConnectorsListResponse {
|
|
@@ -112,6 +125,16 @@ export interface DeleteExcelFileV1Params {
|
|
|
112
125
|
cid: string;
|
|
113
126
|
fileId: number;
|
|
114
127
|
}
|
|
128
|
+
export interface DeleteGsheetFileResponse {
|
|
129
|
+
status: string;
|
|
130
|
+
}
|
|
131
|
+
export interface DeleteGsheetFileV1Params {
|
|
132
|
+
cid: string;
|
|
133
|
+
fileId: number;
|
|
134
|
+
}
|
|
135
|
+
export interface DisconnectV1Params {
|
|
136
|
+
cid: string;
|
|
137
|
+
}
|
|
115
138
|
export interface ExcelFileItem {
|
|
116
139
|
/** @format date-time */
|
|
117
140
|
created: string;
|
|
@@ -150,9 +173,25 @@ export interface GetIllConnectorsV1Params {
|
|
|
150
173
|
export interface GetStatsConnectorsV1Params {
|
|
151
174
|
cid: string;
|
|
152
175
|
}
|
|
176
|
+
export interface GetStatusV1Params {
|
|
177
|
+
cid: string;
|
|
178
|
+
}
|
|
153
179
|
export interface GetTenantV1Params {
|
|
154
180
|
cid: string;
|
|
155
181
|
}
|
|
182
|
+
export interface GetTokenV1Params {
|
|
183
|
+
cid: string;
|
|
184
|
+
}
|
|
185
|
+
export interface GsheetFileItem {
|
|
186
|
+
/** @format date-time */
|
|
187
|
+
created: string;
|
|
188
|
+
id: number;
|
|
189
|
+
spreadsheet_id: string;
|
|
190
|
+
spreadsheet_name: string | null;
|
|
191
|
+
}
|
|
192
|
+
export interface GsheetFilesListResponse {
|
|
193
|
+
list: GsheetFileItem[];
|
|
194
|
+
}
|
|
156
195
|
export interface HandleCallbackV1Params {
|
|
157
196
|
admin_consent?: string;
|
|
158
197
|
error?: string;
|
|
@@ -161,9 +200,18 @@ export interface HandleCallbackV1Params {
|
|
|
161
200
|
state: string;
|
|
162
201
|
tenant?: string;
|
|
163
202
|
}
|
|
203
|
+
export interface HandleCallbackV1Params2 {
|
|
204
|
+
code?: string;
|
|
205
|
+
error?: string;
|
|
206
|
+
error_description?: string;
|
|
207
|
+
state: string;
|
|
208
|
+
}
|
|
164
209
|
export interface ListExcelFilesV1Params {
|
|
165
210
|
cid: string;
|
|
166
211
|
}
|
|
212
|
+
export interface ListGsheetFilesV1Params {
|
|
213
|
+
cid: string;
|
|
214
|
+
}
|
|
167
215
|
export interface MicrosoftTenantResponse {
|
|
168
216
|
/** @format date-time */
|
|
169
217
|
admin_consented_at: string | null;
|
|
@@ -172,10 +220,42 @@ export interface MicrosoftTenantResponse {
|
|
|
172
220
|
scopes_granted: string | null;
|
|
173
221
|
tenant_id: string;
|
|
174
222
|
}
|
|
223
|
+
export interface OauthDisconnectResponse {
|
|
224
|
+
disconnected: boolean;
|
|
225
|
+
}
|
|
226
|
+
export interface OauthStartResponse {
|
|
227
|
+
url: string;
|
|
228
|
+
}
|
|
229
|
+
export interface OauthStatusResponse {
|
|
230
|
+
accessTokenExpiresAt?: string;
|
|
231
|
+
connected: boolean;
|
|
232
|
+
pennylaneCompanyId?: string;
|
|
233
|
+
scopes?: string[];
|
|
234
|
+
}
|
|
235
|
+
export interface OauthTokenResponse {
|
|
236
|
+
accessToken: string;
|
|
237
|
+
expiresAt: string;
|
|
238
|
+
}
|
|
175
239
|
export interface PutConnectorDataV1Params {
|
|
176
240
|
cid: string;
|
|
177
241
|
connector: number;
|
|
178
242
|
}
|
|
243
|
+
export interface ReadExcelRequest {
|
|
244
|
+
fileId: number;
|
|
245
|
+
range?: string;
|
|
246
|
+
tab?: string;
|
|
247
|
+
}
|
|
248
|
+
export interface ReadExcelResponse {
|
|
249
|
+
values: object[][];
|
|
250
|
+
worksheets?: string[];
|
|
251
|
+
}
|
|
252
|
+
export interface ReadExcelV1Params {
|
|
253
|
+
cid: string;
|
|
254
|
+
}
|
|
255
|
+
export interface RefreshConnectorAccountsV1Params {
|
|
256
|
+
cid: string;
|
|
257
|
+
connector: number;
|
|
258
|
+
}
|
|
179
259
|
export interface RenameConnectorV1Params {
|
|
180
260
|
cid: string;
|
|
181
261
|
connector: number;
|
|
@@ -200,6 +280,11 @@ export interface StartAdminConsentV1Params {
|
|
|
200
280
|
/** @format uri */
|
|
201
281
|
returnTo: string;
|
|
202
282
|
}
|
|
283
|
+
export interface StartOauthV1Params {
|
|
284
|
+
cid: string;
|
|
285
|
+
/** @format uri */
|
|
286
|
+
returnTo: string;
|
|
287
|
+
}
|
|
203
288
|
export declare namespace Connectors {
|
|
204
289
|
/**
|
|
205
290
|
* No description
|
|
@@ -337,6 +422,27 @@ export declare namespace Connectors {
|
|
|
337
422
|
type RequestHeaders = {};
|
|
338
423
|
type ResponseBody = ConnectorSaveDataResponse;
|
|
339
424
|
}
|
|
425
|
+
/**
|
|
426
|
+
* No description
|
|
427
|
+
* @tags Connectors
|
|
428
|
+
* @name RefreshConnectorAccountsV1
|
|
429
|
+
* @summary Redécouvre les comptes du connecteur (bouton « Rafraîchir les comptes »).
|
|
430
|
+
L'enregistrement du connecteur le fait déjà tout seul ; cet endpoint sert
|
|
431
|
+
à le relancer sans avoir à réenregistrer le formulaire.
|
|
432
|
+
* @request POST:/v1/connectors/{cid}/{connector}/refresh-accounts
|
|
433
|
+
* @secure
|
|
434
|
+
* @response `201` `ConnectorRefreshAccountsResponse`
|
|
435
|
+
*/
|
|
436
|
+
namespace RefreshConnectorAccountsV1 {
|
|
437
|
+
type RequestParams = {
|
|
438
|
+
cid: string;
|
|
439
|
+
connector: number;
|
|
440
|
+
};
|
|
441
|
+
type RequestQuery = {};
|
|
442
|
+
type RequestBody = never;
|
|
443
|
+
type RequestHeaders = {};
|
|
444
|
+
type ResponseBody = ConnectorRefreshAccountsResponse;
|
|
445
|
+
}
|
|
340
446
|
/**
|
|
341
447
|
* No description
|
|
342
448
|
* @tags Connectors
|
|
@@ -397,6 +503,43 @@ export declare namespace Connectors {
|
|
|
397
503
|
type ResponseBody = ConnectorAuthSecretsResponse;
|
|
398
504
|
}
|
|
399
505
|
}
|
|
506
|
+
export declare namespace Google {
|
|
507
|
+
/**
|
|
508
|
+
* No description
|
|
509
|
+
* @tags Google
|
|
510
|
+
* @name ListGsheetFilesV1
|
|
511
|
+
* @request GET:/v1/google/{cid}/gsheet/files
|
|
512
|
+
* @secure
|
|
513
|
+
* @response `200` `GsheetFilesListResponse`
|
|
514
|
+
*/
|
|
515
|
+
namespace ListGsheetFilesV1 {
|
|
516
|
+
type RequestParams = {
|
|
517
|
+
cid: string;
|
|
518
|
+
};
|
|
519
|
+
type RequestQuery = {};
|
|
520
|
+
type RequestBody = never;
|
|
521
|
+
type RequestHeaders = {};
|
|
522
|
+
type ResponseBody = GsheetFilesListResponse;
|
|
523
|
+
}
|
|
524
|
+
/**
|
|
525
|
+
* No description
|
|
526
|
+
* @tags Google
|
|
527
|
+
* @name DeleteGsheetFileV1
|
|
528
|
+
* @request DELETE:/v1/google/{cid}/gsheet/files/{fileId}
|
|
529
|
+
* @secure
|
|
530
|
+
* @response `200` `DeleteGsheetFileResponse`
|
|
531
|
+
*/
|
|
532
|
+
namespace DeleteGsheetFileV1 {
|
|
533
|
+
type RequestParams = {
|
|
534
|
+
cid: string;
|
|
535
|
+
fileId: number;
|
|
536
|
+
};
|
|
537
|
+
type RequestQuery = {};
|
|
538
|
+
type RequestBody = never;
|
|
539
|
+
type RequestHeaders = {};
|
|
540
|
+
type ResponseBody = DeleteGsheetFileResponse;
|
|
541
|
+
}
|
|
542
|
+
}
|
|
400
543
|
export declare namespace Microsoft {
|
|
401
544
|
/**
|
|
402
545
|
* No description
|
|
@@ -507,6 +650,23 @@ export declare namespace Microsoft {
|
|
|
507
650
|
type RequestHeaders = {};
|
|
508
651
|
type ResponseBody = AddExcelFileResponse;
|
|
509
652
|
}
|
|
653
|
+
/**
|
|
654
|
+
* No description
|
|
655
|
+
* @tags Microsoft
|
|
656
|
+
* @name ReadExcelV1
|
|
657
|
+
* @request POST:/v1/microsoft/{cid}/excel/read
|
|
658
|
+
* @secure
|
|
659
|
+
* @response `201` `ReadExcelResponse`
|
|
660
|
+
*/
|
|
661
|
+
namespace ReadExcelV1 {
|
|
662
|
+
type RequestParams = {
|
|
663
|
+
cid: string;
|
|
664
|
+
};
|
|
665
|
+
type RequestQuery = {};
|
|
666
|
+
type RequestBody = ReadExcelRequest;
|
|
667
|
+
type RequestHeaders = {};
|
|
668
|
+
type ResponseBody = ReadExcelResponse;
|
|
669
|
+
}
|
|
510
670
|
/**
|
|
511
671
|
* No description
|
|
512
672
|
* @tags Microsoft
|
|
@@ -526,6 +686,97 @@ export declare namespace Microsoft {
|
|
|
526
686
|
type ResponseBody = DeleteExcelFileResponse;
|
|
527
687
|
}
|
|
528
688
|
}
|
|
689
|
+
export declare namespace Pennylane {
|
|
690
|
+
/**
|
|
691
|
+
* No description
|
|
692
|
+
* @tags Pennylane
|
|
693
|
+
* @name StartOauthV1
|
|
694
|
+
* @request GET:/v1/pennylane/{cid}/oauth/start
|
|
695
|
+
* @secure
|
|
696
|
+
* @response `200` `OauthStartResponse`
|
|
697
|
+
*/
|
|
698
|
+
namespace StartOauthV1 {
|
|
699
|
+
type RequestParams = {
|
|
700
|
+
cid: string;
|
|
701
|
+
};
|
|
702
|
+
type RequestQuery = {
|
|
703
|
+
/** @format uri */
|
|
704
|
+
returnTo: string;
|
|
705
|
+
};
|
|
706
|
+
type RequestBody = never;
|
|
707
|
+
type RequestHeaders = {};
|
|
708
|
+
type ResponseBody = OauthStartResponse;
|
|
709
|
+
}
|
|
710
|
+
/**
|
|
711
|
+
* No description
|
|
712
|
+
* @tags Pennylane
|
|
713
|
+
* @name GetStatusV1
|
|
714
|
+
* @request GET:/v1/pennylane/{cid}/oauth/status
|
|
715
|
+
* @secure
|
|
716
|
+
* @response `200` `OauthStatusResponse`
|
|
717
|
+
*/
|
|
718
|
+
namespace GetStatusV1 {
|
|
719
|
+
type RequestParams = {
|
|
720
|
+
cid: string;
|
|
721
|
+
};
|
|
722
|
+
type RequestQuery = {};
|
|
723
|
+
type RequestBody = never;
|
|
724
|
+
type RequestHeaders = {};
|
|
725
|
+
type ResponseBody = OauthStatusResponse;
|
|
726
|
+
}
|
|
727
|
+
/**
|
|
728
|
+
* No description
|
|
729
|
+
* @tags Pennylane
|
|
730
|
+
* @name DisconnectV1
|
|
731
|
+
* @request DELETE:/v1/pennylane/{cid}/oauth
|
|
732
|
+
* @secure
|
|
733
|
+
* @response `200` `OauthDisconnectResponse`
|
|
734
|
+
*/
|
|
735
|
+
namespace DisconnectV1 {
|
|
736
|
+
type RequestParams = {
|
|
737
|
+
cid: string;
|
|
738
|
+
};
|
|
739
|
+
type RequestQuery = {};
|
|
740
|
+
type RequestBody = never;
|
|
741
|
+
type RequestHeaders = {};
|
|
742
|
+
type ResponseBody = OauthDisconnectResponse;
|
|
743
|
+
}
|
|
744
|
+
/**
|
|
745
|
+
* No description
|
|
746
|
+
* @tags Pennylane
|
|
747
|
+
* @name GetTokenV1
|
|
748
|
+
* @request GET:/v1/pennylane/{cid}/oauth/token
|
|
749
|
+
* @response `200` `OauthTokenResponse`
|
|
750
|
+
*/
|
|
751
|
+
namespace GetTokenV1 {
|
|
752
|
+
type RequestParams = {
|
|
753
|
+
cid: string;
|
|
754
|
+
};
|
|
755
|
+
type RequestQuery = {};
|
|
756
|
+
type RequestBody = never;
|
|
757
|
+
type RequestHeaders = {};
|
|
758
|
+
type ResponseBody = OauthTokenResponse;
|
|
759
|
+
}
|
|
760
|
+
/**
|
|
761
|
+
* No description
|
|
762
|
+
* @tags Pennylane
|
|
763
|
+
* @name HandleCallbackV1
|
|
764
|
+
* @request GET:/v1/pennylane/callback
|
|
765
|
+
* @response `200` `void`
|
|
766
|
+
*/
|
|
767
|
+
namespace HandleCallbackV1 {
|
|
768
|
+
type RequestParams = {};
|
|
769
|
+
type RequestQuery = {
|
|
770
|
+
code?: string;
|
|
771
|
+
error?: string;
|
|
772
|
+
error_description?: string;
|
|
773
|
+
state: string;
|
|
774
|
+
};
|
|
775
|
+
type RequestBody = never;
|
|
776
|
+
type RequestHeaders = {};
|
|
777
|
+
type ResponseBody = void;
|
|
778
|
+
}
|
|
779
|
+
}
|
|
529
780
|
export type QueryParamsType = Record<string | number, any>;
|
|
530
781
|
export type ResponseFormat = keyof Omit<Body, 'body' | 'bodyUsed'>;
|
|
531
782
|
export interface FullRequestParams extends Omit<RequestInit, 'body'> {
|
|
@@ -683,6 +934,19 @@ export declare class IntegrationsApi<SecurityDataType extends unknown> {
|
|
|
683
934
|
*/
|
|
684
935
|
putConnectorDataV1: ({ connector, cid, ...query }: PutConnectorDataV1Params, data: ConnectorSaveDataRequest, params?: RequestParams) => Promise<HttpResponse<ConnectorSaveDataResponse, any>>;
|
|
685
936
|
/**
|
|
937
|
+
* No description
|
|
938
|
+
*
|
|
939
|
+
* @tags Connectors
|
|
940
|
+
* @name RefreshConnectorAccountsV1
|
|
941
|
+
* @summary Redécouvre les comptes du connecteur (bouton « Rafraîchir les comptes »).
|
|
942
|
+
L'enregistrement du connecteur le fait déjà tout seul ; cet endpoint sert
|
|
943
|
+
à le relancer sans avoir à réenregistrer le formulaire.
|
|
944
|
+
* @request POST:/v1/connectors/{cid}/{connector}/refresh-accounts
|
|
945
|
+
* @secure
|
|
946
|
+
* @response `201` `ConnectorRefreshAccountsResponse`
|
|
947
|
+
*/
|
|
948
|
+
refreshConnectorAccountsV1: ({ connector, cid, ...query }: RefreshConnectorAccountsV1Params, params?: RequestParams) => Promise<HttpResponse<ConnectorRefreshAccountsResponse, any>>;
|
|
949
|
+
/**
|
|
686
950
|
* No description
|
|
687
951
|
*
|
|
688
952
|
* @tags Connectors
|
|
@@ -718,6 +982,28 @@ export declare class IntegrationsApi<SecurityDataType extends unknown> {
|
|
|
718
982
|
*/
|
|
719
983
|
getAuthSecretsV1: ({ connector, cid, ...query }: GetAuthSecretsV1Params, params?: RequestParams) => Promise<HttpResponse<ConnectorAuthSecretsResponse, any>>;
|
|
720
984
|
};
|
|
985
|
+
google: {
|
|
986
|
+
/**
|
|
987
|
+
* No description
|
|
988
|
+
*
|
|
989
|
+
* @tags Google
|
|
990
|
+
* @name ListGsheetFilesV1
|
|
991
|
+
* @request GET:/v1/google/{cid}/gsheet/files
|
|
992
|
+
* @secure
|
|
993
|
+
* @response `200` `GsheetFilesListResponse`
|
|
994
|
+
*/
|
|
995
|
+
listGsheetFilesV1: ({ cid, ...query }: ListGsheetFilesV1Params, params?: RequestParams) => Promise<HttpResponse<GsheetFilesListResponse, any>>;
|
|
996
|
+
/**
|
|
997
|
+
* No description
|
|
998
|
+
*
|
|
999
|
+
* @tags Google
|
|
1000
|
+
* @name DeleteGsheetFileV1
|
|
1001
|
+
* @request DELETE:/v1/google/{cid}/gsheet/files/{fileId}
|
|
1002
|
+
* @secure
|
|
1003
|
+
* @response `200` `DeleteGsheetFileResponse`
|
|
1004
|
+
*/
|
|
1005
|
+
deleteGsheetFileV1: ({ fileId, cid, ...query }: DeleteGsheetFileV1Params, params?: RequestParams) => Promise<HttpResponse<DeleteGsheetFileResponse, any>>;
|
|
1006
|
+
};
|
|
721
1007
|
microsoft: {
|
|
722
1008
|
/**
|
|
723
1009
|
* No description
|
|
@@ -778,6 +1064,16 @@ export declare class IntegrationsApi<SecurityDataType extends unknown> {
|
|
|
778
1064
|
* @response `201` `AddExcelFileResponse`
|
|
779
1065
|
*/
|
|
780
1066
|
addExcelFileV1: ({ cid, ...query }: AddExcelFileV1Params, data: AddExcelFileRequest, params?: RequestParams) => Promise<HttpResponse<AddExcelFileResponse, any>>;
|
|
1067
|
+
/**
|
|
1068
|
+
* No description
|
|
1069
|
+
*
|
|
1070
|
+
* @tags Microsoft
|
|
1071
|
+
* @name ReadExcelV1
|
|
1072
|
+
* @request POST:/v1/microsoft/{cid}/excel/read
|
|
1073
|
+
* @secure
|
|
1074
|
+
* @response `201` `ReadExcelResponse`
|
|
1075
|
+
*/
|
|
1076
|
+
readExcelV1: ({ cid, ...query }: ReadExcelV1Params, data: ReadExcelRequest, params?: RequestParams) => Promise<HttpResponse<ReadExcelResponse, any>>;
|
|
781
1077
|
/**
|
|
782
1078
|
* No description
|
|
783
1079
|
*
|
|
@@ -789,5 +1085,55 @@ export declare class IntegrationsApi<SecurityDataType extends unknown> {
|
|
|
789
1085
|
*/
|
|
790
1086
|
deleteExcelFileV1: ({ fileId, cid, ...query }: DeleteExcelFileV1Params, params?: RequestParams) => Promise<HttpResponse<DeleteExcelFileResponse, any>>;
|
|
791
1087
|
};
|
|
1088
|
+
pennylane: {
|
|
1089
|
+
/**
|
|
1090
|
+
* No description
|
|
1091
|
+
*
|
|
1092
|
+
* @tags Pennylane
|
|
1093
|
+
* @name StartOauthV1
|
|
1094
|
+
* @request GET:/v1/pennylane/{cid}/oauth/start
|
|
1095
|
+
* @secure
|
|
1096
|
+
* @response `200` `OauthStartResponse`
|
|
1097
|
+
*/
|
|
1098
|
+
startOauthV1: ({ cid, ...query }: StartOauthV1Params, params?: RequestParams) => Promise<HttpResponse<OauthStartResponse, any>>;
|
|
1099
|
+
/**
|
|
1100
|
+
* No description
|
|
1101
|
+
*
|
|
1102
|
+
* @tags Pennylane
|
|
1103
|
+
* @name GetStatusV1
|
|
1104
|
+
* @request GET:/v1/pennylane/{cid}/oauth/status
|
|
1105
|
+
* @secure
|
|
1106
|
+
* @response `200` `OauthStatusResponse`
|
|
1107
|
+
*/
|
|
1108
|
+
getStatusV1: ({ cid, ...query }: GetStatusV1Params, params?: RequestParams) => Promise<HttpResponse<OauthStatusResponse, any>>;
|
|
1109
|
+
/**
|
|
1110
|
+
* No description
|
|
1111
|
+
*
|
|
1112
|
+
* @tags Pennylane
|
|
1113
|
+
* @name DisconnectV1
|
|
1114
|
+
* @request DELETE:/v1/pennylane/{cid}/oauth
|
|
1115
|
+
* @secure
|
|
1116
|
+
* @response `200` `OauthDisconnectResponse`
|
|
1117
|
+
*/
|
|
1118
|
+
disconnectV1: ({ cid, ...query }: DisconnectV1Params, params?: RequestParams) => Promise<HttpResponse<OauthDisconnectResponse, any>>;
|
|
1119
|
+
/**
|
|
1120
|
+
* No description
|
|
1121
|
+
*
|
|
1122
|
+
* @tags Pennylane
|
|
1123
|
+
* @name GetTokenV1
|
|
1124
|
+
* @request GET:/v1/pennylane/{cid}/oauth/token
|
|
1125
|
+
* @response `200` `OauthTokenResponse`
|
|
1126
|
+
*/
|
|
1127
|
+
getTokenV1: ({ cid, ...query }: GetTokenV1Params, params?: RequestParams) => Promise<HttpResponse<OauthTokenResponse, any>>;
|
|
1128
|
+
/**
|
|
1129
|
+
* No description
|
|
1130
|
+
*
|
|
1131
|
+
* @tags Pennylane
|
|
1132
|
+
* @name HandleCallbackV1
|
|
1133
|
+
* @request GET:/v1/pennylane/callback
|
|
1134
|
+
* @response `200` `void`
|
|
1135
|
+
*/
|
|
1136
|
+
handleCallbackV1: (query: HandleCallbackV1Params2, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
1137
|
+
};
|
|
792
1138
|
}
|
|
793
1139
|
export {};
|
package/dist/mf/@mf-types.zip
CHANGED
|
Binary file
|
|
@@ -7,4 +7,4 @@
|
|
|
7
7
|
*
|
|
8
8
|
* This source code is licensed under the MIT license found in the
|
|
9
9
|
* LICENSE file in the root directory of this source tree.
|
|
10
|
-
*/var REACT_ELEMENT_TYPE=Symbol.for("react.transitional.element"),REACT_FRAGMENT_TYPE=Symbol.for("react.fragment");function jsxProd(type,config,maybeKey){var key=null;void 0!==maybeKey&&(key=""+maybeKey);void 0!==config.key&&(key=""+config.key);if("key"in config){maybeKey={};for(var propName in config)"key"!==propName&&(maybeKey[propName]=config[propName])}else maybeKey=config;config=maybeKey.ref;return{$$typeof:REACT_ELEMENT_TYPE,type:type,key:key,ref:void 0!==config?config:null,props:maybeKey}}exports.Fragment=REACT_FRAGMENT_TYPE;exports.jsx=jsxProd;exports.jsxs=jsxProd},4848:function(module,__unused_webpack_exports,__webpack_require__){module.exports=__webpack_require__(9698)},466:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,{default:()=>SingleConnector});var jsx_runtime=__webpack_require__(4848);var index_js_=__webpack_require__(8556);var single_connector_app=__webpack_require__(
|
|
10
|
+
*/var REACT_ELEMENT_TYPE=Symbol.for("react.transitional.element"),REACT_FRAGMENT_TYPE=Symbol.for("react.fragment");function jsxProd(type,config,maybeKey){var key=null;void 0!==maybeKey&&(key=""+maybeKey);void 0!==config.key&&(key=""+config.key);if("key"in config){maybeKey={};for(var propName in config)"key"!==propName&&(maybeKey[propName]=config[propName])}else maybeKey=config;config=maybeKey.ref;return{$$typeof:REACT_ELEMENT_TYPE,type:type,key:key,ref:void 0!==config?config:null,props:maybeKey}}exports.Fragment=REACT_FRAGMENT_TYPE;exports.jsx=jsxProd;exports.jsxs=jsxProd},4848:function(module,__unused_webpack_exports,__webpack_require__){module.exports=__webpack_require__(9698)},466:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,{default:()=>SingleConnector});var jsx_runtime=__webpack_require__(4848);var index_js_=__webpack_require__(8556);var single_connector_app=__webpack_require__(806);var dist_index_js_=__webpack_require__(4259);var index_mjs_=__webpack_require__(2773);var esm_index_mjs_=__webpack_require__(4931);var modern_index_js_=__webpack_require__(7714);var dist_esm_index_mjs_=__webpack_require__(4449);var useAppConfigConnectorSingle=__webpack_require__(4613);const theme=(0,index_mjs_.createTheme)((0,dist_esm_index_mjs_.assign)(dist_index_js_.theme,{components:{}}));const cssVarResolver=x=>(0,dist_esm_index_mjs_.assign)(dist_index_js_.cssVarResolver(x),{dark:{},light:{},variables:{}});function ProvidersSingleConnector(props){const{children,config,mantine,tanstack}=props;return/*#__PURE__*/(0,jsx_runtime.jsx)(useAppConfigConnectorSingle.a,{value:config,children:/*#__PURE__*/(0,jsx_runtime.jsx)(modern_index_js_.QueryClientProvider,{client:tanstack?.queryClient??new modern_index_js_.QueryClient,children:/*#__PURE__*/(0,jsx_runtime.jsxs)(index_mjs_.MantineProvider,{theme:theme,cssVariablesResolver:cssVarResolver,defaultColorScheme:mantine?.defaultColorScheme,forceColorScheme:mantine?.forceColorScheme,children:[/*#__PURE__*/(0,jsx_runtime.jsx)(esm_index_mjs_.Notifications,{}),/*#__PURE__*/(0,jsx_runtime.jsx)(dist_index_js_.RevealTokenProvider,{children:children})]})})})}function SingleConnector(props){return/*#__PURE__*/(0,jsx_runtime.jsx)(index_js_.StrictMode,{children:/*#__PURE__*/(0,jsx_runtime.jsx)(ProvidersSingleConnector,{...props,children:/*#__PURE__*/(0,jsx_runtime.jsx)(single_connector_app.d,{})})})}},4613:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{C:()=>useAppConfigConnectorSingle,a:()=>AppConfigConnectorSingleProvider});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(8556);const AppConfigCtx=/*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)(null);const AppConfigConnectorSingleProvider=AppConfigCtx.Provider;function useAppConfigConnectorSingle(){const config=(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(AppConfigCtx);if(!config)throw new Error("Called `useAppConfig` outside a `<AppConfigConnectorSingleProvider />`");return config}}}]);
|