@unified-api/typescript-sdk 1.0.37 → 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 (61) 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/webhook.d.ts +1 -0
  30. package/dist/sdk/models/shared/webhook.js +1 -0
  31. package/dist/sdk/sdk.d.ts +2 -2
  32. package/dist/sdk/sdk.js +4 -4
  33. package/docs/sdk/models/operations/createaccountingjournalrequest.md +9 -0
  34. package/docs/sdk/models/operations/createaccountingjournalresponse.md +11 -0
  35. package/docs/sdk/models/operations/{getaccountingtransactionrequest.md → getaccountingjournalrequest.md} +2 -2
  36. package/docs/sdk/models/operations/getaccountingjournalresponse.md +11 -0
  37. package/docs/sdk/models/operations/{listaccountingtransactionsrequest.md → listaccountingjournalsrequest.md} +1 -1
  38. package/docs/sdk/models/operations/listaccountingjournalsresponse.md +11 -0
  39. package/docs/sdk/models/operations/patchaccountingjournalrequest.md +10 -0
  40. package/docs/sdk/models/operations/patchaccountingjournalresponse.md +11 -0
  41. package/docs/sdk/models/operations/removeaccountingjournalrequest.md +9 -0
  42. package/docs/sdk/models/operations/{removeaccountingtransactionresponse.md → removeaccountingjournalresponse.md} +1 -1
  43. package/docs/sdk/models/operations/scopes.md +2 -0
  44. package/docs/sdk/models/operations/updateaccountingjournalrequest.md +10 -0
  45. package/docs/sdk/models/operations/updateaccountingjournalresponse.md +11 -0
  46. package/docs/sdk/models/shared/accountingjournal.md +17 -0
  47. package/docs/sdk/models/shared/{accountingtransactionlineitem.md → accountingjournallineitem.md} +1 -1
  48. package/docs/sdk/models/shared/objecttype.md +1 -0
  49. package/docs/sdk/models/shared/propertyconnectionpermissions.md +2 -0
  50. package/package.json +1 -1
  51. package/dist/sdk/transaction.d.ts +0 -31
  52. package/docs/sdk/models/operations/createaccountingtransactionrequest.md +0 -9
  53. package/docs/sdk/models/operations/createaccountingtransactionresponse.md +0 -11
  54. package/docs/sdk/models/operations/getaccountingtransactionresponse.md +0 -11
  55. package/docs/sdk/models/operations/listaccountingtransactionsresponse.md +0 -11
  56. package/docs/sdk/models/operations/patchaccountingtransactionrequest.md +0 -10
  57. package/docs/sdk/models/operations/patchaccountingtransactionresponse.md +0 -11
  58. package/docs/sdk/models/operations/removeaccountingtransactionrequest.md +0 -9
  59. package/docs/sdk/models/operations/updateaccountingtransactionrequest.md +0 -10
  60. package/docs/sdk/models/operations/updateaccountingtransactionresponse.md +0 -11
  61. package/docs/sdk/models/shared/accountingtransaction.md +0 -17
@@ -50,70 +50,70 @@ var __metadata = (this && this.__metadata) || function (k, v) {
50
50
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
51
51
  };
52
52
  Object.defineProperty(exports, "__esModule", { value: true });
53
- exports.ListAccountingTransactionsResponse = exports.ListAccountingTransactionsRequest = void 0;
53
+ exports.ListAccountingJournalsResponse = exports.ListAccountingJournalsRequest = void 0;
54
54
  var utils_1 = require("../../../internal/utils");
55
55
  var shared = __importStar(require("../../../sdk/models/shared"));
