@unified-api/typescript-sdk 1.0.21 → 1.0.22

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.
@@ -8,7 +8,7 @@ export declare class CommerceItem extends SpeakeasyBase {
8
8
  isActive?: boolean;
9
9
  isTaxable?: boolean;
10
10
  media?: CommerceItemMedia[];
11
- name: string;
11
+ name?: string;
12
12
  publicDescription?: string;
13
13
  publicName?: string;
14
14
  raw?: Record<string, any>;
@@ -6,6 +6,7 @@ export declare enum CommerceItemMediaType {
6
6
  export declare class CommerceItemMedia extends SpeakeasyBase {
7
7
  alt?: string;
8
8
  height?: number;
9
+ id?: string;
9
10
  position?: number;
10
11
  type?: CommerceItemMediaType;
11
12
  url: string;
@@ -50,6 +50,11 @@ var CommerceItemMedia = /** @class */ (function (_super) {
50
50
  (0, class_transformer_1.Expose)({ name: "height" }),
51
51
  __metadata("design:type", Number)
52
52
  ], CommerceItemMedia.prototype, "height", void 0);
53
+ __decorate([
54
+ (0, utils_1.SpeakeasyMetadata)(),
55
+ (0, class_transformer_1.Expose)({ name: "id" }),
56
+ __metadata("design:type", String)
57
+ ], CommerceItemMedia.prototype, "id", void 0);
53
58
  __decorate([
54
59
  (0, utils_1.SpeakeasyMetadata)(),
55
60
  (0, class_transformer_1.Expose)({ name: "position" }),
@@ -3,6 +3,7 @@ import { PropertyCommerceLocationAddress } from "./propertycommercelocationaddre
3
3
  export declare class CommerceLocation extends SpeakeasyBase {
4
4
  address?: PropertyCommerceLocationAddress;
5
5
  createdAt?: Date;
6
+ description?: string;
6
7
  id?: string;
7
8
  isActive?: boolean;
8
9
  name: string;
@@ -51,6 +51,11 @@ var CommerceLocation = /** @class */ (function (_super) {
51
51
  }, { toClassOnly: true }),
52
52
  __metadata("design:type", Date)
53
53
  ], CommerceLocation.prototype, "createdAt", void 0);
54
+ __decorate([
55
+ (0, utils_1.SpeakeasyMetadata)(),
56
+ (0, class_transformer_1.Expose)({ name: "description" }),
57
+ __metadata("design:type", String)
58
+ ], CommerceLocation.prototype, "description", void 0);
54
59
  __decorate([
55
60
  (0, utils_1.SpeakeasyMetadata)(),
56
61
  (0, class_transformer_1.Expose)({ name: "id" }),
package/dist/sdk/sdk.js CHANGED
@@ -86,9 +86,9 @@ var SDKConfiguration = /** @class */ (function () {
86
86
  function SDKConfiguration(init) {
87
87
  this.language = "typescript";
88
88
  this.openapiDocVersion = "1.0";
89
- this.sdkVersion = "1.0.21";
90
- this.genVersion = "2.319.10";
91
- this.userAgent = "speakeasy-sdk/typescript 1.0.21 2.319.10 1.0 @unified-api/typescript-sdk";
89
+ this.sdkVersion = "1.0.22";
90
+ this.genVersion = "2.326.3";
91
+ this.userAgent = "speakeasy-sdk/typescript 1.0.22 2.326.3 1.0 @unified-api/typescript-sdk";
92
92
  Object.assign(this, init);
93
93
  }
94
94
  return SDKConfiguration;
@@ -11,7 +11,7 @@
11
11
  | `isActive` | *boolean* | :heavy_minus_sign: | N/A |
12
12
  | `isTaxable` | *boolean* | :heavy_minus_sign: | N/A |
13
13
  | `media` | [shared.CommerceItemMedia](../../../sdk/models/shared/commerceitemmedia.md)[] | :heavy_minus_sign: | N/A |
14
- | `name` | *string* | :heavy_check_mark: | N/A |
14
+ | `name` | *string* | :heavy_minus_sign: | N/A |
15
15
  | `publicDescription` | *string* | :heavy_minus_sign: | N/A |
16
16
  | `publicName` | *string* | :heavy_minus_sign: | N/A |
17
17
  | `raw` | Record<string, *any*> | :heavy_minus_sign: | N/A |
@@ -7,6 +7,7 @@
7
7
  | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- |
8
8
  | `alt` | *string* | :heavy_minus_sign: | N/A |
9
9
  | `height` | *number* | :heavy_minus_sign: | N/A |
10
+ | `id` | *string* | :heavy_minus_sign: | N/A |
10
11
  | `position` | *number* | :heavy_minus_sign: | N/A |
11
12
  | `type` | [shared.CommerceItemMediaType](../../../sdk/models/shared/commerceitemmediatype.md) | :heavy_minus_sign: | N/A |
12
13
  | `url` | *string* | :heavy_check_mark: | N/A |
@@ -7,6 +7,7 @@
7
7
  | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
8
8
  | `address` | [shared.PropertyCommerceLocationAddress](../../../sdk/models/shared/propertycommercelocationaddress.md) | :heavy_minus_sign: | N/A |
9
9
  | `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
10
+ | `description` | *string* | :heavy_minus_sign: | N/A |
10
11
  | `id` | *string* | :heavy_minus_sign: | N/A |
11
12
  | `isActive` | *boolean* | :heavy_minus_sign: | N/A |
12
13
  | `name` | *string* | :heavy_check_mark: | N/A |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unified-api/typescript-sdk",
3
- "version": "1.0.21",
3
+ "version": "1.0.22",
4
4
  "author": "Unified",
5
5
  "scripts": {
6
6
  "prepare": "tsc --build",