@unified-api/typescript-sdk 1.0.50 → 1.0.51

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.
@@ -1,3 +1,23 @@
1
1
  import { SpeakeasyBase } from "../../../internal/utils";
2
+ export declare enum HrisCompensationFrequency {
3
+ OneTime = "ONE_TIME",
4
+ Day = "DAY",
5
+ Quarter = "QUARTER",
6
+ Year = "YEAR",
7
+ Hour = "HOUR",
8
+ Month = "MONTH",
9
+ Week = "WEEK"
10
+ }
11
+ export declare enum HrisCompensationType {
12
+ Salary = "SALARY",
13
+ Bonus = "BONUS",
14
+ StockOptions = "STOCK_OPTIONS",
15
+ Equity = "EQUITY",
16
+ Other = "OTHER"
17
+ }
2
18
  export declare class HrisCompensation extends SpeakeasyBase {
19
+ amount?: number;
20
+ currency?: string;
21
+ frequency?: HrisCompensationFrequency;
22
+ type?: HrisCompensationType;
3
23
  }
@@ -17,14 +17,62 @@ var __extends = (this && this.__extends) || (function () {
17
17
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
18
18
  };
19
19
  })();
20
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
21
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
22
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
23
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
24
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
25
+ };
26
+ var __metadata = (this && this.__metadata) || function (k, v) {
27
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
28
+ };
20
29
  Object.defineProperty(exports, "__esModule", { value: true });
21
- exports.HrisCompensation = void 0;
30
+ exports.HrisCompensation = exports.HrisCompensationType = exports.HrisCompensationFrequency = void 0;
22
31
  var utils_1 = require("../../../internal/utils");
32
+ var class_transformer_1 = require("class-transformer");
33
+ var HrisCompensationFrequency;
34
+ (function (HrisCompensationFrequency) {
35
+ HrisCompensationFrequency["OneTime"] = "ONE_TIME";
36
+ HrisCompensationFrequency["Day"] = "DAY";
37
+ HrisCompensationFrequency["Quarter"] = "QUARTER";
38
+ HrisCompensationFrequency["Year"] = "YEAR";
39
+ HrisCompensationFrequency["Hour"] = "HOUR";
40
+ HrisCompensationFrequency["Month"] = "MONTH";
41
+ HrisCompensationFrequency["Week"] = "WEEK";
42
+ })(HrisCompensationFrequency = exports.HrisCompensationFrequency || (exports.HrisCompensationFrequency = {}));
43
+ var HrisCompensationType;
44
+ (function (HrisCompensationType) {
45
+ HrisCompensationType["Salary"] = "SALARY";
46
+ HrisCompensationType["Bonus"] = "BONUS";
47
+ HrisCompensationType["StockOptions"] = "STOCK_OPTIONS";
48
+ HrisCompensationType["Equity"] = "EQUITY";
49
+ HrisCompensationType["Other"] = "OTHER";
50
+ })(HrisCompensationType = exports.HrisCompensationType || (exports.HrisCompensationType = {}));
23
51
  var HrisCompensation = /** @class */ (function (_super) {
24
52
  __extends(HrisCompensation, _super);
25
53
  function HrisCompensation() {
26
54
  return _super !== null && _super.apply(this, arguments) || this;
27
55
  }
56
+ __decorate([
57
+ (0, utils_1.SpeakeasyMetadata)(),
58
+ (0, class_transformer_1.Expose)({ name: "amount" }),
59
+ __metadata("design:type", Number)
60
+ ], HrisCompensation.prototype, "amount", void 0);
61
+ __decorate([
62
+ (0, utils_1.SpeakeasyMetadata)(),
63
+ (0, class_transformer_1.Expose)({ name: "currency" }),
64
+ __metadata("design:type", String)
65
+ ], HrisCompensation.prototype, "currency", void 0);
66
+ __decorate([
67
+ (0, utils_1.SpeakeasyMetadata)(),
68
+ (0, class_transformer_1.Expose)({ name: "frequency" }),
69
+ __metadata("design:type", String)
70
+ ], HrisCompensation.prototype, "frequency", void 0);
71
+ __decorate([
72
+ (0, utils_1.SpeakeasyMetadata)(),
73
+ (0, class_transformer_1.Expose)({ name: "type" }),
74
+ __metadata("design:type", String)
75
+ ], HrisCompensation.prototype, "type", void 0);
28
76
  return HrisCompensation;
29
77
  }(utils_1.SpeakeasyBase));
30
78
  exports.HrisCompensation = HrisCompensation;
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.50";
99
- this.genVersion = "2.359.0";
100
- this.userAgent = "speakeasy-sdk/typescript 1.0.50 2.359.0 1.0 @unified-api/typescript-sdk";
98
+ this.sdkVersion = "1.0.51";
99
+ this.genVersion = "2.359.6";
100
+ this.userAgent = "speakeasy-sdk/typescript 1.0.51 2.359.6 1.0 @unified-api/typescript-sdk";
101
101
  Object.assign(this, init);
102
102
  }
103
103
  return SDKConfiguration;
@@ -3,5 +3,9 @@
3
3
 
4
4
  ## Fields
5
5
 
6
- | Field | Type | Required | Description |
7
- | ----------- | ----------- | ----------- | ----------- |
6
+ | Field | Type | Required | Description |
7
+ | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- |
8
+ | `amount` | *number* | :heavy_minus_sign: | N/A |
9
+ | `currency` | *string* | :heavy_minus_sign: | N/A |
10
+ | `frequency` | [shared.HrisCompensationFrequency](../../../sdk/models/shared/hriscompensationfrequency.md) | :heavy_minus_sign: | N/A |
11
+ | `type` | [shared.HrisCompensationType](../../../sdk/models/shared/hriscompensationtype.md) | :heavy_minus_sign: | N/A |
@@ -0,0 +1,14 @@
1
+ # HrisCompensationFrequency
2
+
3
+
4
+ ## Values
5
+
6
+ | Name | Value |
7
+ | --------- | --------- |
8
+ | `OneTime` | ONE_TIME |
9
+ | `Day` | DAY |
10
+ | `Quarter` | QUARTER |
11
+ | `Year` | YEAR |
12
+ | `Hour` | HOUR |
13
+ | `Month` | MONTH |
14
+ | `Week` | WEEK |
@@ -0,0 +1,12 @@
1
+ # HrisCompensationType
2
+
3
+
4
+ ## Values
5
+
6
+ | Name | Value |
7
+ | -------------- | -------------- |
8
+ | `Salary` | SALARY |
9
+ | `Bonus` | BONUS |
10
+ | `StockOptions` | STOCK_OPTIONS |
11
+ | `Equity` | EQUITY |
12
+ | `Other` | OTHER |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unified-api/typescript-sdk",
3
- "version": "1.0.50",
3
+ "version": "1.0.51",
4
4
  "author": "Unified",
5
5
  "scripts": {
6
6
  "prepare": "tsc --build",