56
- var ListAccountingTransactionsRequest = /** @class */ (function (_super) {
57
- __extends(ListAccountingTransactionsRequest, _super);
58
- function ListAccountingTransactionsRequest() {
56
+ var ListAccountingJournalsRequest = /** @class */ (function (_super) {
57
+ __extends(ListAccountingJournalsRequest, _super);
58
+ function ListAccountingJournalsRequest() {
59
59
  return _super !== null && _super.apply(this, arguments) || this;
60
60
  }
61
61
  __decorate([
62
62
  (0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=connection_id" }),
63
63
  __metadata("design:type", String)
64
- ], ListAccountingTransactionsRequest.prototype, "connectionId", void 0);
64
+ ], ListAccountingJournalsRequest.prototype, "connectionId", void 0);
65
65
  __decorate([
66
66
  (0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=fields" }),
67
67
  __metadata("design:type", Array)
68
- ], ListAccountingTransactionsRequest.prototype, "fields", void 0);
68
+ ], ListAccountingJournalsRequest.prototype, "fields", void 0);
69
69
  __decorate([
70
70
  (0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=limit" }),
71
71
  __metadata("design:type", Number)
72
- ], ListAccountingTransactionsRequest.prototype, "limit", void 0);
72
+ ], ListAccountingJournalsRequest.prototype, "limit", void 0);
73
73
  __decorate([
74
74
  (0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=offset" }),
75
75
  __metadata("design:type", Number)
76
- ], ListAccountingTransactionsRequest.prototype, "offset", void 0);
76
+ ], ListAccountingJournalsRequest.prototype, "offset", void 0);
77
77
  __decorate([
78
78
  (0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=order" }),
79
79
  __metadata("design:type", String)
80
- ], ListAccountingTransactionsRequest.prototype, "order", void 0);
80
+ ], ListAccountingJournalsRequest.prototype, "order", void 0);
81
81
  __decorate([
82
82
  (0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=query" }),
83
83
  __metadata("design:type", String)
84
- ], ListAccountingTransactionsRequest.prototype, "query", void 0);
84
+ ], ListAccountingJournalsRequest.prototype, "query", void 0);
85
85
  __decorate([
86
86
  (0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=sort" }),
87
87
  __metadata("design:type", String)
88
- ], ListAccountingTransactionsRequest.prototype, "sort", void 0);
88
+ ], ListAccountingJournalsRequest.prototype, "sort", void 0);
89
89
  __decorate([
90
90
  (0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=updated_gte" }),
91
91
  __metadata("design:type", Date)
92
- ], ListAccountingTransactionsRequest.prototype, "updatedGte", void 0);
93
- return ListAccountingTransactionsRequest;
92
+ ], ListAccountingJournalsRequest.prototype, "updatedGte", void 0);
93
+ return ListAccountingJournalsRequest;
94
94
  }(utils_1.SpeakeasyBase));
95
- exports.ListAccountingTransactionsRequest = ListAccountingTransactionsRequest;
96
- var ListAccountingTransactionsResponse = /** @class */ (function (_super) {
97
- __extends(ListAccountingTransactionsResponse, _super);
98
- function ListAccountingTransactionsResponse() {
95
+ exports.ListAccountingJournalsRequest = ListAccountingJournalsRequest;
96
+ var ListAccountingJournalsResponse = /** @class */ (function (_super) {
97
+ __extends(ListAccountingJournalsResponse, _super);
98
+ function ListAccountingJournalsResponse() {
99
99
  return _super !== null && _super.apply(this, arguments) || this;
100
100
  }
101
101
  __decorate([
102
- (0, utils_1.SpeakeasyMetadata)({ elemType: shared.AccountingTransaction }),
102
+ (0, utils_1.SpeakeasyMetadata)({ elemType: shared.AccountingJournal }),
103
103
  __metadata("design:type", Array)
104
- ], ListAccountingTransactionsResponse.prototype, "accountingTransactions", void 0);
104
+ ], ListAccountingJournalsResponse.prototype, "accountingJournals", void 0);
105
105
  __decorate([
106
106
  (0, utils_1.SpeakeasyMetadata)(),
107
107
  __metadata("design:type", String)
108
- ], ListAccountingTransactionsResponse.prototype, "contentType", void 0);
108
+ ], ListAccountingJournalsResponse.prototype, "contentType", void 0);
109
109
  __decorate([
110
110
  (0, utils_1.SpeakeasyMetadata)(),
111
111
  __metadata("design:type", Number)
112
- ], ListAccountingTransactionsResponse.prototype, "statusCode", void 0);
112
+ ], ListAccountingJournalsResponse.prototype, "statusCode", void 0);
113
113
  __decorate([
114
114
  (0, utils_1.SpeakeasyMetadata)(),
115
115
  __metadata("design:type", Object)
116
- ], ListAccountingTransactionsResponse.prototype, "rawResponse", void 0);
117
- return ListAccountingTransactionsResponse;
116
+ ], ListAccountingJournalsResponse.prototype, "rawResponse", void 0);
117
+ return ListAccountingJournalsResponse;
118
118
  }(utils_1.SpeakeasyBase));
119
- exports.ListAccountingTransactionsResponse = ListAccountingTransactionsResponse;
119
+ exports.ListAccountingJournalsResponse = ListAccountingJournalsResponse;
@@ -1,22 +1,22 @@
1
1
  import { SpeakeasyBase } from "../../../internal/utils";
2
2
  import * as shared from "../../../sdk/models/shared";
3
3
  import { AxiosResponse } from "axios";
