From 329f46426a4902203cfb5bed06d569458a7143b8 Mon Sep 17 00:00:00 2001 From: tom Date: Tue, 19 Dec 2023 00:00:49 -0800 Subject: [PATCH] chore: revert aggregate sync event --- apps/api/routes/mgmt/v2/sync/index.ts | 14 +-- .../list-properties-deprecated.api.mdx | 2 +- ...ync-runs.api.mdx => get-sync-runs.api.mdx} | 10 +- .../{list-syncs.api.mdx => get-syncs.api.mdx} | 17 ++- docs/docs/api/v2/mgmt/pause-sync.api.mdx | 4 +- docs/docs/api/v2/mgmt/resume-sync.api.mdx | 4 +- docs/docs/api/v2/mgmt/sidebar.js | 2 +- docs/docs/api/v2/mgmt/sync-complete.api.mdx | 4 +- docs/docs/api/v2/mgmt/trigger-sync.api.mdx | 4 +- docs/docs/tutorials/build-settings-page.mdx | 2 +- .../transformations/processing-order.mdx | 100 ------------------ docs/sidebars.js | 5 - docs/static/img/aggregate-webhook-event.png | Bin 18973 -> 0 bytes .../schemas/objects/related_sync_states.yaml | 22 ---- .../mgmt/components/schemas/objects/sync.yaml | 12 +-- .../sync_with_provider_and_customer.yaml | 10 -- openapi/v2/mgmt/openapi.bundle.json | 75 +++---------- openapi/v2/mgmt/openapi.yaml | 2 - openapi/v2/mgmt/paths/sync_runs.yaml | 4 +- openapi/v2/mgmt/paths/syncs.yaml | 4 +- openapi/v2/mgmt/webhooks/sync.complete.yaml | 5 - packages/core/lib/index.ts | 1 - packages/core/lib/sync.ts | 28 ----- packages/schemas/gen/v2/mgmt.ts | 55 +++------- packages/schemas/v2/mgmt.ts | 12 +-- .../activities/get_all_customer_syncs.ts | 23 ---- packages/sync-workflows/activities/index.ts | 2 - .../maybe_send_sync_finish_webhook.ts | 5 - .../sync-workflows/services/sync_service.ts | 37 ------- .../workflows/run_object_sync.ts | 8 -- packages/types/sync.ts | 15 --- 31 files changed, 65 insertions(+), 423 deletions(-) rename docs/docs/api/v2/mgmt/{list-sync-runs.api.mdx => get-sync-runs.api.mdx} (94%) rename docs/docs/api/v2/mgmt/{list-syncs.api.mdx => get-syncs.api.mdx} (85%) delete mode 100644 docs/docs/tutorials/transformations/processing-order.mdx delete mode 100644 docs/static/img/aggregate-webhook-event.png delete mode 100644 openapi/v2/mgmt/components/schemas/objects/related_sync_states.yaml delete mode 100644 packages/core/lib/sync.ts delete mode 100644 packages/sync-workflows/activities/get_all_customer_syncs.ts diff --git a/apps/api/routes/mgmt/v2/sync/index.ts b/apps/api/routes/mgmt/v2/sync/index.ts index 10d6a94ec..e9e473028 100644 --- a/apps/api/routes/mgmt/v2/sync/index.ts +++ b/apps/api/routes/mgmt/v2/sync/index.ts @@ -1,7 +1,7 @@ import { getDependencyContainer } from '@/dependency_container'; import { connectionHeaderMiddleware } from '@/middleware/connection'; import { BadRequestError } from '@supaglue/core/errors'; -import { generateRelatedObjectSyncStates, toPaginationInternalParams } from '@supaglue/core/lib'; +import { toPaginationInternalParams } from '@supaglue/core/lib'; import type { GetSyncsPathParams, GetSyncsQueryParams, @@ -20,8 +20,6 @@ import type { TriggerSyncRequest, TriggerSyncResponse, } from '@supaglue/schemas/v2/mgmt'; -import type { ObjectSyncDTO } from '@supaglue/types/sync'; -import { snakecaseKeys } from '@supaglue/utils/snakecase'; import type { Request, Response } from 'express'; import { Router } from 'express'; @@ -67,9 +65,7 @@ export default function init(app: Router) { providerName: req.query?.provider_name, }); - const objectSyncs = results.filter((result) => result.type === 'object') as ObjectSyncDTO[]; - - const snakecaseResults = results.map((result) => { + const snakeCaseResults = results.map((result) => { const base = { id: result.id, connection_id: result.connectionId, @@ -84,9 +80,6 @@ export default function init(app: Router) { type: 'object' as const, object_type: result.objectType, object: result.object, - related_sync_states: req.query?.customer_id - ? snakecaseKeys(generateRelatedObjectSyncStates(objectSyncs)) - : {}, }; } @@ -94,10 +87,9 @@ export default function init(app: Router) { ...base, type: 'entity' as const, entity_id: result.entityId, - related_sync_states: {}, // NOTE: not implementing for entity }; }); - return res.status(200).send({ next, previous, results: snakecaseResults, total_count: totalCount }); + return res.status(200).send({ next, previous, results: snakeCaseResults, total_count: totalCount }); } ); diff --git a/docs/docs/api/v2/metadata/list-properties-deprecated.api.mdx b/docs/docs/api/v2/metadata/list-properties-deprecated.api.mdx index dc7a90236..d9e4fe837 100644 --- a/docs/docs/api/v2/metadata/list-properties-deprecated.api.mdx +++ b/docs/docs/api/v2/metadata/list-properties-deprecated.api.mdx @@ -5,7 +5,7 @@ description: "List properties (deprecated)" sidebar_label: "List properties (deprecated)" hide_title: true hide_table_of_contents: true -api: eJztXQtz2zYS/is83nSmmTH1tGXZud6dbdk5JX6d7LTJ2B4VJCGJCUkwIGhZ8ei/3y5AUpQlJ06mncu4m3YakwAWi33h208d694WCZdMBSLu+/auHQapOpf4TgU87fFEco8p7tsbtr942FUy4xu2YuPU3r2yFwvsmw075V4mAzWDkXv7zmFJ4Hzk+HQzh9GESRZxxWWqx2N4gG3VLOGwRRDDz58yLmfwIPmnLJCL3VJvwiNm796b2bt2qmQQj2Emj7MI9UgVi30mUVkvS5WI7Jv5fKPcRP/13Zv4PPVkkKCl4PXlhFsozxIjS8HPwv3APWWNhLSmk8CbWDORWVMWK0sJC41qJaWRanZVqzvH6MqlE/iFehPOfC7tx/WZw6nvWJSE+C6aLWQ016paDFv9HqjLlJXFAZggnFmBz2MVjEAtfY5yYhDjEaTFkiQMPB0gK+ZaOgWc7xaESadq5m87R8pCnoIJPb72EMUOVr7DA2Vu8E2aiDiFOISNWo0G/rUs5xhdAT5beAODRcQKrICzK8etf0hxyf2q7sbZsLAiBUaXn/K5TEqGgRYoHqVflwEh8KTYi5g3CeLlGMwlzSyWWoFCz3EmU/QkjqpJIH0H0g8mnOeWrNlV8x8FMlWnaFvwSshcHj5Nl0kWsdiR4Grmho+rlLvPt9zZtyhkFRoZRZ6iEM74bg0skJAaGanFJJxH6HSBFNELL7KEjcOM16wjSPY+RI70RLSBwsDWqWX02gCzKz7mcsNyhQg5izcsmG68bpaeZQps5k0WS1eXQGFz8YWOIi3BiF+20yKXJJsOfa5YEK6NtVVTwQIrX/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gkPJHwRMITCU9tK7Wt1LZS20ptK7WtRMITCU9ohtAMoRlCM4RmCM08bzRDJPyzIOFnD9HeMZyQLcgl9vOCYXxhwdPYZPdIGIacm5uxWmKjiqKbGmAF9wyMz2+ZJKgUkLYSyGpBcFVvGyuwc8727Z13seo7RZG+QErS0l5QqqG2fBTTMqufBG8E0vp54VrMAYuhYAsvVnm38y6DWUjBG5jBfHELVR6OZWh5i0QMwjUKzVDaUOLGeFgro1apNyv1ktNPCgYP11jsALc6Lsq1K06JeDmyCeVLL/333EpwD8PYshmXBlc8+Hf4xboImHKofQ2/fxMhTBZ4EjxCWS8Iby/DD1sspMePKw56JxX2XmbM4zFDutB8OIFzYT2aBMKBwdwFQekpCdaJslAHgKlxvvLdhGO8F91HWkFFrv521ctiuFTZORT3iMc3PxfHUllcgSswijE0BpnWMq6kt6MXixmTyaSS2GUGoBSGqE6k+pgmUNvmr9wkGwAwq8pbvMfE5AVubkyzz1PjQ/a2d3wd//7779fxE+Izn2mYf6tByYtfSZol/8wDVYs7XU1CqOso1Hj4Pk+oqzK9C6Fv78Er5/5+AMq/VeFshq/hBkD0AWnmBymHauQXBfbhlvOP0Jyfe3n/9IJhnK5TxeSTk3dRplrBIwz8KdsYC5a3uTGgKsB94Gg3837g+89pWO8s1RD/inU7tmm1n9OF08UndTa55xMhQqcyU+V298snAaSXr3UD/w+xHCo+/+5guaG+qEAx2V2xKqhgJ1mEWhpb+UgVPTAv868OsTnhGUZlucTaepp/gZ4phuJpSXa59trt8W9UZu30f2BWQvH+53y6HXl0wbyU29lojBu40/4Hl80msA== sidebar_class_name: "get api-method" info_path: api/v2/metadata/metadata-api custom_edit_url: null diff --git a/docs/docs/api/v2/mgmt/list-sync-runs.api.mdx b/docs/docs/api/v2/mgmt/get-sync-runs.api.mdx similarity index 94% rename from docs/docs/api/v2/mgmt/list-sync-runs.api.mdx rename to docs/docs/api/v2/mgmt/get-sync-runs.api.mdx index 667a55638..28b692aca 100644 --- a/docs/docs/api/v2/mgmt/list-sync-runs.api.mdx +++ b/docs/docs/api/v2/mgmt/get-sync-runs.api.mdx @@ -1,11 +1,11 @@ --- -id: list-sync-runs -title: "List SyncRuns" +id: get-sync-runs +title: "Get SyncRuns" description: "Get a list of SyncRuns." -sidebar_label: "List SyncRuns" +sidebar_label: "Get SyncRuns" hide_title: true hide_table_of_contents: true -api: eJztXYtS20oS/RWVtrZqtwoZS7bkx725u4AJ1wk2BEMSCJQZSyNbIGkcPQBD8e/bPSPZ8gsC2drNskNeljTT09Pd0336iCIPKhvTiCQeC9uO2lR9L056k9A+SsNY3VATMozV5jd1eutiQ42pnUZeMoH7D+qdRsaedk3x6uIRnjo0tiNvjAJB3B5NFKKgUIW5Si6lBJLHJCIBTWgUczkhXMB4kByzCB57OPt7SqMJXMT2iAZEbT6oyWSMw+Ik8sKh+rih0jsSjH0+tVWedFrtu/3jLfxjfLzfuv9w3N3uXH3yO+VdvTOpljv3n+47V6d+57p929k5uf90vHWrLup8PKLKmAy9kFtFESopN8RPKaw4VRWG0H7s3dNXaauXy0sLd9NgQCM0VETj1E9iJWHwMUmjUAEnoVJzGthpnLCARn3PeZUOwUTLRWj6SjPkj5V2S0lGJFHS0IMl/IniOTRMPNejoGRxoBcqE5ZGChmPfc/mFpwzWsRuYGrU59evUTomPo1dFtl0teOyBRS+QGFlNriidtLnkn9wXVg2TAMMf5sFASwBQxMSOiRCe4stqxfz2uXPl1Z+1WaJbbM0TFbuVIjFEHE9H86RMpgUV0X3JBMRGg4dRxScQeGEJ1FKX6MKrVUHJqm6mmuYhlYllq01qmVbcytmvVapNupmtbJST6EIBMxaVcFoSRq/ykC9k52d3V5v5cJC7Nyqyt9sElPNC2Maxl7i3dC/LygSQYh4AYVPwfhVGv1hlA1dK8Nv67hcaRrVplkpVSvVimGdrVMzAjfConOqlpTeiKW+kz2/9ZKRwkKK2eHb5R+XG8rl75cXist8n91SB/dGQqXdO1DqVllXpnsozceE85/eHSz5Y3t74aag0kCSHDPwZIw6G5BP4Z95B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gmt/management-api custom_edit_url: null @@ -22,7 +22,7 @@ import SchemaItem from "@theme/SchemaItem"; import SchemaTabs from "@theme/SchemaTabs"; import TabItem from "@theme/TabItem"; -

List SyncRuns

+

Get SyncRuns

diff --git a/docs/docs/api/v2/mgmt/list-syncs.api.mdx b/docs/docs/api/v2/mgmt/get-syncs.api.mdx similarity index 85% rename from docs/docs/api/v2/mgmt/list-syncs.api.mdx rename to docs/docs/api/v2/mgmt/get-syncs.api.mdx index fd1a241f2..a79d93e67 100644 --- a/docs/docs/api/v2/mgmt/list-syncs.api.mdx +++ b/docs/docs/api/v2/mgmt/get-syncs.api.mdx @@ -1,11 +1,11 @@ --- -id: list-syncs -title: "List Syncs" +id: get-syncs +title: "Get Syncs" description: "Get a list of Syncs." -sidebar_label: "List Syncs" +sidebar_label: "Get Syncs" hide_title: true hide_table_of_contents: true -api: eJztXQtT28oV/is76nTa3kFGlt/cpi1gkjrBJuGRhATGWUkrWyBpHa0ECMb/vefsykbGNtxw77QZurmv2No9e/Y8v/OJyb0z+IQlNA143POMLSMMRHqUx64wNoyUjoSx9dVQn883DMHcLAnSHL68M25MOgnMS4afzqfw1GPCTYIJigJBb1hKKEFxhPtEiqiAzAlNaMRSlggpJIYPsBjECp7A4wC3fs9YksMH4Y5ZRI2tOyPNJ7hMpEkQj4zphsFuaDQJ5daulfe7vZv94238x353u3379niw07/4EPatvWo/r1v92w+3/YvTsH/Zu+7vntx+ON6+Nh4qfDxmZEJHQSyNQZRK5IqGGYMT56rCEjYUwS17lrZVy1o6eJBFDkvQSgkTWZgKknL4bZolMQHfoFILGriZSHnEkmHgPUuHKDdnIszqSjPMHpNel6RjmpIsDuCIMCeBx+I08AMGSpYXBjHJeZYQOpmEgSstuGC0hF/B1mQoPz9HaUFDJnyeuGy144oDiDygdDJ3LpibDqXk33guHBtnEQa+y6MIjoClKY09mqC91ZWN80Xt7p8v66ZUIHgIetYPQgh/4uTLaj4vAXicUrl3/dFrTkVfprmKI49NEgaeY1AF0iRj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f6IBLKZ4F7zEomYQrE6KH0R53NQuWao5JNKQ9BNfMeAa2BmKXZqTJhxkxRrWwYHsEYmgex8wUbKJpwpVdkkirKZdnB3hw99///0qeiYe8lWCM4d6DgcXbHZAuXaeR9rC1e8fvvYRi4iGfQtnELEcB4w8TDid8K1xAPURjxDWvc+j+KsuoxhiTraSr/r9vQ13uIiD6RQfQxHFBg6x7foJgYR2ZzXqcXVwIIJb+pGcgSCWExbLtH5MKxHYulwpUAOu3dbh1UsO7qahDa4CG8Q0SQMuwjmmPI0jDaIblXpGA1zRT6AAvl4JwSHPoqbdkiOg/NYryB6+95IJVggvLWNpXBwen7OV3Nn33T+n62z4FTPsM9bJl/bzpX/iVEnAy+9MwEmeHwDM0OzsaQXkrtkA+xcc/8KT/9yh6HmOIfCCc+WeZSdfC2Dt49mQm9fzmVAkqtwokXZh18pXwyhl3tsO9nHIwv/J+GKDkd0k/wGlz15FWUF2sfPI4/FXtNDa5f/GCgmt6z/z5fLNoxvmjUyuRgNdQ2/+A9NAYww= sidebar_class_name: "get api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -22,7 +22,7 @@ import SchemaItem from "@theme/SchemaItem"; import SchemaTabs from "@theme/SchemaTabs"; import TabItem from "@theme/TabItem"; -

List Syncs

+

Get Syncs

@@ -36,12 +36,7 @@ Get a list of Syncs. Sync -
Schema
    results object[]
  • Array [
  • oneOf
    related_sync_states object
    - -Sync state information related to all customer syncs. This is only returned if there is a customer context, e.g. filtering by `customer_id` or in a webhook event. - - -
    property name* related_sync_states
    related_sync_states object
    property name* related_sync_states
  • ]
+
Schema
    results object[]
  • Array [
  • oneOf
  • ]
Bad request diff --git a/docs/docs/api/v2/mgmt/pause-sync.api.mdx b/docs/docs/api/v2/mgmt/pause-sync.api.mdx index 21b51135e..6d3ce7a4d 100644 --- a/docs/docs/api/v2/mgmt/pause-sync.api.mdx +++ b/docs/docs/api/v2/mgmt/pause-sync.api.mdx @@ -5,7 +5,7 @@ description: "Pause sync" sid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W9T6S1P0S30YFfKoUpcMiqXztsv8eB//444+h/4hbpbPk+w9wWHhwTmcrqWPl7AtvivldXAxcqGW4hdTeferzV7r0eViaej34qKr/V/r9/RiEvQzd+RyHwUcQdV1dS/zl4Ldn4dWidZBhYjnya7WsrOasS7R4q6j/tZ+G5d+0n5l5th5ZBtdGBpUlAcZ1zE8/LPh6tvmuAOvJb0UENekwBa4Xqp/OZmy8g12uUPD3u3PzOe/8bICtT9Zge6r8hewWUyX82daH8AvjPEPN92r8XneZP0lU8632xQzCEnSkfOpSeSr9gF6R3fJnOSnzOU0dBP/EY22d/ncMGkiK/1hMV3ceXLBIkWo2GuIaBP4v8B4s0A== sidebar_class_name: "post api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -36,7 +36,7 @@ Pause sync Sync paused -
Schema
    oneOf
+
Schema
    oneOf
Bad request diff --git a/docs/docs/api/v2/mgmt/resume-sync.api.mdx b/docs/docs/api/v2/mgmt/resume-sync.api.mdx index 8804baece..6862c087f 100644 --- a/docs/docs/api/v2/mgmt/resume-sync.api.mdx +++ b/docs/docs/api/v2/mgmt/resume-sync.api.mdx @@ -5,7 +5,7 @@ description: "Resume sync" sidebar_label: "Resume sync" hide_title: true hide_table_of_contents: true -api: eJztXQtv28gR/isEiwNawLRF6q3rtbX8SJXEsSs5dwlsQ7cklxITksvwYVsx9N87s0tK1MNn+9Cirm6cIBGXu8PZmdmZbz4GyoMuYp6wzBfRwNV7esLTPOSjWeToe3rGJqneu9LxMtVv9vSUO3niZzMYfNDvDRb7xleOVzdzuJvwbzlPs75wYehBXvoJB6lZkvM93RFRxqMMb7E4DnxHPvXgSyoiHEudKQ8ZfhIRP/fkI7JZzEEpYX/hToYK+VmAA8csY1ooXB70tHN5M9X3Kg+8KpaMpYC9UsDNfO95Mk8iGPU5CnV5nHBQdbmP6mM4TpyNfRdk38zhB2+nsYhSWAxbsWo1/MvlqZP4Me4XnoTm1JShXf2/ZpcjEYYi0kZq+araPj53xTZrlpJaRfAJ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kOZ7KKL+SpdRD0vLuIcoVRjgSn94sEHdj0kwn+MwRAkir6sbicF8/AYtvFq0D/KguL78ai23rDvrKi3eLOp/HhYn8y/afzL5bN2zPF4bSVSWBRjXMUX9bsXXE85vKrCe/1ZUUJOOCvB6qXrqcsbGe9jlCgWBf3NuNe1dnI+w/Smb7FCVwITdYbaEP3v6NfzCk14i5wc1/qAHLJrkqgFXcjGHsBwjqZq8VKYqPmBUlLeiWUXLalZTG8E/cVtbp/8Vjw2kxb8tpqs7jy5YJEk1Gx1xAwr/G+jrWBs= sidebar_class_name: "post api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -36,7 +36,7 @@ Resume sync Sync resumed -
Schema
    oneOf
+
Schema
    oneOf
Bad request diff --git a/docs/docs/api/v2/mgmt/sidebar.js b/docs/docs/api/v2/mgmt/sidebar.js index 756270e22..1d0d801e1 100644 --- a/docs/docs/api/v2/mgmt/sidebar.js +++ b/docs/docs/api/v2/mgmt/sidebar.js @@ -1 +1 @@ -module.exports = [{"type":"doc","id":"api/v2/mgmt/management-api"},{"type":"category","label":"Customers","link":{"type":"doc","id":"api/v2/mgmt/customers"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/get-customers","label":"List customers","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/upsert-customer","label":"Upsert customer","className":"api-method put"},{"type":"doc","id":"api/v2/mgmt/get-customer","label":"Get customer","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/delete-customer","label":"Delete customer","className":"api-method delete"}]},{"type":"category","label":"Connections","link":{"type":"doc","id":"api/v2/mgmt/connections"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/get-connections","label":"List connections","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/create-connection","label":"Create a connection","className":"api-method post"},{"type":"doc","id":"api/v2/mgmt/get-provider-user-id","label":"Get logged in User ID and details","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/get-connection","label":"Get connection","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/delete-connection","label":"Delete connection","className":"api-method delete"},{"type":"doc","id":"api/v2/mgmt/get-connection-rate-limit-info","label":"Get connection rate limit info","className":"api-method get"}]},{"type":"category","label":"ConnectionSyncConfigs","link":{"type":"doc","id":"api/v2/mgmt/connection-sync-configs"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/get-connection-sync-config","label":"Get connection sync config","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/upsert-connection-sync-config","label":"Upsert connection sync config","className":"api-method put"},{"type":"doc","id":"api/v2/mgmt/delete-connection-sync-config","label":"Delete connection sync config","className":"api-method delete"}]},{"type":"category","label":"Destinations","link":{"type":"doc","id":"api/v2/mgmt/destinations"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/get-destinations","label":"List destinations","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/create-destination","label":"Create destination","className":"api-method post"},{"type":"doc","id":"api/v2/mgmt/get-destination","label":"Get destination","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/update-destination","label":"Update destination","className":"api-method put"}]},{"type":"category","label":"Magic Links","link":{"type":"doc","id":"api/v2/mgmt/magic-links"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/get-magic-links","label":"List magic links","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/create-magic-link","label":"Create magic link","className":"api-method post"},{"type":"doc","id":"api/v2/mgmt/delete-magic-link","label":"Delete magic link","className":"api-method delete"}]},{"type":"category","label":"Providers","link":{"type":"doc","id":"api/v2/mgmt/providers"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/get-providers","label":"List providers","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/create-provider","label":"Create provider","className":"api-method post"},{"type":"doc","id":"api/v2/mgmt/get-provider","label":"Get provider","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/update-provider","label":"Update provider","className":"api-method put"},{"type":"doc","id":"api/v2/mgmt/delete-provider","label":"Delete provider","className":"api-method delete"}]},{"type":"category","label":"Schemas","link":{"type":"doc","id":"api/v2/mgmt/schemas"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/get-schemas","label":"List schemas","className":"menu__list-item--deprecated api-method get"},{"type":"doc","id":"api/v2/mgmt/create-schema","label":"Create schema","className":"menu__list-item--deprecated api-method post"},{"type":"doc","id":"api/v2/mgmt/get-schema","label":"Get schema","className":"menu__list-item--deprecated api-method get"},{"type":"doc","id":"api/v2/mgmt/update-schema","label":"Update schema","className":"menu__list-item--deprecated api-method put"},{"type":"doc","id":"api/v2/mgmt/delete-schema","label":"Delete schema","className":"menu__list-item--deprecated api-method delete"}]},{"type":"category","label":"Entities","link":{"type":"doc","id":"api/v2/mgmt/entities"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/get-entities","label":"List entities","className":"menu__list-item--deprecated api-method get"},{"type":"doc","id":"api/v2/mgmt/create-entity","label":"Create entity","className":"menu__list-item--deprecated api-method post"},{"type":"doc","id":"api/v2/mgmt/get-entity","label":"Get entity","className":"menu__list-item--deprecated api-method get"},{"type":"doc","id":"api/v2/mgmt/update-entity","label":"Update entity","className":"menu__list-item--deprecated api-method put"},{"type":"doc","id":"api/v2/mgmt/delete-entity","label":"Delete entity","className":"menu__list-item--deprecated api-method delete"}]},{"type":"category","label":"EntityMappings","link":{"type":"doc","id":"api/v2/mgmt/entity-mappings"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/list-entity-mappings","label":"List entity mappings.","className":"menu__list-item--deprecated api-method get"},{"type":"doc","id":"api/v2/mgmt/upsert-entity-mapping","label":"Upsert entity mapping","className":"menu__list-item--deprecated api-method put"},{"type":"doc","id":"api/v2/mgmt/delete-entity-mapping","label":"Delete entity mapping","className":"menu__list-item--deprecated api-method delete"}]},{"type":"category","label":"SchemaMappings","link":{"type":"doc","id":"api/v2/mgmt/schema-mappings"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/list-field-mappings","label":"List schema mappings","className":"menu__list-item--deprecated api-method get"},{"type":"doc","id":"api/v2/mgmt/update-object-field-mappings","label":"Update schema mappings","className":"menu__list-item--deprecated api-method put"}]},{"type":"category","label":"SyncConfigs","link":{"type":"doc","id":"api/v2/mgmt/sync-configs"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/get-sync-configs","label":"List Sync Configs","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/create-sync-config","label":"Create Sync Config","className":"api-method post"},{"type":"doc","id":"api/v2/mgmt/get-sync-config","label":"Get Sync Config","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/update-sync-config","label":"Update Sync Config","className":"api-method put"},{"type":"doc","id":"api/v2/mgmt/delete-sync-config","label":"Delete Sync Config","className":"api-method delete"}]},{"type":"category","label":"SyncRuns","link":{"type":"doc","id":"api/v2/mgmt/sync-runs"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/list-sync-runs","label":"List SyncRuns","className":"api-method get"}]},{"type":"category","label":"Syncs","link":{"type":"doc","id":"api/v2/mgmt/syncs"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/list-syncs","label":"List Syncs","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/pause-sync","label":"Pause sync","className":"api-method post"},{"type":"doc","id":"api/v2/mgmt/resume-sync","label":"Resume sync","className":"api-method post"},{"type":"doc","id":"api/v2/mgmt/trigger-sync","label":"Trigger sync","className":"api-method post"}]},{"type":"category","label":"Webhook Events","collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/sync-complete","label":"Sync complete","className":"api-method event"},{"type":"doc","id":"api/v2/mgmt/sync-paused","label":"Sync paused","className":"api-method event"},{"type":"doc","id":"api/v2/mgmt/connection-created","label":"Customer connection created","className":"api-method event"},{"type":"doc","id":"api/v2/mgmt/connection-deleted","label":"Customer connection deleted","className":"api-method event"},{"type":"doc","id":"api/v2/mgmt/entity-entity-mapping-created","label":"Entity mapping created","className":"menu__list-item--deprecated api-method event"},{"type":"doc","id":"api/v2/mgmt/entity-entity-mapping-updated","label":"Entity mapping updated","className":"menu__list-item--deprecated api-method event"},{"type":"doc","id":"api/v2/mgmt/entity-entity-mapping-deleted","label":"Entity mapping deleted","className":"menu__list-item--deprecated api-method event"},{"type":"doc","id":"api/v2/mgmt/object-field-mapping-created","label":"Object field mapping created","className":"menu__list-item--deprecated api-method event"},{"type":"doc","id":"api/v2/mgmt/object-field-mapping-updated","label":"Object field mapping updated","className":"menu__list-item--deprecated api-method event"}]}]; \ No newline at end of file +module.exports = [{"type":"doc","id":"api/v2/mgmt/management-api"},{"type":"category","label":"Customers","link":{"type":"doc","id":"api/v2/mgmt/customers"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/get-customers","label":"List customers","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/upsert-customer","label":"Upsert customer","className":"api-method put"},{"type":"doc","id":"api/v2/mgmt/get-customer","label":"Get customer","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/delete-customer","label":"Delete customer","className":"api-method delete"}]},{"type":"category","label":"Connections","link":{"type":"doc","id":"api/v2/mgmt/connections"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/get-connections","label":"List connections","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/create-connection","label":"Create a connection","className":"api-method post"},{"type":"doc","id":"api/v2/mgmt/get-provider-user-id","label":"Get logged in User ID and details","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/get-connection","label":"Get connection","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/delete-connection","label":"Delete connection","className":"api-method delete"},{"type":"doc","id":"api/v2/mgmt/get-connection-rate-limit-info","label":"Get connection rate limit info","className":"api-method get"}]},{"type":"category","label":"ConnectionSyncConfigs","link":{"type":"doc","id":"api/v2/mgmt/connection-sync-configs"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/get-connection-sync-config","label":"Get connection sync config","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/upsert-connection-sync-config","label":"Upsert connection sync config","className":"api-method put"},{"type":"doc","id":"api/v2/mgmt/delete-connection-sync-config","label":"Delete connection sync config","className":"api-method delete"}]},{"type":"category","label":"Destinations","link":{"type":"doc","id":"api/v2/mgmt/destinations"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/get-destinations","label":"List destinations","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/create-destination","label":"Create destination","className":"api-method post"},{"type":"doc","id":"api/v2/mgmt/get-destination","label":"Get destination","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/update-destination","label":"Update destination","className":"api-method put"}]},{"type":"category","label":"Magic Links","link":{"type":"doc","id":"api/v2/mgmt/magic-links"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/get-magic-links","label":"List magic links","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/create-magic-link","label":"Create magic link","className":"api-method post"},{"type":"doc","id":"api/v2/mgmt/delete-magic-link","label":"Delete magic link","className":"api-method delete"}]},{"type":"category","label":"Providers","link":{"type":"doc","id":"api/v2/mgmt/providers"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/get-providers","label":"List providers","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/create-provider","label":"Create provider","className":"api-method post"},{"type":"doc","id":"api/v2/mgmt/get-provider","label":"Get provider","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/update-provider","label":"Update provider","className":"api-method put"},{"type":"doc","id":"api/v2/mgmt/delete-provider","label":"Delete provider","className":"api-method delete"}]},{"type":"category","label":"Schemas","link":{"type":"doc","id":"api/v2/mgmt/schemas"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/get-schemas","label":"List schemas","className":"menu__list-item--deprecated api-method get"},{"type":"doc","id":"api/v2/mgmt/create-schema","label":"Create schema","className":"menu__list-item--deprecated api-method post"},{"type":"doc","id":"api/v2/mgmt/get-schema","label":"Get schema","className":"menu__list-item--deprecated api-method get"},{"type":"doc","id":"api/v2/mgmt/update-schema","label":"Update schema","className":"menu__list-item--deprecated api-method put"},{"type":"doc","id":"api/v2/mgmt/delete-schema","label":"Delete schema","className":"menu__list-item--deprecated api-method delete"}]},{"type":"category","label":"Entities","link":{"type":"doc","id":"api/v2/mgmt/entities"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/get-entities","label":"List entities","className":"menu__list-item--deprecated api-method get"},{"type":"doc","id":"api/v2/mgmt/create-entity","label":"Create entity","className":"menu__list-item--deprecated api-method post"},{"type":"doc","id":"api/v2/mgmt/get-entity","label":"Get entity","className":"menu__list-item--deprecated api-method get"},{"type":"doc","id":"api/v2/mgmt/update-entity","label":"Update entity","className":"menu__list-item--deprecated api-method put"},{"type":"doc","id":"api/v2/mgmt/delete-entity","label":"Delete entity","className":"menu__list-item--deprecated api-method delete"}]},{"type":"category","label":"EntityMappings","link":{"type":"doc","id":"api/v2/mgmt/entity-mappings"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/list-entity-mappings","label":"List entity mappings.","className":"menu__list-item--deprecated api-method get"},{"type":"doc","id":"api/v2/mgmt/upsert-entity-mapping","label":"Upsert entity mapping","className":"menu__list-item--deprecated api-method put"},{"type":"doc","id":"api/v2/mgmt/delete-entity-mapping","label":"Delete entity mapping","className":"menu__list-item--deprecated api-method delete"}]},{"type":"category","label":"SchemaMappings","link":{"type":"doc","id":"api/v2/mgmt/schema-mappings"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/list-field-mappings","label":"List schema mappings","className":"menu__list-item--deprecated api-method get"},{"type":"doc","id":"api/v2/mgmt/update-object-field-mappings","label":"Update schema mappings","className":"menu__list-item--deprecated api-method put"}]},{"type":"category","label":"SyncConfigs","link":{"type":"doc","id":"api/v2/mgmt/sync-configs"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/get-sync-configs","label":"List Sync Configs","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/create-sync-config","label":"Create Sync Config","className":"api-method post"},{"type":"doc","id":"api/v2/mgmt/get-sync-config","label":"Get Sync Config","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/update-sync-config","label":"Update Sync Config","className":"api-method put"},{"type":"doc","id":"api/v2/mgmt/delete-sync-config","label":"Delete Sync Config","className":"api-method delete"}]},{"type":"category","label":"SyncRuns","link":{"type":"doc","id":"api/v2/mgmt/sync-runs"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/get-sync-runs","label":"Get SyncRuns","className":"api-method get"}]},{"type":"category","label":"Syncs","link":{"type":"doc","id":"api/v2/mgmt/syncs"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/get-syncs","label":"Get Syncs","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/pause-sync","label":"Pause sync","className":"api-method post"},{"type":"doc","id":"api/v2/mgmt/resume-sync","label":"Resume sync","className":"api-method post"},{"type":"doc","id":"api/v2/mgmt/trigger-sync","label":"Trigger sync","className":"api-method post"}]},{"type":"category","label":"Webhook Events","collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/sync-complete","label":"Sync complete","className":"api-method event"},{"type":"doc","id":"api/v2/mgmt/sync-paused","label":"Sync paused","className":"api-method event"},{"type":"doc","id":"api/v2/mgmt/connection-created","label":"Customer connection created","className":"api-method event"},{"type":"doc","id":"api/v2/mgmt/connection-deleted","label":"Customer connection deleted","className":"api-method event"},{"type":"doc","id":"api/v2/mgmt/entity-entity-mapping-created","label":"Entity mapping created","className":"menu__list-item--deprecated api-method event"},{"type":"doc","id":"api/v2/mgmt/entity-entity-mapping-updated","label":"Entity mapping updated","className":"menu__list-item--deprecated api-method event"},{"type":"doc","id":"api/v2/mgmt/entity-entity-mapping-deleted","label":"Entity mapping deleted","className":"menu__list-item--deprecated api-method event"},{"type":"doc","id":"api/v2/mgmt/object-field-mapping-created","label":"Object field mapping created","className":"menu__list-item--deprecated api-method event"},{"type":"doc","id":"api/v2/mgmt/object-field-mapping-updated","label":"Object field mapping updated","className":"menu__list-item--deprecated api-method event"}]}]; \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/sync-complete.api.mdx b/docs/docs/api/v2/mgmt/sync-complete.api.mdx index 95b411152..11ed79c0b 100644 --- a/docs/docs/api/v2/mgmt/sync-complete.api.mdx +++ b/docs/docs/api/v2/mgmt/sync-complete.api.mdx @@ -5,7 +5,7 @@ description: "Notification of the completion of a sync" sidebar_label: "Sync complete" hide_title: true hide_table_of_contents: true -api: eJzdVUtv4zYQ/isEe7VsS47txKd2Ax+CPlLYWCyKbuBQ5MjWrkSqfDgxDP/3zlCKs0o2m1MvdQ4h58GZ+b6Z0ZErcNKWjS+N5gv+h/FlUUpBV2YK5nfApKmbCp4kgrmDlnzATQM22t0odCThdWsIqHxMYA/aJ/7QQKcdyme1F1vHF3/zT5DvjPnKlmTs+N2AW/gngPMfjDrwxZFLoz2q6CiapuoyG31xlO2Rw6OgN+n40D61iXE3b8S1QW9KSjcrVK7GE5WkaZElFzCbJWIKsyTL55NUzlORZgrtMbwGSSFbN5iMZZ5fTZJpPp4mF+nlLMlnCpJUSJmOx+lkfjUlt+C8qcG2TvO8kHJ+oRJ5dZknF1dofwmXRTJRci7SeTafFDN0aqzZlwqdtKhj7qICVxgrI2BtPSb/gukQ+PFwLtMLrYRVZwXKCDkRbS24UJFouVrdrlAA1hq7qcE5sSX3Jd3Z0/004E7uoBaEqtFwWyBTx1cZ+NIT8Pw2CtgakWbfNADxWFpQxLKFSnhQG2Jjg7l6cGjxHcLOBL1Evg/pS6zOJXY49eE5Y3J3GrxdxlLj6fDDMv7LhCGGb227c7S8O92d8BcdGqMdIoesZOMx/euP7gp8sBrnE7WMUA6OecNKrWhqAEdZ+DjPSnjBHoRjFiSUe1DMBSmR/SJU1YFTNHjEqXP4rovcfwUcxv5MD/heVOH1jJ1whmvwOxPHheypeuF3eO0ARIEDuwfbPh5shbqd941bjEaiKYcuNGKLjw9LM6q3tR/tM/TpV7vubNgvf97EoA5ksIjbmnq3hekxwdeSmPyZeJT8ioIB76bs2WbAS3p4BwJ5ehUPwzC0Ik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BIm4rmtIWpvsEX0ti8sfGo+QdCga849OTzYCX9PAWBPbpRTwMw9CKEBVVZe6YwuIq2nYRZREBjPDGhBBD2kbLp721+IuX0jbkOJ29rbK6vrhYrFYEdKjXOGnGKremIolMmMBrC+e17YZQ1diZ3+y2A3WyMIQ0DVnbv/Ewmw6zXwj/QWgMU2MHYscGR3d068p6nDHiZC1KGlNlpPvnOJ+YA+r6A9xTHp6P0Rv8sUvtrVEhNusr/n2GCo2B5ogGqJ8Zw5CBLvEbN2RfTGBSaBYcUbp00QY96+jFHvuJvPewaT/FjuGHgD0NiBtS1JjKW+HixLLr5XsS3t7eftWvcLGzwiH/CeE9xEc= sidebar_class_name: "event api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -32,7 +32,7 @@ Notification of the completion of a sync ## Request -

