@unified-api/typescript-sdk 1.0.55 → 1.0.57
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/models/operations/listatscandidates.d.ts +1 -0
- package/dist/sdk/models/operations/listatscandidates.js +4 -0
- package/dist/sdk/models/shared/accountingtransaction.d.ts +2 -4
- package/dist/sdk/models/shared/accountingtransaction.js +7 -5
- package/dist/sdk/models/shared/accountingtransactionlineitem.d.ts +11 -0
- package/dist/sdk/models/shared/accountingtransactionlineitem.js +80 -0
- package/dist/sdk/models/shared/index.d.ts +1 -0
- package/dist/sdk/models/shared/index.js +1 -0
- package/dist/sdk/models/shared/tasktask.d.ts +1 -1
- package/dist/sdk/sdk.js +2 -2
- package/docs/sdk/models/operations/listatscandidatesrequest.md +1 -0
- package/docs/sdk/models/shared/accountingtransaction.md +20 -20
- package/docs/sdk/models/shared/accountingtransactionlineitem.md +15 -0
- package/docs/sdk/models/shared/tasktask.md +1 -1
- package/package.json +1 -1
|
@@ -66,6 +66,10 @@ var ListAtsCandidatesRequest = /** @class */ (function (_super) {
|
|
|
66
66
|
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=fields" }),
|
|
67
67
|
__metadata("design:type", Array)
|
|
68
68
|
], ListAtsCandidatesRequest.prototype, "fields", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=job_id" }),
|
|
71
|
+
__metadata("design:type", String)
|
|
72
|
+
], ListAtsCandidatesRequest.prototype, "jobId", void 0);
|
|
69
73
|
__decorate([
|
|
70
74
|
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=limit" }),
|
|
71
75
|
__metadata("design:type", Number)
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { SpeakeasyBase } from "../../../internal/utils";
|
|
2
|
+
import { AccountingTransactionLineItem } from "./accountingtransactionlineitem";
|
|
2
3
|
export declare class AccountingTransaction extends SpeakeasyBase {
|
|
3
4
|
accountId?: string;
|
|
4
5
|
contactId?: string;
|
|
@@ -6,15 +7,12 @@ export declare class AccountingTransaction extends SpeakeasyBase {
|
|
|
6
7
|
currency?: string;
|
|
7
8
|
customerMessage?: string;
|
|
8
9
|
id?: string;
|
|
10
|
+
lineitems?: AccountingTransactionLineItem[];
|
|
9
11
|
memo?: string;
|
|
10
12
|
paymentMethod?: string;
|
|
11
13
|
paymentTerms?: string;
|
|
12
14
|
raw?: Record<string, any>;
|
|
13
15
|
reference?: string;
|
|
14
|
-
/**
|
|
15
|
-
* This is a unified object that this transaction references
|
|
16
|
-
*/
|
|
17
|
-
referenceObject?: Record<string, any>;
|
|
18
16
|
splitAccountId?: string;
|
|
19
17
|
subTotalAmount?: number;
|
|
20
18
|
taxAmount?: number;
|
|
@@ -29,6 +29,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
30
|
exports.AccountingTransaction = void 0;
|
|
31
31
|
var utils_1 = require("../../../internal/utils");
|
|
32
|
+
var accountingtransactionlineitem_1 = require("./accountingtransactionlineitem");
|
|
32
33
|
var class_transformer_1 = require("class-transformer");
|
|
33
34
|
var AccountingTransaction = /** @class */ (function (_super) {
|
|
34
35
|
__extends(AccountingTransaction, _super);
|
|
@@ -69,6 +70,12 @@ var AccountingTransaction = /** @class */ (function (_super) {
|
|
|
69
70
|
(0, class_transformer_1.Expose)({ name: "id" }),
|
|
70
71
|
__metadata("design:type", String)
|
|
71
72
|
], AccountingTransaction.prototype, "id", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, utils_1.SpeakeasyMetadata)({ elemType: accountingtransactionlineitem_1.AccountingTransactionLineItem }),
|
|
75
|
+
(0, class_transformer_1.Expose)({ name: "lineitems" }),
|
|
76
|
+
(0, class_transformer_1.Type)(function () { return accountingtransactionlineitem_1.AccountingTransactionLineItem; }),
|
|
77
|
+
__metadata("design:type", Array)
|
|
78
|
+
], AccountingTransaction.prototype, "lineitems", void 0);
|
|
72
79
|
__decorate([
|
|
73
80
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
74
81
|
(0, class_transformer_1.Expose)({ name: "memo" }),
|
|
@@ -94,11 +101,6 @@ var AccountingTransaction = /** @class */ (function (_super) {
|
|
|
94
101
|
(0, class_transformer_1.Expose)({ name: "reference" }),
|
|
95
102
|
__metadata("design:type", String)
|
|
96
103
|
], AccountingTransaction.prototype, "reference", void 0);
|
|
97
|
-
__decorate([
|
|
98
|
-
(0, utils_1.SpeakeasyMetadata)(),
|
|
99
|
-
(0, class_transformer_1.Expose)({ name: "reference_object" }),
|
|
100
|
-
__metadata("design:type", Object)
|
|
101
|
-
], AccountingTransaction.prototype, "referenceObject", void 0);
|
|
102
104
|
__decorate([
|
|
103
105
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
104
106
|
(0, class_transformer_1.Expose)({ name: "split_account_id" }),
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SpeakeasyBase } from "../../../internal/utils";
|
|
2
|
+
export declare class AccountingTransactionLineItem extends SpeakeasyBase {
|
|
3
|
+
accountId?: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
id?: string;
|
|
6
|
+
name?: string;
|
|
7
|
+
objectType?: string;
|
|
8
|
+
totalAmount?: number;
|
|
9
|
+
unitAmount?: number;
|
|
10
|
+
unitQuantity?: number;
|
|
11
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
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.AccountingTransactionLineItem = void 0;
|
|
31
|
+
var utils_1 = require("../../../internal/utils");
|
|
32
|
+
var class_transformer_1 = require("class-transformer");
|
|
33
|
+
var AccountingTransactionLineItem = /** @class */ (function (_super) {
|
|
34
|
+
__extends(AccountingTransactionLineItem, _super);
|
|
35
|
+
function AccountingTransactionLineItem() {
|
|
36
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
37
|
+
}
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
40
|
+
(0, class_transformer_1.Expose)({ name: "account_id" }),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], AccountingTransactionLineItem.prototype, "accountId", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
45
|
+
(0, class_transformer_1.Expose)({ name: "description" }),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], AccountingTransactionLineItem.prototype, "description", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
50
|
+
(0, class_transformer_1.Expose)({ name: "id" }),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], AccountingTransactionLineItem.prototype, "id", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
55
|
+
(0, class_transformer_1.Expose)({ name: "name" }),
|
|
56
|
+
__metadata("design:type", String)
|
|
57
|
+
], AccountingTransactionLineItem.prototype, "name", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
60
|
+
(0, class_transformer_1.Expose)({ name: "object_type" }),
|
|
61
|
+
__metadata("design:type", String)
|
|
62
|
+
], AccountingTransactionLineItem.prototype, "objectType", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
65
|
+
(0, class_transformer_1.Expose)({ name: "total_amount" }),
|
|
66
|
+
__metadata("design:type", Number)
|
|
67
|
+
], AccountingTransactionLineItem.prototype, "totalAmount", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
70
|
+
(0, class_transformer_1.Expose)({ name: "unit_amount" }),
|
|
71
|
+
__metadata("design:type", Number)
|
|
72
|
+
], AccountingTransactionLineItem.prototype, "unitAmount", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
75
|
+
(0, class_transformer_1.Expose)({ name: "unit_quantity" }),
|
|
76
|
+
__metadata("design:type", Number)
|
|
77
|
+
], AccountingTransactionLineItem.prototype, "unitQuantity", void 0);
|
|
78
|
+
return AccountingTransactionLineItem;
|
|
79
|
+
}(utils_1.SpeakeasyBase));
|
|
80
|
+
exports.AccountingTransactionLineItem = AccountingTransactionLineItem;
|
|
@@ -10,6 +10,7 @@ export * from "./accountingorganization";
|
|
|
10
10
|
export * from "./accountingtaxrate";
|
|
11
11
|
export * from "./accountingtelephone";
|
|
12
12
|
export * from "./accountingtransaction";
|
|
13
|
+
export * from "./accountingtransactionlineitem";
|
|
13
14
|
export * from "./apicall";
|
|
14
15
|
export * from "./atsactivity";
|
|
15
16
|
export * from "./atsaddress";
|
|
@@ -29,6 +29,7 @@ __exportStar(require("./accountingorganization"), exports);
|
|
|
29
29
|
__exportStar(require("./accountingtaxrate"), exports);
|
|
30
30
|
__exportStar(require("./accountingtelephone"), exports);
|
|
31
31
|
__exportStar(require("./accountingtransaction"), exports);
|
|
32
|
+
__exportStar(require("./accountingtransactionlineitem"), exports);
|
|
32
33
|
__exportStar(require("./apicall"), exports);
|
|
33
34
|
__exportStar(require("./atsactivity"), exports);
|
|
34
35
|
__exportStar(require("./atsaddress"), exports);
|
package/dist/sdk/sdk.js
CHANGED
|
@@ -95,9 +95,9 @@ var SDKConfiguration = /** @class */ (function () {
|
|
|
95
95
|
function SDKConfiguration(init) {
|
|
96
96
|
this.language = "typescript";
|
|
97
97
|
this.openapiDocVersion = "1.0";
|
|
98
|
-
this.sdkVersion = "1.0.
|
|
98
|
+
this.sdkVersion = "1.0.57";
|
|
99
99
|
this.genVersion = "2.370.2";
|
|
100
|
-
this.userAgent = "speakeasy-sdk/typescript 1.0.
|
|
100
|
+
this.userAgent = "speakeasy-sdk/typescript 1.0.57 2.370.2 1.0 @unified-api/typescript-sdk";
|
|
101
101
|
Object.assign(this, init);
|
|
102
102
|
}
|
|
103
103
|
return SDKConfiguration;
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
|
|
8
8
|
| `connectionId` | *string* | :heavy_check_mark: | ID of the connection |
|
|
9
9
|
| `fields` | *string*[] | :heavy_minus_sign: | Comma-delimited fields to return |
|
|
10
|
+
| `jobId` | *string* | :heavy_minus_sign: | N/A |
|
|
10
11
|
| `limit` | *number* | :heavy_minus_sign: | N/A |
|
|
11
12
|
| `offset` | *number* | :heavy_minus_sign: | N/A |
|
|
12
13
|
| `query` | *string* | :heavy_minus_sign: | Query string to search. eg. email address or name |
|
|
@@ -3,23 +3,23 @@
|
|
|
3
3
|
|
|
4
4
|
## Fields
|
|
5
5
|
|
|
6
|
-
| Field
|
|
7
|
-
|
|
|
8
|
-
| `accountId`
|
|
9
|
-
| `contactId`
|
|
10
|
-
| `createdAt`
|
|
11
|
-
| `currency`
|
|
12
|
-
| `customerMessage`
|
|
13
|
-
| `id`
|
|
14
|
-
| `
|
|
15
|
-
| `
|
|
16
|
-
| `
|
|
17
|
-
| `
|
|
18
|
-
| `
|
|
19
|
-
| `
|
|
20
|
-
| `splitAccountId`
|
|
21
|
-
| `subTotalAmount`
|
|
22
|
-
| `taxAmount`
|
|
23
|
-
| `totalAmount`
|
|
24
|
-
| `type`
|
|
25
|
-
| `updatedAt`
|
|
6
|
+
| Field | Type | Required | Description |
|
|
7
|
+
| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
|
|
8
|
+
| `accountId` | *string* | :heavy_minus_sign: | N/A |
|
|
9
|
+
| `contactId` | *string* | :heavy_minus_sign: | N/A |
|
|
10
|
+
| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
|
|
11
|
+
| `currency` | *string* | :heavy_minus_sign: | N/A |
|
|
12
|
+
| `customerMessage` | *string* | :heavy_minus_sign: | N/A |
|
|
13
|
+
| `id` | *string* | :heavy_minus_sign: | N/A |
|
|
14
|
+
| `lineitems` | [shared.AccountingTransactionLineItem](../../../sdk/models/shared/accountingtransactionlineitem.md)[] | :heavy_minus_sign: | N/A |
|
|
15
|
+
| `memo` | *string* | :heavy_minus_sign: | N/A |
|
|
16
|
+
| `paymentMethod` | *string* | :heavy_minus_sign: | N/A |
|
|
17
|
+
| `paymentTerms` | *string* | :heavy_minus_sign: | N/A |
|
|
18
|
+
| `raw` | Record<string, *any*> | :heavy_minus_sign: | N/A |
|
|
19
|
+
| `reference` | *string* | :heavy_minus_sign: | N/A |
|
|
20
|
+
| `splitAccountId` | *string* | :heavy_minus_sign: | N/A |
|
|
21
|
+
| `subTotalAmount` | *number* | :heavy_minus_sign: | N/A |
|
|
22
|
+
| `taxAmount` | *number* | :heavy_minus_sign: | N/A |
|
|
23
|
+
| `totalAmount` | *number* | :heavy_minus_sign: | N/A |
|
|
24
|
+
| `type` | *string* | :heavy_minus_sign: | N/A |
|
|
25
|
+
| `updatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# AccountingTransactionLineItem
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Fields
|
|
5
|
+
|
|
6
|
+
| Field | Type | Required | Description |
|
|
7
|
+
| ------------------ | ------------------ | ------------------ | ------------------ |
|
|
8
|
+
| `accountId` | *string* | :heavy_minus_sign: | N/A |
|
|
9
|
+
| `description` | *string* | :heavy_minus_sign: | N/A |
|
|
10
|
+
| `id` | *string* | :heavy_minus_sign: | N/A |
|
|
11
|
+
| `name` | *string* | :heavy_minus_sign: | N/A |
|
|
12
|
+
| `objectType` | *string* | :heavy_minus_sign: | N/A |
|
|
13
|
+
| `totalAmount` | *number* | :heavy_minus_sign: | N/A |
|
|
14
|
+
| `unitAmount` | *number* | :heavy_minus_sign: | N/A |
|
|
15
|
+
| `unitQuantity` | *number* | :heavy_minus_sign: | N/A |
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
| `dueAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
|
|
13
13
|
| `followerUserIds` | *string*[] | :heavy_minus_sign: | N/A |
|
|
14
14
|
| `id` | *string* | :heavy_minus_sign: | N/A |
|
|
15
|
-
| `name` | *string* | :
|
|
15
|
+
| `name` | *string* | :heavy_minus_sign: | N/A |
|
|
16
16
|
| `notes` | *string* | :heavy_minus_sign: | N/A |
|
|
17
17
|
| `parentId` | *string* | :heavy_minus_sign: | N/A |
|
|
18
18
|
| `priority` | *string* | :heavy_minus_sign: | N/A |
|