-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #340 from codatio/speakeasy-sdk-regen-1695073483
chore: speakeasy sdk regeneration - Generate Sync for Commerce library
- Loading branch information
Showing
17 changed files
with
113 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
sync-for-commerce/docs/models/shared/syncconnectiondeletedwebhook.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# SyncConnectionDeletedWebhook | ||
|
||
A Sync for Commerce connection is deleted. | ||
|
||
|
||
## Fields | ||
|
||
| Field | Type | Required | Description | Example | | ||
| ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | | ||
| `alert_id` | *Optional[str]* | :heavy_minus_sign: | Unique identifier of the webhook event. | | | ||
| `client_id` | *Optional[str]* | :heavy_minus_sign: | Unique identifier for your client in Codat. | | | ||
| `client_name` | *Optional[str]* | :heavy_minus_sign: | Name of your client in Codat. | | | ||
| `company_id` | *Optional[str]* | :heavy_minus_sign: | Unique identifier for your SMB in Codat. | 8a210b68-6988-11ed-a1eb-0242ac120002 | | ||
| `message` | *Optional[str]* | :heavy_minus_sign: | A human readable message about the webhook. | | | ||
| `rule_id` | *Optional[str]* | :heavy_minus_sign: | Unique identifier for the rule. | | | ||
| `rule_type` | *Optional[str]* | :heavy_minus_sign: | The type of rule. | | |
10 changes: 10 additions & 0 deletions
10
sync-for-commerce/docs/models/webhooks/syncconnectiondeletedresponse.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# SyncConnectionDeletedResponse | ||
|
||
|
||
## Fields | ||
|
||
| Field | Type | Required | Description | | ||
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | | ||
| `content_type` | *str* | :heavy_check_mark: | N/A | | ||
| `status_code` | *int* | :heavy_check_mark: | N/A | | ||
| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# advanced_controls | ||
# AdvancedControls | ||
|
||
## Overview | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# connections | ||
# Connections | ||
|
||
## Overview | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# integrations | ||
# Integrations | ||
|
||
## Overview | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# sync | ||
# Sync | ||
|
||
## Overview | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# sync_flow_settings | ||
# SyncFlowSettings | ||
|
||
## Overview | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
sync-for-commerce/src/codatsynccommerce/models/shared/syncconnectiondeletedwebhook.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" | ||
|
||
from __future__ import annotations | ||
import dataclasses | ||
from codatsynccommerce import utils | ||
from dataclasses_json import Undefined, dataclass_json | ||
from typing import Optional | ||
|
||
|
||
@dataclass_json(undefined=Undefined.EXCLUDE) | ||
|
||
@dataclasses.dataclass | ||
class SyncConnectionDeletedWebhook: | ||
r"""A Sync for Commerce connection is deleted.""" | ||
alert_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('AlertId'), 'exclude': lambda f: f is None }}) | ||
r"""Unique identifier of the webhook event.""" | ||
client_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('ClientId'), 'exclude': lambda f: f is None }}) | ||
r"""Unique identifier for your client in Codat.""" | ||
client_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('ClientName'), 'exclude': lambda f: f is None }}) | ||
r"""Name of your client in Codat.""" | ||
company_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('CompanyId'), 'exclude': lambda f: f is None }}) | ||
r"""Unique identifier for your SMB in Codat.""" | ||
message: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('Message'), 'exclude': lambda f: f is None }}) | ||
r"""A human readable message about the webhook.""" | ||
rule_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('RuleId'), 'exclude': lambda f: f is None }}) | ||
r"""Unique identifier for the rule.""" | ||
rule_type: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('RuleType'), 'exclude': lambda f: f is None }}) | ||
r"""The type of rule.""" | ||
|
||
|
5 changes: 5 additions & 0 deletions
5
sync-for-commerce/src/codatsynccommerce/models/webhooks/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" | ||
|
||
from .sync_connection_deleted import * | ||
|
||
__all__ = ["SyncConnectionDeletedResponse"] |
16 changes: 16 additions & 0 deletions
16
sync-for-commerce/src/codatsynccommerce/models/webhooks/sync_connection_deleted.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" | ||
|
||
from __future__ import annotations | ||
import dataclasses | ||
import requests as requests_http | ||
from typing import Optional | ||
|
||
|
||
|
||
@dataclasses.dataclass | ||
class SyncConnectionDeletedResponse: | ||
content_type: str = dataclasses.field() | ||
status_code: int = dataclasses.field() | ||
raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters