Metadata-Version: 2.1
Name: kicksaw-integration-app-client
Version: 1.0.3
Summary: A customized simple-salesforce client for use with the integration app
Home-page: https://github.com/Kicksaw-Consulting/kicksaw-integration-app-client
Keywords: kicksaw,aws,s3,simple salesforce,csv
Author: Alex Drozd
Author-email: alex@kicksaw.com
Requires-Python: >=3.8,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: kicksaw-integration-utils (>=2.0.0,<3.0.0)
Project-URL: Repository, https://github.com/Kicksaw-Consulting/kicksaw-integration-app-client
Description-Content-Type: text/markdown

# Overview

To use Kicksaw's integration app, install [this package](https://login.salesforce.com/packaging/installPackage.apexp?p0=04t4T000001u3CVQAY) in your Salesforce organization.

Once your org is ready to-go, instantiate the `KicksawSalesforce` class and operate like normal, but note:

- You need to pass the AWS Step Function payload to the class when instantiating
- Instantiating the client creates an execution object in Salesforce, unless you pass it the id of an already existing execution object
- All of your bulk operations will have their errors parsed and error objects created in Salesforce if applicable

```python
from kicksaw_integration_app_client import KicksawSalesforce

step_function_payload = {}
salesforce = KicksawSalesforce(connection_object, integration_name, step_function_payload)

salesforce.bulk.Account.upsert()
```

For code examples, please refer to `tests/test_integrations.py`.

