@algolia/ingestion 1.0.0-alpha.2
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/builds/browser.d.ts +6 -0
- package/dist/builds/browser.d.ts.map +1 -0
- package/dist/builds/node.d.ts +6 -0
- package/dist/builds/node.d.ts.map +1 -0
- package/dist/ingestion.cjs.js +815 -0
- package/dist/ingestion.esm.browser.js +1450 -0
- package/dist/ingestion.esm.node.js +810 -0
- package/dist/ingestion.umd.js +2 -0
- package/dist/model/actionType.d.ts +2 -0
- package/dist/model/actionType.d.ts.map +1 -0
- package/dist/model/authAPIKey.d.ts +4 -0
- package/dist/model/authAPIKey.d.ts.map +1 -0
- package/dist/model/authAlgolia.d.ts +5 -0
- package/dist/model/authAlgolia.d.ts.map +1 -0
- package/dist/model/authBasic.d.ts +5 -0
- package/dist/model/authBasic.d.ts.map +1 -0
- package/dist/model/authGoogleServiceAccount.d.ts +5 -0
- package/dist/model/authGoogleServiceAccount.d.ts.map +1 -0
- package/dist/model/authInput.d.ts +7 -0
- package/dist/model/authInput.d.ts.map +1 -0
- package/dist/model/authOAuth.d.ts +7 -0
- package/dist/model/authOAuth.d.ts.map +1 -0
- package/dist/model/authentication.d.ts +19 -0
- package/dist/model/authentication.d.ts.map +1 -0
- package/dist/model/authenticationCreate.d.ts +10 -0
- package/dist/model/authenticationCreate.d.ts.map +1 -0
- package/dist/model/authenticationCreateResponse.d.ts +9 -0
- package/dist/model/authenticationCreateResponse.d.ts.map +1 -0
- package/dist/model/authenticationType.d.ts +2 -0
- package/dist/model/authenticationType.d.ts.map +1 -0
- package/dist/model/authenticationUpdate.d.ts +10 -0
- package/dist/model/authenticationUpdate.d.ts.map +1 -0
- package/dist/model/authenticationUpdateResponse.d.ts +9 -0
- package/dist/model/authenticationUpdateResponse.d.ts.map +1 -0
- package/dist/model/clientMethodProps.d.ts +265 -0
- package/dist/model/clientMethodProps.d.ts.map +1 -0
- package/dist/model/deleteResponse.d.ts +7 -0
- package/dist/model/deleteResponse.d.ts.map +1 -0
- package/dist/model/destination.d.ts +18 -0
- package/dist/model/destination.d.ts.map +1 -0
- package/dist/model/destinationCreate.d.ts +9 -0
- package/dist/model/destinationCreate.d.ts.map +1 -0
- package/dist/model/destinationCreateResponse.d.ts +9 -0
- package/dist/model/destinationCreateResponse.d.ts.map +1 -0
- package/dist/model/destinationIndexName.d.ts +4 -0
- package/dist/model/destinationIndexName.d.ts.map +1 -0
- package/dist/model/destinationIndexPrefix.d.ts +4 -0
- package/dist/model/destinationIndexPrefix.d.ts.map +1 -0
- package/dist/model/destinationInput.d.ts +4 -0
- package/dist/model/destinationInput.d.ts.map +1 -0
- package/dist/model/destinationType.d.ts +2 -0
- package/dist/model/destinationType.d.ts.map +1 -0
- package/dist/model/destinationUpdate.d.ts +9 -0
- package/dist/model/destinationUpdate.d.ts.map +1 -0
- package/dist/model/destinationUpdateResponse.d.ts +9 -0
- package/dist/model/destinationUpdateResponse.d.ts.map +1 -0
- package/dist/model/errorBase.d.ts +7 -0
- package/dist/model/errorBase.d.ts.map +1 -0
- package/dist/model/event.d.ts +15 -0
- package/dist/model/event.d.ts.map +1 -0
- package/dist/model/eventStatus.d.ts +2 -0
- package/dist/model/eventStatus.d.ts.map +1 -0
- package/dist/model/eventType.d.ts +2 -0
- package/dist/model/eventType.d.ts.map +1 -0
- package/dist/model/index.d.ts +59 -0
- package/dist/model/index.d.ts.map +1 -0
- package/dist/model/listAuthenticationsResponse.d.ts +7 -0
- package/dist/model/listAuthenticationsResponse.d.ts.map +1 -0
- package/dist/model/listDestinationsResponse.d.ts +7 -0
- package/dist/model/listDestinationsResponse.d.ts.map +1 -0
- package/dist/model/listEventsResponse.d.ts +7 -0
- package/dist/model/listEventsResponse.d.ts.map +1 -0
- package/dist/model/listSourcesResponse.d.ts +7 -0
- package/dist/model/listSourcesResponse.d.ts.map +1 -0
- package/dist/model/listTasksResponse.d.ts +7 -0
- package/dist/model/listTasksResponse.d.ts.map +1 -0
- package/dist/model/pagination.d.ts +7 -0
- package/dist/model/pagination.d.ts.map +1 -0
- package/dist/model/platformType.d.ts +2 -0
- package/dist/model/platformType.d.ts.map +1 -0
- package/dist/model/run.d.ts +30 -0
- package/dist/model/run.d.ts.map +1 -0
- package/dist/model/runListResponse.d.ts +7 -0
- package/dist/model/runListResponse.d.ts.map +1 -0
- package/dist/model/runOutcome.d.ts +2 -0
- package/dist/model/runOutcome.d.ts.map +1 -0
- package/dist/model/runProgress.d.ts +5 -0
- package/dist/model/runProgress.d.ts.map +1 -0
- package/dist/model/runResponse.d.ts +8 -0
- package/dist/model/runResponse.d.ts.map +1 -0
- package/dist/model/runStatus.d.ts +2 -0
- package/dist/model/runStatus.d.ts.map +1 -0
- package/dist/model/runType.d.ts +2 -0
- package/dist/model/runType.d.ts.map +1 -0
- package/dist/model/source.d.ts +18 -0
- package/dist/model/source.d.ts.map +1 -0
- package/dist/model/sourceBigCommerce.d.ts +4 -0
- package/dist/model/sourceBigCommerce.d.ts.map +1 -0
- package/dist/model/sourceCommercetools.d.ts +6 -0
- package/dist/model/sourceCommercetools.d.ts.map +1 -0
- package/dist/model/sourceCreate.d.ts +9 -0
- package/dist/model/sourceCreate.d.ts.map +1 -0
- package/dist/model/sourceCreateResponse.d.ts +9 -0
- package/dist/model/sourceCreateResponse.d.ts.map +1 -0
- package/dist/model/sourceInput.d.ts +4 -0
- package/dist/model/sourceInput.d.ts.map +1 -0
- package/dist/model/sourceType.d.ts +2 -0
- package/dist/model/sourceType.d.ts.map +1 -0
- package/dist/model/sourceUpdate.d.ts +9 -0
- package/dist/model/sourceUpdate.d.ts.map +1 -0
- package/dist/model/sourceUpdateResponse.d.ts +9 -0
- package/dist/model/sourceUpdateResponse.d.ts.map +1 -0
- package/dist/model/task.d.ts +21 -0
- package/dist/model/task.d.ts.map +1 -0
- package/dist/model/taskCreate.d.ts +10 -0
- package/dist/model/taskCreate.d.ts.map +1 -0
- package/dist/model/taskCreateResponse.d.ts +8 -0
- package/dist/model/taskCreateResponse.d.ts.map +1 -0
- package/dist/model/taskUpdate.d.ts +7 -0
- package/dist/model/taskUpdate.d.ts.map +1 -0
- package/dist/model/taskUpdateResponse.d.ts +8 -0
- package/dist/model/taskUpdateResponse.d.ts.map +1 -0
- package/dist/model/trigger.d.ts +6 -0
- package/dist/model/trigger.d.ts.map +1 -0
- package/dist/model/triggerType.d.ts +2 -0
- package/dist/model/triggerType.d.ts.map +1 -0
- package/dist/src/ingestionClient.d.ts +322 -0
- package/dist/src/ingestionClient.d.ts.map +1 -0
- package/index.d.ts +2 -0
- package/index.js +2 -0
- package/model/actionType.ts +3 -0
- package/model/authAPIKey.ts +5 -0
- package/model/authAlgolia.ts +7 -0
- package/model/authBasic.ts +7 -0
- package/model/authGoogleServiceAccount.ts +7 -0
- package/model/authInput.ts +14 -0
- package/model/authOAuth.ts +11 -0
- package/model/authentication.ts +27 -0
- package/model/authenticationCreate.ts +15 -0
- package/model/authenticationCreateResponse.ts +12 -0
- package/model/authenticationType.ts +8 -0
- package/model/authenticationUpdate.ts +15 -0
- package/model/authenticationUpdateResponse.ts +12 -0
- package/model/clientMethodProps.ts +290 -0
- package/model/deleteResponse.ts +8 -0
- package/model/destination.ts +26 -0
- package/model/destinationCreate.ts +14 -0
- package/model/destinationCreateResponse.ts +12 -0
- package/model/destinationIndexName.ts +5 -0
- package/model/destinationIndexPrefix.ts +5 -0
- package/model/destinationInput.ts +6 -0
- package/model/destinationType.ts +3 -0
- package/model/destinationUpdate.ts +14 -0
- package/model/destinationUpdateResponse.ts +12 -0
- package/model/errorBase.ts +8 -0
- package/model/event.ts +23 -0
- package/model/eventStatus.ts +8 -0
- package/model/eventType.ts +3 -0
- package/model/index.ts +60 -0
- package/model/listAuthenticationsResponse.ts +10 -0
- package/model/listDestinationsResponse.ts +10 -0
- package/model/listEventsResponse.ts +10 -0
- package/model/listSourcesResponse.ts +10 -0
- package/model/listTasksResponse.ts +10 -0
- package/model/pagination.ts +11 -0
- package/model/platformType.ts +3 -0
- package/model/run.ts +42 -0
- package/model/runListResponse.ts +10 -0
- package/model/runOutcome.ts +3 -0
- package/model/runProgress.ts +7 -0
- package/model/runResponse.ts +10 -0
- package/model/runStatus.ts +3 -0
- package/model/runType.ts +3 -0
- package/model/source.ts +26 -0
- package/model/sourceBigCommerce.ts +5 -0
- package/model/sourceCommercetools.ts +9 -0
- package/model/sourceCreate.ts +14 -0
- package/model/sourceCreateResponse.ts +12 -0
- package/model/sourceInput.ts +6 -0
- package/model/sourceType.ts +3 -0
- package/model/sourceUpdate.ts +14 -0
- package/model/sourceUpdateResponse.ts +12 -0
- package/model/task.ts +32 -0
- package/model/taskCreate.ts +16 -0
- package/model/taskCreateResponse.ts +10 -0
- package/model/taskUpdate.ts +11 -0
- package/model/taskUpdateResponse.ts +10 -0
- package/model/trigger.ts +9 -0
- package/model/triggerType.ts +3 -0
- package/package.json +53 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! ingestion.umd.js | 1.0.0-alpha.2 | © Algolia, inc. | https://github.com/algolia/algoliasearch-client-javascript */
|
|
2
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["@algolia/ingestion"]={})}(this,(function(e){"use strict";function t(e){let t;const r=`algolia-client-js-${e.key}`;function a(){return void 0===t&&(t=e.localStorage||window.localStorage),t}function n(){return JSON.parse(a().getItem(r)||"{}")}return{get:(e,t,r={miss:()=>Promise.resolve()})=>Promise.resolve().then((()=>{const r=JSON.stringify(e),a=n()[r];return Promise.all([a||t(),void 0!==a])})).then((([e,t])=>Promise.all([e,t||r.miss(e)]))).then((([e])=>e)),set:(e,t)=>Promise.resolve().then((()=>{const s=n();return s[JSON.stringify(e)]=t,a().setItem(r,JSON.stringify(s)),t})),delete:e=>Promise.resolve().then((()=>{const t=n();delete t[JSON.stringify(e)],a().setItem(r,JSON.stringify(t))})),clear:()=>Promise.resolve().then((()=>{a().removeItem(r)}))}}function r(e){const t=[...e.caches],a=t.shift();return void 0===a?{get:(e,t,r={miss:()=>Promise.resolve()})=>t().then((e=>Promise.all([e,r.miss(e)]))).then((([e])=>e)),set:(e,t)=>Promise.resolve(t),delete:e=>Promise.resolve(),clear:()=>Promise.resolve()}:{get:(e,n,s={miss:()=>Promise.resolve()})=>a.get(e,n,s).catch((()=>r({caches:t}).get(e,n,s))),set:(e,n)=>a.set(e,n).catch((()=>r({caches:t}).set(e,n))),delete:e=>a.delete(e).catch((()=>r({caches:t}).delete(e))),clear:()=>a.clear().catch((()=>r({caches:t}).clear()))}}function a(e={serializable:!0}){let t={};return{get(r,a,n={miss:()=>Promise.resolve()}){const s=JSON.stringify(r);if(s in t)return Promise.resolve(e.serializable?JSON.parse(t[s]):t[s]);const o=a();return o.then((e=>n.miss(e))).then((()=>o))},set:(r,a)=>(t[JSON.stringify(r)]=e.serializable?JSON.stringify(a):a,Promise.resolve(a)),delete:e=>(delete t[JSON.stringify(e)],Promise.resolve()),clear:()=>(t={},Promise.resolve())}}const n=12e4;function s(e,t="up"){const r=Date.now();return{...e,status:t,lastUpdate:r,isUp:function(){return"up"===t||Date.now()-r>n},isTimedOut:function(){return"timed out"===t&&Date.now()-r<=n}}}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class i extends Error{constructor(e,t){super(e),o(this,"name","AlgoliaError"),t&&(this.name=t)}}class u extends i{constructor(e,t,r){super(e,r),o(this,"stackTrace",void 0),this.stackTrace=t}}class c extends u{constructor(e){super("Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.",e,"RetryError")}}class d extends u{constructor(e,t,r){super(e,r,"ApiError"),o(this,"status",void 0),this.status=t}}class h extends i{constructor(e,t){super(e,"DeserializationError"),o(this,"response",void 0),this.response=t}}function l(e,t,r){const a=function(e){const t=e=>"[object Object]"===Object.prototype.toString.call(e)||"[object Array]"===Object.prototype.toString.call(e);return Object.keys(e).map((r=>`${r}=${encodeURIComponent(t(e[r])?JSON.stringify(e[r]):e[r])}`)).join("&")}(r);let n=`${e.protocol}://${e.url}/${"/"===t.charAt(0)?t.substr(1):t}`;return a.length&&(n+=`?${a}`),n}function m(e){const t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return{...e,request:{...e.request,headers:{...e.request.headers,...t}}}}function p({hosts:e,hostsCache:t,baseHeaders:r,baseQueryParameters:a,algoliaAgent:n,timeouts:o,requester:i,requestsCache:u,responsesCache:p}){async function g(u,p,g=!0){const P=[],w=function(e,t){if("GET"===e.method||void 0===e.data&&void 0===t.data)return;const r=Array.isArray(e.data)?e.data:{...e.data,...t.data};return JSON.stringify(r)}(u,p),f=function(e,t,r){const a={Accept:"application/json",...e,...t,...r},n={};return Object.keys(a).forEach((e=>{const t=a[e];n[e.toLowerCase()]=t})),n}(r,u.headers,p.headers),q="GET"===u.method?{...u.data,...p.data}:{},I={...a,...u.queryParameters,...q};if(n.value&&(I["x-algolia-agent"]=n.value),p&&p.queryParameters)for(const e of Object.keys(p.queryParameters))p.queryParameters[e]&&"[object Object]"!==Object.prototype.toString.call(p.queryParameters[e])?I[e]=p.queryParameters[e].toString():I[e]=p.queryParameters[e];let D=0;const y=async(e,r)=>{const a=e.pop();if(void 0===a)throw new c(function(e){return e.map((e=>m(e)))}(P));let n=p.timeout;void 0===n&&(n=g?o.read:o.write);const q={data:w,headers:f,method:u.method,url:l(a,u.path,I),connectTimeout:r(D,o.connect),responseTimeout:r(D,n)},T=t=>{const r={request:q,response:t,host:a,triesLeft:e.length};return P.push(r),r},E=await i.send(q);if(function({isTimedOut:e,status:t}){return e||function({isTimedOut:e,status:t}){return!e&&0==~~t}({isTimedOut:e,status:t})||2!=~~(t/100)&&4!=~~(t/100)}(E)){const n=T(E);return E.isTimedOut&&D++,console.log("Retryable failure",m(n)),await t.set(a,s(a,E.isTimedOut?"timed out":"down")),y(e,r)}if(function({status:e}){return 2==~~(e/100)}(E))return function(e){try{return JSON.parse(e.content)}catch(t){throw new h(t.message,e)}}(E);throw T(E),function({content:e,status:t},r){let a=e;try{a=JSON.parse(e).message}catch(e){}return new d(a,t,r)}(E,P)},T=e.filter((e=>"readWrite"===e.accept||(g?"read"===e.accept:"write"===e.accept))),E=await async function(e){const r=await Promise.all(e.map((e=>t.get(e,(()=>Promise.resolve(s(e))))))),a=r.filter((e=>e.isUp())),n=r.filter((e=>e.isTimedOut())),o=[...a,...n];return{hosts:o.length>0?o:e,getTimeout:(e,t)=>(0===n.length&&0===e?1:n.length+3+e)*t}}(T);return y([...E.hosts].reverse(),E.getTimeout)}return{hostsCache:t,requester:i,timeouts:o,algoliaAgent:n,baseHeaders:r,baseQueryParameters:a,hosts:e,request:function(e,t={}){const n=e.useReadTransporter||"GET"===e.method;if(!n)return g(e,t,n);const s=()=>g(e,t);if(!0!==(t.cacheable||e.cacheable))return s();const o={request:e,requestOptions:t,transporter:{queryParameters:a,headers:r}};return p.get(o,(()=>u.get(o,(()=>u.set(o,s()).then((e=>Promise.all([u.delete(o),e])),(e=>Promise.all([u.delete(o),Promise.reject(e)]))).then((([e,t])=>t))))),{miss:e=>p.set(o,e)})},requestsCache:u,responsesCache:p}}function g({algoliaAgents:e,client:t,version:r}){const a=function(e){const t={value:`Algolia for JavaScript (${e})`,add(e){const r=`; ${e.segment}${void 0!==e.version?` (${e.version})`:""}`;return-1===t.value.indexOf(r)&&(t.value=`${t.value}${r}`),t}};return t}(r).add({segment:t,version:r});return e.forEach((e=>a.add(e))),a}const P="1.0.0-alpha.2",w=["us"];e.apiClientVersion=P,e.ingestionClient=function(e,n,s,o){if(!e||"string"!=typeof e)throw new Error("`appId` is missing.");if(!n||"string"!=typeof n)throw new Error("`apiKey` is missing.");if(!s||s&&("string"!=typeof s||!w.includes(s)))throw new Error(`\`region\` is required and must be one of the following: ${w.join(", ")}`);return function({appId:e,apiKey:t,authMode:r,algoliaAgents:a,region:n,...s}){const o=function(e,t,r="WithinHeaders"){const a={"x-algolia-api-key":t,"x-algolia-application-id":e};return{headers:()=>"WithinHeaders"===r?a:{},queryParameters:()=>"WithinQueryParameters"===r?a:{}}}(e,t,r),i=p({hosts:(u=n,[{url:"data.{region}.algolia.com".replace("{region}",u),accept:"readWrite",protocol:"https"}]),...s,algoliaAgent:{...g({algoliaAgents:a,client:"Ingestion",version:P}),value:""},baseHeaders:{"content-type":"text/plain",...o.headers(),...s.baseHeaders},baseQueryParameters:{...o.queryParameters(),...s.baseQueryParameters}});var u;return{transporter:i,appId:e,clearCache:()=>Promise.all([i.requestsCache.clear(),i.responsesCache.clear()]).then((()=>{})),get _ua(){return i.algoliaAgent.value},addAlgoliaAgent(e,t){i.algoliaAgent.add({segment:e,version:t})},createAuthentication(e,t){if(!e)throw new Error("Parameter `authenticationCreate` is required when calling `createAuthentication`.");const r={method:"POST",path:"/1/authentications",queryParameters:{},headers:{},data:e};return i.request(r,t)},createDestination(e,t){if(!e)throw new Error("Parameter `destinationCreate` is required when calling `createDestination`.");const r={method:"POST",path:"/1/destinations",queryParameters:{},headers:{},data:e};return i.request(r,t)},createSource(e,t){if(!e)throw new Error("Parameter `sourceCreate` is required when calling `createSource`.");const r={method:"POST",path:"/1/sources",queryParameters:{},headers:{},data:e};return i.request(r,t)},createTask(e,t){if(!e)throw new Error("Parameter `taskCreate` is required when calling `createTask`.");if(!e.sourceID)throw new Error("Parameter `taskCreate.sourceID` is required when calling `createTask`.");if(!e.action)throw new Error("Parameter `taskCreate.action` is required when calling `createTask`.");const r={method:"POST",path:"/1/tasks",queryParameters:{},headers:{},data:e};return i.request(r,t)},deleteAuthentication({authenticationID:e},t){if(!e)throw new Error("Parameter `authenticationID` is required when calling `deleteAuthentication`.");const r={method:"DELETE",path:"/1/authentications/{authenticationID}".replace("{authenticationID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(r,t)},deleteDestination({destinationID:e},t){if(!e)throw new Error("Parameter `destinationID` is required when calling `deleteDestination`.");const r={method:"DELETE",path:"/1/destinations/{destinationID}".replace("{destinationID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(r,t)},deleteSource({sourceID:e},t){if(!e)throw new Error("Parameter `sourceID` is required when calling `deleteSource`.");const r={method:"DELETE",path:"/1/sources/{sourceID}".replace("{sourceID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(r,t)},deleteTask({taskID:e},t){if(!e)throw new Error("Parameter `taskID` is required when calling `deleteTask`.");const r={method:"DELETE",path:"/1/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(r,t)},disableTask({taskID:e},t){if(!e)throw new Error("Parameter `taskID` is required when calling `disableTask`.");const r={method:"POST",path:"/1/tasks/{taskID}/disable".replace("{taskID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(r,t)},enableTask({taskID:e},t){if(!e)throw new Error("Parameter `taskID` is required when calling `enableTask`.");const r={method:"POST",path:"/1/tasks/{taskID}/enable".replace("{taskID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(r,t)},getAuthentication({authenticationID:e},t){if(!e)throw new Error("Parameter `authenticationID` is required when calling `getAuthentication`.");const r={method:"GET",path:"/1/authentications/{authenticationID}".replace("{authenticationID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(r,t)},getAuthentications({itemsPerPage:e,page:t}={},r){const a={};void 0!==e&&(a.itemsPerPage=e.toString()),void 0!==t&&(a.page=t.toString());const n={method:"GET",path:"/1/authentications",queryParameters:a,headers:{}};return i.request(n,r)},getDestination({destinationID:e},t){if(!e)throw new Error("Parameter `destinationID` is required when calling `getDestination`.");const r={method:"GET",path:"/1/destinations/{destinationID}".replace("{destinationID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(r,t)},getDestinations({itemsPerPage:e,page:t}={},r){const a={};void 0!==e&&(a.itemsPerPage=e.toString()),void 0!==t&&(a.page=t.toString());const n={method:"GET",path:"/1/destinations",queryParameters:a,headers:{}};return i.request(n,r)},getEvent({runID:e,eventID:t},r){if(!e)throw new Error("Parameter `runID` is required when calling `getEvent`.");if(!t)throw new Error("Parameter `eventID` is required when calling `getEvent`.");const a={method:"GET",path:"/1/runs/{runID}/events/{eventID}".replace("{runID}",encodeURIComponent(e)).replace("{eventID}",encodeURIComponent(t)),queryParameters:{},headers:{}};return i.request(a,r)},getEvents({runID:e,itemsPerPage:t,page:r},a){if(!e)throw new Error("Parameter `runID` is required when calling `getEvents`.");const n="/1/runs/{runID}/events".replace("{runID}",encodeURIComponent(e)),s={};void 0!==t&&(s.itemsPerPage=t.toString()),void 0!==r&&(s.page=r.toString());const o={method:"GET",path:n,queryParameters:s,headers:{}};return i.request(o,a)},getRun({runID:e},t){if(!e)throw new Error("Parameter `runID` is required when calling `getRun`.");const r={method:"GET",path:"/1/runs/{runID}".replace("{runID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(r,t)},getRuns({itemsPerPage:e,page:t}={},r){const a={};void 0!==e&&(a.itemsPerPage=e.toString()),void 0!==t&&(a.page=t.toString());const n={method:"GET",path:"/1/runs",queryParameters:a,headers:{}};return i.request(n,r)},getRunsByTaskID({taskID:e,itemsPerPage:t,page:r},a){if(!e)throw new Error("Parameter `taskID` is required when calling `getRunsByTaskID`.");const n="/1/runs/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e)),s={};void 0!==t&&(s.itemsPerPage=t.toString()),void 0!==r&&(s.page=r.toString());const o={method:"GET",path:n,queryParameters:s,headers:{}};return i.request(o,a)},getSource({sourceID:e},t){if(!e)throw new Error("Parameter `sourceID` is required when calling `getSource`.");const r={method:"GET",path:"/1/sources/{sourceID}".replace("{sourceID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(r,t)},getSources({itemsPerPage:e,page:t}={},r){const a={};void 0!==e&&(a.itemsPerPage=e.toString()),void 0!==t&&(a.page=t.toString());const n={method:"GET",path:"/1/sources",queryParameters:a,headers:{}};return i.request(n,r)},getTask({taskID:e},t){if(!e)throw new Error("Parameter `taskID` is required when calling `getTask`.");const r={method:"GET",path:"/1/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(r,t)},getTasks({itemsPerPage:e,page:t}={},r){const a={};void 0!==e&&(a.itemsPerPage=e.toString()),void 0!==t&&(a.page=t.toString());const n={method:"GET",path:"/1/tasks",queryParameters:a,headers:{}};return i.request(n,r)},runTask({taskID:e},t){if(!e)throw new Error("Parameter `taskID` is required when calling `runTask`.");const r={method:"POST",path:"/1/tasks/{taskID}/run".replace("{taskID}",encodeURIComponent(e)),queryParameters:{},headers:{}};return i.request(r,t)},updateAuthentication({authenticationID:e,authenticationUpdate:t},r){if(!e)throw new Error("Parameter `authenticationID` is required when calling `updateAuthentication`.");if(!t)throw new Error("Parameter `authenticationUpdate` is required when calling `updateAuthentication`.");const a={method:"PUT",path:"/1/authentications/{authenticationID}".replace("{authenticationID}",encodeURIComponent(e)),queryParameters:{},headers:{},data:t};return i.request(a,r)},updateDestination({destinationID:e,destinationUpdate:t},r){if(!e)throw new Error("Parameter `destinationID` is required when calling `updateDestination`.");if(!t)throw new Error("Parameter `destinationUpdate` is required when calling `updateDestination`.");const a={method:"PUT",path:"/1/destinations/{destinationID}".replace("{destinationID}",encodeURIComponent(e)),queryParameters:{},headers:{},data:t};return i.request(a,r)},updateSource({sourceID:e,sourceUpdate:t},r){if(!e)throw new Error("Parameter `sourceID` is required when calling `updateSource`.");if(!t)throw new Error("Parameter `sourceUpdate` is required when calling `updateSource`.");const a={method:"POST",path:"/1/sources/{sourceID}".replace("{sourceID}",encodeURIComponent(e)),queryParameters:{},headers:{},data:t};return i.request(a,r)},updateTask({taskID:e,taskUpdate:t},r){if(!e)throw new Error("Parameter `taskID` is required when calling `updateTask`.");if(!t)throw new Error("Parameter `taskUpdate` is required when calling `updateTask`.");const a={method:"PUT",path:"/1/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e)),queryParameters:{},headers:{},data:t};return i.request(a,r)}}}({appId:e,apiKey:n,region:s,timeouts:{connect:1e3,read:2e3,write:3e4},requester:{send:function(e){return new Promise((t=>{const r=new XMLHttpRequest;r.open(e.method,e.url,!0),Object.keys(e.headers).forEach((t=>r.setRequestHeader(t,e.headers[t])));const a=(e,a)=>setTimeout((()=>{r.abort(),t({status:0,content:a,isTimedOut:!0})}),e),n=a(e.connectTimeout,"Connection timeout");let s;r.onreadystatechange=()=>{r.readyState>r.OPENED&&void 0===s&&(clearTimeout(n),s=a(e.responseTimeout,"Socket timeout"))},r.onerror=()=>{0===r.status&&(clearTimeout(n),clearTimeout(s),t({content:r.responseText||"Network request failed",status:r.status,isTimedOut:!1}))},r.onload=()=>{clearTimeout(n),clearTimeout(s),t({content:r.responseText,status:r.status,isTimedOut:!1})},r.send(e.data)}))}},algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:a(),requestsCache:a({serializable:!1}),hostsCache:r({caches:[t({key:`1.0.0-alpha.2-${e}`}),a()]}),...o})}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actionType.d.ts","sourceRoot":"","sources":["../../model/actionType.ts"],"names":[],"mappings":"AAEA,oBAAY,UAAU,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authAPIKey.d.ts","sourceRoot":"","sources":["../../model/authAPIKey.ts"],"names":[],"mappings":"AAEA,oBAAY,UAAU,GAAG;IACvB,GAAG,EAAE,MAAM,CAAC;CACb,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authAlgolia.d.ts","sourceRoot":"","sources":["../../model/authAlgolia.ts"],"names":[],"mappings":"AAEA,oBAAY,WAAW,GAAG;IACxB,KAAK,EAAE,MAAM,CAAC;IAEd,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authBasic.d.ts","sourceRoot":"","sources":["../../model/authBasic.ts"],"names":[],"mappings":"AAEA,oBAAY,SAAS,GAAG;IACtB,QAAQ,EAAE,MAAM,CAAC;IAEjB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authGoogleServiceAccount.d.ts","sourceRoot":"","sources":["../../model/authGoogleServiceAccount.ts"],"names":[],"mappings":"AAEA,oBAAY,wBAAwB,GAAG;IACrC,WAAW,EAAE,MAAM,CAAC;IAEpB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { AuthAPIKey } from './authAPIKey';
|
|
2
|
+
import type { AuthAlgolia } from './authAlgolia';
|
|
3
|
+
import type { AuthBasic } from './authBasic';
|
|
4
|
+
import type { AuthGoogleServiceAccount } from './authGoogleServiceAccount';
|
|
5
|
+
import type { AuthOAuth } from './authOAuth';
|
|
6
|
+
export declare type AuthInput = AuthAlgolia | AuthAPIKey | AuthBasic | AuthGoogleServiceAccount | AuthOAuth;
|
|
7
|
+
//# sourceMappingURL=authInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authInput.d.ts","sourceRoot":"","sources":["../../model/authInput.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAC3E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,oBAAY,SAAS,GACjB,WAAW,GACX,UAAU,GACV,SAAS,GACT,wBAAwB,GACxB,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authOAuth.d.ts","sourceRoot":"","sources":["../../model/authOAuth.ts"],"names":[],"mappings":"AAEA,oBAAY,SAAS,GAAG;IACtB,GAAG,EAAE,MAAM,CAAC;IAEZ,SAAS,EAAE,MAAM,CAAC;IAElB,aAAa,EAAE,MAAM,CAAC;IAEtB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { AuthInput } from './authInput';
|
|
2
|
+
import type { AuthenticationType } from './authenticationType';
|
|
3
|
+
import type { PlatformType } from './platformType';
|
|
4
|
+
export declare type Authentication = {
|
|
5
|
+
authenticationID: string;
|
|
6
|
+
type: AuthenticationType;
|
|
7
|
+
name: string;
|
|
8
|
+
platform?: PlatformType;
|
|
9
|
+
input: AuthInput;
|
|
10
|
+
/**
|
|
11
|
+
* Date of creation (RFC3339 format).
|
|
12
|
+
*/
|
|
13
|
+
createdAt: string;
|
|
14
|
+
/**
|
|
15
|
+
* Date of last update (RFC3339 format).
|
|
16
|
+
*/
|
|
17
|
+
updatedAt?: string;
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=authentication.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authentication.d.ts","sourceRoot":"","sources":["../../model/authentication.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,oBAAY,cAAc,GAAG;IAC3B,gBAAgB,EAAE,MAAM,CAAC;IAEzB,IAAI,EAAE,kBAAkB,CAAC;IAEzB,IAAI,EAAE,MAAM,CAAC;IAEb,QAAQ,CAAC,EAAE,YAAY,CAAC;IAExB,KAAK,EAAE,SAAS,CAAC;IAEjB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { AuthInput } from './authInput';
|
|
2
|
+
import type { AuthenticationType } from './authenticationType';
|
|
3
|
+
import type { PlatformType } from './platformType';
|
|
4
|
+
export declare type AuthenticationCreate = {
|
|
5
|
+
type: AuthenticationType;
|
|
6
|
+
name: string;
|
|
7
|
+
platform?: PlatformType;
|
|
8
|
+
input: AuthInput;
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=authenticationCreate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authenticationCreate.d.ts","sourceRoot":"","sources":["../../model/authenticationCreate.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,oBAAY,oBAAoB,GAAG;IACjC,IAAI,EAAE,kBAAkB,CAAC;IAEzB,IAAI,EAAE,MAAM,CAAC;IAEb,QAAQ,CAAC,EAAE,YAAY,CAAC;IAExB,KAAK,EAAE,SAAS,CAAC;CAClB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authenticationCreateResponse.d.ts","sourceRoot":"","sources":["../../model/authenticationCreateResponse.ts"],"names":[],"mappings":"AAEA,oBAAY,4BAA4B,GAAG;IACzC,gBAAgB,EAAE,MAAM,CAAC;IAEzB,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authenticationType.d.ts","sourceRoot":"","sources":["../../model/authenticationType.ts"],"names":[],"mappings":"AAEA,oBAAY,kBAAkB,GAC1B,SAAS,GACT,QAAQ,GACR,OAAO,GACP,sBAAsB,GACtB,OAAO,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { AuthInput } from './authInput';
|
|
2
|
+
import type { AuthenticationType } from './authenticationType';
|
|
3
|
+
import type { PlatformType } from './platformType';
|
|
4
|
+
export declare type AuthenticationUpdate = {
|
|
5
|
+
type?: AuthenticationType;
|
|
6
|
+
name?: string;
|
|
7
|
+
platform?: PlatformType;
|
|
8
|
+
input?: AuthInput;
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=authenticationUpdate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authenticationUpdate.d.ts","sourceRoot":"","sources":["../../model/authenticationUpdate.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,oBAAY,oBAAoB,GAAG;IACjC,IAAI,CAAC,EAAE,kBAAkB,CAAC;IAE1B,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,QAAQ,CAAC,EAAE,YAAY,CAAC;IAExB,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authenticationUpdateResponse.d.ts","sourceRoot":"","sources":["../../model/authenticationUpdateResponse.ts"],"names":[],"mappings":"AAEA,oBAAY,4BAA4B,GAAG;IACzC,gBAAgB,EAAE,MAAM,CAAC;IAEzB,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
import type { AuthenticationUpdate } from './authenticationUpdate';
|
|
2
|
+
import type { DestinationUpdate } from './destinationUpdate';
|
|
3
|
+
import type { SourceUpdate } from './sourceUpdate';
|
|
4
|
+
import type { TaskUpdate } from './taskUpdate';
|
|
5
|
+
/**
|
|
6
|
+
* Properties for the `deleteAuthentication` method.
|
|
7
|
+
*/
|
|
8
|
+
export declare type DeleteAuthenticationProps = {
|
|
9
|
+
/**
|
|
10
|
+
* The authentication uuid.
|
|
11
|
+
*/
|
|
12
|
+
authenticationID: string;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Properties for the `deleteDestination` method.
|
|
16
|
+
*/
|
|
17
|
+
export declare type DeleteDestinationProps = {
|
|
18
|
+
/**
|
|
19
|
+
* The destination uuid.
|
|
20
|
+
*/
|
|
21
|
+
destinationID: string;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Properties for the `deleteSource` method.
|
|
25
|
+
*/
|
|
26
|
+
export declare type DeleteSourceProps = {
|
|
27
|
+
/**
|
|
28
|
+
* The source uuid.
|
|
29
|
+
*/
|
|
30
|
+
sourceID: string;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Properties for the `deleteTask` method.
|
|
34
|
+
*/
|
|
35
|
+
export declare type DeleteTaskProps = {
|
|
36
|
+
/**
|
|
37
|
+
* The task uuid.
|
|
38
|
+
*/
|
|
39
|
+
taskID: string;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Properties for the `disableTask` method.
|
|
43
|
+
*/
|
|
44
|
+
export declare type DisableTaskProps = {
|
|
45
|
+
/**
|
|
46
|
+
* The task uuid.
|
|
47
|
+
*/
|
|
48
|
+
taskID: string;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* Properties for the `enableTask` method.
|
|
52
|
+
*/
|
|
53
|
+
export declare type EnableTaskProps = {
|
|
54
|
+
/**
|
|
55
|
+
* The task uuid.
|
|
56
|
+
*/
|
|
57
|
+
taskID: string;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Properties for the `getAuthentication` method.
|
|
61
|
+
*/
|
|
62
|
+
export declare type GetAuthenticationProps = {
|
|
63
|
+
/**
|
|
64
|
+
* The authentication uuid.
|
|
65
|
+
*/
|
|
66
|
+
authenticationID: string;
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* Properties for the `getAuthentications` method.
|
|
70
|
+
*/
|
|
71
|
+
export declare type GetAuthenticationsProps = {
|
|
72
|
+
/**
|
|
73
|
+
* The number of items per page to return.
|
|
74
|
+
*/
|
|
75
|
+
itemsPerPage?: number;
|
|
76
|
+
/**
|
|
77
|
+
* The page number to fetch, starting at 1.
|
|
78
|
+
*/
|
|
79
|
+
page?: number;
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* Properties for the `getDestination` method.
|
|
83
|
+
*/
|
|
84
|
+
export declare type GetDestinationProps = {
|
|
85
|
+
/**
|
|
86
|
+
* The destination uuid.
|
|
87
|
+
*/
|
|
88
|
+
destinationID: string;
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* Properties for the `getDestinations` method.
|
|
92
|
+
*/
|
|
93
|
+
export declare type GetDestinationsProps = {
|
|
94
|
+
/**
|
|
95
|
+
* The number of items per page to return.
|
|
96
|
+
*/
|
|
97
|
+
itemsPerPage?: number;
|
|
98
|
+
/**
|
|
99
|
+
* The page number to fetch, starting at 1.
|
|
100
|
+
*/
|
|
101
|
+
page?: number;
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* Properties for the `getEvent` method.
|
|
105
|
+
*/
|
|
106
|
+
export declare type GetEventProps = {
|
|
107
|
+
/**
|
|
108
|
+
* The run uuid.
|
|
109
|
+
*/
|
|
110
|
+
runID: string;
|
|
111
|
+
/**
|
|
112
|
+
* The event uuid.
|
|
113
|
+
*/
|
|
114
|
+
eventID: string;
|
|
115
|
+
};
|
|
116
|
+
/**
|
|
117
|
+
* Properties for the `getEvents` method.
|
|
118
|
+
*/
|
|
119
|
+
export declare type GetEventsProps = {
|
|
120
|
+
/**
|
|
121
|
+
* The run uuid.
|
|
122
|
+
*/
|
|
123
|
+
runID: string;
|
|
124
|
+
/**
|
|
125
|
+
* The number of items per page to return.
|
|
126
|
+
*/
|
|
127
|
+
itemsPerPage?: number;
|
|
128
|
+
/**
|
|
129
|
+
* The page number to fetch, starting at 1.
|
|
130
|
+
*/
|
|
131
|
+
page?: number;
|
|
132
|
+
};
|
|
133
|
+
/**
|
|
134
|
+
* Properties for the `getRun` method.
|
|
135
|
+
*/
|
|
136
|
+
export declare type GetRunProps = {
|
|
137
|
+
/**
|
|
138
|
+
* The run uuid.
|
|
139
|
+
*/
|
|
140
|
+
runID: string;
|
|
141
|
+
};
|
|
142
|
+
/**
|
|
143
|
+
* Properties for the `getRuns` method.
|
|
144
|
+
*/
|
|
145
|
+
export declare type GetRunsProps = {
|
|
146
|
+
/**
|
|
147
|
+
* The number of items per page to return.
|
|
148
|
+
*/
|
|
149
|
+
itemsPerPage?: number;
|
|
150
|
+
/**
|
|
151
|
+
* The page number to fetch, starting at 1.
|
|
152
|
+
*/
|
|
153
|
+
page?: number;
|
|
154
|
+
};
|
|
155
|
+
/**
|
|
156
|
+
* Properties for the `getRunsByTaskID` method.
|
|
157
|
+
*/
|
|
158
|
+
export declare type GetRunsByTaskIDProps = {
|
|
159
|
+
/**
|
|
160
|
+
* The task uuid.
|
|
161
|
+
*/
|
|
162
|
+
taskID: string;
|
|
163
|
+
/**
|
|
164
|
+
* The number of items per page to return.
|
|
165
|
+
*/
|
|
166
|
+
itemsPerPage?: number;
|
|
167
|
+
/**
|
|
168
|
+
* The page number to fetch, starting at 1.
|
|
169
|
+
*/
|
|
170
|
+
page?: number;
|
|
171
|
+
};
|
|
172
|
+
/**
|
|
173
|
+
* Properties for the `getSource` method.
|
|
174
|
+
*/
|
|
175
|
+
export declare type GetSourceProps = {
|
|
176
|
+
/**
|
|
177
|
+
* The source uuid.
|
|
178
|
+
*/
|
|
179
|
+
sourceID: string;
|
|
180
|
+
};
|
|
181
|
+
/**
|
|
182
|
+
* Properties for the `getSources` method.
|
|
183
|
+
*/
|
|
184
|
+
export declare type GetSourcesProps = {
|
|
185
|
+
/**
|
|
186
|
+
* The number of items per page to return.
|
|
187
|
+
*/
|
|
188
|
+
itemsPerPage?: number;
|
|
189
|
+
/**
|
|
190
|
+
* The page number to fetch, starting at 1.
|
|
191
|
+
*/
|
|
192
|
+
page?: number;
|
|
193
|
+
};
|
|
194
|
+
/**
|
|
195
|
+
* Properties for the `getTask` method.
|
|
196
|
+
*/
|
|
197
|
+
export declare type GetTaskProps = {
|
|
198
|
+
/**
|
|
199
|
+
* The task uuid.
|
|
200
|
+
*/
|
|
201
|
+
taskID: string;
|
|
202
|
+
};
|
|
203
|
+
/**
|
|
204
|
+
* Properties for the `getTasks` method.
|
|
205
|
+
*/
|
|
206
|
+
export declare type GetTasksProps = {
|
|
207
|
+
/**
|
|
208
|
+
* The number of items per page to return.
|
|
209
|
+
*/
|
|
210
|
+
itemsPerPage?: number;
|
|
211
|
+
/**
|
|
212
|
+
* The page number to fetch, starting at 1.
|
|
213
|
+
*/
|
|
214
|
+
page?: number;
|
|
215
|
+
};
|
|
216
|
+
/**
|
|
217
|
+
* Properties for the `runTask` method.
|
|
218
|
+
*/
|
|
219
|
+
export declare type RunTaskProps = {
|
|
220
|
+
/**
|
|
221
|
+
* The task uuid.
|
|
222
|
+
*/
|
|
223
|
+
taskID: string;
|
|
224
|
+
};
|
|
225
|
+
/**
|
|
226
|
+
* Properties for the `updateAuthentication` method.
|
|
227
|
+
*/
|
|
228
|
+
export declare type UpdateAuthenticationProps = {
|
|
229
|
+
/**
|
|
230
|
+
* The authentication uuid.
|
|
231
|
+
*/
|
|
232
|
+
authenticationID: string;
|
|
233
|
+
authenticationUpdate: AuthenticationUpdate;
|
|
234
|
+
};
|
|
235
|
+
/**
|
|
236
|
+
* Properties for the `updateDestination` method.
|
|
237
|
+
*/
|
|
238
|
+
export declare type UpdateDestinationProps = {
|
|
239
|
+
/**
|
|
240
|
+
* The destination uuid.
|
|
241
|
+
*/
|
|
242
|
+
destinationID: string;
|
|
243
|
+
destinationUpdate: DestinationUpdate;
|
|
244
|
+
};
|
|
245
|
+
/**
|
|
246
|
+
* Properties for the `updateSource` method.
|
|
247
|
+
*/
|
|
248
|
+
export declare type UpdateSourceProps = {
|
|
249
|
+
/**
|
|
250
|
+
* The source uuid.
|
|
251
|
+
*/
|
|
252
|
+
sourceID: string;
|
|
253
|
+
sourceUpdate: SourceUpdate;
|
|
254
|
+
};
|
|
255
|
+
/**
|
|
256
|
+
* Properties for the `updateTask` method.
|
|
257
|
+
*/
|
|
258
|
+
export declare type UpdateTaskProps = {
|
|
259
|
+
/**
|
|
260
|
+
* The task uuid.
|
|
261
|
+
*/
|
|
262
|
+
taskID: string;
|
|
263
|
+
taskUpdate: TaskUpdate;
|
|
264
|
+
};
|
|
265
|
+
//# sourceMappingURL=clientMethodProps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clientMethodProps.d.ts","sourceRoot":"","sources":["../../model/clientMethodProps.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C;;GAEG;AACH,oBAAY,yBAAyB,GAAG;IACtC;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF;;GAEG;AACH,oBAAY,sBAAsB,GAAG;IACnC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF;;GAEG;AACH,oBAAY,iBAAiB,GAAG;IAC9B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF;;GAEG;AACH,oBAAY,eAAe,GAAG;IAC5B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;GAEG;AACH,oBAAY,gBAAgB,GAAG;IAC7B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;GAEG;AACH,oBAAY,eAAe,GAAG;IAC5B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;GAEG;AACH,oBAAY,sBAAsB,GAAG;IACnC;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF;;GAEG;AACH,oBAAY,uBAAuB,GAAG;IACpC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;GAEG;AACH,oBAAY,mBAAmB,GAAG;IAChC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF;;GAEG;AACH,oBAAY,oBAAoB,GAAG;IACjC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;GAEG;AACH,oBAAY,aAAa,GAAG;IAC1B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;GAEG;AACH,oBAAY,cAAc,GAAG;IAC3B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;GAEG;AACH,oBAAY,WAAW,GAAG;IACxB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;GAEG;AACH,oBAAY,YAAY,GAAG;IACzB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;GAEG;AACH,oBAAY,oBAAoB,GAAG;IACjC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;GAEG;AACH,oBAAY,cAAc,GAAG;IAC3B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF;;GAEG;AACH,oBAAY,eAAe,GAAG;IAC5B;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;GAEG;AACH,oBAAY,YAAY,GAAG;IACzB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;GAEG;AACH,oBAAY,aAAa,GAAG;IAC1B;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;GAEG;AACH,oBAAY,YAAY,GAAG;IACzB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;GAEG;AACH,oBAAY,yBAAyB,GAAG;IACtC;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB,oBAAoB,EAAE,oBAAoB,CAAC;CAC5C,CAAC;AAEF;;GAEG;AACH,oBAAY,sBAAsB,GAAG;IACnC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB,iBAAiB,EAAE,iBAAiB,CAAC;CACtC,CAAC;AAEF;;GAEG;AACH,oBAAY,iBAAiB,GAAG;IAC9B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,YAAY,CAAC;CAC5B,CAAC;AAEF;;GAEG;AACH,oBAAY,eAAe,GAAG;IAC5B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,UAAU,CAAC;CACxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deleteResponse.d.ts","sourceRoot":"","sources":["../../model/deleteResponse.ts"],"names":[],"mappings":"AAEA,oBAAY,cAAc,GAAG;IAC3B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { DestinationInput } from './destinationInput';
|
|
2
|
+
import type { DestinationType } from './destinationType';
|
|
3
|
+
export declare type Destination = {
|
|
4
|
+
destinationID: string;
|
|
5
|
+
type: DestinationType;
|
|
6
|
+
name: string;
|
|
7
|
+
input: DestinationInput;
|
|
8
|
+
/**
|
|
9
|
+
* Date of creation (RFC3339 format).
|
|
10
|
+
*/
|
|
11
|
+
createdAt: string;
|
|
12
|
+
/**
|
|
13
|
+
* Date of last update (RFC3339 format).
|
|
14
|
+
*/
|
|
15
|
+
updatedAt?: string;
|
|
16
|
+
authenticationID: string;
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=destination.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"destination.d.ts","sourceRoot":"","sources":["../../model/destination.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD,oBAAY,WAAW,GAAG;IACxB,aAAa,EAAE,MAAM,CAAC;IAEtB,IAAI,EAAE,eAAe,CAAC;IAEtB,IAAI,EAAE,MAAM,CAAC;IAEb,KAAK,EAAE,gBAAgB,CAAC;IAExB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { DestinationInput } from './destinationInput';
|
|
2
|
+
import type { DestinationType } from './destinationType';
|
|
3
|
+
export declare type DestinationCreate = {
|
|
4
|
+
type: DestinationType;
|
|
5
|
+
name: string;
|
|
6
|
+
input: DestinationInput;
|
|
7
|
+
authenticationID: string;
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=destinationCreate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"destinationCreate.d.ts","sourceRoot":"","sources":["../../model/destinationCreate.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD,oBAAY,iBAAiB,GAAG;IAC9B,IAAI,EAAE,eAAe,CAAC;IAEtB,IAAI,EAAE,MAAM,CAAC;IAEb,KAAK,EAAE,gBAAgB,CAAC;IAExB,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"destinationCreateResponse.d.ts","sourceRoot":"","sources":["../../model/destinationCreateResponse.ts"],"names":[],"mappings":"AAEA,oBAAY,yBAAyB,GAAG;IACtC,aAAa,EAAE,MAAM,CAAC;IAEtB,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"destinationIndexName.d.ts","sourceRoot":"","sources":["../../model/destinationIndexName.ts"],"names":[],"mappings":"AAEA,oBAAY,oBAAoB,GAAG;IACjC,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"destinationIndexPrefix.d.ts","sourceRoot":"","sources":["../../model/destinationIndexPrefix.ts"],"names":[],"mappings":"AAEA,oBAAY,sBAAsB,GAAG;IACnC,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { DestinationIndexName } from './destinationIndexName';
|
|
2
|
+
import type { DestinationIndexPrefix } from './destinationIndexPrefix';
|
|
3
|
+
export declare type DestinationInput = DestinationIndexName | DestinationIndexPrefix;
|
|
4
|
+
//# sourceMappingURL=destinationInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"destinationInput.d.ts","sourceRoot":"","sources":["../../model/destinationInput.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAEvE,oBAAY,gBAAgB,GAAG,oBAAoB,GAAG,sBAAsB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"destinationType.d.ts","sourceRoot":"","sources":["../../model/destinationType.ts"],"names":[],"mappings":"AAEA,oBAAY,eAAe,GAAG,MAAM,GAAG,UAAU,GAAG,SAAS,GAAG,QAAQ,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { DestinationInput } from './destinationInput';
|
|
2
|
+
import type { DestinationType } from './destinationType';
|
|
3
|
+
export declare type DestinationUpdate = {
|
|
4
|
+
type?: DestinationType;
|
|
5
|
+
name?: string;
|
|
6
|
+
input?: DestinationInput;
|
|
7
|
+
authenticationID?: string;
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=destinationUpdate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"destinationUpdate.d.ts","sourceRoot":"","sources":["../../model/destinationUpdate.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD,oBAAY,iBAAiB,GAAG;IAC9B,IAAI,CAAC,EAAE,eAAe,CAAC;IAEvB,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,KAAK,CAAC,EAAE,gBAAgB,CAAC;IAEzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"destinationUpdateResponse.d.ts","sourceRoot":"","sources":["../../model/destinationUpdateResponse.ts"],"names":[],"mappings":"AAEA,oBAAY,yBAAyB,GAAG;IACtC,aAAa,EAAE,MAAM,CAAC;IAEtB,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errorBase.d.ts","sourceRoot":"","sources":["../../model/errorBase.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,oBAAY,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG;IAC5C,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
|