Body

    oneOf
    related_sync_states objectrequired
    property name* related_sync_states
+

Body

    oneOf
Return a 200 status to indicate that the data was received successfully diff --git a/docs/docs/api/v2/mgmt/trigger-sync.api.mdx b/docs/docs/api/v2/mgmt/trigger-sync.api.mdx index 5ba09fea5..992c1c0f8 100644 --- a/docs/docs/api/v2/mgmt/trigger-sync.api.mdx +++ b/docs/docs/api/v2/mgmt/trigger-sync.api.mdx @@ -5,7 +5,7 @@ description: "Trigger sync" sidebar_label: "Trigger sync" hide_title: true hide_table_of_contents: true -api: eJztXQtv2zgS/iuEDgvcAVHiR+zY3tu7i/PouW2aXJxuWySBl5YoW60kqpSUxA3832+GlGz5kSYp9rA576RFa1HkaDgvfvOpcO8tGQvFU19GPdfqWKnyRyOh+pPIsbaslI8Sq3Np4WViXW9ZiXAy5acTGLy37mwe+/YXgVfXU7irxNdMJGlXujB0ry99JUBsqjKxZTkySkWU4i0ex4Hv6MfufE5khGOJMxYhx08yEqeefkQ6iQVoJYefhZOiQn4a4MAhTzkLpSuCDjvVNxNrq/TAy3zJQAvYKgRcT7eeJvNAhqGMWN+o9HtKPopg1BeoritiJcAIcwuVHyNw4mTguyD7ego/eDuJZZTAYj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2XRz58EFsxJqZqMjrkHh/wLtBT0e sidebar_class_name: "post api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -36,7 +36,7 @@ Trigger sync Sync triggered -
Schema
    oneOf
