You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sync-for-commerce/Codat/Sync/Commerce/CodatSyncCommerce.cs
+88-27Lines changed: 88 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,8 @@
10
10
#nullable enable
11
11
namespaceCodat.Sync.Commerce
12
12
{
13
+
usingCodat.Sync.Commerce.Hooks;
14
+
usingCodat.Sync.Commerce.Models.Errors;
13
15
usingCodat.Sync.Commerce.Models.Shared;
14
16
usingCodat.Sync.Commerce.Utils;
15
17
usingNewtonsoft.Json;
@@ -18,66 +20,92 @@ namespace Codat.Sync.Commerce
18
20
usingSystem.Threading.Tasks;
19
21
usingSystem;
20
22
21
-
22
-
23
23
/// <summary>
24
24
/// Sync for Commerce: The API for Sync for Commerce. <br/>
25
25
///
26
26
/// <remarks>
27
27
/// <br/>
28
28
/// Sync for Commerce automatically replicates and reconciles sales data from a merchant’s source PoS, Payments, and eCommerce systems into their accounting software. This eliminates manual processing by merchants and transforms their ability to run and grow their business.<br/>
/// Not seeing the endpoints you're expecting? We've <a href="https://docs.codat.io/updates/230901-new-products">reorganized our products</a>, and you may be using a <a href="https://docs.codat.io/sync-for-commerce-v1-api#/">different version of Sync for Commerce</a>.<br/>
33
+
/// <br/>
34
+
/// ---<br/>
31
35
/// <br/>
32
-
/// Not seeing the endpoints you're expecting? We've <a href="https://docs.codat.io/updates/230901-new-products">reorganized our products</a>, and you may be using a <a href="https://docs.codat.io/sync-for-commerce-v1-api#/">different version of Sync for Commerce</a>.
36
+
/// <!-- Start Codat Tags Table --><br/>
37
+
/// ## Endpoints<br/>
38
+
/// <br/>
39
+
/// | Endpoints | Description |<br/>
40
+
/// | :- |:- |<br/>
41
+
/// | Connections | Create new and manage existing data connections for a company. |<br/>
42
+
/// | Sync | Initiate data syncs and monitor their status. |<br/>
43
+
/// | Sync flow settings | Control text and visibility settings for the Sync Flow. |<br/>
44
+
/// | Integrations | Get a list of integrations supported by Sync for Commerce and their logos. |<br/>
45
+
/// | Advanced controls | View and manage mapping configured for a company's commerce sync. |<br/>
46
+
/// <!-- End Codat Tags Table -->
33
47
/// </remarks>
34
48
/// </summary>
35
49
publicinterfaceICodatSyncCommerce
36
50
{
37
51
38
52
/// <summary>
39
-
/// Configure preferences for any given Sync for Commerce company using sync flow.
53
+
/// Control text and visibility settings for the Sync Flow.
40
54
/// </summary>
41
55
publicISyncFlowSettingsSyncFlowSettings{get;}
42
56
43
57
/// <summary>
44
-
/// Advanced company management and sync preferences.
58
+
/// View and manage mapping configured for a company's commerce sync.
45
59
/// </summary>
46
60
publicIAdvancedControlsAdvancedControls{get;}
47
61
48
62
/// <summary>
49
-
/// Create new and manage existing Sync for Commerce connections using the Sync flow UI.
63
+
/// Create new and manage existing data connections for a company.
50
64
/// </summary>
51
65
publicIConnectionsConnections{get;}
52
66
53
67
/// <summary>
54
-
/// Initiate and monitor the sync of company data into accounting software.
68
+
/// Initiate data syncs and monitor their status.
55
69
/// </summary>
56
70
publicISyncSync{get;}
57
71
58
72
/// <summary>
59
-
/// View useful information about codat's integrations.
73
+
/// Get a list of integrations supported by Sync for Commerce and their logos.
60
74
/// </summary>
61
75
publicIIntegrationsIntegrations{get;}
62
76
}
63
-
77
+
64
78
publicclassSDKConfig
65
79
{
66
-
publicstaticstring[]ServerList=newstring[]
67
-
{
80
+
/// <summary>
81
+
/// List of server URLs available to the SDK.
82
+
/// </summary>
83
+
publicstaticreadonlystring[]ServerList={
68
84
"https://api.codat.io",
69
85
};
70
-
/// Contains the list of servers available to the SDK
@@ -88,20 +116,34 @@ public string GetTemplatedServerDetails()
88
116
/// <br/>
89
117
/// Sync for Commerce automatically replicates and reconciles sales data from a merchant’s source PoS, Payments, and eCommerce systems into their accounting software. This eliminates manual processing by merchants and transforms their ability to run and grow their business.<br/>
/// Not seeing the endpoints you're expecting? We've <a href="https://docs.codat.io/updates/230901-new-products">reorganized our products</a>, and you may be using a <a href="https://docs.codat.io/sync-for-commerce-v1-api#/">different version of Sync for Commerce</a>.<br/>
92
122
/// <br/>
93
-
/// Not seeing the endpoints you're expecting? We've <a href="https://docs.codat.io/updates/230901-new-products">reorganized our products</a>, and you may be using a <a href="https://docs.codat.io/sync-for-commerce-v1-api#/">different version of Sync for Commerce</a>.
123
+
/// ---<br/>
124
+
/// <br/>
125
+
/// <!-- Start Codat Tags Table --><br/>
126
+
/// ## Endpoints<br/>
127
+
/// <br/>
128
+
/// | Endpoints | Description |<br/>
129
+
/// | :- |:- |<br/>
130
+
/// | Connections | Create new and manage existing data connections for a company. |<br/>
131
+
/// | Sync | Initiate data syncs and monitor their status. |<br/>
132
+
/// | Sync flow settings | Control text and visibility settings for the Sync Flow. |<br/>
133
+
/// | Integrations | Get a list of integrations supported by Sync for Commerce and their logos. |<br/>
134
+
/// | Advanced controls | View and manage mapping configured for a company's commerce sync. |<br/>
0 commit comments