@unified-api/typescript-sdk 1.0.38 → 1.0.39

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 (38) hide show
  1. package/dist/sdk/accounting.d.ts +24 -0
  2. package/dist/sdk/accounting.js +402 -0
  3. package/dist/sdk/models/operations/createaccountingtransaction.d.ts +28 -0
  4. package/dist/sdk/models/operations/createaccountingtransaction.js +95 -0
  5. package/dist/sdk/models/operations/getaccountingtransaction.d.ts +35 -0
  6. package/dist/sdk/models/operations/getaccountingtransaction.js +99 -0
  7. package/dist/sdk/models/operations/index.d.ts +6 -0
  8. package/dist/sdk/models/operations/index.js +6 -0
  9. package/dist/sdk/models/operations/listaccountingtransactions.d.ts +44 -0
  10. package/dist/sdk/models/operations/listaccountingtransactions.js +123 -0
  11. package/dist/sdk/models/operations/patchaccountingtransaction.d.ts +32 -0
  12. package/dist/sdk/models/operations/patchaccountingtransaction.js +99 -0
  13. package/dist/sdk/models/operations/removeaccountingtransaction.d.ts +30 -0
  14. package/dist/sdk/models/operations/removeaccountingtransaction.js +71 -0
  15. package/dist/sdk/models/operations/updateaccountingtransaction.d.ts +32 -0
  16. package/dist/sdk/models/operations/updateaccountingtransaction.js +99 -0
  17. package/dist/sdk/models/shared/accountingtransaction.d.ts +20 -0
  18. package/dist/sdk/models/shared/accountingtransaction.js +133 -0
  19. package/dist/sdk/models/shared/index.d.ts +1 -0
  20. package/dist/sdk/models/shared/index.js +1 -0
  21. package/dist/sdk/sdk.d.ts +2 -0
  22. package/dist/sdk/sdk.js +5 -3
  23. package/dist/sdk/transaction.d.ts +31 -0
  24. package/dist/sdk/transaction.js +505 -0
  25. package/docs/sdk/models/operations/createaccountingtransactionrequest.md +9 -0
  26. package/docs/sdk/models/operations/createaccountingtransactionresponse.md +11 -0
  27. package/docs/sdk/models/operations/getaccountingtransactionrequest.md +10 -0
  28. package/docs/sdk/models/operations/getaccountingtransactionresponse.md +11 -0
  29. package/docs/sdk/models/operations/listaccountingtransactionsrequest.md +16 -0
  30. package/docs/sdk/models/operations/listaccountingtransactionsresponse.md +11 -0
  31. package/docs/sdk/models/operations/patchaccountingtransactionrequest.md +10 -0
  32. package/docs/sdk/models/operations/patchaccountingtransactionresponse.md +11 -0
  33. package/docs/sdk/models/operations/removeaccountingtransactionrequest.md +9 -0
  34. package/docs/sdk/models/operations/removeaccountingtransactionresponse.md +11 -0
  35. package/docs/sdk/models/operations/updateaccountingtransactionrequest.md +10 -0
  36. package/docs/sdk/models/operations/updateaccountingtransactionresponse.md +11 -0
  37. package/docs/sdk/models/shared/accountingtransaction.md +24 -0
  38. package/package.json +1 -1
