@unified-api/typescript-sdk 1.0.53 → 1.0.54

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.
@@ -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.54";
99
+ this.genVersion = "2.365.0";
100
+ this.userAgent = "speakeasy-sdk/typescript 1.0.54 2.365.0 1.0 @unified-api/typescript-sdk";
101
101
  Object.assign(this, init);
102
102
  }
103
103
  return SDKConfiguration;
@@ -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.54",
4
4
  "author": "Unified",
5
5
  "scripts": {
6
6
  "prepare": "tsc --build",