4
- export declare class PatchAccountingTransactionRequest extends SpeakeasyBase {
5
- accountingTransaction?: shared.AccountingTransaction;
4
+ export declare class PatchAccountingJournalRequest extends SpeakeasyBase {
5
+ accountingJournal?: shared.AccountingJournal;
6
6
  /**
7
7
  * ID of the connection
8
8
  */
9
9
  connectionId: string;
10
10
  /**
11
- * ID of the Transaction
11
+ * ID of the Journal
12
12
  */
13
13
  id: string;
14
14
  }
15
- export declare class PatchAccountingTransactionResponse extends SpeakeasyBase {
15
+ export declare class PatchAccountingJournalResponse extends SpeakeasyBase {
16
16
  /**
17
17
  * Successful
18
18
  */
19
- accountingTransaction?: shared.AccountingTransaction;
19
+ accountingJournal?: shared.AccountingJournal;
20
20
  /**
21
21
  * HTTP response content type for this operation
22
22
  */
@@ -50,50 +50,50 @@ var __metadata = (this && this.__metadata) || function (k, v) {
50
50
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
51
51
  };
52
52
  Object.defineProperty(exports, "__esModule", { value: true });
53
- exports.PatchAccountingTransactionResponse = exports.PatchAccountingTransactionRequest = void 0;
53
+ exports.PatchAccountingJournalResponse = exports.PatchAccountingJournalRequest = void 0;
54
54
  var utils_1 = require("../../../internal/utils");
55
55
  var shared = __importStar(require("../../../sdk/models/shared"));
56
- var PatchAccountingTransactionRequest = /** @class */ (function (_super) {
57
- __extends(PatchAccountingTransactionRequest, _super);
58
- function PatchAccountingTransactionRequest() {
56
+ var PatchAccountingJournalRequest = /** @class */ (function (_super) {
57
+ __extends(PatchAccountingJournalRequest, _super);
58
+ function PatchAccountingJournalRequest() {
59
59
  return _super !== null && _super.apply(this, arguments) || this;
60
60
  }
61
61
  __decorate([
62
62
  (0, utils_1.SpeakeasyMetadata)({ data: "request, media_type=application/json" }),
63
- __metadata("design:type", shared.AccountingTransaction)
64
- ], PatchAccountingTransactionRequest.prototype, "accountingTransaction", void 0);
63
+ __metadata("design:type", shared.AccountingJournal)
64
+ ], PatchAccountingJournalRequest.prototype, "accountingJournal", void 0);
65
65
  __decorate([
66
66
  (0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=connection_id" }),
67
67
  __metadata("design:type", String)
68
- ], PatchAccountingTransactionRequest.prototype, "connectionId", void 0);
68
+ ], PatchAccountingJournalRequest.prototype, "connectionId", void 0);
69
69
  __decorate([
70
70
  (0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=id" }),
71
71
  __metadata("design:type", String)
72
- ], PatchAccountingTransactionRequest.prototype, "id", void 0);
73
- return PatchAccountingTransactionRequest;
72
+ ], PatchAccountingJournalRequest.prototype, "id", void 0);
73
+ return PatchAccountingJournalRequest;
74
74
  }(utils_1.SpeakeasyBase));
75
- exports.PatchAccountingTransactionRequest = PatchAccountingTransactionRequest;
76
- var PatchAccountingTransactionResponse = /** @class */ (function (_super) {
77
- __extends(PatchAccountingTransactionResponse, _super);
78
- function PatchAccountingTransactionResponse() {
75
+ exports.PatchAccountingJournalRequest = PatchAccountingJournalRequest;
76
+ var PatchAccountingJournalResponse = /** @class */ (function (_super) {
77
+ __extends(PatchAccountingJournalResponse, _super);
78
+ function PatchAccountingJournalResponse() {
79
79
  return _super !== null && _super.apply(this, arguments) || this;
80
80
  }
81
81
  __decorate([
82
82
  (0, utils_1.SpeakeasyMetadata)(),
83
- __metadata("design:type", shared.AccountingTransaction)
84
- ], PatchAccountingTransactionResponse.prototype, "accountingTransaction", void 0);
83
+ __metadata("design:type", shared.AccountingJournal)
84
+ ], PatchAccountingJournalResponse.prototype, "accountingJournal", void 0);
85
85
  __decorate([
86
86
  (0, utils_1.SpeakeasyMetadata)(),
87
87
  __metadata("design:type", String)
88
- ], PatchAccountingTransactionResponse.prototype, "contentType", void 0);
88
+ ], PatchAccountingJournalResponse.prototype, "contentType", void 0);
89
89
  __decorate([
90
90
  (0, utils_1.SpeakeasyMetadata)(),
91
91
  __metadata("design:type", Number)
92
- ], PatchAccountingTransactionResponse.prototype, "statusCode", void 0);
92
+ ], PatchAccountingJournalResponse.prototype, "statusCode", void 0);
93
93
  __decorate([
94
94
  (0, utils_1.SpeakeasyMetadata)(),
95
95
  __metadata("design:type", Object)
96
- ], PatchAccountingTransactionResponse.prototype, "rawResponse", void 0);
97
- return PatchAccountingTransactionResponse;
96
+ ], PatchAccountingJournalResponse.prototype, "rawResponse", void 0);
97
+ return PatchAccountingJournalResponse;
98
98
  }(utils_1.SpeakeasyBase));
99
- exports.PatchAccountingTransactionResponse = PatchAccountingTransactionResponse;
99
+ exports.PatchAccountingJournalResponse = PatchAccountingJournalResponse;
@@ -1,16 +1,16 @@
1
1
  import { SpeakeasyBase } from "../../../internal/utils";
