@unified-api/typescript-sdk 1.0.10 → 1.0.12
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/accounting.d.ts +5 -5
- package/dist/sdk/accounting.js +5 -5
- package/dist/sdk/applicationstatus.d.ts +1 -1
- package/dist/sdk/applicationstatus.js +1 -1
- package/dist/sdk/ats.d.ts +6 -6
- package/dist/sdk/ats.js +6 -6
- package/dist/sdk/crm.d.ts +5 -5
- package/dist/sdk/crm.js +5 -5
- package/dist/sdk/event.d.ts +5 -5
- package/dist/sdk/event.js +5 -5
- package/dist/sdk/hris.d.ts +16 -0
- package/dist/sdk/hris.js +252 -0
- package/dist/sdk/interview.d.ts +5 -5
- package/dist/sdk/interview.js +5 -5
- package/dist/sdk/invoice.d.ts +5 -5
- package/dist/sdk/invoice.js +5 -5
- package/dist/sdk/link.d.ts +6 -6
- package/dist/sdk/link.js +6 -6
- package/dist/sdk/martech.d.ts +1 -1
- package/dist/sdk/martech.js +1 -1
- package/dist/sdk/member.d.ts +1 -1
- package/dist/sdk/member.js +1 -1
- package/dist/sdk/models/operations/gethrispayslip.d.ts +35 -0
- package/dist/sdk/models/operations/gethrispayslip.js +99 -0
- package/dist/sdk/models/operations/gethristimeoff.d.ts +35 -0
- package/dist/sdk/models/operations/gethristimeoff.js +99 -0
- package/dist/sdk/models/operations/getunifiedintegrationauth.d.ts +4 -0
- package/dist/sdk/models/operations/getunifiedintegrationauth.js +4 -0
- package/dist/sdk/models/operations/index.d.ts +4 -0
- package/dist/sdk/models/operations/index.js +4 -0
- package/dist/sdk/models/operations/listaccountingcontacts.d.ts +0 -3
- package/dist/sdk/models/operations/listaccountinginvoices.d.ts +0 -3
- package/dist/sdk/models/operations/listatsactivities.d.ts +0 -18
- package/dist/sdk/models/operations/listatsapplications.d.ts +0 -6
- package/dist/sdk/models/operations/listatsdocuments.d.ts +0 -3
- package/dist/sdk/models/operations/listatsinterviews.d.ts +0 -3
- package/dist/sdk/models/operations/listatsscorecards.d.ts +0 -12
- package/dist/sdk/models/operations/listcommercecollections.d.ts +1 -0
- package/dist/sdk/models/operations/listcommercecollections.js +4 -0
- package/dist/sdk/models/operations/listcommerceinventories.d.ts +0 -6
- package/dist/sdk/models/operations/listcommerceitems.d.ts +1 -0
- package/dist/sdk/models/operations/listcommerceitems.js +4 -0
- package/dist/sdk/models/operations/listcrmcompanies.d.ts +0 -9
- package/dist/sdk/models/operations/listcrmcontacts.d.ts +0 -9
- package/dist/sdk/models/operations/listcrmdeals.d.ts +0 -9
- package/dist/sdk/models/operations/listcrmevents.d.ts +0 -12
- package/dist/sdk/models/operations/listcrmleads.d.ts +0 -9
- package/dist/sdk/models/operations/listhrispayslips.d.ts +44 -0
- package/dist/sdk/models/operations/listhrispayslips.js +123 -0
- package/dist/sdk/models/operations/listhristimeoffs.d.ts +44 -0
- package/dist/sdk/models/operations/listhristimeoffs.js +123 -0
- package/dist/sdk/models/operations/listmartechmembers.d.ts +0 -3
- package/dist/sdk/models/operations/listpaymentlinks.d.ts +0 -6
- package/dist/sdk/models/operations/listpaymentpayments.d.ts +0 -6
- package/dist/sdk/models/operations/listpaymentrefunds.d.ts +0 -3
- package/dist/sdk/models/operations/listticketingnotes.d.ts +0 -3
- package/dist/sdk/models/operations/listticketingtickets.d.ts +0 -6
- package/dist/sdk/models/shared/commercecollection.d.ts +6 -1
- package/dist/sdk/models/shared/commercecollection.js +12 -6
- package/dist/sdk/models/shared/hrispayslip.d.ts +22 -0
- package/dist/sdk/models/shared/hrispayslip.js +133 -0
- package/dist/sdk/models/shared/hrispayslipdetail.d.ts +28 -0
- package/dist/sdk/models/shared/hrispayslipdetail.js +90 -0
- package/dist/sdk/models/shared/hristimeoff.d.ts +24 -0
- package/dist/sdk/models/shared/hristimeoff.js +131 -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/integrationsupport.d.ts +3 -0
- package/dist/sdk/models/shared/integrationsupport.js +15 -0
- package/dist/sdk/models/shared/propertyconnectionpermissions.d.ts +4 -0
- package/dist/sdk/models/shared/propertyconnectionpermissions.js +4 -0
- package/dist/sdk/models/shared/webhook.d.ts +2 -0
- package/dist/sdk/models/shared/webhook.js +2 -0
- package/dist/sdk/payment.d.ts +6 -6
- package/dist/sdk/payment.js +6 -6
- package/dist/sdk/payslip.d.ts +15 -0
- package/dist/sdk/payslip.js +213 -0
- package/dist/sdk/sdk.d.ts +4 -0
- package/dist/sdk/sdk.js +7 -3
- package/dist/sdk/timeoff.d.ts +15 -0
- package/dist/sdk/timeoff.js +213 -0
- package/docs/sdk/models/operations/gethrispaysliprequest.md +10 -0
- package/docs/sdk/models/operations/gethrispayslipresponse.md +11 -0
- package/docs/sdk/models/operations/gethristimeoffrequest.md +10 -0
- package/docs/sdk/models/operations/gethristimeoffresponse.md +11 -0
- package/docs/sdk/models/operations/listaccountingcontactsrequest.md +1 -1
- package/docs/sdk/models/operations/listaccountinginvoicesrequest.md +1 -1
- package/docs/sdk/models/operations/listatsactivitiesrequest.md +6 -6
- package/docs/sdk/models/operations/listatsapplicationsrequest.md +2 -2
- package/docs/sdk/models/operations/listatsdocumentsrequest.md +1 -1
- package/docs/sdk/models/operations/listatsinterviewsrequest.md +1 -1
- package/docs/sdk/models/operations/listatsscorecardsrequest.md +4 -4
- package/docs/sdk/models/operations/listcommercecollectionsrequest.md +1 -0
- package/docs/sdk/models/operations/listcommerceinventoriesrequest.md +2 -2
- package/docs/sdk/models/operations/listcommerceitemsrequest.md +1 -0
- package/docs/sdk/models/operations/listcrmcompaniesrequest.md +3 -3
- package/docs/sdk/models/operations/listcrmcontactsrequest.md +3 -3
- package/docs/sdk/models/operations/listcrmdealsrequest.md +3 -3
- package/docs/sdk/models/operations/listcrmeventsrequest.md +4 -4
- package/docs/sdk/models/operations/listcrmleadsrequest.md +3 -3
- package/docs/sdk/models/operations/listhrispayslipsrequest.md +16 -0
- package/docs/sdk/models/operations/listhrispayslipsresponse.md +11 -0
- package/docs/sdk/models/operations/listhristimeoffsrequest.md +16 -0
- package/docs/sdk/models/operations/listhristimeoffsresponse.md +11 -0
- package/docs/sdk/models/operations/listmartechmembersrequest.md +1 -1
- package/docs/sdk/models/operations/listpaymentlinksrequest.md +2 -2
- package/docs/sdk/models/operations/listpaymentpaymentsrequest.md +2 -2
- package/docs/sdk/models/operations/listpaymentrefundsrequest.md +1 -1
- package/docs/sdk/models/operations/listticketingnotesrequest.md +1 -1
- package/docs/sdk/models/operations/listticketingticketsrequest.md +2 -2
- package/docs/sdk/models/operations/scopes.md +4 -0
- package/docs/sdk/models/shared/commercecollection.md +1 -1
- package/docs/sdk/models/shared/commercecollectiontype.md +10 -0
- package/docs/sdk/models/shared/hrispayslip.md +20 -0
- package/docs/sdk/models/shared/hrispayslipdetail.md +13 -0
- package/docs/sdk/models/shared/hrispayslipdetailtype.md +24 -0
- package/docs/sdk/models/shared/hristimeoff.md +19 -0
- package/docs/sdk/models/shared/hristimeoffstatus.md +10 -0
- package/docs/sdk/models/shared/hristimeofftype.md +9 -0
- package/docs/sdk/models/shared/integrationsupport.md +3 -0
- package/docs/sdk/models/shared/objecttype.md +2 -0
- package/docs/sdk/models/shared/paymenttype.md +10 -0
- package/docs/sdk/models/shared/propertyconnectionpermissions.md +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { SpeakeasyBase } from "../../../internal/utils";
|
|
2
|
+
export declare enum HrisPayslipDetailType {
|
|
3
|
+
EarningSalary = "EARNING_SALARY",
|
|
4
|
+
EarningOvertime = "EARNING_OVERTIME",
|
|
5
|
+
EarningTip = "EARNING_TIP",
|
|
6
|
+
EarningBonus = "EARNING_BONUS",
|
|
7
|
+
EarningCommission = "EARNING_COMMISSION",
|
|
8
|
+
EarningAdjustment = "EARNING_ADJUSTMENT",
|
|
9
|
+
Earning = "EARNING",
|
|
10
|
+
PretaxDeduction = "PRETAX_DEDUCTION",
|
|
11
|
+
PretaxDeductionHealthInsurance = "PRETAX_DEDUCTION_HEALTH_INSURANCE",
|
|
12
|
+
PretaxDeductionRetirement = "PRETAX_DEDUCTION_RETIREMENT",
|
|
13
|
+
PretaxDeductionHra = "PRETAX_DEDUCTION_HRA",
|
|
14
|
+
TaxFederal = "TAX_FEDERAL",
|
|
15
|
+
TaxRegion = "TAX_REGION",
|
|
16
|
+
TaxLocal = "TAX_LOCAL",
|
|
17
|
+
PosttaxBenefit = "POSTTAX_BENEFIT",
|
|
18
|
+
PosttaxGarnishment = "POSTTAX_GARNISHMENT",
|
|
19
|
+
Reimbursement = "REIMBURSEMENT"
|
|
20
|
+
}
|
|
21
|
+
export declare class HrisPayslipDetail extends SpeakeasyBase {
|
|
22
|
+
amount: number;
|
|
23
|
+
companyAmount?: number;
|
|
24
|
+
description?: string;
|
|
25
|
+
employeeAmount?: number;
|
|
26
|
+
name?: string;
|
|
27
|
+
type?: HrisPayslipDetailType;
|
|
28
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
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.HrisPayslipDetail = exports.HrisPayslipDetailType = void 0;
|
|
31
|
+
var utils_1 = require("../../../internal/utils");
|
|
32
|
+
var class_transformer_1 = require("class-transformer");
|
|
33
|
+
var HrisPayslipDetailType;
|
|
34
|
+
(function (HrisPayslipDetailType) {
|
|
35
|
+
HrisPayslipDetailType["EarningSalary"] = "EARNING_SALARY";
|
|
36
|
+
HrisPayslipDetailType["EarningOvertime"] = "EARNING_OVERTIME";
|
|
37
|
+
HrisPayslipDetailType["EarningTip"] = "EARNING_TIP";
|
|
38
|
+
HrisPayslipDetailType["EarningBonus"] = "EARNING_BONUS";
|
|
39
|
+
HrisPayslipDetailType["EarningCommission"] = "EARNING_COMMISSION";
|
|
40
|
+
HrisPayslipDetailType["EarningAdjustment"] = "EARNING_ADJUSTMENT";
|
|
41
|
+
HrisPayslipDetailType["Earning"] = "EARNING";
|
|
42
|
+
HrisPayslipDetailType["PretaxDeduction"] = "PRETAX_DEDUCTION";
|
|
43
|
+
HrisPayslipDetailType["PretaxDeductionHealthInsurance"] = "PRETAX_DEDUCTION_HEALTH_INSURANCE";
|
|
44
|
+
HrisPayslipDetailType["PretaxDeductionRetirement"] = "PRETAX_DEDUCTION_RETIREMENT";
|
|
45
|
+
HrisPayslipDetailType["PretaxDeductionHra"] = "PRETAX_DEDUCTION_HRA";
|
|
46
|
+
HrisPayslipDetailType["TaxFederal"] = "TAX_FEDERAL";
|
|
47
|
+
HrisPayslipDetailType["TaxRegion"] = "TAX_REGION";
|
|
48
|
+
HrisPayslipDetailType["TaxLocal"] = "TAX_LOCAL";
|
|
49
|
+
HrisPayslipDetailType["PosttaxBenefit"] = "POSTTAX_BENEFIT";
|
|
50
|
+
HrisPayslipDetailType["PosttaxGarnishment"] = "POSTTAX_GARNISHMENT";
|
|
51
|
+
HrisPayslipDetailType["Reimbursement"] = "REIMBURSEMENT";
|
|
52
|
+
})(HrisPayslipDetailType = exports.HrisPayslipDetailType || (exports.HrisPayslipDetailType = {}));
|
|
53
|
+
var HrisPayslipDetail = /** @class */ (function (_super) {
|
|
54
|
+
__extends(HrisPayslipDetail, _super);
|
|
55
|
+
function HrisPayslipDetail() {
|
|
56
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
57
|
+
}
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
60
|
+
(0, class_transformer_1.Expose)({ name: "amount" }),
|
|
61
|
+
__metadata("design:type", Number)
|
|
62
|
+
], HrisPayslipDetail.prototype, "amount", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
65
|
+
(0, class_transformer_1.Expose)({ name: "company_amount" }),
|
|
66
|
+
__metadata("design:type", Number)
|
|
67
|
+
], HrisPayslipDetail.prototype, "companyAmount", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
70
|
+
(0, class_transformer_1.Expose)({ name: "description" }),
|
|
71
|
+
__metadata("design:type", String)
|
|
72
|
+
], HrisPayslipDetail.prototype, "description", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
75
|
+
(0, class_transformer_1.Expose)({ name: "employee_amount" }),
|
|
76
|
+
__metadata("design:type", Number)
|
|
77
|
+
], HrisPayslipDetail.prototype, "employeeAmount", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
80
|
+
(0, class_transformer_1.Expose)({ name: "name" }),
|
|
81
|
+
__metadata("design:type", String)
|
|
82
|
+
], HrisPayslipDetail.prototype, "name", void 0);
|
|
83
|
+
__decorate([
|
|
84
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
85
|
+
(0, class_transformer_1.Expose)({ name: "type" }),
|
|
86
|
+
__metadata("design:type", String)
|
|
87
|
+
], HrisPayslipDetail.prototype, "type", void 0);
|
|
88
|
+
return HrisPayslipDetail;
|
|
89
|
+
}(utils_1.SpeakeasyBase));
|
|
90
|
+
exports.HrisPayslipDetail = HrisPayslipDetail;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { SpeakeasyBase } from "../../../internal/utils";
|
|
2
|
+
export declare enum HrisTimeoffStatus {
|
|
3
|
+
Approved = "APPROVED",
|
|
4
|
+
Pending = "PENDING",
|
|
5
|
+
Denied = "DENIED"
|
|
6
|
+
}
|
|
7
|
+
export declare enum HrisTimeoffType {
|
|
8
|
+
Paid = "PAID",
|
|
9
|
+
Unpaid = "UNPAID"
|
|
10
|
+
}
|
|
11
|
+
export declare class HrisTimeoff extends SpeakeasyBase {
|
|
12
|
+
approvedAt?: Date;
|
|
13
|
+
approverUserId?: string;
|
|
14
|
+
comments?: string;
|
|
15
|
+
createdAt?: Date;
|
|
16
|
+
endAt?: Date;
|
|
17
|
+
id?: string;
|
|
18
|
+
raw?: Record<string, any>;
|
|
19
|
+
startAt: Date;
|
|
20
|
+
status?: HrisTimeoffStatus;
|
|
21
|
+
type?: HrisTimeoffType;
|
|
22
|
+
updatedAt?: Date;
|
|
23
|
+
userId: string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
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.HrisTimeoff = exports.HrisTimeoffType = exports.HrisTimeoffStatus = void 0;
|
|
31
|
+
var utils_1 = require("../../../internal/utils");
|
|
32
|
+
var class_transformer_1 = require("class-transformer");
|
|
33
|
+
var HrisTimeoffStatus;
|
|
34
|
+
(function (HrisTimeoffStatus) {
|
|
35
|
+
HrisTimeoffStatus["Approved"] = "APPROVED";
|
|
36
|
+
HrisTimeoffStatus["Pending"] = "PENDING";
|
|
37
|
+
HrisTimeoffStatus["Denied"] = "DENIED";
|
|
38
|
+
})(HrisTimeoffStatus = exports.HrisTimeoffStatus || (exports.HrisTimeoffStatus = {}));
|
|
39
|
+
var HrisTimeoffType;
|
|
40
|
+
(function (HrisTimeoffType) {
|
|
41
|
+
HrisTimeoffType["Paid"] = "PAID";
|
|
42
|
+
HrisTimeoffType["Unpaid"] = "UNPAID";
|
|
43
|
+
})(HrisTimeoffType = exports.HrisTimeoffType || (exports.HrisTimeoffType = {}));
|
|
44
|
+
var HrisTimeoff = /** @class */ (function (_super) {
|
|
45
|
+
__extends(HrisTimeoff, _super);
|
|
46
|
+
function HrisTimeoff() {
|
|
47
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
48
|
+
}
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
51
|
+
(0, class_transformer_1.Expose)({ name: "approved_at" }),
|
|
52
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
|
53
|
+
var value = _a.value;
|
|
54
|
+
return new Date(value);
|
|
55
|
+
}, { toClassOnly: true }),
|
|
56
|
+
__metadata("design:type", Date)
|
|
57
|
+
], HrisTimeoff.prototype, "approvedAt", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
60
|
+
(0, class_transformer_1.Expose)({ name: "approver_user_id" }),
|
|
61
|
+
__metadata("design:type", String)
|
|
62
|
+
], HrisTimeoff.prototype, "approverUserId", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
65
|
+
(0, class_transformer_1.Expose)({ name: "comments" }),
|
|
66
|
+
__metadata("design:type", String)
|
|
67
|
+
], HrisTimeoff.prototype, "comments", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
70
|
+
(0, class_transformer_1.Expose)({ name: "created_at" }),
|
|
71
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
|
72
|
+
var value = _a.value;
|
|
73
|
+
return new Date(value);
|
|
74
|
+
}, { toClassOnly: true }),
|
|
75
|
+
__metadata("design:type", Date)
|
|
76
|
+
], HrisTimeoff.prototype, "createdAt", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
79
|
+
(0, class_transformer_1.Expose)({ name: "end_at" }),
|
|
80
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
|
81
|
+
var value = _a.value;
|
|
82
|
+
return new Date(value);
|
|
83
|
+
}, { toClassOnly: true }),
|
|
84
|
+
__metadata("design:type", Date)
|
|
85
|
+
], HrisTimeoff.prototype, "endAt", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
88
|
+
(0, class_transformer_1.Expose)({ name: "id" }),
|
|
89
|
+
__metadata("design:type", String)
|
|
90
|
+
], HrisTimeoff.prototype, "id", void 0);
|
|
91
|
+
__decorate([
|
|
92
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
93
|
+
(0, class_transformer_1.Expose)({ name: "raw" }),
|
|
94
|
+
__metadata("design:type", Object)
|
|
95
|
+
], HrisTimeoff.prototype, "raw", void 0);
|
|
96
|
+
__decorate([
|
|
97
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
98
|
+
(0, class_transformer_1.Expose)({ name: "start_at" }),
|
|
99
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
|
100
|
+
var value = _a.value;
|
|
101
|
+
return new Date(value);
|
|
102
|
+
}, { toClassOnly: true }),
|
|
103
|
+
__metadata("design:type", Date)
|
|
104
|
+
], HrisTimeoff.prototype, "startAt", void 0);
|
|
105
|
+
__decorate([
|
|
106
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
107
|
+
(0, class_transformer_1.Expose)({ name: "status" }),
|
|
108
|
+
__metadata("design:type", String)
|
|
109
|
+
], HrisTimeoff.prototype, "status", void 0);
|
|
110
|
+
__decorate([
|
|
111
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
112
|
+
(0, class_transformer_1.Expose)({ name: "type" }),
|
|
113
|
+
__metadata("design:type", String)
|
|
114
|
+
], HrisTimeoff.prototype, "type", void 0);
|
|
115
|
+
__decorate([
|
|
116
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
117
|
+
(0, class_transformer_1.Expose)({ name: "updated_at" }),
|
|
118
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
|
119
|
+
var value = _a.value;
|
|
120
|
+
return new Date(value);
|
|
121
|
+
}, { toClassOnly: true }),
|
|
122
|
+
__metadata("design:type", Date)
|
|
123
|
+
], HrisTimeoff.prototype, "updatedAt", void 0);
|
|
124
|
+
__decorate([
|
|
125
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
126
|
+
(0, class_transformer_1.Expose)({ name: "user_id" }),
|
|
127
|
+
__metadata("design:type", String)
|
|
128
|
+
], HrisTimeoff.prototype, "userId", void 0);
|
|
129
|
+
return HrisTimeoff;
|
|
130
|
+
}(utils_1.SpeakeasyBase));
|
|
131
|
+
exports.HrisTimeoff = HrisTimeoff;
|
|
@@ -51,7 +51,10 @@ export * from "./enrichtelephone";
|
|
|
51
51
|
export * from "./hrisemail";
|
|
52
52
|
export * from "./hrisemployee";
|
|
53
53
|
export * from "./hrisgroup";
|
|
54
|
+
export * from "./hrispayslip";
|
|
55
|
+
export * from "./hrispayslipdetail";
|
|
54
56
|
export * from "./hristelephone";
|
|
57
|
+
export * from "./hristimeoff";
|
|
55
58
|
export * from "./integration";
|
|
56
59
|
export * from "./integrationsupport";
|
|
57
60
|
export * from "./issue";
|
|
@@ -70,7 +70,10 @@ __exportStar(require("./enrichtelephone"), exports);
|
|
|
70
70
|
__exportStar(require("./hrisemail"), exports);
|
|
71
71
|
__exportStar(require("./hrisemployee"), exports);
|
|
72
72
|
__exportStar(require("./hrisgroup"), exports);
|
|
73
|
+
__exportStar(require("./hrispayslip"), exports);
|
|
74
|
+
__exportStar(require("./hrispayslipdetail"), exports);
|
|
73
75
|
__exportStar(require("./hristelephone"), exports);
|
|
76
|
+
__exportStar(require("./hristimeoff"), exports);
|
|
74
77
|
__exportStar(require("./integration"), exports);
|
|
75
78
|
__exportStar(require("./integrationsupport"), exports);
|
|
76
79
|
__exportStar(require("./issue"), exports);
|
|
@@ -5,15 +5,18 @@ export declare class IntegrationSupport extends SpeakeasyBase {
|
|
|
5
5
|
listAccountId?: boolean;
|
|
6
6
|
listApplicationId?: boolean;
|
|
7
7
|
listCandidateId?: boolean;
|
|
8
|
+
listCollectionId?: boolean;
|
|
8
9
|
listCompanyId?: boolean;
|
|
9
10
|
listContactId?: boolean;
|
|
10
11
|
listCustomerId?: boolean;
|
|
11
12
|
listDealId?: boolean;
|
|
12
13
|
listInterviewId?: boolean;
|
|
13
14
|
listInvoiceId?: boolean;
|
|
15
|
+
listItemId?: boolean;
|
|
14
16
|
listJobId?: boolean;
|
|
15
17
|
listLimit?: boolean;
|
|
16
18
|
listListId?: boolean;
|
|
19
|
+
listLocationId?: boolean;
|
|
17
20
|
listOffset?: boolean;
|
|
18
21
|
listOrder?: boolean;
|
|
19
22
|
listParentId?: boolean;
|
|
@@ -56,6 +56,11 @@ var IntegrationSupport = /** @class */ (function (_super) {
|
|
|
56
56
|
(0, class_transformer_1.Expose)({ name: "list_candidate_id" }),
|
|
57
57
|
__metadata("design:type", Boolean)
|
|
58
58
|
], IntegrationSupport.prototype, "listCandidateId", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
61
|
+
(0, class_transformer_1.Expose)({ name: "list_collection_id" }),
|
|
62
|
+
__metadata("design:type", Boolean)
|
|
63
|
+
], IntegrationSupport.prototype, "listCollectionId", void 0);
|
|
59
64
|
__decorate([
|
|
60
65
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
61
66
|
(0, class_transformer_1.Expose)({ name: "list_company_id" }),
|
|
@@ -86,6 +91,11 @@ var IntegrationSupport = /** @class */ (function (_super) {
|
|
|
86
91
|
(0, class_transformer_1.Expose)({ name: "list_invoice_id" }),
|
|
87
92
|
__metadata("design:type", Boolean)
|
|
88
93
|
], IntegrationSupport.prototype, "listInvoiceId", void 0);
|
|
94
|
+
__decorate([
|
|
95
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
96
|
+
(0, class_transformer_1.Expose)({ name: "list_item_id" }),
|
|
97
|
+
__metadata("design:type", Boolean)
|
|
98
|
+
], IntegrationSupport.prototype, "listItemId", void 0);
|
|
89
99
|
__decorate([
|
|
90
100
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
91
101
|
(0, class_transformer_1.Expose)({ name: "list_job_id" }),
|
|
@@ -101,6 +111,11 @@ var IntegrationSupport = /** @class */ (function (_super) {
|
|
|
101
111
|
(0, class_transformer_1.Expose)({ name: "list_list_id" }),
|
|
102
112
|
__metadata("design:type", Boolean)
|
|
103
113
|
], IntegrationSupport.prototype, "listListId", void 0);
|
|
114
|
+
__decorate([
|
|
115
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
116
|
+
(0, class_transformer_1.Expose)({ name: "list_location_id" }),
|
|
117
|
+
__metadata("design:type", Boolean)
|
|
118
|
+
], IntegrationSupport.prototype, "listLocationId", void 0);
|
|
104
119
|
__decorate([
|
|
105
120
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
106
121
|
(0, class_transformer_1.Expose)({ name: "list_offset" }),
|
|
@@ -67,6 +67,10 @@ export declare enum PropertyConnectionPermissions {
|
|
|
67
67
|
HrisEmployeeWrite = "hris_employee_write",
|
|
68
68
|
HrisGroupRead = "hris_group_read",
|
|
69
69
|
HrisGroupWrite = "hris_group_write",
|
|
70
|
+
HrisPayslipRead = "hris_payslip_read",
|
|
71
|
+
HrisPayslipWrite = "hris_payslip_write",
|
|
72
|
+
HrisTimeoffRead = "hris_timeoff_read",
|
|
73
|
+
HrisTimeoffWrite = "hris_timeoff_write",
|
|
70
74
|
UcCallRead = "uc_call_read",
|
|
71
75
|
StorageFileRead = "storage_file_read",
|
|
72
76
|
StorageFileWrite = "storage_file_write",
|
|
@@ -74,6 +74,10 @@ var PropertyConnectionPermissions;
|
|
|
74
74
|
PropertyConnectionPermissions["HrisEmployeeWrite"] = "hris_employee_write";
|
|
75
75
|
PropertyConnectionPermissions["HrisGroupRead"] = "hris_group_read";
|
|
76
76
|
PropertyConnectionPermissions["HrisGroupWrite"] = "hris_group_write";
|
|
77
|
+
PropertyConnectionPermissions["HrisPayslipRead"] = "hris_payslip_read";
|
|
78
|
+
PropertyConnectionPermissions["HrisPayslipWrite"] = "hris_payslip_write";
|
|
79
|
+
PropertyConnectionPermissions["HrisTimeoffRead"] = "hris_timeoff_read";
|
|
80
|
+
PropertyConnectionPermissions["HrisTimeoffWrite"] = "hris_timeoff_write";
|
|
77
81
|
PropertyConnectionPermissions["UcCallRead"] = "uc_call_read";
|
|
78
82
|
PropertyConnectionPermissions["StorageFileRead"] = "storage_file_read";
|
|
79
83
|
PropertyConnectionPermissions["StorageFileWrite"] = "storage_file_write";
|
|
@@ -36,6 +36,8 @@ export declare enum ObjectType {
|
|
|
36
36
|
CrmPipeline = "crm_pipeline",
|
|
37
37
|
HrisEmployee = "hris_employee",
|
|
38
38
|
HrisGroup = "hris_group",
|
|
39
|
+
HrisPayslip = "hris_payslip",
|
|
40
|
+
HrisTimeoff = "hris_timeoff",
|
|
39
41
|
MartechList = "martech_list",
|
|
40
42
|
MartechMember = "martech_member",
|
|
41
43
|
Passthrough = "passthrough",
|
|
@@ -69,6 +69,8 @@ var ObjectType;
|
|
|
69
69
|
ObjectType["CrmPipeline"] = "crm_pipeline";
|
|
70
70
|
ObjectType["HrisEmployee"] = "hris_employee";
|
|
71
71
|
ObjectType["HrisGroup"] = "hris_group";
|
|
72
|
+
ObjectType["HrisPayslip"] = "hris_payslip";
|
|
73
|
+
ObjectType["HrisTimeoff"] = "hris_timeoff";
|
|
72
74
|
ObjectType["MartechList"] = "martech_list";
|
|
73
75
|
ObjectType["MartechMember"] = "martech_member";
|
|
74
76
|
ObjectType["Passthrough"] = "passthrough";
|
package/dist/sdk/payment.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export declare class Payment {
|
|
|
5
5
|
private sdkConfiguration;
|
|
6
6
|
constructor(sdkConfig: SDKConfiguration);
|
|
7
7
|
/**
|
|
8
|
-
* Create a
|
|
8
|
+
* Create a link
|
|
9
9
|
*/
|
|
10
10
|
createPaymentLink(req: operations.CreatePaymentLinkRequest, config?: AxiosRequestConfig): Promise<operations.CreatePaymentLinkResponse>;
|
|
11
11
|
/**
|
|
@@ -13,7 +13,7 @@ export declare class Payment {
|
|
|
13
13
|
*/
|
|
14
14
|
createPaymentPayment(req: operations.CreatePaymentPaymentRequest, config?: AxiosRequestConfig): Promise<operations.CreatePaymentPaymentResponse>;
|
|
15
15
|
/**
|
|
16
|
-
* Retrieve a
|
|
16
|
+
* Retrieve a link
|
|
17
17
|
*/
|
|
18
18
|
getPaymentLink(req: operations.GetPaymentLinkRequest, config?: AxiosRequestConfig): Promise<operations.GetPaymentLinkResponse>;
|
|
19
19
|
/**
|
|
@@ -29,7 +29,7 @@ export declare class Payment {
|
|
|
29
29
|
*/
|
|
30
30
|
getPaymentRefund(req: operations.GetPaymentRefundRequest, config?: AxiosRequestConfig): Promise<operations.GetPaymentRefundResponse>;
|
|
31
31
|
/**
|
|
32
|
-
* List all
|
|
32
|
+
* List all links
|
|
33
33
|
*/
|
|
34
34
|
listPaymentLinks(req: operations.ListPaymentLinksRequest, config?: AxiosRequestConfig): Promise<operations.ListPaymentLinksResponse>;
|
|
35
35
|
/**
|
|
@@ -45,7 +45,7 @@ export declare class Payment {
|
|
|
45
45
|
*/
|
|
46
46
|
listPaymentRefunds(req: operations.ListPaymentRefundsRequest, config?: AxiosRequestConfig): Promise<operations.ListPaymentRefundsResponse>;
|
|
47
47
|
/**
|
|
48
|
-
* Update a
|
|
48
|
+
* Update a link
|
|
49
49
|
*/
|
|
50
50
|
patchPaymentLink(req: operations.PatchPaymentLinkRequest, config?: AxiosRequestConfig): Promise<operations.PatchPaymentLinkResponse>;
|
|
51
51
|
/**
|
|
@@ -53,7 +53,7 @@ export declare class Payment {
|
|
|
53
53
|
*/
|
|
54
54
|
patchPaymentPayment(req: operations.PatchPaymentPaymentRequest, config?: AxiosRequestConfig): Promise<operations.PatchPaymentPaymentResponse>;
|
|
55
55
|
/**
|
|
56
|
-
* Remove a
|
|
56
|
+
* Remove a link
|
|
57
57
|
*/
|
|
58
58
|
removePaymentLink(req: operations.RemovePaymentLinkRequest, config?: AxiosRequestConfig): Promise<operations.RemovePaymentLinkResponse>;
|
|
59
59
|
/**
|
|
@@ -61,7 +61,7 @@ export declare class Payment {
|
|
|
61
61
|
*/
|
|
62
62
|
removePaymentPayment(req: operations.RemovePaymentPaymentRequest, config?: AxiosRequestConfig): Promise<operations.RemovePaymentPaymentResponse>;
|
|
63
63
|
/**
|
|
64
|
-
* Update a
|
|
64
|
+
* Update a link
|
|
65
65
|
*/
|
|
66
66
|
updatePaymentLink(req: operations.UpdatePaymentLinkRequest, config?: AxiosRequestConfig): Promise<operations.UpdatePaymentLinkResponse>;
|
|
67
67
|
/**
|
package/dist/sdk/payment.js
CHANGED
|
@@ -99,7 +99,7 @@ var Payment = /** @class */ (function () {
|
|
|
99
99
|
this.sdkConfiguration = sdkConfig;
|
|
100
100
|
}
|
|
101
101
|
/**
|
|
102
|
-
* Create a
|
|
102
|
+
* Create a link
|
|
103
103
|
*/
|
|
104
104
|
Payment.prototype.createPaymentLink = function (req, config) {
|
|
105
105
|
var _a, _b;
|
|
@@ -241,7 +241,7 @@ var Payment = /** @class */ (function () {
|
|
|
241
241
|
});
|
|
242
242
|
};
|
|
243
243
|
/**
|
|
244
|
-
* Retrieve a
|
|
244
|
+
* Retrieve a link
|
|
245
245
|
*/
|
|
246
246
|
Payment.prototype.getPaymentLink = function (req, config) {
|
|
247
247
|
var _a, _b;
|
|
@@ -489,7 +489,7 @@ var Payment = /** @class */ (function () {
|
|
|
489
489
|
});
|
|
490
490
|
};
|
|
491
491
|
/**
|
|
492
|
-
* List all
|
|
492
|
+
* List all links
|
|
493
493
|
*/
|
|
494
494
|
Payment.prototype.listPaymentLinks = function (req, config) {
|
|
495
495
|
var _a, _b;
|
|
@@ -745,7 +745,7 @@ var Payment = /** @class */ (function () {
|
|
|
745
745
|
});
|
|
746
746
|
};
|
|
747
747
|
/**
|
|
748
|
-
* Update a
|
|
748
|
+
* Update a link
|
|
749
749
|
*/
|
|
750
750
|
Payment.prototype.patchPaymentLink = function (req, config) {
|
|
751
751
|
var _a, _b;
|
|
@@ -887,7 +887,7 @@ var Payment = /** @class */ (function () {
|
|
|
887
887
|
});
|
|
888
888
|
};
|
|
889
889
|
/**
|
|
890
|
-
* Remove a
|
|
890
|
+
* Remove a link
|
|
891
891
|
*/
|
|
892
892
|
Payment.prototype.removePaymentLink = function (req, config) {
|
|
893
893
|
var _a, _b;
|
|
@@ -1013,7 +1013,7 @@ var Payment = /** @class */ (function () {
|
|
|
1013
1013
|
});
|
|
1014
1014
|
};
|
|
1015
1015
|
/**
|
|
1016
|
-
* Update a
|
|
1016
|
+
* Update a link
|
|
1017
1017
|
*/
|
|
1018
1018
|
Payment.prototype.updatePaymentLink = function (req, config) {
|
|
1019
1019
|
var _a, _b;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as operations from "../sdk/models/operations";
|
|
2
|
+
import { SDKConfiguration } from "./sdk";
|
|
3
|
+
import { AxiosRequestConfig } from "axios";
|
|
4
|
+
export declare class Payslip {
|
|
5
|
+
private sdkConfiguration;
|
|
6
|
+
constructor(sdkConfig: SDKConfiguration);
|
|
7
|
+
/**
|
|
8
|
+
* Retrieve a payslip
|
|
9
|
+
*/
|
|
10
|
+
getHrisPayslip(req: operations.GetHrisPayslipRequest, config?: AxiosRequestConfig): Promise<operations.GetHrisPayslipResponse>;
|
|
11
|
+
/**
|
|
12
|
+
* List all payslips
|
|
13
|
+
*/
|
|
14
|
+
listHrisPayslips(req: operations.ListHrisPayslipsRequest, config?: AxiosRequestConfig): Promise<operations.ListHrisPayslipsResponse>;
|
|
15
|
+
}
|