@unified-api/typescript-sdk 1.0.53 → 1.0.55

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.
@@ -3,6 +3,7 @@ import * as shared from "../../../sdk/models/shared";
3
3
  import { AxiosResponse } from "axios";
4
4
  export declare class ListAtsDocumentsRequest extends SpeakeasyBase {
5
5
  applicationId?: string;
6
+ candidateId?: string;
6
7
  /**
7
8
  * ID of the connection
8
9
  */
@@ -62,6 +62,10 @@ var ListAtsDocumentsRequest = /** @class */ (function (_super) {
62
62
  (0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=application_id" }),
63
63
  __metadata("design:type", String)
64
64
  ], ListAtsDocumentsRequest.prototype, "applicationId", void 0);
65
+ __decorate([
66
+ (0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=candidate_id" }),
67
+ __metadata("design:type", String)
68
+ ], ListAtsDocumentsRequest.prototype, "candidateId", void 0);
65
69
  __decorate([
66
70
  (0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=connection_id" }),
67
71
  __metadata("design:type", String)
@@ -11,6 +11,10 @@ export declare class AccountingTransaction extends SpeakeasyBase {
11
11
  paymentTerms?: string;
12
12
  raw?: Record<string, any>;
13
13
  reference?: string;
14
+ /**
15
+ * This is a unified object that this transaction references
16
+ */
17
+ referenceObject?: Record<string, any>;
14
18
  splitAccountId?: string;
15
19
  subTotalAmount?: number;
16
20
  taxAmount?: number;
@@ -94,6 +94,11 @@ var AccountingTransaction = /** @class */ (function (_super) {
94
94
  (0, class_transformer_1.Expose)({ name: "reference" }),
95
95
  __metadata("design:type", String)
96
96
  ], 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);
97
102
  __decorate([
98
103
  (0, utils_1.SpeakeasyMetadata)(),
99
104
  (0, class_transformer_1.Expose)({ name: "split_account_id" }),
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.53";
99
- this.genVersion = "2.361.10";
100
- this.userAgent = "speakeasy-sdk/typescript 1.0.53 2.361.10 1.0 @unified-api/typescript-sdk";
98
+ this.sdkVersion = "1.0.55";
99
+ this.genVersion = "2.370.2";
100
+ this.userAgent = "speakeasy-sdk/typescript 1.0.55 2.370.2 1.0 @unified-api/typescript-sdk";
101
101
  Object.assign(this, init);
102
102
  }
103
103
  return SDKConfiguration;
@@ -6,6 +6,7 @@
6
6
  | Field | Type | Required | Description |
7
7
  | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
8
8
  | `applicationId` | *string* | :heavy_minus_sign: | N/A |
9
+ | `candidateId` | *string* | :heavy_minus_sign: | N/A |
9
10
  | `connectionId` | *string* | :heavy_check_mark: | ID of the connection |
10
11
  | `fields` | *string*[] | :heavy_minus_sign: | Comma-delimited fields to return |
11
12
  | `limit` | *number* | :heavy_minus_sign: | N/A |
@@ -16,6 +16,7 @@
16
16
  | `paymentTerms` | *string* | :heavy_minus_sign: | N/A |
17
17
  | `raw` | Record<string, *any*> | :heavy_minus_sign: | N/A |
18
18
  | `reference` | *string* | :heavy_minus_sign: | N/A |
19
+ | `referenceObject` | Record<string, *any*> | :heavy_minus_sign: | This is a unified object that this transaction references |
19
20
  | `splitAccountId` | *string* | :heavy_minus_sign: | N/A |
20
21
  | `subTotalAmount` | *number* | :heavy_minus_sign: | N/A |
21
22
  | `taxAmount` | *number* | :heavy_minus_sign: | N/A |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unified-api/typescript-sdk",
3
- "version": "1.0.53",
3
+ "version": "1.0.55",
4
4
  "author": "Unified",
5
5
  "scripts": {
6
6
  "prepare": "tsc --build",