2
2
  import { AxiosResponse } from "axios";
3
- export declare class RemoveAccountingTransactionRequest extends SpeakeasyBase {
3
+ export declare class RemoveAccountingJournalRequest extends SpeakeasyBase {
4
4
  /**
5
5
  * ID of the connection
6
6
  */
7
7
  connectionId: string;
8
8
  /**
9
- * ID of the Transaction
9
+ * ID of the Journal
10
10
  */
11
11
  id: string;
12
12
  }
13
- export declare class RemoveAccountingTransactionResponse extends SpeakeasyBase {
13
+ export declare class RemoveAccountingJournalResponse extends SpeakeasyBase {
14
14
  /**
15
15
  * HTTP response content type for this operation
16
16
  */
@@ -27,45 +27,45 @@ 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.RemoveAccountingTransactionResponse = exports.RemoveAccountingTransactionRequest = void 0;
30
+ exports.RemoveAccountingJournalResponse = exports.RemoveAccountingJournalRequest = void 0;
31
31
  var utils_1 = require("../../../internal/utils");
32
- var RemoveAccountingTransactionRequest = /** @class */ (function (_super) {
33
- __extends(RemoveAccountingTransactionRequest, _super);
34
- function RemoveAccountingTransactionRequest() {
32
+ var RemoveAccountingJournalRequest = /** @class */ (function (_super) {
33
+ __extends(RemoveAccountingJournalRequest, _super);
34
+ function RemoveAccountingJournalRequest() {
35
35
  return _super !== null && _super.apply(this, arguments) || this;
36
36
  }
37
37
  __decorate([
38
38
  (0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=connection_id" }),
39
39
  __metadata("design:type", String)
40
- ], RemoveAccountingTransactionRequest.prototype, "connectionId", void 0);
40
+ ], RemoveAccountingJournalRequest.prototype, "connectionId", void 0);
41
41
  __decorate([
42
42
  (0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=id" }),
43
43
  __metadata("design:type", String)
44
- ], RemoveAccountingTransactionRequest.prototype, "id", void 0);
45
- return RemoveAccountingTransactionRequest;
44
+ ], RemoveAccountingJournalRequest.prototype, "id", void 0);
45
+ return RemoveAccountingJournalRequest;
46
46
  }(utils_1.SpeakeasyBase));
47
- exports.RemoveAccountingTransactionRequest = RemoveAccountingTransactionRequest;
48
- var RemoveAccountingTransactionResponse = /** @class */ (function (_super) {
49
- __extends(RemoveAccountingTransactionResponse, _super);
50
- function RemoveAccountingTransactionResponse() {
47
+ exports.RemoveAccountingJournalRequest = RemoveAccountingJournalRequest;
48
+ var RemoveAccountingJournalResponse = /** @class */ (function (_super) {
49
+ __extends(RemoveAccountingJournalResponse, _super);
50
+ function RemoveAccountingJournalResponse() {
51
51
  return _super !== null && _super.apply(this, arguments) || this;
52
52
  }
53
53
  __decorate([
54
54
  (0, utils_1.SpeakeasyMetadata)(),
55
55
  __metadata("design:type", String)
56
- ], RemoveAccountingTransactionResponse.prototype, "contentType", void 0);
56
+ ], RemoveAccountingJournalResponse.prototype, "contentType", void 0);
57
57
  __decorate([
58
58
  (0, utils_1.SpeakeasyMetadata)(),
59
59
  __metadata("design:type", Number)
60
- ], RemoveAccountingTransactionResponse.prototype, "statusCode", void 0);
60
+ ], RemoveAccountingJournalResponse.prototype, "statusCode", void 0);
61
61
  __decorate([
62
62
  (0, utils_1.SpeakeasyMetadata)(),
63
63
  __metadata("design:type", Object)
64
- ], RemoveAccountingTransactionResponse.prototype, "rawResponse", void 0);
64
+ ], RemoveAccountingJournalResponse.prototype, "rawResponse", void 0);
65
65
  __decorate([
66
66
  (0, utils_1.SpeakeasyMetadata)(),
67
67
  __metadata("design:type", String)
68
- ], RemoveAccountingTransactionResponse.prototype, "string", void 0);
69
- return RemoveAccountingTransactionResponse;
68
+ ], RemoveAccountingJournalResponse.prototype, "string", void 0);
69
+ return RemoveAccountingJournalResponse;
70
70
  }(utils_1.SpeakeasyBase));
71
- exports.RemoveAccountingTransactionResponse = RemoveAccountingTransactionResponse;
71
+ exports.RemoveAccountingJournalResponse = RemoveAccountingJournalResponse;
@@ -1,22 +1,22 @@
1
1
  import { SpeakeasyBase } from "../../../internal/utils";
2
2
  import * as shared from "../../../sdk/models/shared";