@@ -0,0 +1,35 @@
1
+ import { SpeakeasyBase } from "../../../internal/utils";
2
+ import * as shared from "../../../sdk/models/shared";
3
+ import { AxiosResponse } from "axios";
4
+ export declare class GetAccountingTransactionRequest extends SpeakeasyBase {
5
+ /**
6
+ * ID of the connection
7
+ */
8
+ connectionId: string;
9
+ /**
10
+ * Comma-delimited fields to return
11
+ */
12
+ fields?: string[];
13
+ /**
14
+ * ID of the Transaction
15
+ */
16
+ id: string;
17
+ }
18
+ export declare class GetAccountingTransactionResponse extends SpeakeasyBase {
19
+ /**
20
+ * Successful
21
+ */
22
+ accountingTransaction?: shared.AccountingTransaction;
23
+ /**
24
+ * HTTP response content type for this operation
25
+ */
26
+ contentType: string;
27
+ /**
28
+ * HTTP response status code for this operation
29
+ */
30
+ statusCode: number;
31
+ /**
32
+ * Raw HTTP response; suitable for custom response parsing
33
+ */
34
+ rawResponse: AxiosResponse;
35
+ }
@@ -0,0 +1,99 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
4
+ */
5
+ var __extends = (this && this.__extends) || (function () {
6
+ var extendStatics = function (d, b) {
7
+ extendStatics = Object.setPrototypeOf ||
8
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
9
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
10
+ return extendStatics(d, b);
11
+ };
12
+ return function (d, b) {
13
+ if (typeof b !== "function" && b !== null)
14
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
15
+ extendStatics(d, b);
16
+ function __() { this.constructor = d; }
17
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
18
+ };
19
+ })();
20
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
21
+ if (k2 === undefined) k2 = k;
22
+ var desc = Object.getOwnPropertyDescriptor(m, k);
23
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
24
+ desc = { enumerable: true, get: function() { return m[k]; } };
25
+ }
26
+ Object.defineProperty(o, k2, desc);
27
+ }) : (function(o, m, k, k2) {
28
+ if (k2 === undefined) k2 = k;
29
+ o[k2] = m[k];
30
+ }));
31
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
32
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
33
+ }) : function(o, v) {
34
+ o["default"] = v;
35
+ });
36
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
37
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
38
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
39
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
40
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
41
+ };
42
+ var __importStar = (this && this.__importStar) || function (mod) {
43
+ if (mod && mod.__esModule) return mod;
44
+ var result = {};
45
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
46
+ __setModuleDefault(result, mod);
47
+ return result;
48
+ };
49
+ var __metadata = (this && this.__metadata) || function (k, v) {
50
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
51
+ };
52
+ Object.defineProperty(exports, "__esModule", { value: true });
53
+ exports.GetAccountingTransactionResponse = exports.GetAccountingTransactionRequest = void 0;
54
+ var utils_1 = require("../../../internal/utils");
55
+ var shared = __importStar(require("../../../sdk/models/shared"));
56
+ var GetAccountingTransactionRequest = /** @class */ (function (_super) {
57
+ __extends(GetAccountingTransactionRequest, _super);
58
+ function GetAccountingTransactionRequest() {
59
+ return _super !== null && _super.apply(this, arguments) || this;
60
+ }
61
+ __decorate([
62
+ (0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=connection_id" }),
63
+ __metadata("design:type", String)
64
+ ], GetAccountingTransactionRequest.prototype, "connectionId", void 0);
65
+ __decorate([
66
+ (0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=fields" }),
67
+ __metadata("design:type", Array)
68
+ ], GetAccountingTransactionRequest.prototype, "fields", void 0);
69
+ __decorate([
70
+ (0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=id" }),
71
+ __metadata("design:type", String)
72
+ ], GetAccountingTransactionRequest.prototype, "id", void 0);
73
+ return GetAccountingTransactionRequest;
74
+ }(utils_1.SpeakeasyBase));
75
+ exports.GetAccountingTransactionRequest = GetAccountingTransactionRequest;
76
+ var GetAccountingTransactionResponse = /** @class */ (function (_super) {
77
+ __extends(GetAccountingTransactionResponse, _super);
78
+ function GetAccountingTransactionResponse() {
79
+ return _super !== null && _super.apply(this, arguments) || this;
80
+ }
81
+ __decorate([
82
+ (0, utils_1.SpeakeasyMetadata)(),
83
+ __metadata("design:type", shared.AccountingTransaction)
84
+ ], GetAccountingTransactionResponse.prototype, "accountingTransaction", void 0);
85
+ __decorate([
86
+ (0, utils_1.SpeakeasyMetadata)(),
87
+ __metadata("design:type", String)
88
+ ], GetAccountingTransactionResponse.prototype, "contentType", void 0);
89
+ __decorate([
90
+ (0, utils_1.SpeakeasyMetadata)(),
91
+ __metadata("design:type", Number)
92
+ ], GetAccountingTransactionResponse.prototype, "statusCode", void 0);
93
+ __decorate([
94
+ (0, utils_1.SpeakeasyMetadata)(),
95
+ __metadata("design:type", Object)
96
+ ], GetAccountingTransactionResponse.prototype, "rawResponse", void 0);
97
+ return GetAccountingTransactionResponse;
98
+ }(utils_1.SpeakeasyBase));
99
+ exports.GetAccountingTransactionResponse = GetAccountingTransactionResponse;
@@ -3,6 +3,7 @@ export * from "./createaccountingcontact";
3
3
  export * from "./createaccountinginvoice";
4
4
  export * from "./createaccountingjournal";
5
5
  export * from "./createaccountingtaxrate";
6
+ export * from "./createaccountingtransaction";
6
7
  export * from "./createatsactivity";
7
8
  export * from "./createatsapplication";
8
9
  export * from "./createatscandidate";
@@ -47,6 +48,7 @@ export * from "./getaccountinginvoice";
47
48
  export * from "./getaccountingjournal";
48
49
  export * from "./getaccountingorganization";
49
50
  export * from "./getaccountingtaxrate";
51
+ export * from "./getaccountingtransaction";
50
52
  export * from "./getatsactivity";
51
53
  export * from "./getatsapplication";
52
54
  export * from "./getatscandidate";
@@ -98,6 +100,7 @@ export * from "./listaccountinginvoices";
98
100
  export * from "./listaccountingjournals";
99
101
  export * from "./listaccountingorganizations";
100
102
  export * from "./listaccountingtaxrates";
103
+ export * from "./listaccountingtransactions";
101
104
  export * from "./listatsactivities";
102
105
  export * from "./listatsapplications";
103
106
  export * from "./listatsapplicationstatuses";
@@ -156,6 +159,7 @@ export * from "./patchaccountingcontact";
156
159
  export * from "./patchaccountinginvoice";
157
160
  export * from "./patchaccountingjournal";
158
161
  export * from "./patchaccountingtaxrate";
162
+ export * from "./patchaccountingtransaction";
159
163
  export * from "./patchatsactivity";
160
164
  export * from "./patchatsapplication";
161
165
  export * from "./patchatscandidate";
@@ -198,6 +202,7 @@ export * from "./removeaccountingcontact";
198
202
  export * from "./removeaccountinginvoice";
199
203
  export * from "./removeaccountingjournal";
200
204
  export * from "./removeaccountingtaxrate";
205
+ export * from "./removeaccountingtransaction";
201
206
  export * from "./removeatsactivity";
202
207
  export * from "./removeatsapplication";
203
208
  export * from "./removeatscandidate";
@@ -240,6 +245,7 @@ export * from "./updateaccountingcontact";
240
245
  export * from "./updateaccountinginvoice";
241
246
  export * from "./updateaccountingjournal";
242
247
  export * from "./updateaccountingtaxrate";
248
+ export * from "./updateaccountingtransaction";
243
249
  export * from "./updateatsactivity";
244
250
  export * from "./updateatsapplication";
245
251
  export * from "./updateatscandidate";
@@ -22,6 +22,7 @@ __exportStar(require("./createaccountingcontact"), exports);
22
22
  __exportStar(require("./createaccountinginvoice"), exports);
23
23
  __exportStar(require("./createaccountingjournal"), exports);
24
24
  __exportStar(require("./createaccountingtaxrate"), exports);
25
+ __exportStar(require("./createaccountingtransaction"), exports);
25
26
  __exportStar(require("./createatsactivity"), exports);
26
27
  __exportStar(require("./createatsapplication"), exports);
27
28
  __exportStar(require("./createatscandidate"), exports);
@@ -66,6 +67,7 @@ __exportStar(require("./getaccountinginvoice"), exports);
66
67
  __exportStar(require("./getaccountingjournal"), exports);
67
68
  __exportStar(require("./getaccountingorganization"), exports);
68
69
  __exportStar(require("./getaccountingtaxrate"), exports);
70
+ __exportStar(require("./getaccountingtransaction"), exports);
69
71
  __exportStar(require("./getatsactivity"), exports);
70
72
  __exportStar(require("./getatsapplication"), exports);
71
73
  __exportStar(require("./getatscandidate"), exports);
@@ -117,6 +119,7 @@ __exportStar(require("./listaccountinginvoices"), exports);
117
119
  __exportStar(require("./listaccountingjournals"), exports);
118
120
  __exportStar(require("./listaccountingorganizations"), exports);
119
121
  __exportStar(require("./listaccountingtaxrates"), exports);
122
+ __exportStar(require("./listaccountingtransactions"), exports);
120
123
  __exportStar(require("./listatsactivities"), exports);
121
124
  __exportStar(require("./listatsapplications"), exports);
122
125
  __exportStar(require("./listatsapplicationstatuses"), exports);
@@ -175,6 +178,7 @@ __exportStar(require("./patchaccountingcontact"), exports);
175
178
  __exportStar(require("./patchaccountinginvoice"), exports);
176
179
  __exportStar(require("./patchaccountingjournal"), exports);
177
180
  __exportStar(require("./patchaccountingtaxrate"), exports);
181
+ __exportStar(require("./patchaccountingtransaction"), exports);
178
182
  __exportStar(require("./patchatsactivity"), exports);
179
183
  __exportStar(require("./patchatsapplication"), exports);
180
184
  __exportStar(require("./patchatscandidate"), exports);
@@ -217,6 +221,7 @@ __exportStar(require("./removeaccountingcontact"), exports);
217
221
  __exportStar(require("./removeaccountinginvoice"), exports);
218
222
  __exportStar(require("./removeaccountingjournal"), exports);
219
223
  __exportStar(require("./removeaccountingtaxrate"), exports);
224
+ __exportStar(require("./removeaccountingtransaction"), exports);
220
225
  __exportStar(require("./removeatsactivity"), exports);
221
226
  __exportStar(require("./removeatsapplication"), exports);
222
227
  __exportStar(require("./removeatscandidate"), exports);
@@ -259,6 +264,7 @@ __exportStar(require("./updateaccountingcontact"), exports);
259
264
  __exportStar(require("./updateaccountinginvoice"), exports);
260
265
  __exportStar(require("./updateaccountingjournal"), exports);
261
266
  __exportStar(require("./updateaccountingtaxrate"), exports);
267
+ __exportStar(require("./updateaccountingtransaction"), exports);
262
268
  __exportStar(require("./updateatsactivity"), exports);
263
269
  __exportStar(require("./updateatsapplication"), exports);
264
270
  __exportStar(require("./updateatscandidate"), exports);
@@ -0,0 +1,44 @@
1
+ import { SpeakeasyBase } from "../../../internal/utils";
2
+ import * as shared from "../../../sdk/models/shared";
3
+ import { AxiosResponse } from "axios";
4
+ export declare class ListAccountingTransactionsRequest extends SpeakeasyBase {
5
+ /**
6
+ * ID of the connection
7
+ */
8
+ connectionId: string;
9
+ contactId?: string;
10
+ /**
11
+ * Comma-delimited fields to return
12
+ */
13
+ fields?: string[];
14
+ limit?: number;
15
+ offset?: number;
16
+ order?: string;
17
+ /**
18
+ * Query string to search. eg. email address or name
19
+ */
20
+ query?: string;
21
+ sort?: string;
22
+ /**
23
+ * Return only results whose updated date is equal or greater to this value
24
+ */
25
+ updatedGte?: Date;
26
+ }
27
+ export declare class ListAccountingTransactionsResponse extends SpeakeasyBase {
28
+ /**
29
+ * Successful
30
+ */
31
+ accountingTransactions?: shared.AccountingTransaction[];
32
+ /**
33
+ * HTTP response content type for this operation
34
+ */
35
+ contentType: string;
36
+ /**
37
+ * HTTP response status code for this operation
38
+ */
39
+ statusCode: number;
40
+ /**
41
+ * Raw HTTP response; suitable for custom response parsing
42
+ */
43
+ rawResponse: AxiosResponse;
44
+ }
@@ -0,0 +1,123 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
4
+ */
5
+ var __extends = (this && this.__extends) || (function () {
6
+ var extendStatics = function (d, b) {
7
+ extendStatics = Object.setPrototypeOf ||
8
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
9
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
10
+ return extendStatics(d, b);
11
+ };
12
+ return function (d, b) {
13
+ if (typeof b !== "function" && b !== null)
14
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
15
+ extendStatics(d, b);
16
+ function __() { this.constructor = d; }
17
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
18
+ };
19
+ })();
20
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
21
+ if (k2 === undefined) k2 = k;
22
+ var desc = Object.getOwnPropertyDescriptor(m, k);
23
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
24
+ desc = { enumerable: true, get: function() { return m[k]; } };
25
+ }
26
+ Object.defineProperty(o, k2, desc);
27
+ }) : (function(o, m, k, k2) {
28
+ if (k2 === undefined) k2 = k;
29
+ o[k2] = m[k];
30
+ }));
31
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
32
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
33
+ }) : function(o, v) {
34
+ o["default"] = v;
35
+ });
36
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
37
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
38
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
39
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
40
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
41
+ };
42
+ var __importStar = (this && this.__importStar) || function (mod) {
43
+ if (mod && mod.__esModule) return mod;
44
+ var result = {};
45
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
46
+ __setModuleDefault(result, mod);
47
+ return result;
48
+ };
49
+ var __metadata = (this && this.__metadata) || function (k, v) {
50
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
51
+ };
52
+ Object.defineProperty(exports, "__esModule", { value: true });
53
+ exports.ListAccountingTransactionsResponse = exports.ListAccountingTransactionsRequest = void 0;
54
+ var utils_1 = require("../../../internal/utils");
55
+ var shared = __importStar(require("../../../sdk/models/shared"));
56
+ var ListAccountingTransactionsRequest = /** @class */ (function (_super) {
57
+ __extends(ListAccountingTransactionsRequest, _super);
58
+ function ListAccountingTransactionsRequest() {
59
+ return _super !== null && _super.apply(this, arguments) || this;
60
+ }
61
+ __decorate([
62
+ (0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=connection_id" }),
63
+ __metadata("design:type", String)
64
+ ], ListAccountingTransactionsRequest.prototype, "connectionId", void 0);
65
+ __decorate([
66
+ (0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=contact_id" }),
67
+ __metadata("design:type", String)
68
+ ], ListAccountingTransactionsRequest.prototype, "contactId", void 0);
69
+ __decorate([
70
+ (0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=fields" }),
71
+ __metadata("design:type", Array)
72
+ ], ListAccountingTransactionsRequest.prototype, "fields", void 0);
73
+ __decorate([
74
+ (0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=limit" }),
75
+ __metadata("design:type", Number)
76
+ ], ListAccountingTransactionsRequest.prototype, "limit", void 0);
77
+ __decorate([
78
+ (0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=offset" }),
79
+ __metadata("design:type", Number)
80
+ ], ListAccountingTransactionsRequest.prototype, "offset", void 0);
81
+ __decorate([
82
+ (0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=order" }),
83
+ __metadata("design:type", String)
84
+ ], ListAccountingTransactionsRequest.prototype, "order", void 0);
85
+ __decorate([
86
+ (0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=query" }),
87
+ __metadata("design:type", String)
88
+ ], ListAccountingTransactionsRequest.prototype, "query", void 0);
89
+ __decorate([
90
+ (0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=sort" }),
91
+ __metadata("design:type", String)
92
+ ], ListAccountingTransactionsRequest.prototype, "sort", void 0);
93
+ __decorate([
94
+ (0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=updated_gte" }),
95
+ __metadata("design:type", Date)
96
+ ], ListAccountingTransactionsRequest.prototype, "updatedGte", void 0);
97
+ return ListAccountingTransactionsRequest;
98
+ }(utils_1.SpeakeasyBase));
99
+ exports.ListAccountingTransactionsRequest = ListAccountingTransactionsRequest;
100
+ var ListAccountingTransactionsResponse = /** @class */ (function (_super) {
101
+ __extends(ListAccountingTransactionsResponse, _super);
102
+ function ListAccountingTransactionsResponse() {
103
+ return _super !== null && _super.apply(this, arguments) || this;
104
+ }
105
+ __decorate([
106
+ (0, utils_1.SpeakeasyMetadata)({ elemType: shared.AccountingTransaction }),
107
+ __metadata("design:type", Array)
108
+ ], ListAccountingTransactionsResponse.prototype, "accountingTransactions", void 0);
109
+ __decorate([
110
+ (0, utils_1.SpeakeasyMetadata)(),
111
+ __metadata("design:type", String)
112
+ ], ListAccountingTransactionsResponse.prototype, "contentType", void 0);
113
+ __decorate([
114
+ (0, utils_1.SpeakeasyMetadata)(),
115
+ __metadata("design:type", Number)
116
+ ], ListAccountingTransactionsResponse.prototype, "statusCode", void 0);
117
+ __decorate([
118
+ (0, utils_1.SpeakeasyMetadata)(),
119
+ __metadata("design:type", Object)
120
+ ], ListAccountingTransactionsResponse.prototype, "rawResponse", void 0);
121
+ return ListAccountingTransactionsResponse;
122
+ }(utils_1.SpeakeasyBase));
123
+ exports.ListAccountingTransactionsResponse = ListAccountingTransactionsResponse;
@@ -0,0 +1,32 @@
1
+ import { SpeakeasyBase } from "../../../internal/utils";
2
+ import * as shared from "../../../sdk/models/shared";
3
+ import { AxiosResponse } from "axios";
4
+ export declare class PatchAccountingTransactionRequest extends SpeakeasyBase {
5
+ accountingTransaction?: shared.AccountingTransaction;
6
+ /**
7
+ * ID of the connection
8
+ */
9
+ connectionId: string;
10
+ /**
11
+ * ID of the Transaction
12
+ */
13
+ id: string;
14
+ }
15
+ export declare class PatchAccountingTransactionResponse extends SpeakeasyBase {
16
+ /**
17
+ * Successful
18
+ */
19
+ accountingTransaction?: shared.AccountingTransaction;
20
+ /**
21
+ * HTTP response content type for this operation
22
+ */
23
+ contentType: string;
24
+ /**
25
+ * HTTP response status code for this operation
26
+ */
27
+ statusCode: number;
28
+ /**
29
+ * Raw HTTP response; suitable for custom response parsing
30
+ */
31
+ rawResponse: AxiosResponse;
32
+ }
@@ -0,0 +1,99 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
4
+ */
5
+ var __extends = (this && this.__extends) || (function () {
6
+ var extendStatics = function (d, b) {
7
+ extendStatics = Object.setPrototypeOf ||
8
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
9
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
10
+ return extendStatics(d, b);
11
+ };
12
+ return function (d, b) {
13
+ if (typeof b !== "function" && b !== null)
14
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
15
+ extendStatics(d, b);
16
+ function __() { this.constructor = d; }
17
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
18
+ };
19
+ })();
20
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
21
+ if (k2 === undefined) k2 = k;
22
+ var desc = Object.getOwnPropertyDescriptor(m, k);
23
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
24
+ desc = { enumerable: true, get: function() { return m[k]; } };
25
+ }
26
+ Object.defineProperty(o, k2, desc);
27
+ }) : (function(o, m, k, k2) {
28
+ if (k2 === undefined) k2 = k;
29
+ o[k2] = m[k];
30
+ }));
31
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
32
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
33
+ }) : function(o, v) {
34
+ o["default"] = v;
35
+ });
36
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
37
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
38
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
39
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
40
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
41
+ };
42
+ var __importStar = (this && this.__importStar) || function (mod) {
43
+ if (mod && mod.__esModule) return mod;
44
+ var result = {};
45
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
46
+ __setModuleDefault(result, mod);
47
+ return result;
48
+ };
49
+ var __metadata = (this && this.__metadata) || function (k, v) {
50
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
51
+ };
52
+ Object.defineProperty(exports, "__esModule", { value: true });
53
+ exports.PatchAccountingTransactionResponse = exports.PatchAccountingTransactionRequest = void 0;
54
+ var utils_1 = require("../../../internal/utils");
55
+ var shared = __importStar(require("../../../sdk/models/shared"));
56
+ var PatchAccountingTransactionRequest = /** @class */ (function (_super) {
57
+ __extends(PatchAccountingTransactionRequest, _super);
58
+ function PatchAccountingTransactionRequest() {
59
+ return _super !== null && _super.apply(this, arguments) || this;
60
+ }
61
+ __decorate([
62
+ (0, utils_1.SpeakeasyMetadata)({ data: "request, media_type=application/json" }),
63
+ __metadata("design:type", shared.AccountingTransaction)
64
+ ], PatchAccountingTransactionRequest.prototype, "accountingTransaction", void 0);
65
+ __decorate([
66
+ (0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=connection_id" }),
67
+ __metadata("design:type", String)
68
+ ], PatchAccountingTransactionRequest.prototype, "connectionId", void 0);
69
+ __decorate([
70
+ (0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=id" }),
71
+ __metadata("design:type", String)
72
+ ], PatchAccountingTransactionRequest.prototype, "id", void 0);
73
+ return PatchAccountingTransactionRequest;
74
+ }(utils_1.SpeakeasyBase));
75
+ exports.PatchAccountingTransactionRequest = PatchAccountingTransactionRequest;
76
+ var PatchAccountingTransactionResponse = /** @class */ (function (_super) {
77
+ __extends(PatchAccountingTransactionResponse, _super);
78
+ function PatchAccountingTransactionResponse() {
79
+ return _super !== null && _super.apply(this, arguments) || this;
80
+ }
81
+ __decorate([
82
+ (0, utils_1.SpeakeasyMetadata)(),
83
+ __metadata("design:type", shared.AccountingTransaction)
84
+ ], PatchAccountingTransactionResponse.prototype, "accountingTransaction", void 0);
85
+ __decorate([
86
+ (0, utils_1.SpeakeasyMetadata)(),
87
+ __metadata("design:type", String)
88
+ ], PatchAccountingTransactionResponse.prototype, "contentType", void 0);
89
+ __decorate([
90
+ (0, utils_1.SpeakeasyMetadata)(),
91
+ __metadata("design:type", Number)
92
+ ], PatchAccountingTransactionResponse.prototype, "statusCode", void 0);
93
+ __decorate([
94
+ (0, utils_1.SpeakeasyMetadata)(),
95
+ __metadata("design:type", Object)
96
+ ], PatchAccountingTransactionResponse.prototype, "rawResponse", void 0);
97
+ return PatchAccountingTransactionResponse;
98
+ }(utils_1.SpeakeasyBase));
99
+ exports.PatchAccountingTransactionResponse = PatchAccountingTransactionResponse;
@@ -0,0 +1,30 @@
1
+ import { SpeakeasyBase } from "../../../internal/utils";
2
+ import { AxiosResponse } from "axios";
3
+ export declare class RemoveAccountingTransactionRequest extends SpeakeasyBase {
4
+ /**
5
+ * ID of the connection
6
+ */
7
+ connectionId: string;
8
+ /**
9
+ * ID of the Transaction
10
+ */
11
+ id: string;
12
+ }
13
+ export declare class RemoveAccountingTransactionResponse extends SpeakeasyBase {
14
+ /**
15
+ * HTTP response content type for this operation
16
+ */
17
+ contentType: string;
18
+ /**
19
+ * HTTP response status code for this operation
20
+ */
21
+ statusCode: number;
22
+ /**
23
+ * Raw HTTP response; suitable for custom response parsing
24
+ */
25
+ rawResponse: AxiosResponse;
26
+ /**
27
+ * Successful
28
+ */
29
+ string?: string;
30
+ }
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
4
+ */
5
+ var __extends = (this && this.__extends) || (function () {
6
+ var extendStatics = function (d, b) {
7
+ extendStatics = Object.setPrototypeOf ||
8
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
9
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
10
+ return extendStatics(d, b);
11
+ };
12
+ return function (d, b) {
13
+ if (typeof b !== "function" && b !== null)
14
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
15
+ extendStatics(d, b);
16
+ function __() { this.constructor = d; }
17
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
18
+ };
19
+ })();
20
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
21
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
22
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
23
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
24
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
25
+ };
26
+ var __metadata = (this && this.__metadata) || function (k, v) {
27
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
28
+ };
29
+ Object.defineProperty(exports, "__esModule", { value: true });
30
+ exports.RemoveAccountingTransactionResponse = exports.RemoveAccountingTransactionRequest = void 0;
31
+ var utils_1 = require("../../../internal/utils");
32
+ var RemoveAccountingTransactionRequest = /** @class */ (function (_super) {
33
+ __extends(RemoveAccountingTransactionRequest, _super);
34
+ function RemoveAccountingTransactionRequest() {
35
+ return _super !== null && _super.apply(this, arguments) || this;
36
+ }
37
+ __decorate([
38
+ (0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=connection_id" }),
39
+ __metadata("design:type", String)
40
+ ], RemoveAccountingTransactionRequest.prototype, "connectionId", void 0);
41
+ __decorate([
42
+ (0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=id" }),
43
+ __metadata("design:type", String)
44
+ ], RemoveAccountingTransactionRequest.prototype, "id", void 0);
45
+ return RemoveAccountingTransactionRequest;
46
+ }(utils_1.SpeakeasyBase));
47
+ exports.RemoveAccountingTransactionRequest = RemoveAccountingTransactionRequest;
48
+ var RemoveAccountingTransactionResponse = /** @class */ (function (_super) {
49
+ __extends(RemoveAccountingTransactionResponse, _super);
50
+ function RemoveAccountingTransactionResponse() {
51
+ return _super !== null && _super.apply(this, arguments) || this;
52
+ }
53
+ __decorate([
54
+ (0, utils_1.SpeakeasyMetadata)(),
55
+ __metadata("design:type", String)
56
+ ], RemoveAccountingTransactionResponse.prototype, "contentType", void 0);
57
+ __decorate([
58
+ (0, utils_1.SpeakeasyMetadata)(),
59
+ __metadata("design:type", Number)
60
+ ], RemoveAccountingTransactionResponse.prototype, "statusCode", void 0);
61
+ __decorate([
62
+ (0, utils_1.SpeakeasyMetadata)(),
63
+ __metadata("design:type", Object)
64
+ ], RemoveAccountingTransactionResponse.prototype, "rawResponse", void 0);
65
+ __decorate([
66
+ (0, utils_1.SpeakeasyMetadata)(),
67
+ __metadata("design:type", String)
68
+ ], RemoveAccountingTransactionResponse.prototype, "string", void 0);
69
+ return RemoveAccountingTransactionResponse;
70
+ }(utils_1.SpeakeasyBase));
71
+ exports.RemoveAccountingTransactionResponse = RemoveAccountingTransactionResponse;
@@ -0,0 +1,32 @@
1
+ import { SpeakeasyBase } from "../../../internal/utils";
2
+ import * as shared from "../../../sdk/models/shared";
3
+ import { AxiosResponse } from "axios";
4
+ export declare class UpdateAccountingTransactionRequest extends SpeakeasyBase {
5
+ accountingTransaction?: shared.AccountingTransaction;
6
+ /**
7
+ * ID of the connection
8
+ */
9
+ connectionId: string;
10
+ /**
11
+ * ID of the Transaction
12
+ */
13
+ id: string;
14
+ }
15
+ export declare class UpdateAccountingTransactionResponse extends SpeakeasyBase {
16
+ /**
17
+ * Successful
18
+ */
19
+ accountingTransaction?: shared.AccountingTransaction;
20
+ /**
21
+ * HTTP response content type for this operation
22
+ */
23
+ contentType: string;
24
+ /**
25
+ * HTTP response status code for this operation
26
+ */
27
+ statusCode: number;
28
+ /**
29
+ * Raw HTTP response; suitable for custom response parsing
30
+ */
31
+ rawResponse: AxiosResponse;
32
+ }