Skip to content

Commit f4d14af

Browse files
chore: speakeasy sdk regeneration - Generate Sync Commerce SDK (#3)
* ci: regenerated with OpenAPI Doc 1.1, Speakeay CLI 1.7.1 * ci: regenerated with OpenAPI Doc 1.1, Speakeay CLI 1.8.2 * ci: regenerated with OpenAPI Doc 1.1, Speakeay CLI 1.8.4 * ci: regenerated with OpenAPI Doc 1.1, Speakeay CLI 1.8.5 * ci: regenerated with OpenAPI Doc 1.1, Speakeay CLI 1.8.6 * ci: regenerated with OpenAPI Doc 1.1, Speakeay CLI 1.8.7 * ci: regenerated with OpenAPI Doc 1.1, Speakeay CLI 1.9.1 * ci: regenerated with OpenAPI Doc 1.1, Speakeay CLI 1.9.2 * ci: regenerated with OpenAPI Doc 1.1, Speakeay CLI 1.11.0 --------- Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
1 parent b51152d commit f4d14af

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+8136
-2
lines changed

synccommerce/README.md

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
# @codat/synccommerce
2+
3+
<!-- Start SDK Installation -->
4+
## SDK Installation
5+
6+
### NPM
7+
8+
```bash
9+
npm add @codat/synccommerce
10+
```
11+
12+
### Yarn
13+
14+
```bash
15+
yarn add @codat/synccommerce
16+
```
17+
<!-- End SDK Installation -->
18+
19+
## SDK Example Usage
20+
<!-- Start SDK Example Usage -->
21+
```typescript
22+
import {
23+
AddDataConnectionRequest,
24+
AddDataConnectionResponse
25+
} from "@codat/synccommerce/dist/sdk/models/operations";
26+
27+
import { AxiosError } from "axios";
28+
import { Codat } from "@codat/synccommerce";
29+
const sdk = new Codat({
30+
security: {
31+
authHeader: "YOUR_API_KEY_HERE",
32+
},
33+
});
34+
35+
const req: AddDataConnectionRequest = {
36+
pathParams: {
37+
companyId: "unde",
38+
},
39+
request: "deserunt",
40+
};
41+
42+
sdk.companyManagement.addDataConnection(req).then((res: AddDataConnectionResponse | AxiosError) => {
43+
// handle response
44+
});
45+
```
46+
<!-- End SDK Example Usage -->
47+
48+
<!-- Start SDK Available Operations -->
49+
## SDK Available Operations
50+
51+
52+
### companyManagement
53+
54+
* `addDataConnection` - Create data connection
55+
* `companies` - List companies
56+
* `getDataconnections` - List connections
57+
* `postCompanies` - Create a Sync for Commerce company
58+
* `updateDataConnection` - Update data connection
59+
60+
### integrations
61+
62+
* `getIntegrationBranding` - Get branding for an integration
63+
* `getIntegrations` - List Codat's integrations
64+
65+
### sync
66+
67+
* `postSyncLatest` - Sync commerce data
68+
69+
### syncConfiguration
70+
71+
* `configureSync` - Update Sync for Commerce settings
72+
* `getCompanyCommerceSyncStatus` - Get Sync for Commerce status
73+
* `getSyncFlowUrl` - Get Sync Flow Url
74+
* `getSyncOptions` - List options for Sync for Commerce settings
75+
76+
### syncData
77+
78+
* `checkDataStatus` - Get dataset status
79+
* `sendOrdersData` - Create orders dataset
80+
* `sendPaymentsData` - Create payments dataset
81+
* `sendTransactionsData` - Create transactions dataset
82+
<!-- End SDK Available Operations -->
83+
84+
### SDK Generated by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks)

synccommerce/RELEASES.md

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
2+
3+
## 2023-03-02 00:01:16
4+
### Changes
5+
Based on:
6+
- OpenAPI Doc 1.1 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Commerce.yaml
7+
- Speakeasy CLI 1.7.1 https://github.com/speakeasy-api/speakeasy
8+
### Releases
9+
- [NPM v0.1.0] https://www.npmjs.com/package/@codat/synccommerce/v/0.1.0 - synccommerce
10+
11+
## 2023-03-04 00:01:02
12+
### Changes
13+
Based on:
14+
- OpenAPI Doc 1.1 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Commerce.yaml
15+
- Speakeasy CLI 1.8.2 https://github.com/speakeasy-api/speakeasy
16+
### Releases
17+
- [NPM v0.2.0] https://www.npmjs.com/package/@codat/synccommerce/v/0.2.0 - synccommerce
18+
19+
## 2023-03-06 00:01:24
20+
### Changes
21+
Based on:
22+
- OpenAPI Doc 1.1 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Commerce.yaml
23+
- Speakeasy CLI 1.8.4 https://github.com/speakeasy-api/speakeasy
24+
### Releases
25+
- [NPM v0.2.1] https://www.npmjs.com/package/@codat/synccommerce/v/0.2.1 - synccommerce
26+
27+
## 2023-03-07 00:01:23
28+
### Changes
29+
Based on:
30+
- OpenAPI Doc 1.1 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Commerce.yaml
31+
- Speakeasy CLI 1.8.5 https://github.com/speakeasy-api/speakeasy
32+
### Releases
33+
- [NPM v0.2.2] https://www.npmjs.com/package/@codat/synccommerce/v/0.2.2 - synccommerce
34+
35+
## 2023-03-08 00:01:18
36+
### Changes
37+
Based on:
38+
- OpenAPI Doc 1.1 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Commerce.yaml
39+
- Speakeasy CLI 1.8.6 https://github.com/speakeasy-api/speakeasy
40+
### Releases
41+
- [NPM v0.2.3] https://www.npmjs.com/package/@codat/synccommerce/v/0.2.3 - synccommerce
42+
43+
## 2023-03-09 00:01:07
44+
### Changes
45+
Based on:
46+
- OpenAPI Doc 1.1 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Commerce.yaml
47+
- Speakeasy CLI 1.8.7 https://github.com/speakeasy-api/speakeasy
48+
### Releases
49+
- [NPM v0.2.4] https://www.npmjs.com/package/@codat/synccommerce/v/0.2.4 - synccommerce
50+
51+
## 2023-03-10 00:01:23
52+
### Changes
53+
Based on:
54+
- OpenAPI Doc 1.1 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Commerce.yaml
55+
- Speakeasy CLI 1.9.1 https://github.com/speakeasy-api/speakeasy
56+
### Releases
57+
- [NPM v0.3.0] https://www.npmjs.com/package/@codat/synccommerce/v/0.3.0 - synccommerce
58+
59+
## 2023-03-11 00:01:06
60+
### Changes
61+
Based on:
62+
- OpenAPI Doc 1.1 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Commerce.yaml
63+
- Speakeasy CLI 1.9.2 https://github.com/speakeasy-api/speakeasy
64+
### Releases
65+
- [NPM v0.3.1] https://www.npmjs.com/package/@codat/synccommerce/v/0.3.1 - synccommerce
66+
67+
## 2023-03-15 00:01:26
68+
### Changes
69+
Based on:
70+
- OpenAPI Doc 1.1 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Commerce.yaml
71+
- Speakeasy CLI 1.11.0 https://github.com/speakeasy-api/speakeasy
72+
### Releases
73+
- [NPM v0.4.0] https://www.npmjs.com/package/@codat/synccommerce/v/0.4.0 - synccommerce

synccommerce/USAGE.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<!-- Start SDK Example Usage -->
2+
```typescript
3+
import {
4+
AddDataConnectionRequest,
5+
AddDataConnectionResponse
6+
} from "@codat/synccommerce/dist/sdk/models/operations";
7+
8+
import { AxiosError } from "axios";
9+
import { Codat } from "@codat/synccommerce";
10+
const sdk = new Codat({
11+
security: {
12+
authHeader: "YOUR_API_KEY_HERE",
13+
},
14+
});
15+
16+
const req: AddDataConnectionRequest = {
17+
pathParams: {
18+
companyId: "unde",
19+
},
20+
request: "deserunt",
21+
};
22+
23+
sdk.companyManagement.addDataConnection(req).then((res: AddDataConnectionResponse | AxiosError) => {
24+
// handle response
25+
});
26+
```
27+
<!-- End SDK Example Usage -->

synccommerce/files.gen

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
src/sdk/companymanagement.ts
2+
src/sdk/integrations.ts
3+
src/sdk/sync.ts
4+
src/sdk/syncconfiguration.ts
5+
src/sdk/syncdata.ts
6+
src/sdk/sdk.ts
7+
jest.config.js
8+
package-lock.json
9+
package.json
10+
src/index.ts
11+
src/internal/utils/contenttype.ts
12+
src/internal/utils/headers.ts
13+
src/internal/utils/index.ts
14+
src/internal/utils/pathparams.ts
15+
src/internal/utils/queryparams.ts
16+
src/internal/utils/requestbody.ts
17+
src/internal/utils/retries.ts
18+
src/internal/utils/security.ts
19+
src/internal/utils/utils.ts
20+
src/sdk/index.ts
21+
tsconfig.json
22+
src/sdk/models/operations/adddataconnection.ts
23+
src/sdk/models/operations/companies.ts
24+
src/sdk/models/operations/getdataconnections.ts
25+
src/sdk/models/operations/postcompanies.ts
26+
src/sdk/models/operations/updatedataconnection.ts
27+
src/sdk/models/operations/getintegrationbranding.ts
28+
src/sdk/models/operations/getintegrations.ts
29+
src/sdk/models/operations/postsynclatest.ts
30+
src/sdk/models/operations/configuresync.ts
31+
src/sdk/models/operations/getcompanycommercesyncstatus.ts
32+
src/sdk/models/operations/getsyncflowurl.ts
33+
src/sdk/models/operations/getsyncoptions.ts
34+
src/sdk/models/operations/checkdatastatus.ts
35+
src/sdk/models/operations/sendordersdata.ts
36+
src/sdk/models/operations/sendpaymentsdata.ts
37+
src/sdk/models/operations/sendtransactionsdata.ts
38+
src/sdk/models/operations/index.ts
39+
src/sdk/models/shared/security.ts
40+
src/sdk/models/shared/index.ts
41+
src/sdk/models/webhooks/syncconnectiondeleted.ts
42+
src/sdk/models/webhooks/index.ts
43+
USAGE.md

synccommerce/gen.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
configVersion: 1.0.0
2+
management:
3+
docChecksum: 14c33ec0ee8fd105e857cf9f51835a45
4+
docVersion: "1.1"
5+
speakeasyVersion: 1.11.0
26
generation:
7+
telemetryEnabled: false
38
sdkClassName: codat
49
sdkFlattening: true
510
typescript:
6-
version: 0.0.1
7-
packageName: "@codat/synccommerce"
11+
version: 0.4.0
12+
author: Speakeasy
13+
packageName: '@codat/synccommerce'

synccommerce/jest.config.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
module.exports = {
2+
preset: 'ts-jest',
3+
testEnvironment: 'node',
4+
verbose: false,
5+
testPathIgnorePatterns: [
6+
"<rootDir>/__tests__/helpers.ts"
7+
]
8+
};

0 commit comments

Comments
 (0)