3
3
  import { AxiosResponse } from "axios";
4
- export declare class UpdateAccountingTransactionRequest extends SpeakeasyBase {
5
- accountingTransaction?: shared.AccountingTransaction;
4
+ export declare class UpdateAccountingJournalRequest extends SpeakeasyBase {
5
+ accountingJournal?: shared.AccountingJournal;
6
6
  /**
7
7
  * ID of the connection
8
8
  */
9
9
  connectionId: string;
10
10
  /**
11
- * ID of the Transaction
11
+ * ID of the Journal
12
12
  */
13
13
  id: string;
14
14
  }
15
- export declare class UpdateAccountingTransactionResponse extends SpeakeasyBase {
15
+ export declare class UpdateAccountingJournalResponse extends SpeakeasyBase {
16
16
  /**
17
17
  * Successful
18
18
  */
19
- accountingTransaction?: shared.AccountingTransaction;
19
+ accountingJournal?: shared.AccountingJournal;
20
20
  /**
21
21
  * HTTP response content type for this operation
22
22
  */
@@ -50,50 +50,50 @@ var __metadata = (this && this.__metadata) || function (k, v) {
50
50
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
51
51
  };
52
52
  Object.defineProperty(exports, "__esModule", { value: true });
53
- exports.UpdateAccountingTransactionResponse = exports.UpdateAccountingTransactionRequest = void 0;
53
+ exports.UpdateAccountingJournalResponse = exports.UpdateAccountingJournalRequest = void 0;
54
54
  var utils_1 = require("../../../internal/utils");
55
55
  var shared = __importStar(require("../../../sdk/models/shared"));
56
- var UpdateAccountingTransactionRequest = /** @class */ (function (_super) {
57
- __extends(UpdateAccountingTransactionRequest, _super);
58
- function UpdateAccountingTransactionRequest() {
56
+ var UpdateAccountingJournalRequest = /** @class */ (function (_super) {
57
+ __extends(UpdateAccountingJournalRequest, _super);
58
+ function UpdateAccountingJournalRequest() {
59
59
  return _super !== null && _super.apply(this, arguments) || this;
60
60
  }
61
61
  __decorate([
62
62
  (0, utils_1.SpeakeasyMetadata)({ data: "request, media_type=application/json" }),
63
- __metadata("design:type", shared.AccountingTransaction)
64
- ], UpdateAccountingTransactionRequest.prototype, "accountingTransaction", void 0);
63
+ __metadata("design:type", shared.AccountingJournal)
64
+ ], UpdateAccountingJournalRequest.prototype, "accountingJournal", void 0);
65
65
  __decorate([
66
66
  (0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=connection_id" }),
67
67
  __metadata("design:type", String)
68
- ], UpdateAccountingTransactionRequest.prototype, "connectionId", void 0);
68
+ ], UpdateAccountingJournalRequest.prototype, "connectionId", void 0);
69
69
  __decorate([
70
70
  (0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=id" }),
71
71
  __metadata("design:type", String)
72
- ], UpdateAccountingTransactionRequest.prototype, "id", void 0);
73
- return UpdateAccountingTransactionRequest;
72
+ ], UpdateAccountingJournalRequest.prototype, "id", void 0);
73
+ return UpdateAccountingJournalRequest;
74
74
  }(utils_1.SpeakeasyBase));
75
- exports.UpdateAccountingTransactionRequest = UpdateAccountingTransactionRequest;
76
- var UpdateAccountingTransactionResponse = /** @class */ (function (_super) {
77
- __extends(UpdateAccountingTransactionResponse, _super);
78
- function UpdateAccountingTransactionResponse() {
75
+ exports.UpdateAccountingJournalRequest = UpdateAccountingJournalRequest;
76
+ var UpdateAccountingJournalResponse = /** @class */ (function (_super) {
77
+ __extends(UpdateAccountingJournalResponse, _super);
78
+ function UpdateAccountingJournalResponse() {
79
79
  return _super !== null && _super.apply(this, arguments) || this;
80
80
  }
81
81
  __decorate([
82
82
  (0, utils_1.SpeakeasyMetadata)(),
83
- __metadata("design:type", shared.AccountingTransaction)
84
- ], UpdateAccountingTransactionResponse.prototype, "accountingTransaction", void 0);
83
+ __metadata("design:type", shared.AccountingJournal)
84
+ ], UpdateAccountingJournalResponse.prototype, "accountingJournal", void 0);
85
85
  __decorate([
86
86
  (0, utils_1.SpeakeasyMetadata)(),
87
87
  __metadata("design:type", String)
88
- ], UpdateAccountingTransactionResponse.prototype, "contentType", void 0);
88
+ ], UpdateAccountingJournalResponse.prototype, "contentType", void 0);
89
89
  __decorate([
90
90
  (0, utils_1.SpeakeasyMetadata)(),
91
91
  __metadata("design:type", Number)
92
- ], UpdateAccountingTransactionResponse.prototype, "statusCode", void 0);
92
+ ], UpdateAccountingJournalResponse.prototype, "statusCode", void 0);
93
93
  __decorate([
94
94
  (0, utils_1.SpeakeasyMetadata)(),
95
95
  __metadata("design:type", Object)
96
- ], UpdateAccountingTransactionResponse.prototype, "rawResponse", void 0);
97
- return UpdateAccountingTransactionResponse;
96
+ ], UpdateAccountingJournalResponse.prototype, "rawResponse", void 0);
97
+ return UpdateAccountingJournalResponse;
98
98
  }(utils_1.SpeakeasyBase));
