@unified-api/typescript-sdk 1.0.57 → 1.0.59

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.
@@ -5,6 +5,8 @@ import { PropertyIntegrationCategories } from "./propertyintegrationcategories";
5
5
  * Informational object for supported integrations.
6
6
  */
7
7
  export declare class Integration extends SpeakeasyBase {
8
+ activeHealthyConnections?: number;
9
+ api?: Record<string, any>;
8
10
  apiDocsUrl?: string;
9
11
  beta?: boolean;
10
12
  /**
@@ -13,13 +15,16 @@ export declare class Integration extends SpeakeasyBase {
13
15
  categories: PropertyIntegrationCategories[];
14
16
  color?: string;
15
17
  createdAt?: string;
18
+ description?: string;
16
19
  faIcon?: string;
20
+ featured?: boolean;
17
21
  inProgress: boolean;
18
22
  isActive?: boolean;
19
23
  logoUrl?: string;
20
24
  name: string;
25
+ popularity?: number;
21
26
  rateLimitDescription?: string;
22
- support: Record<string, IntegrationSupport>;
27
+ support?: Record<string, IntegrationSupport>;
23
28
  testedAt?: Date;
24
29
  textColor?: string;
25
30
  /**
@@ -39,6 +39,16 @@ var Integration = /** @class */ (function (_super) {
39
39
  function Integration() {
40
40
  return _super !== null && _super.apply(this, arguments) || this;
41
41
  }
42
+ __decorate([
43
+ (0, utils_1.SpeakeasyMetadata)(),
44
+ (0, class_transformer_1.Expose)({ name: "active_healthy_connections" }),
45
+ __metadata("design:type", Number)
46
+ ], Integration.prototype, "activeHealthyConnections", void 0);
47
+ __decorate([
48
+ (0, utils_1.SpeakeasyMetadata)(),
49
+ (0, class_transformer_1.Expose)({ name: "api" }),
50
+ __metadata("design:type", Object)
51
+ ], Integration.prototype, "api", void 0);
42
52
  __decorate([
43
53
  (0, utils_1.SpeakeasyMetadata)(),
44
54
  (0, class_transformer_1.Expose)({ name: "api_docs_url" }),
@@ -64,11 +74,21 @@ var Integration = /** @class */ (function (_super) {
64
74
  (0, class_transformer_1.Expose)({ name: "created_at" }),
65
75
  __metadata("design:type", String)
66
76
  ], Integration.prototype, "createdAt", void 0);
77
+ __decorate([
78
+ (0, utils_1.SpeakeasyMetadata)(),
79
+ (0, class_transformer_1.Expose)({ name: "description" }),
80
+ __metadata("design:type", String)
81
+ ], Integration.prototype, "description", void 0);
67
82
  __decorate([
68
83
  (0, utils_1.SpeakeasyMetadata)(),
69
84
  (0, class_transformer_1.Expose)({ name: "fa_icon" }),
70
85
  __metadata("design:type", String)
71
86
  ], Integration.prototype, "faIcon", void 0);
87
+ __decorate([
88
+ (0, utils_1.SpeakeasyMetadata)(),
89
+ (0, class_transformer_1.Expose)({ name: "featured" }),
90
+ __metadata("design:type", Boolean)
91
+ ], Integration.prototype, "featured", void 0);
72
92
  __decorate([
73
93
  (0, utils_1.SpeakeasyMetadata)(),
74
94
  (0, class_transformer_1.Expose)({ name: "in_progress" }),
@@ -89,6 +109,11 @@ var Integration = /** @class */ (function (_super) {
89
109
  (0, class_transformer_1.Expose)({ name: "name" }),
90
110
  __metadata("design:type", String)
91
111
  ], Integration.prototype, "name", void 0);
112
+ __decorate([
113
+ (0, utils_1.SpeakeasyMetadata)(),
114
+ (0, class_transformer_1.Expose)({ name: "popularity" }),
115
+ __metadata("design:type", Number)
116
+ ], Integration.prototype, "popularity", void 0);
92
117
  __decorate([
93
118
  (0, utils_1.SpeakeasyMetadata)(),
94
119
  (0, class_transformer_1.Expose)({ name: "rate_limit_description" }),
@@ -7,6 +7,7 @@ export declare class PaymentLink extends SpeakeasyBase {
7
7
  currency?: string;
8
8
  id?: string;
9
9
  isActive?: boolean;
10
+ isChargeableNow?: boolean;
10
11
  lineitems?: PaymentLinkLineitem[];
11
12
  paymentId?: string;
12
13
  raw?: Record<string, any>;
@@ -70,6 +70,11 @@ var PaymentLink = /** @class */ (function (_super) {
70
70
  (0, class_transformer_1.Expose)({ name: "is_active" }),
71
71
  __metadata("design:type", Boolean)
72
72
  ], PaymentLink.prototype, "isActive", void 0);
73
+ __decorate([
74
+ (0, utils_1.SpeakeasyMetadata)(),
75
+ (0, class_transformer_1.Expose)({ name: "is_chargeable_now" }),
76
+ __metadata("design:type", Boolean)
77
+ ], PaymentLink.prototype, "isChargeableNow", void 0);
73
78
  __decorate([
74
79
  (0, utils_1.SpeakeasyMetadata)({ elemType: paymentlinklineitem_1.PaymentLinkLineitem }),
75
80
  (0, class_transformer_1.Expose)({ name: "lineitems" }),
@@ -13,7 +13,7 @@ export declare class PaymentLinkLineitem extends SpeakeasyBase {
13
13
  refundedAt?: Date;
14
14
  taxAmount?: number;
15
15
  taxrateId?: string;
16
- totalAmount: number;
16
+ totalAmount?: number;
17
17
  unitAmount?: number;
18
18
  unitQuantity?: number;
19
19
  updatedAt?: Date;
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.57";
99
- this.genVersion = "2.370.2";
100
- this.userAgent = "speakeasy-sdk/typescript 1.0.57 2.370.2 1.0 @unified-api/typescript-sdk";
98
+ this.sdkVersion = "1.0.59";
99
+ this.genVersion = "2.373.2";
100
+ this.userAgent = "speakeasy-sdk/typescript 1.0.59 2.373.2 1.0 @unified-api/typescript-sdk";
101
101
  Object.assign(this, init);
102
102
  }
103
103
  return SDKConfiguration;
@@ -7,18 +7,23 @@ Informational object for supported integrations.
7
7
 
8
8
  | Field | Type | Required | Description |
9
9
  | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
10
+ | `activeHealthyConnections` | *number* | :heavy_minus_sign: | N/A |
11
+ | `api` | Record<string, *any*> | :heavy_minus_sign: | N/A |
10
12
  | `apiDocsUrl` | *string* | :heavy_minus_sign: | N/A |
11
13
  | `beta` | *boolean* | :heavy_minus_sign: | N/A |
12
14
  | `categories` | [shared.PropertyIntegrationCategories](../../../sdk/models/shared/propertyintegrationcategories.md)[] | :heavy_check_mark: | The categories of support solutions that this integration has |
13
15
  | `color` | *string* | :heavy_minus_sign: | N/A |
14
16
  | `createdAt` | *string* | :heavy_minus_sign: | N/A |
17
+ | `description` | *string* | :heavy_minus_sign: | N/A |
15
18
  | `faIcon` | *string* | :heavy_minus_sign: | N/A |
19
+ | `featured` | *boolean* | :heavy_minus_sign: | N/A |
16
20
  | `inProgress` | *boolean* | :heavy_check_mark: | N/A |
17
21
  | `isActive` | *boolean* | :heavy_minus_sign: | N/A |
18
22
  | `logoUrl` | *string* | :heavy_minus_sign: | N/A |
19
23
  | `name` | *string* | :heavy_check_mark: | N/A |
24
+ | `popularity` | *number* | :heavy_minus_sign: | N/A |
20
25
  | `rateLimitDescription` | *string* | :heavy_minus_sign: | N/A |
21
- | `support` | Record<string, [shared.IntegrationSupport](../../../sdk/models/shared/integrationsupport.md)> | :heavy_check_mark: | N/A |
26
+ | `support` | Record<string, [shared.IntegrationSupport](../../../sdk/models/shared/integrationsupport.md)> | :heavy_minus_sign: | N/A |
22
27
  | `testedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
23
28
  | `textColor` | *string* | :heavy_minus_sign: | N/A |
24
29
  | `tokenInstructions` | *string*[] | :heavy_minus_sign: | instructions for the user on how to find the token/key |
@@ -11,6 +11,7 @@
11
11
  | `currency` | *string* | :heavy_minus_sign: | N/A |
12
12
  | `id` | *string* | :heavy_minus_sign: | N/A |
13
13
  | `isActive` | *boolean* | :heavy_minus_sign: | N/A |
14
+ | `isChargeableNow` | *boolean* | :heavy_minus_sign: | N/A |
14
15
  | `lineitems` | [shared.PaymentLinkLineitem](../../../sdk/models/shared/paymentlinklineitem.md)[] | :heavy_minus_sign: | N/A |
15
16
  | `paymentId` | *string* | :heavy_minus_sign: | N/A |
16
17
  | `raw` | Record<string, *any*> | :heavy_minus_sign: | N/A |
@@ -18,7 +18,7 @@
18
18
  | `refundedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
19
19
  | `taxAmount` | *number* | :heavy_minus_sign: | N/A |
20
20
  | `taxrateId` | *string* | :heavy_minus_sign: | N/A |
21
- | `totalAmount` | *number* | :heavy_check_mark: | N/A |
21
+ | `totalAmount` | *number* | :heavy_minus_sign: | N/A |
22
22
  | `unitAmount` | *number* | :heavy_minus_sign: | N/A |
23
23
  | `unitQuantity` | *number* | :heavy_minus_sign: | N/A |
24
24
  | `updatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :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.57",
3
+ "version": "1.0.59",
4
4
  "author": "Unified",
5
5
  "scripts": {
6
6
  "prepare": "tsc --build",