@unified-api/typescript-sdk 1.0.36 → 1.0.38

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.
Files changed (65) hide show
  1. package/dist/sdk/accounting.d.ts +24 -24
  2. package/dist/sdk/accounting.js +91 -91
  3. package/dist/sdk/journal.d.ts +31 -0
  4. package/dist/sdk/{transaction.js → journal.js} +44 -44
  5. package/dist/sdk/models/operations/{createaccountingtransaction.d.ts → createaccountingjournal.d.ts} +4 -4
  6. package/dist/sdk/models/operations/{createaccountingtransaction.js → createaccountingjournal.js} +19 -19
  7. package/dist/sdk/models/operations/{getaccountingtransaction.d.ts → getaccountingjournal.d.ts} +4 -4
  8. package/dist/sdk/models/operations/{getaccountingtransaction.js → getaccountingjournal.js} +19 -19
  9. package/dist/sdk/models/operations/getunifiedintegrationauth.d.ts +2 -0
  10. package/dist/sdk/models/operations/getunifiedintegrationauth.js +2 -0
  11. package/dist/sdk/models/operations/index.d.ts +6 -6
  12. package/dist/sdk/models/operations/index.js +6 -6
  13. package/dist/sdk/models/operations/{listaccountingtransactions.d.ts → listaccountingjournals.d.ts} +3 -3
  14. package/dist/sdk/models/operations/{listaccountingtransactions.js → listaccountingjournals.js} +24 -24
  15. package/dist/sdk/models/operations/{patchaccountingtransaction.d.ts → patchaccountingjournal.d.ts} +5 -5
  16. package/dist/sdk/models/operations/{patchaccountingtransaction.js → patchaccountingjournal.js} +20 -20
  17. package/dist/sdk/models/operations/{removeaccountingtransaction.d.ts → removeaccountingjournal.d.ts} +3 -3
  18. package/dist/sdk/models/operations/{removeaccountingtransaction.js → removeaccountingjournal.js} +17 -17
  19. package/dist/sdk/models/operations/{updateaccountingtransaction.d.ts → updateaccountingjournal.d.ts} +5 -5
  20. package/dist/sdk/models/operations/{updateaccountingtransaction.js → updateaccountingjournal.js} +20 -20
  21. package/dist/sdk/models/shared/{accountingtransaction.d.ts → accountingjournal.d.ts} +3 -3
  22. package/dist/sdk/models/shared/{accountingtransaction.js → accountingjournal.js} +19 -19
  23. package/dist/sdk/models/shared/{accountingtransactionlineitem.d.ts → accountingjournallineitem.d.ts} +1 -1
  24. package/dist/sdk/models/shared/{accountingtransactionlineitem.js → accountingjournallineitem.js} +14 -14
  25. package/dist/sdk/models/shared/index.d.ts +2 -2
  26. package/dist/sdk/models/shared/index.js +2 -2
  27. package/dist/sdk/models/shared/propertyconnectionpermissions.d.ts +2 -0
  28. package/dist/sdk/models/shared/propertyconnectionpermissions.js +2 -0
  29. package/dist/sdk/models/shared/propertycrmeventtask.d.ts +6 -0
  30. package/dist/sdk/models/shared/propertycrmeventtask.js +12 -1
  31. package/dist/sdk/models/shared/webhook.d.ts +1 -0
  32. package/dist/sdk/models/shared/webhook.js +1 -0
  33. package/dist/sdk/sdk.d.ts +2 -2
  34. package/dist/sdk/sdk.js +5 -5
  35. package/docs/sdk/models/operations/createaccountingjournalrequest.md +9 -0
  36. package/docs/sdk/models/operations/createaccountingjournalresponse.md +11 -0
  37. package/docs/sdk/models/operations/{getaccountingtransactionrequest.md → getaccountingjournalrequest.md} +2 -2
  38. package/docs/sdk/models/operations/getaccountingjournalresponse.md +11 -0
  39. package/docs/sdk/models/operations/{listaccountingtransactionsrequest.md → listaccountingjournalsrequest.md} +1 -1
  40. package/docs/sdk/models/operations/listaccountingjournalsresponse.md +11 -0
  41. package/docs/sdk/models/operations/patchaccountingjournalrequest.md +10 -0
  42. package/docs/sdk/models/operations/patchaccountingjournalresponse.md +11 -0
  43. package/docs/sdk/models/operations/removeaccountingjournalrequest.md +9 -0
  44. package/docs/sdk/models/operations/{removeaccountingtransactionresponse.md → removeaccountingjournalresponse.md} +1 -1
  45. package/docs/sdk/models/operations/scopes.md +2 -0
  46. package/docs/sdk/models/operations/updateaccountingjournalrequest.md +10 -0
  47. package/docs/sdk/models/operations/updateaccountingjournalresponse.md +11 -0
  48. package/docs/sdk/models/shared/accountingjournal.md +17 -0
  49. package/docs/sdk/models/shared/{accountingtransactionlineitem.md → accountingjournallineitem.md} +1 -1
  50. package/docs/sdk/models/shared/objecttype.md +1 -0
  51. package/docs/sdk/models/shared/priority.md +10 -0
  52. package/docs/sdk/models/shared/propertyconnectionpermissions.md +2 -0
  53. package/docs/sdk/models/shared/propertycrmeventtask.md +1 -0
  54. package/package.json +1 -1
  55. package/dist/sdk/transaction.d.ts +0 -31
  56. package/docs/sdk/models/operations/createaccountingtransactionrequest.md +0 -9
  57. package/docs/sdk/models/operations/createaccountingtransactionresponse.md +0 -11
  58. package/docs/sdk/models/operations/getaccountingtransactionresponse.md +0 -11
  59. package/docs/sdk/models/operations/listaccountingtransactionsresponse.md +0 -11
  60. package/docs/sdk/models/operations/patchaccountingtransactionrequest.md +0 -10
  61. package/docs/sdk/models/operations/patchaccountingtransactionresponse.md +0 -11
  62. package/docs/sdk/models/operations/removeaccountingtransactionrequest.md +0 -9
  63. package/docs/sdk/models/operations/updateaccountingtransactionrequest.md +0 -10
  64. package/docs/sdk/models/operations/updateaccountingtransactionresponse.md +0 -11
  65. package/docs/sdk/models/shared/accountingtransaction.md +0 -17