99
- exports.UpdateAccountingTransactionResponse = UpdateAccountingTransactionResponse;
99
+ exports.UpdateAccountingJournalResponse = UpdateAccountingJournalResponse;
@@ -1,6 +1,6 @@
1
1
  import { SpeakeasyBase } from "../../../internal/utils";
2
- import { AccountingTransactionLineitem } from "./accountingtransactionlineitem";
3
- export declare class AccountingTransaction extends SpeakeasyBase {
2
+ import { AccountingJournalLineitem } from "./accountingjournallineitem";
3
+ export declare class AccountingJournal extends SpeakeasyBase {
4
4
  createdAt?: string;
5
5
  currency?: string;
6
6
  description?: string;
@@ -8,7 +8,7 @@ export declare class AccountingTransaction extends SpeakeasyBase {
8
8
  /**
9
9
  * new field name
10
10
  */
11
- lineitems?: AccountingTransactionLineitem[];
11
+ lineitems?: AccountingJournalLineitem[];
12
12
  raw?: Record<string, any>;
13
13
  reference?: string;
14
14
  taxAmount?: number;
@@ -27,66 +27,66 @@ 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.AccountingTransaction = void 0;
30
+ exports.AccountingJournal = void 0;
31
31
  var utils_1 = require("../../../internal/utils");
32
- var accountingtransactionlineitem_1 = require("./accountingtransactionlineitem");
32
+ var accountingjournallineitem_1 = require("./accountingjournallineitem");
33
33
  var class_transformer_1 = require("class-transformer");
34
- var AccountingTransaction = /** @class */ (function (_super) {
35
- __extends(AccountingTransaction, _super);
36
- function AccountingTransaction() {
34
+ var AccountingJournal = /** @class */ (function (_super) {
35
+ __extends(AccountingJournal, _super);
36
+ function AccountingJournal() {
37
37
  return _super !== null && _super.apply(this, arguments) || this;
38
38
  }
39
39
  __decorate([
40
40
  (0, utils_1.SpeakeasyMetadata)(),
41
41
  (0, class_transformer_1.Expose)({ name: "created_at" }),
42
42
  __metadata("design:type", String)
43
- ], AccountingTransaction.prototype, "createdAt", void 0);
43
+ ], AccountingJournal.prototype, "createdAt", void 0);
44
44
  __decorate([
45
45
  (0, utils_1.SpeakeasyMetadata)(),
46
46
  (0, class_transformer_1.Expose)({ name: "currency" }),
47
47
  __metadata("design:type", String)
48
- ], AccountingTransaction.prototype, "currency", void 0);
48
+ ], AccountingJournal.prototype, "currency", void 0);
49
49
  __decorate([
50
50
  (0, utils_1.SpeakeasyMetadata)(),
51
51
  (0, class_transformer_1.Expose)({ name: "description" }),
52
52
  __metadata("design:type", String)
53
- ], AccountingTransaction.prototype, "description", void 0);
53
+ ], AccountingJournal.prototype, "description", void 0);
54
54
  __decorate([
55
55
  (0, utils_1.SpeakeasyMetadata)(),
56
56
  (0, class_transformer_1.Expose)({ name: "id" }),
57
57
  __metadata("design:type", String)
58
- ], AccountingTransaction.prototype, "id", void 0);
58
+ ], AccountingJournal.prototype, "id", void 0);
59
59
  __decorate([
60
- (0, utils_1.SpeakeasyMetadata)({ elemType: accountingtransactionlineitem_1.AccountingTransactionLineitem }),
60
+ (0, utils_1.SpeakeasyMetadata)({ elemType: accountingjournallineitem_1.AccountingJournalLineitem }),
61
61
  (0, class_transformer_1.Expose)({ name: "lineitems" }),
62
- (0, class_transformer_1.Type)(function () { return accountingtransactionlineitem_1.AccountingTransactionLineitem; }),
62
+ (0, class_transformer_1.Type)(function () { return accountingjournallineitem_1.AccountingJournalLineitem; }),
63
63
  __metadata("design:type", Array)
64
- ], AccountingTransaction.prototype, "lineitems", void 0);
64
+ ], AccountingJournal.prototype, "lineitems", void 0);
65
65
  __decorate([
66
66
  (0, utils_1.SpeakeasyMetadata)(),
67
67
  (0, class_transformer_1.Expose)({ name: "raw" }),
68
68
  __metadata("design:type", Object)
69
- ], AccountingTransaction.prototype, "raw", void 0);
69
+ ], AccountingJournal.prototype, "raw", void 0);
70
70
  __decorate([
71
71
  (0, utils_1.SpeakeasyMetadata)(),
72
72
  (0, class_transformer_1.Expose)({ name: "reference" }),
73
73
  __metadata("design:type", String)
74
- ], AccountingTransaction.prototype, "reference", void 0);
74
+ ], AccountingJournal.prototype, "reference", void 0);
75
75
  __decorate([
76
76
  (0, utils_1.SpeakeasyMetadata)(),
77
77
  (0, class_transformer_1.Expose)({ name: "tax_amount" }),
78
78
  __metadata("design:type", Number)
79
- ], AccountingTransaction.prototype, "taxAmount", void 0);
79
+ ], AccountingJournal.prototype, "taxAmount", void 0);
80
80
  __decorate([
81
81
  (0, utils_1.SpeakeasyMetadata)(),
82
82
  (0, class_transformer_1.Expose)({ name: "taxrate_id" }),
83
83
  __metadata("design:type", String)
84
- ], AccountingTransaction.prototype, "taxrateId", void 0);
84
+ ], AccountingJournal.prototype, "taxrateId", void 0);
85
85
  __decorate([
86
86
  (0, utils_1.SpeakeasyMetadata)(),
87
87
  (0, class_transformer_1.Expose)({ name: "updated_at" }),
88
88
  __metadata("design:type", String)
89
- ], AccountingTransaction.prototype, "updatedAt", void 0);
90
- return AccountingTransaction;
89
+ ], AccountingJournal.prototype, "updatedAt", void 0);
90
+ return AccountingJournal;
91
91
  }(utils_1.SpeakeasyBase));
