@unified-api/typescript-sdk 1.0.47 → 1.0.49
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/dist/sdk/models/shared/hriscompensation.d.ts +3 -0
- package/dist/sdk/models/shared/hriscompensation.js +30 -0
- package/dist/sdk/models/shared/hrisemployee.d.ts +8 -0
- package/dist/sdk/models/shared/hrisemployee.js +32 -0
- package/dist/sdk/models/shared/index.d.ts +3 -0
- package/dist/sdk/models/shared/index.js +3 -0
- package/dist/sdk/models/shared/messagingattachment.d.ts +8 -0
- package/dist/sdk/models/shared/messagingattachment.js +65 -0
- package/dist/sdk/models/shared/messagingmessage.d.ts +3 -1
- package/dist/sdk/models/shared/messagingmessage.js +7 -0
- package/dist/sdk/models/shared/propertyhrisemployeeemployeeroles.d.ts +7 -0
- package/dist/sdk/models/shared/propertyhrisemployeeemployeeroles.js +14 -0
- package/dist/sdk/sdk.js +2 -2
- package/docs/sdk/models/shared/hriscompensation.md +7 -0
- package/docs/sdk/models/shared/hrisemployee.md +34 -28
- package/docs/sdk/models/shared/messagingattachment.md +12 -0
- package/docs/sdk/models/shared/messagingmessage.md +2 -1
- package/docs/sdk/models/shared/propertyhrisemployeeemployeeroles.md +12 -0
- package/package.json +1 -1
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __extends = (this && this.__extends) || (function () {
|
|
6
|
+
var extendStatics = function (d, b) {
|
|
7
|
+
extendStatics = Object.setPrototypeOf ||
|
|
8
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
9
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
10
|
+
return extendStatics(d, b);
|
|
11
|
+
};
|
|
12
|
+
return function (d, b) {
|
|
13
|
+
if (typeof b !== "function" && b !== null)
|
|
14
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
15
|
+
extendStatics(d, b);
|
|
16
|
+
function __() { this.constructor = d; }
|
|
17
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
18
|
+
};
|
|
19
|
+
})();
|
|
20
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
+
exports.HrisCompensation = void 0;
|
|
22
|
+
var utils_1 = require("../../../internal/utils");
|
|
23
|
+
var HrisCompensation = /** @class */ (function (_super) {
|
|
24
|
+
__extends(HrisCompensation, _super);
|
|
25
|
+
function HrisCompensation() {
|
|
26
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
27
|
+
}
|
|
28
|
+
return HrisCompensation;
|
|
29
|
+
}(utils_1.SpeakeasyBase));
|
|
30
|
+
exports.HrisCompensation = HrisCompensation;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { SpeakeasyBase } from "../../../internal/utils";
|
|
2
|
+
import { HrisCompensation } from "./hriscompensation";
|
|
2
3
|
import { HrisEmail } from "./hrisemail";
|
|
3
4
|
import { HrisTelephone } from "./hristelephone";
|
|
4
5
|
import { PropertyHrisEmployeeAddress } from "./propertyhrisemployeeaddress";
|
|
6
|
+
import { PropertyHrisEmployeeEmployeeRoles } from "./propertyhrisemployeeemployeeroles";
|
|
5
7
|
export declare enum EmploymentStatus {
|
|
6
8
|
Active = "ACTIVE",
|
|
7
9
|
Inactive = "INACTIVE"
|
|
@@ -31,7 +33,9 @@ export declare enum MaritalStatus {
|
|
|
31
33
|
}
|
|
32
34
|
export declare class HrisEmployee extends SpeakeasyBase {
|
|
33
35
|
address?: PropertyHrisEmployeeAddress;
|
|
36
|
+
bio?: string;
|
|
34
37
|
companyId?: string;
|
|
38
|
+
compensation?: HrisCompensation[];
|
|
35
39
|
createdAt?: Date;
|
|
36
40
|
currency?: string;
|
|
37
41
|
dateOfBirth?: Date;
|
|
@@ -39,6 +43,7 @@ export declare class HrisEmployee extends SpeakeasyBase {
|
|
|
39
43
|
division?: string;
|
|
40
44
|
emails?: HrisEmail[];
|
|
41
45
|
employeeNumber?: string;
|
|
46
|
+
employeeRoles?: PropertyHrisEmployeeEmployeeRoles[];
|
|
42
47
|
employmentStatus?: EmploymentStatus;
|
|
43
48
|
employmentType?: HrisEmployeeEmploymentType;
|
|
44
49
|
gender?: HrisEmployeeGender;
|
|
@@ -50,7 +55,10 @@ export declare class HrisEmployee extends SpeakeasyBase {
|
|
|
50
55
|
managerId?: string;
|
|
51
56
|
maritalStatus?: MaritalStatus;
|
|
52
57
|
name?: string;
|
|
58
|
+
pronouns?: string;
|
|
53
59
|
raw?: Record<string, any>;
|
|
60
|
+
salutation?: string;
|
|
61
|
+
ssnSin?: string;
|
|
54
62
|
telephones?: HrisTelephone[];
|
|
55
63
|
terminatedAt?: Date;
|
|
56
64
|
timezone?: string;
|
|
@@ -29,6 +29,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
30
|
exports.HrisEmployee = exports.MaritalStatus = exports.HrisEmployeeGender = exports.HrisEmployeeEmploymentType = exports.EmploymentStatus = void 0;
|
|
31
31
|
var utils_1 = require("../../../internal/utils");
|
|
32
|
+
var hriscompensation_1 = require("./hriscompensation");
|
|
32
33
|
var hrisemail_1 = require("./hrisemail");
|
|
33
34
|
var hristelephone_1 = require("./hristelephone");
|
|
34
35
|
var propertyhrisemployeeaddress_1 = require("./propertyhrisemployeeaddress");
|
|
@@ -75,11 +76,22 @@ var HrisEmployee = /** @class */ (function (_super) {
|
|
|
75
76
|
(0, class_transformer_1.Type)(function () { return propertyhrisemployeeaddress_1.PropertyHrisEmployeeAddress; }),
|
|
76
77
|
__metadata("design:type", propertyhrisemployeeaddress_1.PropertyHrisEmployeeAddress)
|
|
77
78
|
], HrisEmployee.prototype, "address", void 0);
|
|
79
|
+
__decorate([
|
|
80
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
81
|
+
(0, class_transformer_1.Expose)({ name: "bio" }),
|
|
82
|
+
__metadata("design:type", String)
|
|
83
|
+
], HrisEmployee.prototype, "bio", void 0);
|
|
78
84
|
__decorate([
|
|
79
85
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
80
86
|
(0, class_transformer_1.Expose)({ name: "company_id" }),
|
|
81
87
|
__metadata("design:type", String)
|
|
82
88
|
], HrisEmployee.prototype, "companyId", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
(0, utils_1.SpeakeasyMetadata)({ elemType: hriscompensation_1.HrisCompensation }),
|
|
91
|
+
(0, class_transformer_1.Expose)({ name: "compensation" }),
|
|
92
|
+
(0, class_transformer_1.Type)(function () { return hriscompensation_1.HrisCompensation; }),
|
|
93
|
+
__metadata("design:type", Array)
|
|
94
|
+
], HrisEmployee.prototype, "compensation", void 0);
|
|
83
95
|
__decorate([
|
|
84
96
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
85
97
|
(0, class_transformer_1.Expose)({ name: "created_at" }),
|
|
@@ -124,6 +136,11 @@ var HrisEmployee = /** @class */ (function (_super) {
|
|
|
124
136
|
(0, class_transformer_1.Expose)({ name: "employee_number" }),
|
|
125
137
|
__metadata("design:type", String)
|
|
126
138
|
], HrisEmployee.prototype, "employeeNumber", void 0);
|
|
139
|
+
__decorate([
|
|
140
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
141
|
+
(0, class_transformer_1.Expose)({ name: "employee_roles" }),
|
|
142
|
+
__metadata("design:type", Array)
|
|
143
|
+
], HrisEmployee.prototype, "employeeRoles", void 0);
|
|
127
144
|
__decorate([
|
|
128
145
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
129
146
|
(0, class_transformer_1.Expose)({ name: "employment_status" }),
|
|
@@ -183,11 +200,26 @@ var HrisEmployee = /** @class */ (function (_super) {
|
|
|
183
200
|
(0, class_transformer_1.Expose)({ name: "name" }),
|
|
184
201
|
__metadata("design:type", String)
|
|
185
202
|
], HrisEmployee.prototype, "name", void 0);
|
|
203
|
+
__decorate([
|
|
204
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
205
|
+
(0, class_transformer_1.Expose)({ name: "pronouns" }),
|
|
206
|
+
__metadata("design:type", String)
|
|
207
|
+
], HrisEmployee.prototype, "pronouns", void 0);
|
|
186
208
|
__decorate([
|
|
187
209
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
188
210
|
(0, class_transformer_1.Expose)({ name: "raw" }),
|
|
189
211
|
__metadata("design:type", Object)
|
|
190
212
|
], HrisEmployee.prototype, "raw", void 0);
|
|
213
|
+
__decorate([
|
|
214
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
215
|
+
(0, class_transformer_1.Expose)({ name: "salutation" }),
|
|
216
|
+
__metadata("design:type", String)
|
|
217
|
+
], HrisEmployee.prototype, "salutation", void 0);
|
|
218
|
+
__decorate([
|
|
219
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
220
|
+
(0, class_transformer_1.Expose)({ name: "ssn_sin" }),
|
|
221
|
+
__metadata("design:type", String)
|
|
222
|
+
], HrisEmployee.prototype, "ssnSin", void 0);
|
|
191
223
|
__decorate([
|
|
192
224
|
(0, utils_1.SpeakeasyMetadata)({ elemType: hristelephone_1.HrisTelephone }),
|
|
193
225
|
(0, class_transformer_1.Expose)({ name: "telephones" }),
|
|
@@ -54,6 +54,7 @@ export * from "./genaicontent";
|
|
|
54
54
|
export * from "./genaimodel";
|
|
55
55
|
export * from "./genaiprompt";
|
|
56
56
|
export * from "./hriscompany";
|
|
57
|
+
export * from "./hriscompensation";
|
|
57
58
|
export * from "./hrisemail";
|
|
58
59
|
export * from "./hrisemployee";
|
|
59
60
|
export * from "./hrisgroup";
|
|
@@ -69,6 +70,7 @@ export * from "./kmsspace";
|
|
|
69
70
|
export * from "./marketingemail";
|
|
70
71
|
export * from "./marketinglist";
|
|
71
72
|
export * from "./marketingmember";
|
|
73
|
+
export * from "./messagingattachment";
|
|
72
74
|
export * from "./messagingchannel";
|
|
73
75
|
export * from "./messagingmember";
|
|
74
76
|
export * from "./messagingmessage";
|
|
@@ -98,6 +100,7 @@ export * from "./propertyenrichcompanyaddress";
|
|
|
98
100
|
export * from "./propertyenrichpersonaddress";
|
|
99
101
|
export * from "./propertyhriscompanyaddress";
|
|
100
102
|
export * from "./propertyhrisemployeeaddress";
|
|
103
|
+
export * from "./propertyhrisemployeeemployeeroles";
|
|
101
104
|
export * from "./propertyintegrationcategories";
|
|
102
105
|
export * from "./propertyintegrationsupportwebhookevents";
|
|
103
106
|
export * from "./propertymessagingmessageauthormember";
|
|
@@ -73,6 +73,7 @@ __exportStar(require("./genaicontent"), exports);
|
|
|
73
73
|
__exportStar(require("./genaimodel"), exports);
|
|
74
74
|
__exportStar(require("./genaiprompt"), exports);
|
|
75
75
|
__exportStar(require("./hriscompany"), exports);
|
|
76
|
+
__exportStar(require("./hriscompensation"), exports);
|
|
76
77
|
__exportStar(require("./hrisemail"), exports);
|
|
77
78
|
__exportStar(require("./hrisemployee"), exports);
|
|
78
79
|
__exportStar(require("./hrisgroup"), exports);
|
|
@@ -88,6 +89,7 @@ __exportStar(require("./kmsspace"), exports);
|
|
|
88
89
|
__exportStar(require("./marketingemail"), exports);
|
|
89
90
|
__exportStar(require("./marketinglist"), exports);
|
|
90
91
|
__exportStar(require("./marketingmember"), exports);
|
|
92
|
+
__exportStar(require("./messagingattachment"), exports);
|
|
91
93
|
__exportStar(require("./messagingchannel"), exports);
|
|
92
94
|
__exportStar(require("./messagingmember"), exports);
|
|
93
95
|
__exportStar(require("./messagingmessage"), exports);
|
|
@@ -117,6 +119,7 @@ __exportStar(require("./propertyenrichcompanyaddress"), exports);
|
|
|
117
119
|
__exportStar(require("./propertyenrichpersonaddress"), exports);
|
|
118
120
|
__exportStar(require("./propertyhriscompanyaddress"), exports);
|
|
119
121
|
__exportStar(require("./propertyhrisemployeeaddress"), exports);
|
|
122
|
+
__exportStar(require("./propertyhrisemployeeemployeeroles"), exports);
|
|
120
123
|
__exportStar(require("./propertyintegrationcategories"), exports);
|
|
121
124
|
__exportStar(require("./propertyintegrationsupportwebhookevents"), exports);
|
|
122
125
|
__exportStar(require("./propertymessagingmessageauthormember"), exports);
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __extends = (this && this.__extends) || (function () {
|
|
6
|
+
var extendStatics = function (d, b) {
|
|
7
|
+
extendStatics = Object.setPrototypeOf ||
|
|
8
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
9
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
10
|
+
return extendStatics(d, b);
|
|
11
|
+
};
|
|
12
|
+
return function (d, b) {
|
|
13
|
+
if (typeof b !== "function" && b !== null)
|
|
14
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
15
|
+
extendStatics(d, b);
|
|
16
|
+
function __() { this.constructor = d; }
|
|
17
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
18
|
+
};
|
|
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
|
+
};
|
|
29
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
+
exports.MessagingAttachment = void 0;
|
|
31
|
+
var utils_1 = require("../../../internal/utils");
|
|
32
|
+
var class_transformer_1 = require("class-transformer");
|
|
33
|
+
var MessagingAttachment = /** @class */ (function (_super) {
|
|
34
|
+
__extends(MessagingAttachment, _super);
|
|
35
|
+
function MessagingAttachment() {
|
|
36
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
37
|
+
}
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
40
|
+
(0, class_transformer_1.Expose)({ name: "content_type" }),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], MessagingAttachment.prototype, "contentType", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
45
|
+
(0, class_transformer_1.Expose)({ name: "download_url" }),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], MessagingAttachment.prototype, "downloadUrl", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
50
|
+
(0, class_transformer_1.Expose)({ name: "filename" }),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], MessagingAttachment.prototype, "filename", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
55
|
+
(0, class_transformer_1.Expose)({ name: "message_id" }),
|
|
56
|
+
__metadata("design:type", String)
|
|
57
|
+
], MessagingAttachment.prototype, "messageId", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
60
|
+
(0, class_transformer_1.Expose)({ name: "size" }),
|
|
61
|
+
__metadata("design:type", Number)
|
|
62
|
+
], MessagingAttachment.prototype, "size", void 0);
|
|
63
|
+
return MessagingAttachment;
|
|
64
|
+
}(utils_1.SpeakeasyBase));
|
|
65
|
+
exports.MessagingAttachment = MessagingAttachment;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { SpeakeasyBase } from "../../../internal/utils";
|
|
2
|
+
import { MessagingAttachment } from "./messagingattachment";
|
|
2
3
|
import { MessagingMember } from "./messagingmember";
|
|
3
4
|
import { PropertyMessagingMessageAuthorMember } from "./propertymessagingmessageauthormember";
|
|
4
5
|
export declare class MessagingMessage extends SpeakeasyBase {
|
|
6
|
+
attachments?: MessagingAttachment[];
|
|
5
7
|
authorMember?: PropertyMessagingMessageAuthorMember;
|
|
6
8
|
channelId?: string;
|
|
7
9
|
createdAt?: string;
|
|
@@ -9,7 +11,7 @@ export declare class MessagingMessage extends SpeakeasyBase {
|
|
|
9
11
|
hiddenMembers?: MessagingMember[];
|
|
10
12
|
id?: string;
|
|
11
13
|
mentionedMembers?: MessagingMember[];
|
|
12
|
-
message
|
|
14
|
+
message?: string;
|
|
13
15
|
messageHtml?: string;
|
|
14
16
|
parentMessageId?: string;
|
|
15
17
|
raw?: Record<string, any>;
|
|
@@ -29,6 +29,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
30
|
exports.MessagingMessage = void 0;
|
|
31
31
|
var utils_1 = require("../../../internal/utils");
|
|
32
|
+
var messagingattachment_1 = require("./messagingattachment");
|
|
32
33
|
var messagingmember_1 = require("./messagingmember");
|
|
33
34
|
var propertymessagingmessageauthormember_1 = require("./propertymessagingmessageauthormember");
|
|
34
35
|
var class_transformer_1 = require("class-transformer");
|
|
@@ -37,6 +38,12 @@ var MessagingMessage = /** @class */ (function (_super) {
|
|
|
37
38
|
function MessagingMessage() {
|
|
38
39
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
39
40
|
}
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, utils_1.SpeakeasyMetadata)({ elemType: messagingattachment_1.MessagingAttachment }),
|
|
43
|
+
(0, class_transformer_1.Expose)({ name: "attachments" }),
|
|
44
|
+
(0, class_transformer_1.Type)(function () { return messagingattachment_1.MessagingAttachment; }),
|
|
45
|
+
__metadata("design:type", Array)
|
|
46
|
+
], MessagingMessage.prototype, "attachments", void 0);
|
|
40
47
|
__decorate([
|
|
41
48
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
42
49
|
(0, class_transformer_1.Expose)({ name: "author_member" }),
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.PropertyHrisEmployeeEmployeeRoles = void 0;
|
|
7
|
+
var PropertyHrisEmployeeEmployeeRoles;
|
|
8
|
+
(function (PropertyHrisEmployeeEmployeeRoles) {
|
|
9
|
+
PropertyHrisEmployeeEmployeeRoles["Admin"] = "ADMIN";
|
|
10
|
+
PropertyHrisEmployeeEmployeeRoles["Manager"] = "MANAGER";
|
|
11
|
+
PropertyHrisEmployeeEmployeeRoles["Recruiter"] = "RECRUITER";
|
|
12
|
+
PropertyHrisEmployeeEmployeeRoles["Salesrep"] = "SALESREP";
|
|
13
|
+
PropertyHrisEmployeeEmployeeRoles["Interviewer"] = "INTERVIEWER";
|
|
14
|
+
})(PropertyHrisEmployeeEmployeeRoles = exports.PropertyHrisEmployeeEmployeeRoles || (exports.PropertyHrisEmployeeEmployeeRoles = {}));
|
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.
|
|
98
|
+
this.sdkVersion = "1.0.49";
|
|
99
99
|
this.genVersion = "2.354.2";
|
|
100
|
-
this.userAgent = "speakeasy-sdk/typescript 1.0.
|
|
100
|
+
this.userAgent = "speakeasy-sdk/typescript 1.0.49 2.354.2 1.0 @unified-api/typescript-sdk";
|
|
101
101
|
Object.assign(this, init);
|
|
102
102
|
}
|
|
103
103
|
return SDKConfiguration;
|
|
@@ -3,31 +3,37 @@
|
|
|
3
3
|
|
|
4
4
|
## Fields
|
|
5
5
|
|
|
6
|
-
| Field
|
|
7
|
-
|
|
|
8
|
-
| `address`
|
|
9
|
-
| `
|
|
10
|
-
| `
|
|
11
|
-
| `
|
|
12
|
-
| `
|
|
13
|
-
| `
|
|
14
|
-
| `
|
|
15
|
-
| `
|
|
16
|
-
| `
|
|
17
|
-
| `
|
|
18
|
-
| `
|
|
19
|
-
| `
|
|
20
|
-
| `
|
|
21
|
-
| `
|
|
22
|
-
| `
|
|
23
|
-
| `
|
|
24
|
-
| `
|
|
25
|
-
| `
|
|
26
|
-
| `
|
|
27
|
-
| `
|
|
28
|
-
| `
|
|
29
|
-
| `
|
|
30
|
-
| `
|
|
31
|
-
| `
|
|
32
|
-
| `
|
|
33
|
-
| `
|
|
6
|
+
| Field | Type | Required | Description |
|
|
7
|
+
| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- |
|
|
8
|
+
| `address` | [shared.PropertyHrisEmployeeAddress](../../../sdk/models/shared/propertyhrisemployeeaddress.md) | :heavy_minus_sign: | N/A |
|
|
9
|
+
| `bio` | *string* | :heavy_minus_sign: | N/A |
|
|
10
|
+
| `companyId` | *string* | :heavy_minus_sign: | N/A |
|
|
11
|
+
| `compensation` | [shared.HrisCompensation](../../../sdk/models/shared/hriscompensation.md)[] | :heavy_minus_sign: | N/A |
|
|
12
|
+
| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
|
|
13
|
+
| `currency` | *string* | :heavy_minus_sign: | N/A |
|
|
14
|
+
| `dateOfBirth` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
|
|
15
|
+
| `department` | *string* | :heavy_minus_sign: | N/A |
|
|
16
|
+
| `division` | *string* | :heavy_minus_sign: | N/A |
|
|
17
|
+
| `emails` | [shared.HrisEmail](../../../sdk/models/shared/hrisemail.md)[] | :heavy_minus_sign: | N/A |
|
|
18
|
+
| `employeeNumber` | *string* | :heavy_minus_sign: | N/A |
|
|
19
|
+
| `employeeRoles` | [shared.PropertyHrisEmployeeEmployeeRoles](../../../sdk/models/shared/propertyhrisemployeeemployeeroles.md)[] | :heavy_minus_sign: | N/A |
|
|
20
|
+
| `employmentStatus` | [shared.EmploymentStatus](../../../sdk/models/shared/employmentstatus.md) | :heavy_minus_sign: | N/A |
|
|
21
|
+
| `employmentType` | [shared.HrisEmployeeEmploymentType](../../../sdk/models/shared/hrisemployeeemploymenttype.md) | :heavy_minus_sign: | N/A |
|
|
22
|
+
| `gender` | [shared.HrisEmployeeGender](../../../sdk/models/shared/hrisemployeegender.md) | :heavy_minus_sign: | N/A |
|
|
23
|
+
| `hiredAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
|
|
24
|
+
| `id` | *string* | :heavy_minus_sign: | N/A |
|
|
25
|
+
| `imageUrl` | *string* | :heavy_minus_sign: | N/A |
|
|
26
|
+
| `languageLocale` | *string* | :heavy_minus_sign: | N/A |
|
|
27
|
+
| `location` | *string* | :heavy_minus_sign: | N/A |
|
|
28
|
+
| `managerId` | *string* | :heavy_minus_sign: | N/A |
|
|
29
|
+
| `maritalStatus` | [shared.MaritalStatus](../../../sdk/models/shared/maritalstatus.md) | :heavy_minus_sign: | N/A |
|
|
30
|
+
| `name` | *string* | :heavy_minus_sign: | N/A |
|
|
31
|
+
| `pronouns` | *string* | :heavy_minus_sign: | N/A |
|
|
32
|
+
| `raw` | Record<string, *any*> | :heavy_minus_sign: | N/A |
|
|
33
|
+
| `salutation` | *string* | :heavy_minus_sign: | N/A |
|
|
34
|
+
| `ssnSin` | *string* | :heavy_minus_sign: | N/A |
|
|
35
|
+
| `telephones` | [shared.HrisTelephone](../../../sdk/models/shared/hristelephone.md)[] | :heavy_minus_sign: | N/A |
|
|
36
|
+
| `terminatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
|
|
37
|
+
| `timezone` | *string* | :heavy_minus_sign: | N/A |
|
|
38
|
+
| `title` | *string* | :heavy_minus_sign: | N/A |
|
|
39
|
+
| `updatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# MessagingAttachment
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Fields
|
|
5
|
+
|
|
6
|
+
| Field | Type | Required | Description |
|
|
7
|
+
| ------------------ | ------------------ | ------------------ | ------------------ |
|
|
8
|
+
| `contentType` | *string* | :heavy_minus_sign: | N/A |
|
|
9
|
+
| `downloadUrl` | *string* | :heavy_minus_sign: | N/A |
|
|
10
|
+
| `filename` | *string* | :heavy_minus_sign: | N/A |
|
|
11
|
+
| `messageId` | *string* | :heavy_minus_sign: | N/A |
|
|
12
|
+
| `size` | *number* | :heavy_minus_sign: | N/A |
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
| Field | Type | Required | Description |
|
|
7
7
|
| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
|
|
8
|
+
| `attachments` | [shared.MessagingAttachment](../../../sdk/models/shared/messagingattachment.md)[] | :heavy_minus_sign: | N/A |
|
|
8
9
|
| `authorMember` | [shared.PropertyMessagingMessageAuthorMember](../../../sdk/models/shared/propertymessagingmessageauthormember.md) | :heavy_minus_sign: | N/A |
|
|
9
10
|
| `channelId` | *string* | :heavy_minus_sign: | N/A |
|
|
10
11
|
| `createdAt` | *string* | :heavy_minus_sign: | N/A |
|
|
@@ -12,7 +13,7 @@
|
|
|
12
13
|
| `hiddenMembers` | [shared.MessagingMember](../../../sdk/models/shared/messagingmember.md)[] | :heavy_minus_sign: | N/A |
|
|
13
14
|
| `id` | *string* | :heavy_minus_sign: | N/A |
|
|
14
15
|
| `mentionedMembers` | [shared.MessagingMember](../../../sdk/models/shared/messagingmember.md)[] | :heavy_minus_sign: | N/A |
|
|
15
|
-
| `message` | *string* | :
|
|
16
|
+
| `message` | *string* | :heavy_minus_sign: | N/A |
|
|
16
17
|
| `messageHtml` | *string* | :heavy_minus_sign: | N/A |
|
|
17
18
|
| `parentMessageId` | *string* | :heavy_minus_sign: | N/A |
|
|
18
19
|
| `raw` | Record<string, *any*> | :heavy_minus_sign: | N/A |
|