+
Schema
    oneOf
Bad request diff --git a/docs/docs/tutorials/build-settings-page.mdx b/docs/docs/tutorials/build-settings-page.mdx index 04cd4504b..d93ca2c8b 100644 --- a/docs/docs/tutorials/build-settings-page.mdx +++ b/docs/docs/tutorials/build-settings-page.mdx @@ -33,7 +33,7 @@ A **SyncRun** is an execution of a Sync. Triggering a Sync creates a SyncRun and ### Show sync run stats -You can use the [SyncRuns Management API](../api/v2/mgmt/list-sync-runs) to list the latest SyncRun for a Sync. The response will include the SyncRun's status, the number of records synced, and other metadata about the SyncRun. +You can use the [SyncRuns Management API](../api/v2/mgmt/list-sync-runs) to get the latest SyncRun for a Sync. The response will include the SyncRun's status, the number of records synced, and other metadata about the SyncRun. Below we use a Nextjs [Server Component](https://nextjs.org/docs/getting-started/react-essentials#server-components) to fetch the latest SyncRun for a Sync and display the status and number of records synced for an object, `contact`. diff --git a/docs/docs/tutorials/transformations/processing-order.mdx b/docs/docs/tutorials/transformations/processing-order.mdx deleted file mode 100644 index e8dcb3e41..000000000 --- a/docs/docs/tutorials/transformations/processing-order.mdx +++ /dev/null @@ -1,100 +0,0 @@ -import ThemedImage from '@theme/ThemedImage'; - -# Processing order for objects - -In many transformation use cases, you may wish to process objects in a particular order, depending on your application's data model and decisions you made around referential integrity. For example, you may want to process parent objects, like Accounts, before dependent objects, like Contacts, if you have foreign keys from Contacts to Accounts. - -To help make this easier for you, Supaglue's [`sync.complete` webhook event](https://docs.supaglue.com/api/v2/mgmt/sync-complete) and [Management (Sync) API](https://docs.supaglue.com/api/v2/mgmt/list-syncs) provide information about whether related object Syncs have `finished` and their high-water mark. - -## Related Sync States - -The webhook and API endpoint above both provide a `related_sync_states` field that has information that looks like the following: - -```json -"related_sync_states": { - "account": { - "object": "account", - "object_type": "common", - "strategy_type": "full then incremental", - "finished": true, - "synced_records_up_to_watermark": 1701728827881 - }, - "contact": { - "object": "account", - "object_type": "common", - "strategy_type": "full then incremental", - "finished": false, - "synced_records_up_to_watermark": 1701728850969 - } -} -``` - -In this field, we provide you with two critical pieces of information: - -1. Whether the sync has finished at the point of Supaglue firing the webhook or you making the API call -2. The epoch Supaglue has finished syncing records up to (the high-water mark) - -Using (1), you can determine when to proceed with processing Accounts and Contacts together by waiting for both objects to be in the `finished: true` state. - - - -Using (2), you can process up to the minimum of both objects' high-water marks. - -## Webhook example - -```typescript - -const highWaterMarks = { - contact: 0; - account: 0; -} - -router.post('/supaglue_webhook_endpoint', async (req: Request, res: Response) => { - // validate webhook event - - // we only care about `sync.complete`; ignore the rest - if (req.body.webhook_event_type !== 'sync.complete') { - return res.status(200); - } - - const areAccountAndContactSyncsFinished = req.body.related_sync_states.account.finished && req.body.related_sync_states.contact.finished; - const isAccountOrContactSync = req.body.object === 'account' || req.body.object === 'contact'; - - // ignore `sync.complete` events until both accounts and contacts finish - if (!(isAccountOrContactSync && areAccountAndContactSyncsFinished)) { - return res.status(200); - - } - - // only process up to the older of the two high-water marks - const minOfBothHighWaterMark = Math.min(req.body.related_sync_states.account.synced_records_up_to_watermark, req.body.related_sync_states.contact.synced_records_up_to_watermark); - - // process accounts (see example below) - // process contacts (see example below) - - highWaterMarks.account = minOfBothHighWaterMark; - highWaterMarks.contact = minOfBothHighWaterMark; - - return res.status(200); - }); -``` - -### Managed Syncs example - -Supaglue will continuously sync Accounts and Contacts into your database using Managed Syncs at the specified frequencies. Still, you can only process and set up foreign keys for records older than or equal to the `minOfBothHighWaterMark`. - -To only show processed records, you could filter on `last_modified_at` or `_supaglue_last_modified_at` at query time using: - -- A Postgres view -- An ORM query filter - -### Listing API example - -If you are syncing data and transforming it using Supaglue's Listing API, you can filter for records up to `minOfBothHighWaterMark` by passing the `modified_at` query parameter by converting epoch to ISO 8601. diff --git a/docs/sidebars.js b/docs/sidebars.js index 244ab7ed4..ca9e44ca0 100644 --- a/docs/sidebars.js +++ b/docs/sidebars.js @@ -248,11 +248,6 @@ const sidebars = { type: 'doc', label: 'Pagination', }, - { - id: 'tutorials/transformations/processing-order', - type: 'doc', - label: 'Processing order for objects', - }, { id: 'tutorials/transformations/common-schema', type: 'doc', diff --git a/docs/static/img/aggregate-webhook-event.png b/docs/static/img/aggregate-webhook-event.png deleted file mode 100644 index 1fec338516dfde7e6cce1076b3dd66a52c3d5f25..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 18973 zcmd6O2UJs87cPp*C?Yc=B3(p4KtP&wY?RO;^o~-b_fSF;Q4o>dyFvnlE>&to6r{J% zB|(uEN<;`HA@FX{nZLaG|C#sRTJOEAg;(y~``mN)`OeNiB!*qs%f`Uc` zqyVO%phN*b9=}imXGErttpJD1)*!G31qGCwg5uE=3JL;n>d_Jf1>^<=1=fm!LOP9t zg26qjQAd`7;@Asqbv?zy!^2NAn1#iqb=)`N{(f*+r1Txth9;!BwWB)NbbEUz`xQJU zA6LoBrI7nx4jd-QL;V-zR;U$L{Rz5s3T46X;F+_8RUxcJ&)(ZV@;) z{^>IeQTe8&y}KXP*@sGhSy=MAp{ebomw%{>cc7iK_t5B+p@rRjd-t}^0X7n5jNpCpR=!kOn?4*A>qm>2A$JY)IB^-7sv5oa5$kg_fbof2Eyc8hPY476Xkq; zu2hkd{#vU_XPH-^oOdNg2)mov3iTsxh>kk^_U^auTeGe2zNBY;c^>__s_v_)Ic8`K zGlgEFqnrKM_qm`LgZVnIsUoYuS<3oSl$D4~V#{m2b6S)i-WxoSl~o#qrA&$KT(1%m6YOe!*)R|8*iIK{AGJ zKsCi?QgfToS#JT67@QT8JaO9Rv)sOXz_qMsXa(UOtN9G*DsaR9Z$1-o>hNJLKU2Qs z$#)Sl-9b~#BM8(OU3{NZa8p%c@Qr8g;`;lgpGpdd zEujLcr1wE0@g8iuSDsk|(=7xn;Mu+nr1?|k3ocy@Bjyp*S8@k`GE+~Gq* zSTHKMVF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K6zxvG=R{OC3 zq}6@rZdN-A!Pxp1BQlLoBJS)1Tw5A~QdE~br9WY+wH)5mM>q_GY@SH`;LP976DlG47I$L7*+WI?4C zYPSHc&Z`q%;~xLy+P%g%pyO7dF3gN7eZKpIR&EGJ&pig!#omdy}*EdUzgf+4PVw+v&IF0`HPyc6qupz!>2ol z!cOd1T^f*6Kvo}4H?3R&2pTD22J##5Dg^$_N&6k+LVe=wGuUrIt!H(i}Wx!pS=cGK|2CO$35Z!>c@{8{| za1A&pN$aScz;JMBCV#n}elSZc%ICasJdY>1H3Ftl~#<+0h_W2%Q zsA2O>b;*G@F+rg<6x{m0cl6H>&Xh_FUeIM&35}y=|qfJ#B#lg~$yNQ2}8Qfg56aA|lcv!qOr)_;1{hzH#FT zl5OE%99-ON9PIr6vjhH1feGMn?ToI}uOGPobiysZf5`>hb>o D- Get a list of SyncRuns. parameters: diff --git a/openapi/v2/mgmt/paths/syncs.yaml b/openapi/v2/mgmt/paths/syncs.yaml index 5ccf560a7..ec2803946 100644 --- a/openapi/v2/mgmt/paths/syncs.yaml +++ b/openapi/v2/mgmt/paths/syncs.yaml @@ -1,10 +1,10 @@ get: - operationId: listSyncs + operationId: getSyncs tags: - Syncs security: - x-api-key: [] - summary: List Syncs + summary: Get Syncs description: >- Get a list of Syncs. parameters: diff --git a/openapi/v2/mgmt/webhooks/sync.complete.yaml b/openapi/v2/mgmt/webhooks/sync.complete.yaml index 04cb21be0..0af017d43 100644 --- a/openapi/v2/mgmt/webhooks/sync.complete.yaml +++ b/openapi/v2/mgmt/webhooks/sync.complete.yaml @@ -64,12 +64,7 @@ post: object: type: string example: contact - related_sync_states: - type: object - additionalProperties: - $ref: '../components/schemas/objects/related_sync_states.yaml' required: - - related_sync_states - webhook_event_type - run_id - connection_id diff --git a/packages/core/lib/index.ts b/packages/core/lib/index.ts index 083d9f491..d388f90f5 100644 --- a/packages/core/lib/index.ts +++ b/packages/core/lib/index.ts @@ -5,6 +5,5 @@ export * from './logger'; export * from './pagination'; export * from './postgres'; export * from './ratelimit'; -export * from './sync'; export * from './util'; export * from './webhook'; diff --git a/packages/core/lib/sync.ts b/packages/core/lib/sync.ts deleted file mode 100644 index 920592223..000000000 --- a/packages/core/lib/sync.ts +++ /dev/null @@ -1,28 +0,0 @@ -import type { ObjectSync, ObjectSyncDTO, RelatedSyncStates } from '@supaglue/types/sync'; - -export function generateRelatedObjectSyncStates( - syncs: (ObjectSyncDTO | ObjectSync)[] -): Record { - return syncs.reduce( - (acc, sync) => { - let syncedRecordsUpToWatermark = 0; - - if (sync.strategyType === 'full then incremental' && sync.state.phase !== 'created') { - syncedRecordsUpToWatermark = sync.state.maxLastModifiedAtMs ?? 0; - } else { - syncedRecordsUpToWatermark = Date.now(); // synthetic watermark for "full only" sync strategies - } - - acc[sync.object] = { - strategyType: sync.strategyType, - object: sync.object, - objectType: sync.objectType, - finished: sync.state.phase === 'created' ? false : sync.state.status === 'done', - syncedRecordsUpToWatermark, - }; - - return acc; - }, - {} as Record - ); -} diff --git a/packages/schemas/gen/v2/mgmt.ts b/packages/schemas/gen/v2/mgmt.ts index 4535bd36b..453ffa17c 100644 --- a/packages/schemas/gen/v2/mgmt.ts +++ b/packages/schemas/gen/v2/mgmt.ts @@ -340,10 +340,10 @@ export interface paths { }; "/syncs": { /** - * List Syncs + * Get Syncs * @description Get a list of Syncs. */ - get: operations["listSyncs"]; + get: operations["getSyncs"]; }; "/syncs/_pause": { /** Pause sync */ @@ -377,10 +377,10 @@ export interface paths { }; "/sync-runs": { /** - * List SyncRuns + * Get SyncRuns * @description Get a list of SyncRuns. */ - get: operations["listSyncRuns"]; + get: operations["getSyncRuns"]; }; } @@ -457,27 +457,6 @@ export interface webhooks { export interface components { schemas: { - related_sync_states: { - object?: string; - object_type?: string; - /** - * @description A point-in-time snapshot of whether the sync has finished. Use this to help you process your transformations in the correct order. E.g. you may want to wait for Accounts to finish before processing Contacts. - * - * **Note:** If syncs take longer than your specified sync frequency in your SyncConfig, you may never see finished transition be true. Please ensure that your sync frequencies are longer than sync durations. - * - * @example true - */ - finished?: boolean; - strategy_type?: string; - /** - * @description The high-water mark (epoch) for Supaglue syncs for this object, scoped by provider and customer. Records before this watermark have been synced. - * - * **Note:** In some situations, you may need Supaglue's high-water mark state to process your transformations. - * - * @example 1701725470926 - */ - synced_records_up_to_watermark?: number; - }; pagination: { /** @example eyJpZCI6IjQyNTc5ZjczLTg1MjQtNDU3MC05YjY3LWVjYmQ3MDJjNmIxNCIsInJldmVyc2UiOmZhbHNlfQ== */ next: string | null; @@ -1255,9 +1234,9 @@ export interface components { * @example standard * @enum {string} */ - object_type: "common"; + object_type: "common" | "standard" | "custom"; /** - * @description Supaglue's object name + * @description The Provider's object name (case sensitive) * @example contact */ object: string; @@ -1279,9 +1258,9 @@ export interface components { * @example standard * @enum {string} */ - object_type: "common" | "standard" | "custom"; + object_type: "common"; /** - * @description The Provider's object name (case sensitive) + * @description Supaglue's object name * @example contact */ object: string; @@ -1333,10 +1312,6 @@ export interface components { provider_name: string; /** @example my-customer-1 */ customer_id: string; - /** @description Sync state information related to all customer syncs. This is only returned if there is a customer context, e.g. filtering by `customer_id` or in a webhook event. */ - related_sync_states?: { - [key: string]: components["schemas"]["related_sync_states"]; - }; }, { /** @example 971cb76d-9558-42fe-8f3b-8a531c32bd5f */ id: string; @@ -1357,9 +1332,6 @@ export interface components { provider_name: string; /** @example my-customer-1 */ customer_id: string; - related_sync_states?: { - [key: string]: components["schemas"]["related_sync_states"]; - }; }]>; sync_run: OneOf<[{ /** @example 20eb4da3-6b38-4ec6-a82d-ecee59a9d6d9 */ @@ -3231,10 +3203,10 @@ export interface operations { }; }; /** - * List Syncs + * Get Syncs * @description Get a list of Syncs. */ - listSyncs: { + getSyncs: { parameters: { query?: { /** @@ -3461,10 +3433,10 @@ export interface operations { }; }; /** - * List SyncRuns + * Get SyncRuns * @description Get a list of SyncRuns. */ - listSyncRuns: { + getSyncRuns: { parameters: { query?: { /** @@ -3580,9 +3552,6 @@ export interface operations { object_type: "common" | "standard" | "custom"; /** @example contact */ object: string; - related_sync_states: { - [key: string]: components["schemas"]["related_sync_states"]; - }; }, { /** * @example sync.complete diff --git a/packages/schemas/v2/mgmt.ts b/packages/schemas/v2/mgmt.ts index e7dc63e4c..ed0846417 100644 --- a/packages/schemas/v2/mgmt.ts +++ b/packages/schemas/v2/mgmt.ts @@ -327,11 +327,11 @@ export type DeleteConnectionSyncConfigFailureResponse = Exclude< >; export type GetSyncsPathParams = never; -export type GetSyncsQueryParams = Required['parameters']['query']; +export type GetSyncsQueryParams = Required['parameters']['query']; export type GetSyncsRequest = never; export type GetSyncsResponse = - operations['listSyncs']['responses'][keyof operations['listSyncs']['responses']]['content']['application/json']; -export type GetSyncsSuccessfulResponse = operations['listSyncs']['responses']['200']['content']['application/json']; + operations['getSyncs']['responses'][keyof operations['getSyncs']['responses']]['content']['application/json']; +export type GetSyncsSuccessfulResponse = operations['getSyncs']['responses']['200']['content']['application/json']; export type GetSyncsFailureResponse = Exclude; export type PauseSyncPathParams = never; @@ -360,12 +360,12 @@ export type TriggerSyncSuccessfulResponse = export type TriggerSyncFailureResponse = Exclude; export type GetSyncRunsPathParams = never; -export type GetSyncRunsQueryParams = Required['parameters']['query']; +export type GetSyncRunsQueryParams = Required['parameters']['query']; export type GetSyncRunsRequest = never; export type GetSyncRunsResponse = - operations['listSyncRuns']['responses'][keyof operations['listSyncRuns']['responses']]['content']['application/json']; + operations['getSyncRuns']['responses'][keyof operations['getSyncRuns']['responses']]['content']['application/json']; export type GetSyncRunsSuccessfulResponse = - operations['listSyncRuns']['responses']['200']['content']['application/json']; + operations['getSyncRuns']['responses']['200']['content']['application/json']; export type GetSyncRunsFailureResponse = Exclude; export type GetEntitiesPathParams = never; diff --git a/packages/sync-workflows/activities/get_all_customer_syncs.ts b/packages/sync-workflows/activities/get_all_customer_syncs.ts deleted file mode 100644 index 925133454..000000000 --- a/packages/sync-workflows/activities/get_all_customer_syncs.ts +++ /dev/null @@ -1,23 +0,0 @@ -import type { ObjectSync } from '@supaglue/types/sync'; -import type { SyncService } from '../services/sync_service'; - -export type GetAllRelatedCustomerSyncsArgs = { - syncId: string; - connectionId: string; -}; - -export type GetAllRelatedCustomerSyncsResult = { - syncs: ObjectSync[]; -}; - -export function createGetAllRelatedCustomerObjectSyncs(syncService: SyncService) { - return async function getAllRelatedCustomerObjectSyncs({ - syncId, - connectionId, - }: GetAllRelatedCustomerSyncsArgs): Promise { - const syncs = await syncService.getAllRelatedCustomerObjectSyncs(syncId, connectionId); - return { - syncs, - }; - }; -} diff --git a/packages/sync-workflows/activities/index.ts b/packages/sync-workflows/activities/index.ts index 0cde5c314..444b73c0b 100644 --- a/packages/sync-workflows/activities/index.ts +++ b/packages/sync-workflows/activities/index.ts @@ -13,7 +13,6 @@ import type { SystemSettingsService } from '@supaglue/core/services/system_setti import type { ApplicationService, SyncService } from '../services'; import { createClearSyncArgsForNextRun } from './clear_sync_args_for_next_run'; import { createDoProcessSyncChanges } from './do_process_sync_changes'; -import { createGetAllRelatedCustomerObjectSyncs } from './get_all_customer_syncs'; import { createGetEntity } from './get_entity'; import { createGetSync } from './get_sync'; import { createGetSyncStrategy } from './get_sync_strategy'; @@ -54,7 +53,6 @@ export const createActivities = ({ }) => { return { getSync: createGetSync(syncService), - getAllRelatedCustomerObjectSyncs: createGetAllRelatedCustomerObjectSyncs(syncService), pauseSync: createPauseSync(syncService, connectionService, notificationService, applicationService), doProcessSyncChanges: createDoProcessSyncChanges(syncService, systemSettingsService), updateSyncState: createUpdateSyncState(syncService), diff --git a/packages/sync-workflows/activities/maybe_send_sync_finish_webhook.ts b/packages/sync-workflows/activities/maybe_send_sync_finish_webhook.ts index ee5f13d47..b302759b1 100644 --- a/packages/sync-workflows/activities/maybe_send_sync_finish_webhook.ts +++ b/packages/sync-workflows/activities/maybe_send_sync_finish_webhook.ts @@ -1,6 +1,5 @@ import { maybeSendWebhookPayload } from '@supaglue/core/lib/webhook'; import type { ConnectionService, ProviderService, WebhookService } from '@supaglue/core/services'; -import type { RelatedSyncStates } from '@supaglue/types/sync'; import { snakecaseKeys } from '@supaglue/utils'; import type { ApplicationService } from '../services'; @@ -10,16 +9,12 @@ export type MaybeSendSyncFinishWebhookArgs = { status: 'SYNC_SUCCESS' | 'SYNC_ERROR'; numRecordsSynced: number; errorMessage?: string; - - // Object only, not Entity - relatedSyncStates: Record; } & ( | { type: 'object'; objectType: 'common' | 'standard' | 'custom'; object: string; } - // @deprecated | { type: 'entity'; entityId: string; diff --git a/packages/sync-workflows/services/sync_service.ts b/packages/sync-workflows/services/sync_service.ts index 8a7f6530c..231938906 100644 --- a/packages/sync-workflows/services/sync_service.ts +++ b/packages/sync-workflows/services/sync_service.ts @@ -40,43 +40,6 @@ export class SyncService { this.#webhookService = webhookService; } - /** - * Get all customer object syncs that are configured by the same SyncConfig. - * - * Inputs are {syncId, connectionId} because the lookup originates from run_object_sync - * which doesn't have an readily-accessible handle on SyncConfig or Customer. - */ - public async getAllRelatedCustomerObjectSyncs(syncId: string, connectionId: string): Promise { - const sync = await this.#prisma.sync.findUnique({ - where: { - id: syncId, - }, - }); - - if (!sync) { - throw new Error('Sync not found'); - } - - const connection = await this.#connectionService.getSafeById(connectionId); - - const { syncConfigId } = sync; - const { customerId } = connection; - - const models = await this.#prisma.sync.findMany({ - where: { - type: 'object', - syncConfigId, - connection: { - customer: { - externalIdentifier: customerId, - }, - }, - }, - }); - - return models.map((model) => fromSyncModel(model) as ObjectSync); - } - public async getSyncById(id: string): Promise { const model = await this.#prisma.sync.findUniqueOrThrow({ where: { diff --git a/packages/sync-workflows/workflows/run_object_sync.ts b/packages/sync-workflows/workflows/run_object_sync.ts index 3ab556f72..92a338207 100644 --- a/packages/sync-workflows/workflows/run_object_sync.ts +++ b/packages/sync-workflows/workflows/run_object_sync.ts @@ -2,7 +2,6 @@ import type { ProviderCategory } from '@supaglue/types/common'; import { ActivityFailure, ApplicationFailure, proxyActivities } from '@temporalio/workflow'; // Only import the activity types import { ForbiddenError, PaymentRequiredError, UnauthorizedError } from '@supaglue/core/errors'; -import { generateRelatedObjectSyncStates } from '@supaglue/core/lib/sync'; import type { FullThenIncrementalSync, Sync } from '@supaglue/types/sync'; import type { createActivities } from '../activities/index'; @@ -20,7 +19,6 @@ const { syncObjectRecords, syncEntityRecords } = proxyActivities { const { sync, runId } = await getSync({ syncId }); - const { syncs } = await getAllRelatedCustomerObjectSyncs({ syncId, connectionId }); - const relatedSyncStates = sync.type === 'object' ? generateRelatedObjectSyncStates(syncs) : {}; // NOTE: not implementing for entity const strategy = await getSyncStrategy({ sync }); @@ -128,7 +124,6 @@ export async function runObjectSync({ syncId, connectionId, category }: RunObjec objectType: sync.objectType, object: sync.object, errorMessage, - relatedSyncStates: {}, }); } else { const { @@ -144,7 +139,6 @@ export async function runObjectSync({ syncId, connectionId, category }: RunObjec entityId: sync.entityId, errorMessage, entityName, - relatedSyncStates: {}, }); } @@ -171,7 +165,6 @@ export async function runObjectSync({ syncId, connectionId, category }: RunObjec type: 'object', objectType: sync.objectType, object: sync.object, - relatedSyncStates, }); } else { const { @@ -186,7 +179,6 @@ export async function runObjectSync({ syncId, connectionId, category }: RunObjec type: 'entity', entityId: sync.entityId, entityName, - relatedSyncStates, }); } } diff --git a/packages/types/sync.ts b/packages/types/sync.ts index 45167f1fa..af20cf73b 100644 --- a/packages/types/sync.ts +++ b/packages/types/sync.ts @@ -51,13 +51,6 @@ export type FullOnlySync = FullOnlyObjectSync | FullOnlyEntitySync; export type Sync = ObjectSync | EntitySync; export type SnakecasedSync = SnakecasedKeys; -export type ObjectSyncDTO = Sync & { - type: 'object'; - // External Id - customerId: string; - providerName: string; -}; - export type SyncDTO = Sync & { // External Id customerId: string; @@ -113,11 +106,3 @@ export type SyncFilter = { // eslint-disable-next-line @typescript-eslint/ban-types | {} ); - -export type RelatedSyncStates = { - strategyType: 'full only' | 'full then incremental'; - finished: boolean; - object: string; - objectType: 'common' | 'standard' | 'custom'; - syncedRecordsUpToWatermark: number; -};