92
- exports.AccountingTransaction = AccountingTransaction;
92
+ exports.AccountingJournal = AccountingJournal;
@@ -1,5 +1,5 @@
1
1
  import { SpeakeasyBase } from "../../../internal/utils";
2
- export declare class AccountingTransactionLineitem extends SpeakeasyBase {
2
+ export declare class AccountingJournalLineitem extends SpeakeasyBase {
3
3
  accountId?: string;
4
4
  contactId?: string;
5
5
  description?: string;
@@ -27,54 +27,54 @@ 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.AccountingTransactionLineitem = void 0;
30
+ exports.AccountingJournalLineitem = void 0;
31
31
  var utils_1 = require("../../../internal/utils");
32
32
  var class_transformer_1 = require("class-transformer");
33
- var AccountingTransactionLineitem = /** @class */ (function (_super) {
34
- __extends(AccountingTransactionLineitem, _super);
35
- function AccountingTransactionLineitem() {
33
+ var AccountingJournalLineitem = /** @class */ (function (_super) {
34
+ __extends(AccountingJournalLineitem, _super);
35
+ function AccountingJournalLineitem() {
36
36
  return _super !== null && _super.apply(this, arguments) || this;
37
37
  }
38
38
  __decorate([
39
39
  (0, utils_1.SpeakeasyMetadata)(),
40
40
  (0, class_transformer_1.Expose)({ name: "account_id" }),
41
41
  __metadata("design:type", String)
42
- ], AccountingTransactionLineitem.prototype, "accountId", void 0);
42
+ ], AccountingJournalLineitem.prototype, "accountId", void 0);
43
43
  __decorate([
44
44
  (0, utils_1.SpeakeasyMetadata)(),
45
45
  (0, class_transformer_1.Expose)({ name: "contact_id" }),
46
46
  __metadata("design:type", String)
47
- ], AccountingTransactionLineitem.prototype, "contactId", void 0);
47
+ ], AccountingJournalLineitem.prototype, "contactId", void 0);
48
48
  __decorate([
49
49
  (0, utils_1.SpeakeasyMetadata)(),
50
50
  (0, class_transformer_1.Expose)({ name: "description" }),
51
51
  __metadata("design:type", String)
52
- ], AccountingTransactionLineitem.prototype, "description", void 0);
52
+ ], AccountingJournalLineitem.prototype, "description", void 0);
53
53
  __decorate([
54
54
  (0, utils_1.SpeakeasyMetadata)(),
55
55
  (0, class_transformer_1.Expose)({ name: "id" }),
56
56
  __metadata("design:type", String)
57
- ], AccountingTransactionLineitem.prototype, "id", void 0);
57
+ ], AccountingJournalLineitem.prototype, "id", void 0);
58
58
  __decorate([
59
59
  (0, utils_1.SpeakeasyMetadata)(),
60
60
  (0, class_transformer_1.Expose)({ name: "invoice_id" }),
61
61
  __metadata("design:type", String)
62
- ], AccountingTransactionLineitem.prototype, "invoiceId", void 0);
62
+ ], AccountingJournalLineitem.prototype, "invoiceId", void 0);
63
63
  __decorate([
64
64
  (0, utils_1.SpeakeasyMetadata)(),
65
65
  (0, class_transformer_1.Expose)({ name: "payment_id" }),
66
66
  __metadata("design:type", String)
67
- ], AccountingTransactionLineitem.prototype, "paymentId", void 0);
67
+ ], AccountingJournalLineitem.prototype, "paymentId", void 0);
68
68
  __decorate([
69
69
  (0, utils_1.SpeakeasyMetadata)(),
70
70
  (0, class_transformer_1.Expose)({ name: "tax_amount" }),
71
71
  __metadata("design:type", Number)
72
- ], AccountingTransactionLineitem.prototype, "taxAmount", void 0);
72
+ ], AccountingJournalLineitem.prototype, "taxAmount", void 0);
73
73
  __decorate([
74
74
  (0, utils_1.SpeakeasyMetadata)(),
75
75
  (0, class_transformer_1.Expose)({ name: "total_amount" }),
76
76
  __metadata("design:type", Number)
77
- ], AccountingTransactionLineitem.prototype, "totalAmount", void 0);
78
- return AccountingTransactionLineitem;
77
+ ], AccountingJournalLineitem.prototype, "totalAmount", void 0);
78
+ return AccountingJournalLineitem;
79
79
  }(utils_1.SpeakeasyBase));
