@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.
- package/dist/sdk/accounting.d.ts +24 -24
- package/dist/sdk/accounting.js +91 -91
- package/dist/sdk/journal.d.ts +31 -0
- package/dist/sdk/{transaction.js → journal.js} +44 -44
- package/dist/sdk/models/operations/{createaccountingtransaction.d.ts → createaccountingjournal.d.ts} +4 -4
- package/dist/sdk/models/operations/{createaccountingtransaction.js → createaccountingjournal.js} +19 -19
- package/dist/sdk/models/operations/{getaccountingtransaction.d.ts → getaccountingjournal.d.ts} +4 -4
- package/dist/sdk/models/operations/{getaccountingtransaction.js → getaccountingjournal.js} +19 -19
- package/dist/sdk/models/operations/getunifiedintegrationauth.d.ts +2 -0
- package/dist/sdk/models/operations/getunifiedintegrationauth.js +2 -0
- package/dist/sdk/models/operations/index.d.ts +6 -6
- package/dist/sdk/models/operations/index.js +6 -6
- package/dist/sdk/models/operations/{listaccountingtransactions.d.ts → listaccountingjournals.d.ts} +3 -3
- package/dist/sdk/models/operations/{listaccountingtransactions.js → listaccountingjournals.js} +24 -24
- package/dist/sdk/models/operations/{patchaccountingtransaction.d.ts → patchaccountingjournal.d.ts} +5 -5
- package/dist/sdk/models/operations/{patchaccountingtransaction.js → patchaccountingjournal.js} +20 -20
- package/dist/sdk/models/operations/{removeaccountingtransaction.d.ts → removeaccountingjournal.d.ts} +3 -3
- package/dist/sdk/models/operations/{removeaccountingtransaction.js → removeaccountingjournal.js} +17 -17
- package/dist/sdk/models/operations/{updateaccountingtransaction.d.ts → updateaccountingjournal.d.ts} +5 -5
- package/dist/sdk/models/operations/{updateaccountingtransaction.js → updateaccountingjournal.js} +20 -20
- package/dist/sdk/models/shared/{accountingtransaction.d.ts → accountingjournal.d.ts} +3 -3
- package/dist/sdk/models/shared/{accountingtransaction.js → accountingjournal.js} +19 -19
- package/dist/sdk/models/shared/{accountingtransactionlineitem.d.ts → accountingjournallineitem.d.ts} +1 -1
- package/dist/sdk/models/shared/{accountingtransactionlineitem.js → accountingjournallineitem.js} +14 -14
- package/dist/sdk/models/shared/index.d.ts +2 -2
- package/dist/sdk/models/shared/index.js +2 -2
- package/dist/sdk/models/shared/propertyconnectionpermissions.d.ts +2 -0
- package/dist/sdk/models/shared/propertyconnectionpermissions.js +2 -0
- package/dist/sdk/models/shared/webhook.d.ts +1 -0
- package/dist/sdk/models/shared/webhook.js +1 -0
- package/dist/sdk/sdk.d.ts +2 -2
- package/dist/sdk/sdk.js +4 -4
- package/docs/sdk/models/operations/createaccountingjournalrequest.md +9 -0
- package/docs/sdk/models/operations/createaccountingjournalresponse.md +11 -0
- package/docs/sdk/models/operations/{getaccountingtransactionrequest.md → getaccountingjournalrequest.md} +2 -2
- package/docs/sdk/models/operations/getaccountingjournalresponse.md +11 -0
- package/docs/sdk/models/operations/{listaccountingtransactionsrequest.md → listaccountingjournalsrequest.md} +1 -1
- package/docs/sdk/models/operations/listaccountingjournalsresponse.md +11 -0
- package/docs/sdk/models/operations/patchaccountingjournalrequest.md +10 -0
- package/docs/sdk/models/operations/patchaccountingjournalresponse.md +11 -0
- package/docs/sdk/models/operations/removeaccountingjournalrequest.md +9 -0
- package/docs/sdk/models/operations/{removeaccountingtransactionresponse.md → removeaccountingjournalresponse.md} +1 -1
- package/docs/sdk/models/operations/scopes.md +2 -0
- package/docs/sdk/models/operations/updateaccountingjournalrequest.md +10 -0
- package/docs/sdk/models/operations/updateaccountingjournalresponse.md +11 -0
- package/docs/sdk/models/shared/accountingjournal.md +17 -0
- package/docs/sdk/models/shared/{accountingtransactionlineitem.md → accountingjournallineitem.md} +1 -1
- package/docs/sdk/models/shared/objecttype.md +1 -0
- package/docs/sdk/models/shared/propertyconnectionpermissions.md +2 -0
- package/package.json +1 -1
- package/dist/sdk/transaction.d.ts +0 -31
- package/docs/sdk/models/operations/createaccountingtransactionrequest.md +0 -9
- package/docs/sdk/models/operations/createaccountingtransactionresponse.md +0 -11
- package/docs/sdk/models/operations/getaccountingtransactionresponse.md +0 -11
- package/docs/sdk/models/operations/listaccountingtransactionsresponse.md +0 -11
- package/docs/sdk/models/operations/patchaccountingtransactionrequest.md +0 -10
- package/docs/sdk/models/operations/patchaccountingtransactionresponse.md +0 -11
- package/docs/sdk/models/operations/removeaccountingtransactionrequest.md +0 -9
- package/docs/sdk/models/operations/updateaccountingtransactionrequest.md +0 -10
- package/docs/sdk/models/operations/updateaccountingtransactionresponse.md +0 -11
- package/docs/sdk/models/shared/accountingtransaction.md +0 -17
package/dist/sdk/models/operations/{listaccountingtransactions.js → listaccountingjournals.js}
RENAMED
|
@@ -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.
|
|
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
|
|
57
|
-
__extends(
|
|
58
|
-
function
|
|
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
|
-
],
|
|
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
|
-
],
|
|
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
|
-
],
|
|
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
|
-
],
|
|
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
|
-
],
|
|
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
|
-
],
|
|
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
|
-
],
|
|
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
|
-
],
|
|
93
|
-
return
|
|
92
|
+
], ListAccountingJournalsRequest.prototype, "updatedGte", void 0);
|
|
93
|
+
return ListAccountingJournalsRequest;
|
|
94
94
|
}(utils_1.SpeakeasyBase));
|
|
95
|
-
exports.
|
|
96
|
-
var
|
|
97
|
-
__extends(
|
|
98
|
-
function
|
|
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.
|
|
102
|
+
(0, utils_1.SpeakeasyMetadata)({ elemType: shared.AccountingJournal }),
|
|
103
103
|
__metadata("design:type", Array)
|
|
104
|
-
],
|
|
104
|
+
], ListAccountingJournalsResponse.prototype, "accountingJournals", void 0);
|
|
105
105
|
__decorate([
|
|
106
106
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
107
107
|
__metadata("design:type", String)
|
|
108
|
-
],
|
|
108
|
+
], ListAccountingJournalsResponse.prototype, "contentType", void 0);
|
|
109
109
|
__decorate([
|
|
110
110
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
111
111
|
__metadata("design:type", Number)
|
|
112
|
-
],
|
|
112
|
+
], ListAccountingJournalsResponse.prototype, "statusCode", void 0);
|
|
113
113
|
__decorate([
|
|
114
114
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
115
115
|
__metadata("design:type", Object)
|
|
116
|
-
],
|
|
117
|
-
return
|
|
116
|
+
], ListAccountingJournalsResponse.prototype, "rawResponse", void 0);
|
|
117
|
+
return ListAccountingJournalsResponse;
|
|
118
118
|
}(utils_1.SpeakeasyBase));
|
|
119
|
-
exports.
|
|
119
|
+
exports.ListAccountingJournalsResponse = ListAccountingJournalsResponse;
|
package/dist/sdk/models/operations/{patchaccountingtransaction.d.ts → patchaccountingjournal.d.ts}
RENAMED
|
@@ -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
|
|
5
|
-
|
|
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
|
|
11
|
+
* ID of the Journal
|
|
12
12
|
*/
|
|
13
13
|
id: string;
|
|
14
14
|
}
|
|
15
|
-
export declare class
|
|
15
|
+
export declare class PatchAccountingJournalResponse extends SpeakeasyBase {
|
|
16
16
|
/**
|
|
17
17
|
* Successful
|
|
18
18
|
*/
|
|
19
|
-
|
|
19
|
+
accountingJournal?: shared.AccountingJournal;
|
|
20
20
|
/**
|
|
21
21
|
* HTTP response content type for this operation
|
|
22
22
|
*/
|
package/dist/sdk/models/operations/{patchaccountingtransaction.js → patchaccountingjournal.js}
RENAMED
|
@@ -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.
|
|
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
|
|
57
|
-
__extends(
|
|
58
|
-
function
|
|
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.
|
|
64
|
-
],
|
|
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
|
-
],
|
|
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
|
-
],
|
|
73
|
-
return
|
|
72
|
+
], PatchAccountingJournalRequest.prototype, "id", void 0);
|
|
73
|
+
return PatchAccountingJournalRequest;
|
|
74
74
|
}(utils_1.SpeakeasyBase));
|
|
75
|
-
exports.
|
|
76
|
-
var
|
|
77
|
-
__extends(
|
|
78
|
-
function
|
|
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.
|
|
84
|
-
],
|
|
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
|
-
],
|
|
88
|
+
], PatchAccountingJournalResponse.prototype, "contentType", void 0);
|
|
89
89
|
__decorate([
|
|
90
90
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
91
91
|
__metadata("design:type", Number)
|
|
92
|
-
],
|
|
92
|
+
], PatchAccountingJournalResponse.prototype, "statusCode", void 0);
|
|
93
93
|
__decorate([
|
|
94
94
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
95
95
|
__metadata("design:type", Object)
|
|
96
|
-
],
|
|
97
|
-
return
|
|
96
|
+
], PatchAccountingJournalResponse.prototype, "rawResponse", void 0);
|
|
97
|
+
return PatchAccountingJournalResponse;
|
|
98
98
|
}(utils_1.SpeakeasyBase));
|
|
99
|
-
exports.
|
|
99
|
+
exports.PatchAccountingJournalResponse = PatchAccountingJournalResponse;
|
package/dist/sdk/models/operations/{removeaccountingtransaction.d.ts → removeaccountingjournal.d.ts}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { SpeakeasyBase } from "../../../internal/utils";
|
|
2
2
|
import { AxiosResponse } from "axios";
|
|
3
|
-
export declare class
|
|
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
|
|
9
|
+
* ID of the Journal
|
|
10
10
|
*/
|
|
11
11
|
id: string;
|
|
12
12
|
}
|
|
13
|
-
export declare class
|
|
13
|
+
export declare class RemoveAccountingJournalResponse extends SpeakeasyBase {
|
|
14
14
|
/**
|
|
15
15
|
* HTTP response content type for this operation
|
|
16
16
|
*/
|
package/dist/sdk/models/operations/{removeaccountingtransaction.js → removeaccountingjournal.js}
RENAMED
|
@@ -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.
|
|
30
|
+
exports.RemoveAccountingJournalResponse = exports.RemoveAccountingJournalRequest = void 0;
|
|
31
31
|
var utils_1 = require("../../../internal/utils");
|
|
32
|
-
var
|
|
33
|
-
__extends(
|
|
34
|
-
function
|
|
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
|
-
],
|
|
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
|
-
],
|
|
45
|
-
return
|
|
44
|
+
], RemoveAccountingJournalRequest.prototype, "id", void 0);
|
|
45
|
+
return RemoveAccountingJournalRequest;
|
|
46
46
|
}(utils_1.SpeakeasyBase));
|
|
47
|
-
exports.
|
|
48
|
-
var
|
|
49
|
-
__extends(
|
|
50
|
-
function
|
|
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
|
-
],
|
|
56
|
+
], RemoveAccountingJournalResponse.prototype, "contentType", void 0);
|
|
57
57
|
__decorate([
|
|
58
58
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
59
59
|
__metadata("design:type", Number)
|
|
60
|
-
],
|
|
60
|
+
], RemoveAccountingJournalResponse.prototype, "statusCode", void 0);
|
|
61
61
|
__decorate([
|
|
62
62
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
63
63
|
__metadata("design:type", Object)
|
|
64
|
-
],
|
|
64
|
+
], RemoveAccountingJournalResponse.prototype, "rawResponse", void 0);
|
|
65
65
|
__decorate([
|
|
66
66
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
67
67
|
__metadata("design:type", String)
|
|
68
|
-
],
|
|
69
|
-
return
|
|
68
|
+
], RemoveAccountingJournalResponse.prototype, "string", void 0);
|
|
69
|
+
return RemoveAccountingJournalResponse;
|
|
70
70
|
}(utils_1.SpeakeasyBase));
|
|
71
|
-
exports.
|
|
71
|
+
exports.RemoveAccountingJournalResponse = RemoveAccountingJournalResponse;
|
package/dist/sdk/models/operations/{updateaccountingtransaction.d.ts → updateaccountingjournal.d.ts}
RENAMED
|
@@ -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
|
|
5
|
-
|
|
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
|
|
11
|
+
* ID of the Journal
|
|
12
12
|
*/
|
|
13
13
|
id: string;
|
|
14
14
|
}
|
|
15
|
-
export declare class
|
|
15
|
+
export declare class UpdateAccountingJournalResponse extends SpeakeasyBase {
|
|
16
16
|
/**
|
|
17
17
|
* Successful
|
|
18
18
|
*/
|
|
19
|
-
|
|
19
|
+
accountingJournal?: shared.AccountingJournal;
|
|
20
20
|
/**
|
|
21
21
|
* HTTP response content type for this operation
|
|
22
22
|
*/
|
package/dist/sdk/models/operations/{updateaccountingtransaction.js → updateaccountingjournal.js}
RENAMED
|
@@ -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.
|
|
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
|
|
57
|
-
__extends(
|
|
58
|
-
function
|
|
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.
|
|
64
|
-
],
|
|
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
|
-
],
|
|
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
|
-
],
|
|
73
|
-
return
|
|
72
|
+
], UpdateAccountingJournalRequest.prototype, "id", void 0);
|
|
73
|
+
return UpdateAccountingJournalRequest;
|
|
74
74
|
}(utils_1.SpeakeasyBase));
|
|
75
|
-
exports.
|
|
76
|
-
var
|
|
77
|
-
__extends(
|
|
78
|
-
function
|
|
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.
|
|
84
|
-
],
|
|
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
|
-
],
|
|
88
|
+
], UpdateAccountingJournalResponse.prototype, "contentType", void 0);
|
|
89
89
|
__decorate([
|
|
90
90
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
91
91
|
__metadata("design:type", Number)
|
|
92
|
-
],
|
|
92
|
+
], UpdateAccountingJournalResponse.prototype, "statusCode", void 0);
|
|
93
93
|
__decorate([
|
|
94
94
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
95
95
|
__metadata("design:type", Object)
|
|
96
|
-
],
|
|
97
|
-
return
|
|
96
|
+
], UpdateAccountingJournalResponse.prototype, "rawResponse", void 0);
|
|
97
|
+
return UpdateAccountingJournalResponse;
|
|
98
98
|
}(utils_1.SpeakeasyBase));
|
|
99
|
-
exports.
|
|
99
|
+
exports.UpdateAccountingJournalResponse = UpdateAccountingJournalResponse;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SpeakeasyBase } from "../../../internal/utils";
|
|
2
|
-
import {
|
|
3
|
-
export declare class
|
|
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?:
|
|
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.
|
|
30
|
+
exports.AccountingJournal = void 0;
|
|
31
31
|
var utils_1 = require("../../../internal/utils");
|
|
32
|
-
var
|
|
32
|
+
var accountingjournallineitem_1 = require("./accountingjournallineitem");
|
|
33
33
|
var class_transformer_1 = require("class-transformer");
|
|
34
|
-
var
|
|
35
|
-
__extends(
|
|
36
|
-
function
|
|
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
|
-
],
|
|
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
|
-
],
|
|
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
|
-
],
|
|
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
|
-
],
|
|
58
|
+
], AccountingJournal.prototype, "id", void 0);
|
|
59
59
|
__decorate([
|
|
60
|
-
(0, utils_1.SpeakeasyMetadata)({ elemType:
|
|
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
|
|
62
|
+
(0, class_transformer_1.Type)(function () { return accountingjournallineitem_1.AccountingJournalLineitem; }),
|
|
63
63
|
__metadata("design:type", Array)
|
|
64
|
-
],
|
|
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
|
-
],
|
|
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
|
-
],
|
|
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
|
-
],
|
|
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
|
-
],
|
|
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
|
-
],
|
|
90
|
-
return
|
|
89
|
+
], AccountingJournal.prototype, "updatedAt", void 0);
|
|
90
|
+
return AccountingJournal;
|
|
91
91
|
}(utils_1.SpeakeasyBase));
|
|
92
|
-
exports.
|
|
92
|
+
exports.AccountingJournal = AccountingJournal;
|
package/dist/sdk/models/shared/{accountingtransactionlineitem.d.ts → accountingjournallineitem.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SpeakeasyBase } from "../../../internal/utils";
|
|
2
|
-
export declare class
|
|
2
|
+
export declare class AccountingJournalLineitem extends SpeakeasyBase {
|
|
3
3
|
accountId?: string;
|
|
4
4
|
contactId?: string;
|
|
5
5
|
description?: string;
|
package/dist/sdk/models/shared/{accountingtransactionlineitem.js → accountingjournallineitem.js}
RENAMED
|
@@ -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.
|
|
30
|
+
exports.AccountingJournalLineitem = void 0;
|
|
31
31
|
var utils_1 = require("../../../internal/utils");
|
|
32
32
|
var class_transformer_1 = require("class-transformer");
|
|
33
|
-
var
|
|
34
|
-
__extends(
|
|
35
|
-
function
|
|
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
|
-
],
|
|
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
|
-
],
|
|
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
|
-
],
|
|
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
|
-
],
|
|
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
|
-
],
|
|
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
|
-
],
|
|
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
|
-
],
|
|
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
|
-
],
|
|
78
|
-
return
|
|
77
|
+
], AccountingJournalLineitem.prototype, "totalAmount", void 0);
|
|
78
|
+
return AccountingJournalLineitem;
|
|
79
79
|
}(utils_1.SpeakeasyBase));
|
|
80
|
-
exports.
|
|
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",
|