@codat/lending 1.1.0 → 1.2.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 CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  Lending helps you make smarter credit decisions on small businesses by enabling you to pull your customers' latest data from the operating systems they are already using. You can use that data for automating decisioning and surfacing new insights on the customer, all via one API.
4
4
 
5
+ <!-- Start SDK Installation -->
5
6
  ## SDK Installation
6
7
 
7
8
  ### NPM
@@ -14,11 +15,11 @@ npm add @codat/lending
14
15
 
15
16
  ```bash
16
17
  yarn add @codat/lending
17
- ```<!-- Start SDK Installation -->
18
-
18
+ ```
19
19
  <!-- End SDK Installation -->
20
20
 
21
21
  ## Example Usage
22
+ <!-- Start SDK Example Usage -->
22
23
 
23
24
 
24
25
  ```typescript
@@ -44,10 +45,10 @@ sdk.accountingBankData.listTransactions({
44
45
  // handle response
45
46
  }
46
47
  });
47
- ```<!-- Start SDK Example Usage -->
48
-
48
+ ```
49
49
  <!-- End SDK Example Usage -->
50
50
 
51
+ <!-- Start SDK Available Operations -->
51
52
  ## Available Resources and Operations
52
53
 
53
54
 
@@ -182,7 +183,7 @@ sdk.accountingBankData.listTransactions({
182
183
 
183
184
  * [list](docs/sdks/bankingaccountbalances/README.md#list) - List account balances
184
185
 
185
- ### [bankingAccounts](docs/sdks/bankingaccounts/README.md)
186
+ ### [Banking.Accounts](docs/sdks/bankingaccounts/README.md)
186
187
 
187
188
  * [get](docs/sdks/bankingaccounts/README.md#get) - Get account
188
189
  * [list](docs/sdks/bankingaccounts/README.md#list) - List accounts
@@ -196,7 +197,7 @@ sdk.accountingBankData.listTransactions({
196
197
  * [get](docs/sdks/bankingtransactioncategories/README.md#get) - Get transaction category
197
198
  * [list](docs/sdks/bankingtransactioncategories/README.md#list) - List transaction categories
198
199
 
199
- ### [bankingTransactions](docs/sdks/bankingtransactions/README.md)
200
+ ### [Banking.Transactions](docs/sdks/bankingtransactions/README.md)
200
201
 
201
202
  * [get](docs/sdks/bankingtransactions/README.md#get) - Get bank transaction
202
203
  * [list](docs/sdks/bankingtransactions/README.md#list) - List transactions
@@ -236,28 +237,28 @@ sdk.accountingBankData.listTransactions({
236
237
  * [dataType](docs/sdks/managedatarefresh/README.md#datatype) - Refresh data type
237
238
 
238
239
 
239
- ### [salesCustomers](docs/sdks/salescustomers/README.md)
240
+ ### [Sales.Customers](docs/sdks/salescustomers/README.md)
240
241
 
241
242
  * [get](docs/sdks/salescustomers/README.md#get) - Get customer
242
243
  * [list](docs/sdks/salescustomers/README.md#list) - List customers
243
244
 
244
- ### [salesDisputes](docs/sdks/salesdisputes/README.md)
245
+ ### [Sales.Disputes](docs/sdks/salesdisputes/README.md)
245
246
 
246
247
  * [get](docs/sdks/salesdisputes/README.md#get) - Get dispute
247
248
  * [list](docs/sdks/salesdisputes/README.md#list) - List disputes
248
249
 
249
- ### [salesLocations](docs/sdks/saleslocations/README.md)
250
+ ### [Sales.Locations](docs/sdks/saleslocations/README.md)
250
251
 
251
252
  * [get](docs/sdks/saleslocations/README.md#get) - Get location
252
253
  * [list](docs/sdks/saleslocations/README.md#list) - List locations
253
254
 
254
- ### [salesMetrics](docs/sdks/salesmetrics/README.md)
255
+ ### [Sales.Metrics](docs/sdks/salesmetrics/README.md)
255
256
 
256
257
  * [getCustomerRetention](docs/sdks/salesmetrics/README.md#getcustomerretention) - Get customer retention metrics
257
258
  * [getLifetimeValue](docs/sdks/salesmetrics/README.md#getlifetimevalue) - Get lifetime value metrics
258
259
  * [getRevenue](docs/sdks/salesmetrics/README.md#getrevenue) - Get commerce revenue metrics
259
260
 
260
- ### [salesOrders](docs/sdks/salesorders/README.md)
261
+ ### [Sales.Orders](docs/sdks/salesorders/README.md)
261
262
 
262
263
  * [get](docs/sdks/salesorders/README.md#get) - Get order
263
264
  * [list](docs/sdks/salesorders/README.md#list) - List orders
@@ -267,7 +268,7 @@ sdk.accountingBankData.listTransactions({
267
268
  * [get](docs/sdks/salespaymentmethods/README.md#get) - Get payment method
268
269
  * [list](docs/sdks/salespaymentmethods/README.md#list) - List payment methods
269
270
 
270
- ### [salesPayments](docs/sdks/salespayments/README.md)
271
+ ### [Sales.Payments](docs/sdks/salespayments/README.md)
271
272
 
272
273
  * [get](docs/sdks/salespayments/README.md#get) - Get payment
273
274
  * [list](docs/sdks/salespayments/README.md#list) - List payments
@@ -277,17 +278,17 @@ sdk.accountingBankData.listTransactions({
277
278
  * [get](docs/sdks/salesproductcategories/README.md#get) - Get product category
278
279
  * [list](docs/sdks/salesproductcategories/README.md#list) - List product categories
279
280
 
280
- ### [salesProducts](docs/sdks/salesproducts/README.md)
281
+ ### [Sales.Products](docs/sdks/salesproducts/README.md)
281
282
 
282
283
  * [get](docs/sdks/salesproducts/README.md#get) - Get product
283
284
  * [list](docs/sdks/salesproducts/README.md#list) - List products
284
285
 
285
- ### [salesReports](docs/sdks/salesreports/README.md)
286
+ ### [Sales.Reports](docs/sdks/salesreports/README.md)
286
287
 
287
288
  * [getOrders](docs/sdks/salesreports/README.md#getorders) - Get orders report
288
289
  * [getRefunds](docs/sdks/salesreports/README.md#getrefunds) - Get refunds report
289
290
 
290
- ### [salesTransactions](docs/sdks/salestransactions/README.md)
291
+ ### [Sales.Transactions](docs/sdks/salestransactions/README.md)
291
292
 
292
293
  * [get](docs/sdks/salestransactions/README.md#get) - Get transaction
293
294
  * [list](docs/sdks/salestransactions/README.md#list) - List transactions
@@ -311,15 +312,14 @@ sdk.accountingBankData.listTransactions({
311
312
  * [get](docs/sdks/transactionsjournalentries/README.md#get) - Get journal entry
312
313
  * [list](docs/sdks/transactionsjournalentries/README.md#list) - List journal entries
313
314
 
314
- ### [transactionsJournals](docs/sdks/transactionsjournals/README.md)
315
+ ### [Transactions.Journals](docs/sdks/transactionsjournals/README.md)
315
316
 
316
317
  * [get](docs/sdks/transactionsjournals/README.md#get) - Get journal
317
318
  * [list](docs/sdks/transactionsjournals/README.md#list) - List journals
318
319
 
319
- ### [transactionsTransfers](docs/sdks/transactionstransfers/README.md)
320
+ ### [Transactions.Transfers](docs/sdks/transactionstransfers/README.md)
320
321
 
321
322
  * [get](docs/sdks/transactionstransfers/README.md#get) - Get transfer
322
- * [list](docs/sdks/transactionstransfers/README.md#list) - List transfers<!-- Start SDK Available Operations -->
323
-
323
+ * [list](docs/sdks/transactionstransfers/README.md#list) - List transfers
324
324
  <!-- End SDK Available Operations -->
325
325
  ### Library generated by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks)
@@ -7,7 +7,7 @@ import { AxiosRequestConfig } from "axios";
7
7
  * Access bank transactions from an accounting platform.
8
8
  */
9
9
  export declare class AccountingBankData {
10
- accountingBankDataAccounts: AccountingBankDataAccounts;
10
+ accounts: AccountingBankDataAccounts;
11
11
  private sdkConfiguration;
12
12
  constructor(sdkConfig: SDKConfiguration);
13
13
  /**
@@ -85,7 +85,7 @@ var shared = __importStar(require("./models/shared"));
85
85
  var AccountingBankData = /** @class */ (function () {
86
86
  function AccountingBankData(sdkConfig) {
87
87
  this.sdkConfiguration = sdkConfig;
88
- this.accountingBankDataAccounts = new accountingbankdataaccounts_1.AccountingBankDataAccounts(this.sdkConfiguration);
88
+ this.accounts = new accountingbankdataaccounts_1.AccountingBankDataAccounts(this.sdkConfiguration);
89
89
  }
90
90
  /**
91
91
  * List bank account transactions
@@ -14,10 +14,10 @@ export declare enum DownloadBillAttachmentAcceptEnum {
14
14
  applicationOctetStream = "application/octet-stream"
15
15
  }
16
16
  export declare class AccountsPayable {
17
- accountsPayableBillCreditNotes: AccountsPayableBillCreditNotes;
18
- accountsPayableBillPayments: AccountsPayableBillPayments;
19
- accountsPayableBills: AccountsPayableBills;
20
- accountsPayableSuppliers: AccountsPayableSuppliers;
17
+ billCreditNotes: AccountsPayableBillCreditNotes;
18
+ billPayments: AccountsPayableBillPayments;
19
+ bills: AccountsPayableBills;
20
+ suppliers: AccountsPayableSuppliers;
21
21
  private sdkConfiguration;
22
22
  constructor(sdkConfig: SDKConfiguration);
23
23
  /**
@@ -93,10 +93,10 @@ var DownloadBillAttachmentAcceptEnum;
93
93
  var AccountsPayable = /** @class */ (function () {
94
94
  function AccountsPayable(sdkConfig) {
95
95
  this.sdkConfiguration = sdkConfig;
96
- this.accountsPayableBillCreditNotes = new accountspayablebillcreditnotes_1.AccountsPayableBillCreditNotes(this.sdkConfiguration);
97
- this.accountsPayableBillPayments = new accountspayablebillpayments_1.AccountsPayableBillPayments(this.sdkConfiguration);
98
- this.accountsPayableBills = new accountspayablebills_1.AccountsPayableBills(this.sdkConfiguration);
99
- this.accountsPayableSuppliers = new accountspayablesuppliers_1.AccountsPayableSuppliers(this.sdkConfiguration);
96
+ this.billCreditNotes = new accountspayablebillcreditnotes_1.AccountsPayableBillCreditNotes(this.sdkConfiguration);
97
+ this.billPayments = new accountspayablebillpayments_1.AccountsPayableBillPayments(this.sdkConfiguration);
98
+ this.bills = new accountspayablebills_1.AccountsPayableBills(this.sdkConfiguration);
99
+ this.suppliers = new accountspayablesuppliers_1.AccountsPayableSuppliers(this.sdkConfiguration);
100
100
  }
101
101
  /**
102
102
  * Download bill attachment
@@ -6,12 +6,12 @@ import { AccountsReceivablePayments } from "./accountsreceivablepayments";
6
6
  import { AccountsReceivableReports } from "./accountsreceivablereports";
7
7
  import { SDKConfiguration } from "./sdk";
8
8
  export declare class AccountsReceivable {
9
- accountsReceivableCreditNotes: AccountsReceivableCreditNotes;
10
- accountsReceivableCustomers: AccountsReceivableCustomers;
11
- accountsReceivableDirectIncomes: AccountsReceivableDirectIncomes;
12
- accountsReceivableInvoices: AccountsReceivableInvoices;
13
- accountsReceivablePayments: AccountsReceivablePayments;
14
- accountsReceivableReports: AccountsReceivableReports;
9
+ creditNotes: AccountsReceivableCreditNotes;
10
+ customers: AccountsReceivableCustomers;
11
+ directIncomes: AccountsReceivableDirectIncomes;
12
+ invoices: AccountsReceivableInvoices;
13
+ payments: AccountsReceivablePayments;
14
+ reports: AccountsReceivableReports;
15
15
  private sdkConfiguration;
16
16
  constructor(sdkConfig: SDKConfiguration);
17
17
  }
@@ -13,12 +13,12 @@ var accountsreceivablereports_1 = require("./accountsreceivablereports");
13
13
  var AccountsReceivable = /** @class */ (function () {
14
14
  function AccountsReceivable(sdkConfig) {
15
15
  this.sdkConfiguration = sdkConfig;
16
- this.accountsReceivableCreditNotes = new accountsreceivablecreditnotes_1.AccountsReceivableCreditNotes(this.sdkConfiguration);
17
- this.accountsReceivableCustomers = new accountsreceivablecustomers_1.AccountsReceivableCustomers(this.sdkConfiguration);
18
- this.accountsReceivableDirectIncomes = new accountsreceivabledirectincomes_1.AccountsReceivableDirectIncomes(this.sdkConfiguration);
19
- this.accountsReceivableInvoices = new accountsreceivableinvoices_1.AccountsReceivableInvoices(this.sdkConfiguration);
20
- this.accountsReceivablePayments = new accountsreceivablepayments_1.AccountsReceivablePayments(this.sdkConfiguration);
21
- this.accountsReceivableReports = new accountsreceivablereports_1.AccountsReceivableReports(this.sdkConfiguration);
16
+ this.creditNotes = new accountsreceivablecreditnotes_1.AccountsReceivableCreditNotes(this.sdkConfiguration);
17
+ this.customers = new accountsreceivablecustomers_1.AccountsReceivableCustomers(this.sdkConfiguration);
18
+ this.directIncomes = new accountsreceivabledirectincomes_1.AccountsReceivableDirectIncomes(this.sdkConfiguration);
19
+ this.invoices = new accountsreceivableinvoices_1.AccountsReceivableInvoices(this.sdkConfiguration);
20
+ this.payments = new accountsreceivablepayments_1.AccountsReceivablePayments(this.sdkConfiguration);
21
+ this.reports = new accountsreceivablereports_1.AccountsReceivableReports(this.sdkConfiguration);
22
22
  }
23
23
  return AccountsReceivable;
24
24
  }());
@@ -5,11 +5,11 @@ import { BankingTransactionCategories } from "./bankingtransactioncategories";
5
5
  import { BankingTransactions } from "./bankingtransactions";
6
6
  import { SDKConfiguration } from "./sdk";
7
7
  export declare class Banking {
8
- bankingAccountBalances: BankingAccountBalances;
9
- bankingAccounts: BankingAccounts;
10
- bankingCategorizedStatement: BankingCategorizedStatement;
11
- bankingTransactionCategories: BankingTransactionCategories;
12
- bankingTransactions: BankingTransactions;
8
+ accountBalances: BankingAccountBalances;
9
+ accounts: BankingAccounts;
10
+ categorizedStatement: BankingCategorizedStatement;
11
+ transactionCategories: BankingTransactionCategories;
12
+ transactions: BankingTransactions;
13
13
  private sdkConfiguration;
14
14
  constructor(sdkConfig: SDKConfiguration);
15
15
  }
@@ -12,11 +12,11 @@ var bankingtransactions_1 = require("./bankingtransactions");
12
12
  var Banking = /** @class */ (function () {
13
13
  function Banking(sdkConfig) {
14
14
  this.sdkConfiguration = sdkConfig;
15
- this.bankingAccountBalances = new bankingaccountbalances_1.BankingAccountBalances(this.sdkConfiguration);
16
- this.bankingAccounts = new bankingaccounts_1.BankingAccounts(this.sdkConfiguration);
17
- this.bankingCategorizedStatement = new bankingcategorizedstatement_1.BankingCategorizedStatement(this.sdkConfiguration);
18
- this.bankingTransactionCategories = new bankingtransactioncategories_1.BankingTransactionCategories(this.sdkConfiguration);
19
- this.bankingTransactions = new bankingtransactions_1.BankingTransactions(this.sdkConfiguration);
15
+ this.accountBalances = new bankingaccountbalances_1.BankingAccountBalances(this.sdkConfiguration);
16
+ this.accounts = new bankingaccounts_1.BankingAccounts(this.sdkConfiguration);
17
+ this.categorizedStatement = new bankingcategorizedstatement_1.BankingCategorizedStatement(this.sdkConfiguration);
18
+ this.transactionCategories = new bankingtransactioncategories_1.BankingTransactionCategories(this.sdkConfiguration);
19
+ this.transactions = new bankingtransactions_1.BankingTransactions(this.sdkConfiguration);
20
20
  }
21
21
  return Banking;
22
22
  }());
@@ -4,10 +4,10 @@ import { FinancialStatementsCashFlow } from "./financialstatementscashflow";
4
4
  import { FinancialStatementsProfitAndLoss } from "./financialstatementsprofitandloss";
5
5
  import { SDKConfiguration } from "./sdk";
6
6
  export declare class FinancialStatements {
7
- financialStatementsAccounts: FinancialStatementsAccounts;
8
- financialStatementsBalanceSheet: FinancialStatementsBalanceSheet;
9
- financialStatementsCashFlow: FinancialStatementsCashFlow;
10
- financialStatementsProfitAndLoss: FinancialStatementsProfitAndLoss;
7
+ accounts: FinancialStatementsAccounts;
8
+ balanceSheet: FinancialStatementsBalanceSheet;
9
+ cashFlow: FinancialStatementsCashFlow;
10
+ profitAndLoss: FinancialStatementsProfitAndLoss;
11
11
  private sdkConfiguration;
12
12
  constructor(sdkConfig: SDKConfiguration);
13
13
  }
@@ -11,10 +11,10 @@ var financialstatementsprofitandloss_1 = require("./financialstatementsprofitand
11
11
  var FinancialStatements = /** @class */ (function () {
12
12
  function FinancialStatements(sdkConfig) {
13
13
  this.sdkConfiguration = sdkConfig;
14
- this.financialStatementsAccounts = new financialstatementsaccounts_1.FinancialStatementsAccounts(this.sdkConfiguration);
15
- this.financialStatementsBalanceSheet = new financialstatementsbalancesheet_1.FinancialStatementsBalanceSheet(this.sdkConfiguration);
16
- this.financialStatementsCashFlow = new financialstatementscashflow_1.FinancialStatementsCashFlow(this.sdkConfiguration);
17
- this.financialStatementsProfitAndLoss = new financialstatementsprofitandloss_1.FinancialStatementsProfitAndLoss(this.sdkConfiguration);
14
+ this.accounts = new financialstatementsaccounts_1.FinancialStatementsAccounts(this.sdkConfiguration);
15
+ this.balanceSheet = new financialstatementsbalancesheet_1.FinancialStatementsBalanceSheet(this.sdkConfiguration);
16
+ this.cashFlow = new financialstatementscashflow_1.FinancialStatementsCashFlow(this.sdkConfiguration);
17
+ this.profitAndLoss = new financialstatementsprofitandloss_1.FinancialStatementsProfitAndLoss(this.sdkConfiguration);
18
18
  }
19
19
  return FinancialStatements;
20
20
  }());
@@ -5,8 +5,8 @@ import * as operations from "./models/operations";
5
5
  import { SDKConfiguration } from "./sdk";
6
6
  import { AxiosRequestConfig } from "axios";
7
7
  export declare class ManageData {
8
- manageDataPullOperations: ManageDataPullOperations;
9
- manageDataRefresh: ManageDataRefresh;
8
+ pullOperations: ManageDataPullOperations;
9
+ refresh: ManageDataRefresh;
10
10
  private sdkConfiguration;
11
11
  constructor(sdkConfig: SDKConfiguration);
12
12
  /**
@@ -83,8 +83,8 @@ var shared = __importStar(require("./models/shared"));
83
83
  var ManageData = /** @class */ (function () {
84
84
  function ManageData(sdkConfig) {
85
85
  this.sdkConfiguration = sdkConfig;
86
- this.manageDataPullOperations = new managedatapulloperations_1.ManageDataPullOperations(this.sdkConfiguration);
87
- this.manageDataRefresh = new managedatarefresh_1.ManageDataRefresh(this.sdkConfiguration);
86
+ this.pullOperations = new managedatapulloperations_1.ManageDataPullOperations(this.sdkConfiguration);
87
+ this.refresh = new managedatarefresh_1.ManageDataRefresh(this.sdkConfiguration);
88
88
  }
89
89
  /**
90
90
  * Get data status
@@ -11,17 +11,17 @@ import { SalesReports } from "./salesreports";
11
11
  import { SalesTransactions } from "./salestransactions";
12
12
  import { SDKConfiguration } from "./sdk";
13
13
  export declare class Sales {
14
- salesCustomers: SalesCustomers;
15
- salesDisputes: SalesDisputes;
16
- salesLocations: SalesLocations;
17
- salesMetrics: SalesMetrics;
18
- salesOrders: SalesOrders;
19
- salesPaymentMethods: SalesPaymentMethods;
20
- salesPayments: SalesPayments;
21
- salesProductCategories: SalesProductCategories;
22
- salesProducts: SalesProducts;
23
- salesReports: SalesReports;
24
- salesTransactions: SalesTransactions;
14
+ customers: SalesCustomers;
15
+ disputes: SalesDisputes;
16
+ locations: SalesLocations;
17
+ metrics: SalesMetrics;
18
+ orders: SalesOrders;
19
+ paymentMethods: SalesPaymentMethods;
20
+ payments: SalesPayments;
21
+ productCategories: SalesProductCategories;
22
+ products: SalesProducts;
23
+ reports: SalesReports;
24
+ transactions: SalesTransactions;
25
25
  private sdkConfiguration;
26
26
  constructor(sdkConfig: SDKConfiguration);
27
27
  }
package/dist/sdk/sales.js CHANGED
@@ -18,17 +18,17 @@ var salestransactions_1 = require("./salestransactions");
18
18
  var Sales = /** @class */ (function () {
19
19
  function Sales(sdkConfig) {
20
20
  this.sdkConfiguration = sdkConfig;
21
- this.salesCustomers = new salescustomers_1.SalesCustomers(this.sdkConfiguration);
22
- this.salesDisputes = new salesdisputes_1.SalesDisputes(this.sdkConfiguration);
23
- this.salesLocations = new saleslocations_1.SalesLocations(this.sdkConfiguration);
24
- this.salesMetrics = new salesmetrics_1.SalesMetrics(this.sdkConfiguration);
25
- this.salesOrders = new salesorders_1.SalesOrders(this.sdkConfiguration);
26
- this.salesPaymentMethods = new salespaymentmethods_1.SalesPaymentMethods(this.sdkConfiguration);
27
- this.salesPayments = new salespayments_1.SalesPayments(this.sdkConfiguration);
28
- this.salesProductCategories = new salesproductcategories_1.SalesProductCategories(this.sdkConfiguration);
29
- this.salesProducts = new salesproducts_1.SalesProducts(this.sdkConfiguration);
30
- this.salesReports = new salesreports_1.SalesReports(this.sdkConfiguration);
31
- this.salesTransactions = new salestransactions_1.SalesTransactions(this.sdkConfiguration);
21
+ this.customers = new salescustomers_1.SalesCustomers(this.sdkConfiguration);
22
+ this.disputes = new salesdisputes_1.SalesDisputes(this.sdkConfiguration);
23
+ this.locations = new saleslocations_1.SalesLocations(this.sdkConfiguration);
24
+ this.metrics = new salesmetrics_1.SalesMetrics(this.sdkConfiguration);
25
+ this.orders = new salesorders_1.SalesOrders(this.sdkConfiguration);
26
+ this.paymentMethods = new salespaymentmethods_1.SalesPaymentMethods(this.sdkConfiguration);
27
+ this.payments = new salespayments_1.SalesPayments(this.sdkConfiguration);
28
+ this.productCategories = new salesproductcategories_1.SalesProductCategories(this.sdkConfiguration);
29
+ this.products = new salesproducts_1.SalesProducts(this.sdkConfiguration);
30
+ this.reports = new salesreports_1.SalesReports(this.sdkConfiguration);
31
+ this.transactions = new salestransactions_1.SalesTransactions(this.sdkConfiguration);
32
32
  }
33
33
  return Sales;
34
34
  }());
package/dist/sdk/sdk.js CHANGED
@@ -36,8 +36,8 @@ var SDKConfiguration = /** @class */ (function () {
36
36
  function SDKConfiguration(init) {
37
37
  this.language = "typescript";
38
38
  this.openapiDocVersion = "3.0.0";
39
- this.sdkVersion = "1.1.0";
40
- this.genVersion = "2.109.1";
39
+ this.sdkVersion = "1.2.0";
40
+ this.genVersion = "2.109.3";
41
41
  Object.assign(this, init);
42
42
  }
43
43
  return SDKConfiguration;
@@ -5,11 +5,11 @@ import { TransactionsJournalEntries } from "./transactionsjournalentries";
5
5
  import { TransactionsJournals } from "./transactionsjournals";
6
6
  import { TransactionsTransfers } from "./transactionstransfers";
7
7
  export declare class Transactions {
8
- transactionsAccountTransactions: TransactionsAccountTransactions;
9
- transactionsDirectCosts: TransactionsDirectCosts;
10
- transactionsJournalEntries: TransactionsJournalEntries;
11
- transactionsJournals: TransactionsJournals;
12
- transactionsTransfers: TransactionsTransfers;
8
+ accountTransactions: TransactionsAccountTransactions;
9
+ directCosts: TransactionsDirectCosts;
10
+ journalEntries: TransactionsJournalEntries;
11
+ journals: TransactionsJournals;
12
+ transfers: TransactionsTransfers;
13
13
  private sdkConfiguration;
14
14
  constructor(sdkConfig: SDKConfiguration);
15
15
  }
@@ -12,11 +12,11 @@ var transactionstransfers_1 = require("./transactionstransfers");
12
12
  var Transactions = /** @class */ (function () {
13
13
  function Transactions(sdkConfig) {
14
14
  this.sdkConfiguration = sdkConfig;
15
- this.transactionsAccountTransactions = new transactionsaccounttransactions_1.TransactionsAccountTransactions(this.sdkConfiguration);
16
- this.transactionsDirectCosts = new transactionsdirectcosts_1.TransactionsDirectCosts(this.sdkConfiguration);
17
- this.transactionsJournalEntries = new transactionsjournalentries_1.TransactionsJournalEntries(this.sdkConfiguration);
18
- this.transactionsJournals = new transactionsjournals_1.TransactionsJournals(this.sdkConfiguration);
19
- this.transactionsTransfers = new transactionstransfers_1.TransactionsTransfers(this.sdkConfiguration);
15
+ this.accountTransactions = new transactionsaccounttransactions_1.TransactionsAccountTransactions(this.sdkConfiguration);
16
+ this.directCosts = new transactionsdirectcosts_1.TransactionsDirectCosts(this.sdkConfiguration);
17
+ this.journalEntries = new transactionsjournalentries_1.TransactionsJournalEntries(this.sdkConfiguration);
18
+ this.journals = new transactionsjournals_1.TransactionsJournals(this.sdkConfiguration);
19
+ this.transfers = new transactionstransfers_1.TransactionsTransfers(this.sdkConfiguration);
20
20
  }
21
21
  return Transactions;
22
22
  }());
@@ -1,4 +1,4 @@
1
- # bankingAccounts
1
+ # Banking.Accounts
2
2
 
3
3
  ### Available Operations
4
4
 
@@ -28,7 +28,7 @@ const sdk = new CodatLending({
28
28
  },
29
29
  });
30
30
 
31
- sdk.bankingAccounts.get({
31
+ sdk.banking.accounts.get({
32
32
  accountId: "totam",
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.bankingAccounts.list({
77
+ sdk.banking.accounts.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
- # bankingTransactions
1
+ # Banking.Transactions
2
2
 
3
3
  ### Available Operations
4
4
 
@@ -28,7 +28,7 @@ const sdk = new CodatLending({
28
28
  },
29
29
  });
30
30
 
31
- sdk.bankingTransactions.get({
31
+ sdk.banking.transactions.get({
32
32
  companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
33
33
  connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
34
34
  transactionId: "qui",
@@ -74,7 +74,7 @@ const sdk = new CodatLending({
74
74
  },
75
75
  });
76
76
 
77
- sdk.bankingTransactions.list({
77
+ sdk.banking.transactions.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
- # salesCustomers
1
+ # Sales.Customers
2
2
 
3
3
  ### Available Operations
4
4
 
@@ -28,7 +28,7 @@ const sdk = new CodatLending({
28
28
  },
29
29
  });
30
30
 
31
- sdk.salesCustomers.get({
31
+ sdk.sales.customers.get({
32
32
  companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
33
33
  connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
34
34
  customerId: "iure",
@@ -74,7 +74,7 @@ const sdk = new CodatLending({
74
74
  },
75
75
  });
76
76
 
77
- sdk.salesCustomers.list({
77
+ sdk.sales.customers.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
- # salesDisputes
1
+ # Sales.Disputes
2
2
 
3
3
  ### Available Operations
4
4
 
@@ -28,7 +28,7 @@ const sdk = new CodatLending({
28
28
  },
29
29
  });
30
30
 
31
- sdk.salesDisputes.get({
31
+ sdk.sales.disputes.get({
32
32
  companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
33
33
  connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
34
34
  disputeId: "doloribus",
@@ -74,7 +74,7 @@ const sdk = new CodatLending({
74
74
  },
75
75
  });
76
76
 
77
- sdk.salesDisputes.list({
77
+ sdk.sales.disputes.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
- # salesLocations
1
+ # Sales.Locations
2
2
 
3
3
  ### Available Operations
4
4
 
@@ -28,7 +28,7 @@ const sdk = new CodatLending({
28
28
  },
29
29
  });
30
30
 
31
- sdk.salesLocations.get({
31
+ sdk.sales.locations.get({
32
32
  companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
33
33
  connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
34
34
  locationId: "architecto",
@@ -74,7 +74,7 @@ const sdk = new CodatLending({
74
74
  },
75
75
  });
76
76
 
77
- sdk.salesLocations.list({
77
+ sdk.sales.locations.list({
78
78
  companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
79
79
  connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
80
80
  }).then((res: ListCommerceLocationsResponse) => {
@@ -1,4 +1,4 @@
1
- # salesMetrics
1
+ # Sales.Metrics
2
2
 
3
3
  ### Available Operations
4
4
 
@@ -51,7 +51,7 @@ const sdk = new CodatLending({
51
51
  },
52
52
  });
53
53
 
54
- sdk.salesMetrics.getCustomerRetention({
54
+ sdk.sales.metrics.getCustomerRetention({
55
55
  companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
56
56
  connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
57
57
  includeDisplayNames: false,
@@ -119,7 +119,7 @@ const sdk = new CodatLending({
119
119
  },
120
120
  });
121
121
 
122
- sdk.salesMetrics.getLifetimeValue({
122
+ sdk.sales.metrics.getLifetimeValue({
123
123
  companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
124
124
  connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
125
125
  includeDisplayNames: false,
@@ -188,7 +188,7 @@ const sdk = new CodatLending({
188
188
  },
189
189
  });
190
190
 
191
- sdk.salesMetrics.getRevenue({
191
+ sdk.sales.metrics.getRevenue({
192
192
  companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
193
193
  connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
194
194
  includeDisplayNames: false,
@@ -1,4 +1,4 @@
1
- # salesOrders
1
+ # Sales.Orders
2
2
 
3
3
  ### Available Operations
4
4
 
@@ -28,7 +28,7 @@ const sdk = new CodatLending({
28
28
  },
29
29
  });
30
30
 
31
- sdk.salesOrders.get({
31
+ sdk.sales.orders.get({
32
32
  companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
33
33
  connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
34
34
  orderId: "quam",
@@ -74,7 +74,7 @@ const sdk = new CodatLending({
74
74
  },
75
75
  });
76
76
 
77
- sdk.salesOrders.list({
77
+ sdk.sales.orders.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
- # salesPayments
1
+ # Sales.Payments
2
2
 
3
3
  ### Available Operations
4
4
 
@@ -28,7 +28,7 @@ const sdk = new CodatLending({
28
28
  },
29
29
  });
30
30
 
31
- sdk.salesPayments.get({
31
+ sdk.sales.payments.get({
32
32
  companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
33
33
  connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
34
34
  paymentId: "quia",
@@ -74,7 +74,7 @@ const sdk = new CodatLending({
74
74
  },
75
75
  });
76
76
 
77
- sdk.salesPayments.list({
77
+ sdk.sales.payments.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
- # salesProducts
1
+ # Sales.Products
2
2
 
3
3
  ### Available Operations
4
4
 
@@ -28,7 +28,7 @@ const sdk = new CodatLending({
28
28
  },
29
29
  });
30
30
 
31
- sdk.salesProducts.get({
31
+ sdk.sales.products.get({
32
32
  companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
33
33
  connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
34
34
  productId: "animi",
@@ -74,7 +74,7 @@ const sdk = new CodatLending({
74
74
  },
75
75
  });
76
76
 
77
- sdk.salesProducts.list({
77
+ sdk.sales.products.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
- # salesReports
1
+ # Sales.Reports
2
2
 
3
3
  ### Available Operations
4
4
 
@@ -45,7 +45,7 @@ const sdk = new CodatLending({
45
45
  },
46
46
  });
47
47
 
48
- sdk.salesReports.getOrders({
48
+ sdk.sales.reports.getOrders({
49
49
  companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
50
50
  connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
51
51
  includeDisplayNames: false,
@@ -115,7 +115,7 @@ const sdk = new CodatLending({
115
115
  },
116
116
  });
117
117
 
118
- sdk.salesReports.getRefunds({
118
+ sdk.sales.reports.getRefunds({
119
119
  companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
120
120
  connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
121
121
  includeDisplayNames: false,
@@ -1,4 +1,4 @@
1
- # salesTransactions
1
+ # Sales.Transactions
2
2
 
3
3
  ### Available Operations
4
4
 
@@ -28,7 +28,7 @@ const sdk = new CodatLending({
28
28
  },
29
29
  });
30
30
 
31
- sdk.salesTransactions.get({
31
+ sdk.sales.transactions.get({
32
32
  companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
33
33
  connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
34
34
  transactionId: "possimus",
@@ -74,7 +74,7 @@ const sdk = new CodatLending({
74
74
  },
75
75
  });
76
76
 
77
- sdk.salesTransactions.list({
77
+ sdk.sales.transactions.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
- # transactionsJournals
1
+ # Transactions.Journals
2
2
 
3
3
  ### Available Operations
4
4
 
@@ -28,7 +28,7 @@ const sdk = new CodatLending({
28
28
  },
29
29
  });
30
30
 
31
- sdk.transactionsJournals.get({
31
+ sdk.transactions.journals.get({
32
32
  companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
33
33
  journalId: "praesentium",
34
34
  }).then((res: GetAccountingJournalResponse) => {
@@ -73,7 +73,7 @@ const sdk = new CodatLending({
73
73
  },
74
74
  });
75
75
 
76
- sdk.transactionsJournals.list({
76
+ sdk.transactions.journals.list({
77
77
  companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
78
78
  orderBy: "-modifiedDate",
79
79
  page: 1,
@@ -1,4 +1,4 @@
1
- # transactionsTransfers
1
+ # Transactions.Transfers
2
2
 
3
3
  ### Available Operations
4
4
 
@@ -28,7 +28,7 @@ const sdk = new CodatLending({
28
28
  },
29
29
  });
30
30
 
31
- sdk.transactionsTransfers.get({
31
+ sdk.transactions.transfers.get({
32
32
  companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
33
33
  connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
34
34
  transferId: "ipsa",
@@ -74,7 +74,7 @@ const sdk = new CodatLending({
74
74
  },
75
75
  });
76
76
 
77
- sdk.transactionsTransfers.list({
77
+ sdk.transactions.transfers.list({
78
78
  companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
79
79
  connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
80
80
  orderBy: "-modifiedDate",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codat/lending",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "author": "Codat",
5
5
  "scripts": {
6
6
  "prepare": "tsc --build"