@codat/lending 2.1.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -34
- package/dist/sdk/models/shared/accountcategoriesupdatedwebhook.d.ts +40 -0
- package/dist/sdk/models/shared/accountcategoriesupdatedwebhook.js +90 -0
- package/dist/sdk/models/shared/accountcategoriesupdatedwebhookdata.d.ts +7 -0
- package/dist/sdk/models/shared/accountcategoriesupdatedwebhookdata.js +45 -0
- package/dist/sdk/models/shared/{addressesitems.d.ts → accountingaddress.d.ts} +1 -1
- package/dist/sdk/models/shared/{addressesitems.js → accountingaddress.js} +13 -13
- package/dist/sdk/models/shared/accountingbillcreditnote.d.ts +2 -2
- package/dist/sdk/models/shared/accountingbillcreditnote.js +3 -3
- package/dist/sdk/models/shared/accountingcompanyinfo.d.ts +6 -66
- package/dist/sdk/models/shared/accountingcompanyinfo.js +10 -100
- package/dist/sdk/models/shared/accountingcreditnote.d.ts +2 -2
- package/dist/sdk/models/shared/accountingcreditnote.js +3 -3
- package/dist/sdk/models/shared/accountingcustomer.d.ts +2 -2
- package/dist/sdk/models/shared/accountingcustomer.js +3 -3
- package/dist/sdk/models/shared/accountinginvoice.d.ts +2 -2
- package/dist/sdk/models/shared/accountinginvoice.js +3 -3
- package/dist/sdk/models/shared/accountingsupplier.d.ts +2 -2
- package/dist/sdk/models/shared/accountingsupplier.js +3 -3
- package/dist/sdk/models/shared/clientratelimitreachedwebhook.d.ts +32 -0
- package/dist/sdk/models/shared/clientratelimitreachedwebhook.js +80 -0
- package/dist/sdk/models/shared/clientratelimitreachedwebhookdata.d.ts +31 -0
- package/dist/sdk/models/shared/clientratelimitreachedwebhookdata.js +50 -0
- package/dist/sdk/models/shared/clientratelimitresetwebhook.d.ts +32 -0
- package/dist/sdk/models/shared/clientratelimitresetwebhook.js +80 -0
- package/dist/sdk/models/shared/clientratelimitresetwebhookdata.d.ts +39 -0
- package/dist/sdk/models/shared/clientratelimitresetwebhookdata.js +60 -0
- package/dist/sdk/models/shared/commercecompanyinfo.d.ts +4 -4
- package/dist/sdk/models/shared/commercecompanyinfo.js +6 -6
- package/dist/sdk/models/shared/contact.d.ts +4 -4
- package/dist/sdk/models/shared/contact.js +6 -6
- package/dist/sdk/models/shared/index.d.ts +9 -3
- package/dist/sdk/models/shared/index.js +9 -3
- package/dist/sdk/models/shared/items.d.ts +2 -9
- package/dist/sdk/models/shared/items.js +5 -6
- package/dist/sdk/models/shared/phonenumber.d.ts +12 -0
- package/dist/sdk/models/shared/{withholdingtaxitems.js → phonenumber.js} +12 -11
- package/dist/sdk/models/shared/{weblinksitems.d.ts → weblink.d.ts} +3 -3
- package/dist/sdk/models/shared/{weblinksitems.js → weblink.js} +14 -14
- package/dist/sdk/models/webhooks/accountcategoriesupdated.d.ts +7 -0
- package/dist/sdk/models/webhooks/accountcategoriesupdated.js +51 -0
- package/dist/sdk/models/webhooks/clientratelimitreached.d.ts +7 -0
- package/dist/sdk/models/webhooks/clientratelimitreached.js +51 -0
- package/dist/sdk/models/webhooks/clientratelimitreset.d.ts +7 -0
- package/dist/sdk/models/webhooks/clientratelimitreset.js +51 -0
- package/dist/sdk/models/webhooks/index.d.ts +3 -0
- package/dist/sdk/models/webhooks/index.js +22 -0
- package/dist/sdk/sdk.js +2 -2
- package/docs/models/shared/accountcategoriesupdatedwebhook.md +18 -0
- package/docs/models/shared/accountcategoriesupdatedwebhookdata.md +8 -0
- package/docs/models/shared/{addressesitems.md → accountingaddress.md} +1 -1
- package/docs/models/shared/accountingbillcreditnote.md +1 -1
- package/docs/models/shared/accountingcompanyinfo.md +3 -3
- package/docs/models/shared/accountingcreditnote.md +1 -1
- package/docs/models/shared/accountingcustomer.md +1 -1
- package/docs/models/shared/accountinginvoice.md +1 -1
- package/docs/models/shared/accountingsupplier.md +1 -1
- package/docs/models/shared/clientratelimitreachedwebhook.md +16 -0
- package/docs/models/shared/clientratelimitreachedwebhookdata.md +9 -0
- package/docs/models/shared/clientratelimitresetwebhook.md +16 -0
- package/docs/models/shared/clientratelimitresetwebhookdata.md +11 -0
- package/docs/models/shared/commercecompanyinfo.md +2 -2
- package/docs/models/shared/contact.md +2 -2
- package/docs/models/shared/items.md +4 -4
- package/docs/models/shared/{accountingcompanyinfophone.md → phonenumber.md} +1 -1
- package/docs/models/shared/weblink.md +11 -0
- package/docs/models/shared/{itemstype.md → weblinktype.md} +1 -1
- package/docs/models/webhooks/accountcategoriesupdatedresponse.md +10 -0
- package/docs/models/webhooks/clientratelimitreachedresponse.md +10 -0
- package/docs/models/webhooks/clientratelimitresetresponse.md +10 -0
- package/docs/sdks/accountingbankdata/README.md +1 -1
- package/docs/sdks/accountingbankdataaccounts/README.md +3 -3
- package/docs/sdks/accountspayable/README.md +1 -1
- package/docs/sdks/accountspayablebillcreditnotes/README.md +3 -3
- package/docs/sdks/accountspayablebillpayments/README.md +3 -3
- package/docs/sdks/accountspayablebills/README.md +6 -6
- package/docs/sdks/accountspayablesuppliers/README.md +6 -6
- package/docs/sdks/accountsreceivable/README.md +1 -1
- package/docs/sdks/accountsreceivablecreditnotes/README.md +3 -3
- package/docs/sdks/accountsreceivablecustomers/README.md +6 -6
- package/docs/sdks/accountsreceivabledirectincomes/README.md +6 -6
- package/docs/sdks/accountsreceivableinvoices/README.md +8 -8
- package/docs/sdks/accountsreceivablepayments/README.md +3 -3
- package/docs/sdks/accountsreceivablereports/README.md +5 -5
- package/docs/sdks/banking/README.md +1 -1
- package/docs/sdks/bankingaccountbalances/README.md +2 -2
- package/docs/sdks/bankingcategorizedstatement/README.md +2 -2
- package/docs/sdks/bankingtransactioncategories/README.md +3 -3
- package/docs/sdks/companies/README.md +1 -1
- package/docs/sdks/companyinfo/README.md +1 -1
- package/docs/sdks/connections/README.md +1 -1
- package/docs/sdks/dataintegrity/README.md +1 -1
- package/docs/sdks/excelreports/README.md +1 -1
- package/docs/sdks/fileupload/README.md +1 -1
- package/docs/sdks/financialstatements/README.md +1 -1
- package/docs/sdks/financialstatementsaccounts/README.md +3 -3
- package/docs/sdks/financialstatementsbalancesheet/README.md +3 -3
- package/docs/sdks/financialstatementscashflow/README.md +2 -2
- package/docs/sdks/financialstatementsprofitandloss/README.md +3 -3
- package/docs/sdks/liabilities/README.md +1 -1
- package/docs/sdks/managedata/README.md +1 -1
- package/docs/sdks/managedatapulloperations/README.md +3 -3
- package/docs/sdks/managedatarefresh/README.md +3 -3
- package/docs/sdks/sales/README.md +1 -1
- package/docs/sdks/salespaymentmethods/README.md +3 -3
- package/docs/sdks/salesproductcategories/README.md +3 -3
- package/docs/sdks/transactions/README.md +1 -1
- package/docs/sdks/transactionsaccounttransactions/README.md +3 -3
- package/docs/sdks/transactionsdirectcosts/README.md +6 -6
- package/docs/sdks/transactionsjournalentries/README.md +3 -3
- package/package.json +1 -1
- package/dist/sdk/models/shared/withholdingtaxitems.d.ts +0 -5
- package/docs/models/shared/accountingcompanyinfoaccountingaddress.md +0 -14
- package/docs/models/shared/accountingcompanyinfoweblink.md +0 -11
- package/docs/models/shared/accountingcompanyinfoweblinktype.md +0 -12
- package/docs/models/shared/weblinksitems.md +0 -11
- package/docs/models/shared/withholdingtaxitems.md +0 -9
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# ManageData.PullOperations
|
|
2
2
|
|
|
3
3
|
### Available Operations
|
|
4
4
|
|
|
@@ -21,7 +21,7 @@ const sdk = new CodatLending({
|
|
|
21
21
|
},
|
|
22
22
|
});
|
|
23
23
|
|
|
24
|
-
sdk.
|
|
24
|
+
sdk.manageData.pullOperations.get({
|
|
25
25
|
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
26
26
|
datasetId: "eaed9f0f-e77b-4bc9-a58f-ab8b4b99ab18",
|
|
27
27
|
}).then((res: GetPullOperationResponse) => {
|
|
@@ -61,7 +61,7 @@ const sdk = new CodatLending({
|
|
|
61
61
|
},
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
sdk.
|
|
64
|
+
sdk.manageData.pullOperations.list({
|
|
65
65
|
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
66
66
|
orderBy: "-modifiedDate",
|
|
67
67
|
page: 1,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# ManageData.Refresh
|
|
2
2
|
|
|
3
3
|
### Available Operations
|
|
4
4
|
|
|
@@ -25,7 +25,7 @@ const sdk = new CodatLending({
|
|
|
25
25
|
},
|
|
26
26
|
});
|
|
27
27
|
|
|
28
|
-
sdk.
|
|
28
|
+
sdk.manageData.refresh.allDataTypes({
|
|
29
29
|
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
30
30
|
}).then((res: RefreshAllDataTypesResponse) => {
|
|
31
31
|
if (res.statusCode == 200) {
|
|
@@ -67,7 +67,7 @@ const sdk = new CodatLending({
|
|
|
67
67
|
},
|
|
68
68
|
});
|
|
69
69
|
|
|
70
|
-
sdk.
|
|
70
|
+
sdk.manageData.refresh.dataType({
|
|
71
71
|
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
72
72
|
connectionId: "29396fea-7596-4eb1-8faa-a2352c595590",
|
|
73
73
|
dataType: DataType.Invoices,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Sales.PaymentMethods
|
|
2
2
|
|
|
3
3
|
### Available Operations
|
|
4
4
|
|
|
@@ -28,7 +28,7 @@ const sdk = new CodatLending({
|
|
|
28
28
|
},
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
sdk.
|
|
31
|
+
sdk.sales.paymentMethods.get({
|
|
32
32
|
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
33
33
|
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
|
|
34
34
|
paymentMethodId: "velit",
|
|
@@ -74,7 +74,7 @@ const sdk = new CodatLending({
|
|
|
74
74
|
},
|
|
75
75
|
});
|
|
76
76
|
|
|
77
|
-
sdk.
|
|
77
|
+
sdk.sales.paymentMethods.list({
|
|
78
78
|
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
79
79
|
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
|
|
80
80
|
orderBy: "-modifiedDate",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Sales.ProductCategories
|
|
2
2
|
|
|
3
3
|
### Available Operations
|
|
4
4
|
|
|
@@ -28,7 +28,7 @@ const sdk = new CodatLending({
|
|
|
28
28
|
},
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
sdk.
|
|
31
|
+
sdk.sales.productCategories.get({
|
|
32
32
|
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
33
33
|
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
|
|
34
34
|
productId: "vitae",
|
|
@@ -74,7 +74,7 @@ const sdk = new CodatLending({
|
|
|
74
74
|
},
|
|
75
75
|
});
|
|
76
76
|
|
|
77
|
-
sdk.
|
|
77
|
+
sdk.sales.productCategories.list({
|
|
78
78
|
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
79
79
|
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
|
|
80
80
|
orderBy: "-modifiedDate",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Transactions.AccountTransactions
|
|
2
2
|
|
|
3
3
|
### Available Operations
|
|
4
4
|
|
|
@@ -28,7 +28,7 @@ const sdk = new CodatLending({
|
|
|
28
28
|
},
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
sdk.
|
|
31
|
+
sdk.transactions.accountTransactions.get({
|
|
32
32
|
accountTransactionId: "quasi",
|
|
33
33
|
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
34
34
|
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
|
|
@@ -74,7 +74,7 @@ const sdk = new CodatLending({
|
|
|
74
74
|
},
|
|
75
75
|
});
|
|
76
76
|
|
|
77
|
-
sdk.
|
|
77
|
+
sdk.transactions.accountTransactions.list({
|
|
78
78
|
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
79
79
|
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
|
|
80
80
|
orderBy: "-modifiedDate",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Transactions.DirectCosts
|
|
2
2
|
|
|
3
3
|
### Available Operations
|
|
4
4
|
|
|
@@ -29,7 +29,7 @@ const sdk = new CodatLending({
|
|
|
29
29
|
},
|
|
30
30
|
});
|
|
31
31
|
|
|
32
|
-
sdk.
|
|
32
|
+
sdk.transactions.directCosts.downloadAttachment({
|
|
33
33
|
attachmentId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
34
34
|
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
35
35
|
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
|
|
@@ -78,7 +78,7 @@ const sdk = new CodatLending({
|
|
|
78
78
|
},
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
sdk.
|
|
81
|
+
sdk.transactions.directCosts.get({
|
|
82
82
|
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
83
83
|
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
|
|
84
84
|
directCostId: "laborum",
|
|
@@ -124,7 +124,7 @@ const sdk = new CodatLending({
|
|
|
124
124
|
},
|
|
125
125
|
});
|
|
126
126
|
|
|
127
|
-
sdk.
|
|
127
|
+
sdk.transactions.directCosts.getAttachment({
|
|
128
128
|
attachmentId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
129
129
|
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
130
130
|
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
|
|
@@ -171,7 +171,7 @@ const sdk = new CodatLending({
|
|
|
171
171
|
},
|
|
172
172
|
});
|
|
173
173
|
|
|
174
|
-
sdk.
|
|
174
|
+
sdk.transactions.directCosts.list({
|
|
175
175
|
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
176
176
|
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
|
|
177
177
|
orderBy: "-modifiedDate",
|
|
@@ -220,7 +220,7 @@ const sdk = new CodatLending({
|
|
|
220
220
|
},
|
|
221
221
|
});
|
|
222
222
|
|
|
223
|
-
sdk.
|
|
223
|
+
sdk.transactions.directCosts.listAttachments({
|
|
224
224
|
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
225
225
|
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
|
|
226
226
|
directCostId: "voluptatibus",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Transactions.JournalEntries
|
|
2
2
|
|
|
3
3
|
### Available Operations
|
|
4
4
|
|
|
@@ -28,7 +28,7 @@ const sdk = new CodatLending({
|
|
|
28
28
|
},
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
sdk.
|
|
31
|
+
sdk.transactions.journalEntries.get({
|
|
32
32
|
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
33
33
|
journalEntryId: "vero",
|
|
34
34
|
}).then((res: GetAccountingJournalEntryResponse) => {
|
|
@@ -73,7 +73,7 @@ const sdk = new CodatLending({
|
|
|
73
73
|
},
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
sdk.
|
|
76
|
+
sdk.transactions.journalEntries.list({
|
|
77
77
|
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
78
78
|
orderBy: "-modifiedDate",
|
|
79
79
|
page: 1,
|
package/package.json
CHANGED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
# AccountingCompanyInfoAccountingAddress
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Fields
|
|
5
|
-
|
|
6
|
-
| Field | Type | Required | Description |
|
|
7
|
-
| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- |
|
|
8
|
-
| `city` | *string* | :heavy_minus_sign: | City of the customer address. |
|
|
9
|
-
| `country` | *string* | :heavy_minus_sign: | Country of the customer address. |
|
|
10
|
-
| `line1` | *string* | :heavy_minus_sign: | Line 1 of the customer address. |
|
|
11
|
-
| `line2` | *string* | :heavy_minus_sign: | Line 2 of the customer address. |
|
|
12
|
-
| `postalCode` | *string* | :heavy_minus_sign: | Postal code or zip code. |
|
|
13
|
-
| `region` | *string* | :heavy_minus_sign: | Region of the customer address. |
|
|
14
|
-
| `type` | [AccountingAddressType](../../models/shared/accountingaddresstype.md) | :heavy_check_mark: | The type of the address |
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# AccountingCompanyInfoWeblink
|
|
2
|
-
|
|
3
|
-
Weblink associated with the company.
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
## Fields
|
|
7
|
-
|
|
8
|
-
| Field | Type | Required | Description |
|
|
9
|
-
| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- |
|
|
10
|
-
| `type` | [AccountingCompanyInfoWeblinkType](../../models/shared/accountingcompanyinfoweblinktype.md) | :heavy_minus_sign: | The type of the weblink. |
|
|
11
|
-
| `url` | *string* | :heavy_minus_sign: | The full URL for the weblink. |
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# WebLinksitems
|
|
2
|
-
|
|
3
|
-
Weblink associated with the company.
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
## Fields
|
|
7
|
-
|
|
8
|
-
| Field | Type | Required | Description |
|
|
9
|
-
| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- |
|
|
10
|
-
| `type` | [ItemsType](../../models/shared/itemstype.md) | :heavy_minus_sign: | The type of the weblink. |
|
|
11
|
-
| `url` | *string* | :heavy_minus_sign: | The full URL for the weblink. |
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
# WithholdingTaxitems
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Fields
|
|
5
|
-
|
|
6
|
-
| Field | Type | Required | Description |
|
|
7
|
-
| ------------------ | ------------------ | ------------------ | ------------------ |
|
|
8
|
-
| `amount` | *number* | :heavy_check_mark: | N/A |
|
|
9
|
-
| `name` | *string* | :heavy_check_mark: | N/A |
|