@@ -1,4 +1,9 @@
1
1
  import { SpeakeasyBase } from "../../../internal/utils";
2
+ export declare enum Priority {
3
+ High = "HIGH",
4
+ Medium = "MEDIUM",
5
+ Low = "LOW"
6
+ }
2
7
  export declare enum PropertyCrmEventTaskStatus {
3
8
  Completed = "COMPLETED",
4
9
  NotStarted = "NOT_STARTED",
@@ -12,5 +17,6 @@ export declare class PropertyCrmEventTask extends SpeakeasyBase {
12
17
  description?: string;
13
18
  dueAt?: Date;
14
19
  name?: string;
20
+ priority?: Priority;
15
21
  status?: PropertyCrmEventTaskStatus;
16
22
  }
@@ -27,9 +27,15 @@ var __metadata = (this && this.__metadata) || function (k, v) {
27
27
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
28
28
  };
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
- exports.PropertyCrmEventTask = exports.PropertyCrmEventTaskStatus = void 0;
30
+ exports.PropertyCrmEventTask = exports.PropertyCrmEventTaskStatus = exports.Priority = void 0;
31
31
  var utils_1 = require("../../../internal/utils");
32
32
  var class_transformer_1 = require("class-transformer");
33
+ var Priority;
34
+ (function (Priority) {
35
+ Priority["High"] = "HIGH";
36
+ Priority["Medium"] = "MEDIUM";
37
+ Priority["Low"] = "LOW";
38
+ })(Priority = exports.Priority || (exports.Priority = {}));
33
39
  var PropertyCrmEventTaskStatus;
34
40
  (function (PropertyCrmEventTaskStatus) {
35
41
  PropertyCrmEventTaskStatus["Completed"] = "COMPLETED";
@@ -64,6 +70,11 @@ var PropertyCrmEventTask = /** @class */ (function (_super) {
64
70
  (0, class_transformer_1.Expose)({ name: "name" }),
65
71
  __metadata("design:type", String)
66
72
  ], PropertyCrmEventTask.prototype, "name", void 0);
73
+ __decorate([
74
+ (0, utils_1.SpeakeasyMetadata)(),
75
+ (0, class_transformer_1.Expose)({ name: "priority" }),
76
+ __metadata("design:type", String)
77
+ ], PropertyCrmEventTask.prototype, "priority", void 0);
67
78
  __decorate([
68
79
  (0, utils_1.SpeakeasyMetadata)(),
69
80
  (0, class_transformer_1.Expose)({ name: "status" }),
@@ -7,6 +7,7 @@ export declare enum Event {
7
7
  export declare enum ObjectType {
8
8
  AccountingAccount = "accounting_account",
9
9
  AccountingTransaction = "accounting_transaction",
10
+ AccountingJournal = "accounting_journal",
10
11
  AccountingContact = "accounting_contact",
11
12
  AccountingInvoice = "accounting_invoice",
12
13
  AccountingTaxrate = "accounting_taxrate",
@@ -40,6 +40,7 @@ var ObjectType;
40
40
  (function (ObjectType) {
41
41
  ObjectType["AccountingAccount"] = "accounting_account";
42
42
  ObjectType["AccountingTransaction"] = "accounting_transaction";
43
+ ObjectType["AccountingJournal"] = "accounting_journal";
43
44
  ObjectType["AccountingContact"] = "accounting_contact";
44
45
  ObjectType["AccountingInvoice"] = "accounting_invoice";
45
46
  ObjectType["AccountingTaxrate"] = "accounting_taxrate";
package/dist/sdk/sdk.d.ts CHANGED
@@ -34,6 +34,7 @@ import { Invoice } from "./invoice";
34
34
  import { Issue } from "./issue";
35
35
  import { Item } from "./item";
36
36
  import { Job } from "./job";
37
+ import { Journal } from "./journal";
37
38
  import { Kms } from "./kms";
38
39
  import { Lead } from "./lead";
39
40
  import { Link } from "./link";
@@ -65,7 +66,6 @@ import { Taxrate } from "./taxrate";
65
66
  import { Ticket } from "./ticket";
66
67
  import { Ticketing } from "./ticketing";
67
68
  import { Timeoff } from "./timeoff";
68
- import { Transaction } from "./transaction";
69
69
  import { Uc } from "./uc";
70
70
  import { Unified } from "./unified";
71
71
  import { Webhook } from "./webhook";
@@ -120,9 +120,9 @@ export declare class UnifiedTo {
120
120
  account: Account;
121
121
  contact: Contact;
122
122
  invoice: Invoice;
123
+ journal: Journal;
123
124
  organization: Organization;
124
125
  taxrate: Taxrate;
125
- transaction: Transaction;
126
126
  ats: Ats;
127
127
  activity: Activity;
128
128
  application: Application;
package/dist/sdk/sdk.js CHANGED
@@ -41,6 +41,7 @@ var invoice_1 = require("./invoice");
41
41
  var issue_1 = require("./issue");
42
42
  var item_1 = require("./item");
43
43
  var job_1 = require("./job");
44
+ var journal_1 = require("./journal");
44
45
  var kms_1 = require("./kms");
45
46
  var lead_1 = require("./lead");
46
47
  var link_1 = require("./link");
@@ -72,7 +73,6 @@ var taxrate_1 = require("./taxrate");
72
73
  var ticket_1 = require("./ticket");
73
74
  var ticketing_1 = require("./ticketing");
74
75
  var timeoff_1 = require("./timeoff");
75
- var transaction_1 = require("./transaction");
76
76
  var uc_1 = require("./uc");
77
77
  var unified_1 = require("./unified");
78
78
  var webhook_1 = require("./webhook");
@@ -94,9 +94,9 @@ var SDKConfiguration = /** @class */ (function () {
94
94
  function SDKConfiguration(init) {
95
95
  this.language = "typescript";
96
96
  this.openapiDocVersion = "1.0";
97
- this.sdkVersion = "1.0.36";
98
- this.genVersion = "2.339.1";
99
- this.userAgent = "speakeasy-sdk/typescript 1.0.36 2.339.1 1.0 @unified-api/typescript-sdk";
97
+ this.sdkVersion = "1.0.38";
98
+ this.genVersion = "2.340.3";
99
+ this.userAgent = "speakeasy-sdk/typescript 1.0.38 2.340.3 1.0 @unified-api/typescript-sdk";
100
100
  Object.assign(this, init);
101
101
  }
102
102
  return SDKConfiguration;
@@ -127,9 +127,9 @@ var UnifiedTo = /** @class */ (function () {
127
127
  this.account = new account_1.Account(this.sdkConfiguration);
128
128
  this.contact = new contact_1.Contact(this.sdkConfiguration);
129
129
  this.invoice = new invoice_1.Invoice(this.sdkConfiguration);
130
+ this.journal = new journal_1.Journal(this.sdkConfiguration);
130
131
  this.organization = new organization_1.Organization(this.sdkConfiguration);
131
132
  this.taxrate = new taxrate_1.Taxrate(this.sdkConfiguration);
132
- this.transaction = new transaction_1.Transaction(this.sdkConfiguration);
133
133
  this.ats = new ats_1.Ats(this.sdkConfiguration);
134
134
  this.activity = new activity_1.Activity(this.sdkConfiguration);
135
135
  this.application = new application_1.Application(this.sdkConfiguration);
@@ -0,0 +1,9 @@
1
+ # CreateAccountingJournalRequest
2
+
3
+
4
+ ## Fields
5
+
6
+ | Field | Type | Required | Description |
7
+ | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
8
+ | `accountingJournal` | [shared.AccountingJournal](../../../sdk/models/shared/accountingjournal.md) | :heavy_minus_sign: | N/A |
9
+ | `connectionId` | *string* | :heavy_check_mark: | ID of the connection |
@@ -0,0 +1,11 @@
1
+ # CreateAccountingJournalResponse
2
+
3
+
4
+ ## Fields
5
+
6
+ | Field | Type | Required | Description |
7
+ | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
8
+ | `accountingJournal` | [shared.AccountingJournal](../../../sdk/models/shared/accountingjournal.md) | :heavy_minus_sign: | Successful |
9
+ | `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
10
+ | `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
11
+ | `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
@@ -1,4 +1,4 @@
1
- # GetAccountingTransactionRequest
1
+ # GetAccountingJournalRequest
2
2
 
3
3
 
4
4
  ## Fields
@@ -7,4 +7,4 @@
7
7
  | -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- |
8
8
  | `connectionId` | *string* | :heavy_check_mark: | ID of the connection |
9
9
  | `fields` | *string*[] | :heavy_minus_sign: | Comma-delimited fields to return |
10
- | `id` | *string* | :heavy_check_mark: | ID of the Transaction |
10
+ | `id` | *string* | :heavy_check_mark: | ID of the Journal |
@@ -0,0 +1,11 @@
1
+ # GetAccountingJournalResponse
2
+
3
+
4
+ ## Fields
5
+
6
+ | Field | Type | Required | Description |
7
+ | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
8
+ | `accountingJournal` | [shared.AccountingJournal](../../../sdk/models/shared/accountingjournal.md) | :heavy_minus_sign: | Successful |
9
+ | `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
10
+ | `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
11
+ | `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
@@ -1,4 +1,4 @@
1
- # ListAccountingTransactionsRequest
1
+ # ListAccountingJournalsRequest
2
2
 
3
3
 
4
4
  ## Fields
@@ -0,0 +1,11 @@
1
+ # ListAccountingJournalsResponse
2
+
3
+
4
+ ## Fields
5
+
6
+ | Field | Type | Required | Description |
7
+ | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- |
8
+ | `accountingJournals` | [shared.AccountingJournal](../../../sdk/models/shared/accountingjournal.md)[] | :heavy_minus_sign: | Successful |
9
+ | `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
10
+ | `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
11
+ | `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
@@ -0,0 +1,10 @@
1
+ # PatchAccountingJournalRequest
2
+
3
+
4
+ ## Fields
5
+
6
+ | Field | Type | Required | Description |
7
+ | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
8
+ | `accountingJournal` | [shared.AccountingJournal](../../../sdk/models/shared/accountingjournal.md) | :heavy_minus_sign: | N/A |
9
+ | `connectionId` | *string* | :heavy_check_mark: | ID of the connection |
10
+ | `id` | *string* | :heavy_check_mark: | ID of the Journal |
@@ -0,0 +1,11 @@
1
+ # PatchAccountingJournalResponse
2
+
3
+
4
+ ## Fields
5
+
6
+ | Field | Type | Required | Description |
7
+ | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
8
+ | `accountingJournal` | [shared.AccountingJournal](../../../sdk/models/shared/accountingjournal.md) | :heavy_minus_sign: | Successful |
9
+ | `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
10
+ | `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
11
+ | `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
@@ -0,0 +1,9 @@
1
+ # RemoveAccountingJournalRequest
2
+
3
+
4
+ ## Fields
5
+
6
+ | Field | Type | Required | Description |
7
+ | -------------------- | -------------------- | -------------------- | -------------------- |
8
+ | `connectionId` | *string* | :heavy_check_mark: | ID of the connection |
9
+ | `id` | *string* | :heavy_check_mark: | ID of the Journal |
@@ -1,4 +1,4 @@
1
- # RemoveAccountingTransactionResponse
1
+ # RemoveAccountingJournalResponse
2
2
 
3
3
 
4
4
  ## Fields
@@ -10,6 +10,8 @@
10
10
  | `AccountingAccountWrite` | accounting_account_write |
11
11
  | `AccountingTransactionRead` | accounting_transaction_read |
12
12
  | `AccountingTransactionWrite` | accounting_transaction_write |
13
+ | `AccountingJournalRead` | accounting_journal_read |
14
+ | `AccountingJournalWrite` | accounting_journal_write |
13
15
  | `AccountingInvoiceRead` | accounting_invoice_read |
14
16
  | `AccountingInvoiceWrite` | accounting_invoice_write |
15
17
  | `AccountingContactRead` | accounting_contact_read |
@@ -0,0 +1,10 @@
1
+ # UpdateAccountingJournalRequest
2
+
3
+
4
+ ## Fields
5
+
6
+ | Field | Type | Required | Description |
7
+ | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
8
+ | `accountingJournal` | [shared.AccountingJournal](../../../sdk/models/shared/accountingjournal.md) | :heavy_minus_sign: | N/A |
9
+ | `connectionId` | *string* | :heavy_check_mark: | ID of the connection |
10
+ | `id` | *string* | :heavy_check_mark: | ID of the Journal |
@@ -0,0 +1,11 @@
1
+ # UpdateAccountingJournalResponse
2
+
3
+
4
+ ## Fields
5
+
6
+ | Field | Type | Required | Description |
7
+ | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
8
+ | `accountingJournal` | [shared.AccountingJournal](../../../sdk/models/shared/accountingjournal.md) | :heavy_minus_sign: | Successful |
9
+ | `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
10
+ | `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
11
+ | `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
@@ -0,0 +1,17 @@
1
+ # AccountingJournal
2
+
3
+
4
+ ## Fields
5
+
6
+ | Field | Type | Required | Description |
7
+ | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
8
+ | `createdAt` | *string* | :heavy_minus_sign: | N/A |
9
+ | `currency` | *string* | :heavy_minus_sign: | N/A |
10
+ | `description` | *string* | :heavy_minus_sign: | N/A |
11
+ | `id` | *string* | :heavy_minus_sign: | N/A |
12
+ | `lineitems` | [shared.AccountingJournalLineitem](../../../sdk/models/shared/accountingjournallineitem.md)[] | :heavy_minus_sign: | new field name |
13
+ | `raw` | Record<string, *any*> | :heavy_minus_sign: | N/A |
14
+ | `reference` | *string* | :heavy_minus_sign: | N/A |
15
+ | `taxAmount` | *number* | :heavy_minus_sign: | N/A |
16
+ | `taxrateId` | *string* | :heavy_minus_sign: | N/A |
17
+ | `updatedAt` | *string* | :heavy_minus_sign: | N/A |
@@ -1,4 +1,4 @@
1
- # AccountingTransactionLineitem
1
+ # AccountingJournalLineitem
2
2
 
3
3
 
4
4
  ## Fields
@@ -7,6 +7,7 @@
7
7
  | ------------------------ | ------------------------ |
8
8
  | `AccountingAccount` | accounting_account |
9
9
  | `AccountingTransaction` | accounting_transaction |
10
+ | `AccountingJournal` | accounting_journal |
10
11
  | `AccountingContact` | accounting_contact |
11
12
  | `AccountingInvoice` | accounting_invoice |
12
13
  | `AccountingTaxrate` | accounting_taxrate |
@@ -0,0 +1,10 @@
1
+ # Priority
2
+
3
+
4
+ ## Values
5
+
6
+ | Name | Value |
7
+ | -------- | -------- |
8
+ | `High` | HIGH |
9
+ | `Medium` | MEDIUM |
10
+ | `Low` | LOW |
@@ -10,6 +10,8 @@
10
10
  | `AccountingAccountWrite` | accounting_account_write |
11
11
  | `AccountingTransactionRead` | accounting_transaction_read |
12
12
  | `AccountingTransactionWrite` | accounting_transaction_write |
13
+ | `AccountingJournalRead` | accounting_journal_read |
14
+ | `AccountingJournalWrite` | accounting_journal_write |
13
15
  | `AccountingInvoiceRead` | accounting_invoice_read |
14
16
  | `AccountingInvoiceWrite` | accounting_invoice_write |
15
17
  | `AccountingContactRead` | accounting_contact_read |
@@ -10,4 +10,5 @@ The task object, when type = task
10
10
  | `description` | *string* | :heavy_minus_sign: | N/A |
11
11
  | `dueAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
12
12
  | `name` | *string* | :heavy_minus_sign: | N/A |
13
+ | `priority` | [shared.Priority](../../../sdk/models/shared/priority.md) | :heavy_minus_sign: | N/A |
13
14
  | `status` | [shared.PropertyCrmEventTaskStatus](../../../sdk/models/shared/propertycrmeventtaskstatus.md) | :heavy_minus_sign: | N/A |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unified-api/typescript-sdk",
3
- "version": "1.0.36",
3
+ "version": "1.0.38",
4
4
  "author": "Unified",
5
5
  "scripts": {
6
6
  "prepare": "tsc --build",
@@ -1,31 +0,0 @@
1
- import * as operations from "../sdk/models/operations";
2
- import { SDKConfiguration } from "./sdk";
3
- import { AxiosRequestConfig } from "axios";
4
- export declare class Transaction {
5
- private sdkConfiguration;
6
- constructor(sdkConfig: SDKConfiguration);
7
- /**
8
- * Create a transaction
9
- */
10
- createAccountingTransaction(req: operations.CreateAccountingTransactionRequest, config?: AxiosRequestConfig): Promise<operations.CreateAccountingTransactionResponse>;
11
- /**
12
- * Retrieve a transaction
13
- */
14
- getAccountingTransaction(req: operations.GetAccountingTransactionRequest, config?: AxiosRequestConfig): Promise<operations.GetAccountingTransactionResponse>;
15
- /**
16
- * List all transactions
17
- */
18
- listAccountingTransactions(req: operations.ListAccountingTransactionsRequest, config?: AxiosRequestConfig): Promise<operations.ListAccountingTransactionsResponse>;
19
- /**
20
- * Update a transaction
21
- */
22
- patchAccountingTransaction(req: operations.PatchAccountingTransactionRequest, config?: AxiosRequestConfig): Promise<operations.PatchAccountingTransactionResponse>;
23
- /**
24
- * Remove a transaction
25
- */
26
- removeAccountingTransaction(req: operations.RemoveAccountingTransactionRequest, config?: AxiosRequestConfig): Promise<operations.RemoveAccountingTransactionResponse>;
27
- /**
28
- * Update a transaction
29
- */
30
- updateAccountingTransaction(req: operations.UpdateAccountingTransactionRequest, config?: AxiosRequestConfig): Promise<operations.UpdateAccountingTransactionResponse>;
31
- }
@@ -1,9 +0,0 @@
1
- # CreateAccountingTransactionRequest
2
-
3
-
4
- ## Fields
5
-
6
- | Field | Type | Required | Description |
7
- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- |
8
- | `accountingTransaction` | [shared.AccountingTransaction](../../../sdk/models/shared/accountingtransaction.md) | :heavy_minus_sign: | N/A |
9
- | `connectionId` | *string* | :heavy_check_mark: | ID of the connection |
@@ -1,11 +0,0 @@
1
- # CreateAccountingTransactionResponse
2
-
3
-
4
- ## Fields
5
-
6
- | Field | Type | Required | Description |
7
- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- |
8
- | `accountingTransaction` | [shared.AccountingTransaction](../../../sdk/models/shared/accountingtransaction.md) | :heavy_minus_sign: | Successful |
9
- | `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
10
- | `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
11
- | `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
@@ -1,11 +0,0 @@
1
- # GetAccountingTransactionResponse
2
-
3
-
4
- ## Fields
5
-
6
- | Field | Type | Required | Description |
7
- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- |
8
- | `accountingTransaction` | [shared.AccountingTransaction](../../../sdk/models/shared/accountingtransaction.md) | :heavy_minus_sign: | Successful |
9
- | `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
10
- | `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
11
- | `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
@@ -1,11 +0,0 @@
1
- # ListAccountingTransactionsResponse
2
-
3
-
4
- ## Fields
5
-
6
- | Field | Type | Required | Description |
7
- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
8
- | `accountingTransactions` | [shared.AccountingTransaction](../../../sdk/models/shared/accountingtransaction.md)[] | :heavy_minus_sign: | Successful |
9
- | `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
10
- | `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
11
- | `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
@@ -1,10 +0,0 @@
1
- # PatchAccountingTransactionRequest
2
-
3
-
4
- ## Fields
5
-
6
- | Field | Type | Required | Description |
7
- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- |
8
- | `accountingTransaction` | [shared.AccountingTransaction](../../../sdk/models/shared/accountingtransaction.md) | :heavy_minus_sign: | N/A |
9
- | `connectionId` | *string* | :heavy_check_mark: | ID of the connection |
10
- | `id` | *string* | :heavy_check_mark: | ID of the Transaction |
@@ -1,11 +0,0 @@
1
- # PatchAccountingTransactionResponse
2
-
3
-
4
- ## Fields
5
-
6
- | Field | Type | Required | Description |
7
- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- |
8
- | `accountingTransaction` | [shared.AccountingTransaction](../../../sdk/models/shared/accountingtransaction.md) | :heavy_minus_sign: | Successful |
9
- | `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
10
- | `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
11
- | `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
@@ -1,9 +0,0 @@
1
- # RemoveAccountingTransactionRequest
2
-
3
-
4
- ## Fields
5
-
6
- | Field | Type | Required | Description |
7
- | --------------------- | --------------------- | --------------------- | --------------------- |
8
- | `connectionId` | *string* | :heavy_check_mark: | ID of the connection |
9
- | `id` | *string* | :heavy_check_mark: | ID of the Transaction |
@@ -1,10 +0,0 @@
1
- # UpdateAccountingTransactionRequest
2
-
3
-
4
- ## Fields
5
-
6
- | Field | Type | Required | Description |
7
- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- |
8
- | `accountingTransaction` | [shared.AccountingTransaction](../../../sdk/models/shared/accountingtransaction.md) | :heavy_minus_sign: | N/A |
9
- | `connectionId` | *string* | :heavy_check_mark: | ID of the connection |
10
- | `id` | *string* | :heavy_check_mark: | ID of the Transaction |
@@ -1,11 +0,0 @@
1
- # UpdateAccountingTransactionResponse
2
-
3
-
4
- ## Fields
5
-
6
- | Field | Type | Required | Description |
7
- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- |
8
- | `accountingTransaction` | [shared.AccountingTransaction](../../../sdk/models/shared/accountingtransaction.md) | :heavy_minus_sign: | Successful |
9
- | `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
10
- | `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
11
- | `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
@@ -1,17 +0,0 @@
1
- # AccountingTransaction
2
-
3
-
4
- ## Fields
5
-
6
- | Field | Type | Required | Description |
7
- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
8
- | `createdAt` | *string* | :heavy_minus_sign: | N/A |
9
- | `currency` | *string* | :heavy_minus_sign: | N/A |
10
- | `description` | *string* | :heavy_minus_sign: | N/A |
11
- | `id` | *string* | :heavy_minus_sign: | N/A |
12
- | `lineitems` | [shared.AccountingTransactionLineitem](../../../sdk/models/shared/accountingtransactionlineitem.md)[] | :heavy_minus_sign: | new field name |
13
- | `raw` | Record<string, *any*> | :heavy_minus_sign: | N/A |
14
- | `reference` | *string* | :heavy_minus_sign: | N/A |
15
- | `taxAmount` | *number* | :heavy_minus_sign: | N/A |
16
- | `taxrateId` | *string* | :heavy_minus_sign: | N/A |
17
- | `updatedAt` | *string* | :heavy_minus_sign: | N/A |