80
- exports.AccountingTransactionLineitem = AccountingTransactionLineitem;
80
+ exports.AccountingJournalLineitem = AccountingJournalLineitem;
@@ -3,12 +3,12 @@ export * from "./accountingcontact";
3
3
  export * from "./accountingcontactpaymentmethod";
4
4
  export * from "./accountingemail";
5
5
  export * from "./accountinginvoice";
6
+ export * from "./accountingjournal";
7
+ export * from "./accountingjournallineitem";
6
8
  export * from "./accountinglineitem";
7
9
  export * from "./accountingorganization";
8
10
  export * from "./accountingtaxrate";
9
11
  export * from "./accountingtelephone";
10
- export * from "./accountingtransaction";
11
- export * from "./accountingtransactionlineitem";
12
12
  export * from "./apicall";
13
13
  export * from "./atsactivity";
14
14
  export * from "./atsaddress";
@@ -22,12 +22,12 @@ __exportStar(require("./accountingcontact"), exports);
22
22
  __exportStar(require("./accountingcontactpaymentmethod"), exports);
23
23
  __exportStar(require("./accountingemail"), exports);
24
24
  __exportStar(require("./accountinginvoice"), exports);
25
+ __exportStar(require("./accountingjournal"), exports);
26
+ __exportStar(require("./accountingjournallineitem"), exports);
25
27
  __exportStar(require("./accountinglineitem"), exports);
26
28
  __exportStar(require("./accountingorganization"), exports);
27
29
  __exportStar(require("./accountingtaxrate"), exports);
28
30
  __exportStar(require("./accountingtelephone"), exports);
29
- __exportStar(require("./accountingtransaction"), exports);
30
- __exportStar(require("./accountingtransactionlineitem"), exports);
31
31
  __exportStar(require("./apicall"), exports);
32
32
  __exportStar(require("./atsactivity"), exports);
33
33
  __exportStar(require("./atsaddress"), exports);
@@ -4,6 +4,8 @@ export declare enum PropertyConnectionPermissions {
4
4
  AccountingAccountWrite = "accounting_account_write",
5
5
  AccountingTransactionRead = "accounting_transaction_read",
6
6
  AccountingTransactionWrite = "accounting_transaction_write",
7
+ AccountingJournalRead = "accounting_journal_read",
8
+ AccountingJournalWrite = "accounting_journal_write",
7
9
  AccountingInvoiceRead = "accounting_invoice_read",
8
10
  AccountingInvoiceWrite = "accounting_invoice_write",
9
11
  AccountingContactRead = "accounting_contact_read",
@@ -11,6 +11,8 @@ var PropertyConnectionPermissions;
11
11
  PropertyConnectionPermissions["AccountingAccountWrite"] = "accounting_account_write";
12
12
  PropertyConnectionPermissions["AccountingTransactionRead"] = "accounting_transaction_read";
13
13
  PropertyConnectionPermissions["AccountingTransactionWrite"] = "accounting_transaction_write";
14
+ PropertyConnectionPermissions["AccountingJournalRead"] = "accounting_journal_read";
15
+ PropertyConnectionPermissions["AccountingJournalWrite"] = "accounting_journal_write";
14
16
  PropertyConnectionPermissions["AccountingInvoiceRead"] = "accounting_invoice_read";
15
17
  PropertyConnectionPermissions["AccountingInvoiceWrite"] = "accounting_invoice_write";
16
18
  PropertyConnectionPermissions["AccountingContactRead"] = "accounting_contact_read";
@@ -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",