@unified-api/typescript-sdk 1.0.17 → 1.0.19

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/README.md CHANGED
@@ -32,13 +32,13 @@ async function run() {
32
32
  },
33
33
  });
34
34
 
35
- const res = await sdk.accounting.listAtsJobs({
35
+ const res = await sdk.accounting.listAccountingAccounts({
36
36
  connectionId: "<value>",
37
37
  });
38
38
 
39
39
  if (res.statusCode == 200) {
40
40
  // handle response
41
- console.log(res.atsJobs);
41
+ console.log(res.accountingAccounts);
42
42
  }
43
43
  }
44
44
 
@@ -64,6 +64,7 @@ export declare class Webhook extends SpeakeasyBase {
64
64
  environment?: string;
65
65
  event: Event;
66
66
  fields?: string;
67
+ filters?: Record<string, string>;
67
68
  hookUrl: string;
68
69
  id?: string;
69
70
  integrationType?: string;
@@ -134,6 +134,11 @@ var Webhook = /** @class */ (function (_super) {
134
134
  (0, class_transformer_1.Expose)({ name: "fields" }),
135
135
  __metadata("design:type", String)
136
136
  ], Webhook.prototype, "fields", void 0);
137
+ __decorate([
138
+ (0, utils_1.SpeakeasyMetadata)(),
139
+ (0, class_transformer_1.Expose)({ name: "filters" }),
140
+ __metadata("design:type", Object)
141
+ ], Webhook.prototype, "filters", void 0);
137
142
  __decorate([
138
143
  (0, utils_1.SpeakeasyMetadata)(),
139
144
  (0, class_transformer_1.Expose)({ name: "hook_url" }),
package/dist/sdk/sdk.js CHANGED
@@ -83,9 +83,9 @@ var SDKConfiguration = /** @class */ (function () {
83
83
  function SDKConfiguration(init) {
84
84
  this.language = "typescript";
85
85
  this.openapiDocVersion = "1.0";
86
- this.sdkVersion = "1.0.17";
87
- this.genVersion = "2.311.1";
88
- this.userAgent = "speakeasy-sdk/typescript 1.0.17 2.311.1 1.0 @unified-api/typescript-sdk";
86
+ this.sdkVersion = "1.0.19";
87
+ this.genVersion = "2.314.0";
88
+ this.userAgent = "speakeasy-sdk/typescript 1.0.19 2.314.0 1.0 @unified-api/typescript-sdk";
89
89
  Object.assign(this, init);
90
90
  }
91
91
  return SDKConfiguration;
@@ -13,6 +13,7 @@ A webhook is used to POST new/updated information to your server.
13
13
  | `environment` | *string* | :heavy_minus_sign: | N/A |
14
14
  | `event` | [shared.Event](../../../sdk/models/shared/event.md) | :heavy_check_mark: | N/A |
15
15
  | `fields` | *string* | :heavy_minus_sign: | N/A |
16
+ | `filters` | Record<string, *string*> | :heavy_minus_sign: | N/A |
16
17
  | `hookUrl` | *string* | :heavy_check_mark: | N/A |
17
18
  | `id` | *string* | :heavy_minus_sign: | N/A |
18
19
  | `integrationType` | *string* | :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.17",
3
+ "version": "1.0.19",
4
4
  "author": "Unified",
5
5
  "scripts": {
6
6
  "prepare": "tsc --build",