@unified-api/typescript-sdk 1.0.21 → 1.0.23

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.
@@ -10,7 +10,7 @@ export declare class ListCommerceInventoriesRequest extends SpeakeasyBase {
10
10
  * Comma-delimited fields to return
11
11
  */
12
12
  fields?: string[];
13
- itemId?: string;
13
+ itemVariantId?: string;
14
14
  limit?: number;
15
15
  locationId?: string;
16
16
  offset?: number;
@@ -67,9 +67,9 @@ var ListCommerceInventoriesRequest = /** @class */ (function (_super) {
67
67
  __metadata("design:type", Array)
68
68
  ], ListCommerceInventoriesRequest.prototype, "fields", void 0);
69
69
  __decorate([
70
- (0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=item_id" }),
70
+ (0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=item_variant_id" }),
71
71
  __metadata("design:type", String)
72
- ], ListCommerceInventoriesRequest.prototype, "itemId", void 0);
72
+ ], ListCommerceInventoriesRequest.prototype, "itemVariantId", void 0);
73
73
  __decorate([
74
74
  (0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=limit" }),
75
75
  __metadata("design:type", Number)
@@ -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.23";
90
+ this.genVersion = "2.332.4";
91
+ this.userAgent = "speakeasy-sdk/typescript 1.0.23 2.332.4 1.0 @unified-api/typescript-sdk";
92
92
  Object.assign(this, init);
93
93
  }
94
94
  return SDKConfiguration;
@@ -7,7 +7,7 @@
7
7
  | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
8
8
  | `connectionId` | *string* | :heavy_check_mark: | ID of the connection |
9
9
  | `fields` | *string*[] | :heavy_minus_sign: | Comma-delimited fields to return |
10
- | `itemId` | *string* | :heavy_minus_sign: | N/A |
10
+ | `itemVariantId` | *string* | :heavy_minus_sign: | N/A |
11
11
  | `limit` | *number* | :heavy_minus_sign: | N/A |
12
12
  | `locationId` | *string* | :heavy_minus_sign: | N/A |
13
13
  | `offset` | *number* | :heavy_minus_sign: | N/A |
@@ -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.23",
4
4
  "author": "Unified",
5
5
  "scripts": {
6
6
  "prepare": "tsc --build",