@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,44 @@
|
|
|
1
|
+
import { SpeakeasyBase } from "../../../internal/utils";
|
|
2
|
+
import * as shared from "../../../sdk/models/shared";
|
|
3
|
+
import { AxiosResponse } from "axios";
|
|
4
|
+
export declare class ListHrisPayslipsRequest extends SpeakeasyBase {
|
|
5
|
+
/**
|
|
6
|
+
* ID of the connection
|
|
7
|
+
*/
|
|
8
|
+
connectionId: string;
|
|
9
|
+
/**
|
|
10
|
+
* Comma-delimited fields to return
|
|
11
|
+
*/
|
|
12
|
+
fields?: string[];
|
|
13
|
+
limit?: number;
|
|
14
|
+
offset?: number;
|
|
15
|
+
order?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Query string to search. eg. email address or name
|
|
18
|
+
*/
|
|
19
|
+
query?: string;
|
|
20
|
+
sort?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Return only results whose updated date is equal or greater to this value
|
|
23
|
+
*/
|
|
24
|
+
updatedGte?: Date;
|
|
25
|
+
userId?: string;
|
|
26
|
+
}
|
|
27
|
+
export declare class ListHrisPayslipsResponse extends SpeakeasyBase {
|
|
28
|
+
/**
|
|
29
|
+
* HTTP response content type for this operation
|
|
30
|
+
*/
|
|
31
|
+
contentType: string;
|
|
32
|
+
/**
|
|
33
|
+
* Successful
|
|
34
|
+
*/
|
|
35
|
+
hrisPayslips?: shared.HrisPayslip[];
|
|
36
|
+
/**
|
|
37
|
+
* HTTP response status code for this operation
|
|
38
|
+
*/
|
|
39
|
+
statusCode: number;
|
|
40
|
+
/**
|
|
41
|
+
* Raw HTTP response; suitable for custom response parsing
|
|
42
|
+
*/
|
|
43
|
+
rawResponse: AxiosResponse;
|
|
44
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
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 __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
23
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
24
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
25
|
+
}
|
|
26
|
+
Object.defineProperty(o, k2, desc);
|
|
27
|
+
}) : (function(o, m, k, k2) {
|
|
28
|
+
if (k2 === undefined) k2 = k;
|
|
29
|
+
o[k2] = m[k];
|
|
30
|
+
}));
|
|
31
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
32
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
33
|
+
}) : function(o, v) {
|
|
34
|
+
o["default"] = v;
|
|
35
|
+
});
|
|
36
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
37
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
38
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
39
|
+
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;
|
|
40
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
41
|
+
};
|
|
42
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
43
|
+
if (mod && mod.__esModule) return mod;
|
|
44
|
+
var result = {};
|
|
45
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
46
|
+
__setModuleDefault(result, mod);
|
|
47
|
+
return result;
|
|
48
|
+
};
|
|
49
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
50
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
51
|
+
};
|
|
52
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
53
|
+
exports.ListHrisPayslipsResponse = exports.ListHrisPayslipsRequest = void 0;
|
|
54
|
+
var utils_1 = require("../../../internal/utils");
|
|
55
|
+
var shared = __importStar(require("../../../sdk/models/shared"));
|
|
56
|
+
var ListHrisPayslipsRequest = /** @class */ (function (_super) {
|
|
57
|
+
__extends(ListHrisPayslipsRequest, _super);
|
|
58
|
+
function ListHrisPayslipsRequest() {
|
|
59
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
60
|
+
}
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=connection_id" }),
|
|
63
|
+
__metadata("design:type", String)
|
|
64
|
+
], ListHrisPayslipsRequest.prototype, "connectionId", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=fields" }),
|
|
67
|
+
__metadata("design:type", Array)
|
|
68
|
+
], ListHrisPayslipsRequest.prototype, "fields", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=limit" }),
|
|
71
|
+
__metadata("design:type", Number)
|
|
72
|
+
], ListHrisPayslipsRequest.prototype, "limit", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=offset" }),
|
|
75
|
+
__metadata("design:type", Number)
|
|
76
|
+
], ListHrisPayslipsRequest.prototype, "offset", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=order" }),
|
|
79
|
+
__metadata("design:type", String)
|
|
80
|
+
], ListHrisPayslipsRequest.prototype, "order", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=query" }),
|
|
83
|
+
__metadata("design:type", String)
|
|
84
|
+
], ListHrisPayslipsRequest.prototype, "query", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=sort" }),
|
|
87
|
+
__metadata("design:type", String)
|
|
88
|
+
], ListHrisPayslipsRequest.prototype, "sort", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=updated_gte" }),
|
|
91
|
+
__metadata("design:type", Date)
|
|
92
|
+
], ListHrisPayslipsRequest.prototype, "updatedGte", void 0);
|
|
93
|
+
__decorate([
|
|
94
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=user_id" }),
|
|
95
|
+
__metadata("design:type", String)
|
|
96
|
+
], ListHrisPayslipsRequest.prototype, "userId", void 0);
|
|
97
|
+
return ListHrisPayslipsRequest;
|
|
98
|
+
}(utils_1.SpeakeasyBase));
|
|
99
|
+
exports.ListHrisPayslipsRequest = ListHrisPayslipsRequest;
|
|
100
|
+
var ListHrisPayslipsResponse = /** @class */ (function (_super) {
|
|
101
|
+
__extends(ListHrisPayslipsResponse, _super);
|
|
102
|
+
function ListHrisPayslipsResponse() {
|
|
103
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
104
|
+
}
|
|
105
|
+
__decorate([
|
|
106
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
107
|
+
__metadata("design:type", String)
|
|
108
|
+
], ListHrisPayslipsResponse.prototype, "contentType", void 0);
|
|
109
|
+
__decorate([
|
|
110
|
+
(0, utils_1.SpeakeasyMetadata)({ elemType: shared.HrisPayslip }),
|
|
111
|
+
__metadata("design:type", Array)
|
|
112
|
+
], ListHrisPayslipsResponse.prototype, "hrisPayslips", void 0);
|
|
113
|
+
__decorate([
|
|
114
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
115
|
+
__metadata("design:type", Number)
|
|
116
|
+
], ListHrisPayslipsResponse.prototype, "statusCode", void 0);
|
|
117
|
+
__decorate([
|
|
118
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
119
|
+
__metadata("design:type", Object)
|
|
120
|
+
], ListHrisPayslipsResponse.prototype, "rawResponse", void 0);
|
|
121
|
+
return ListHrisPayslipsResponse;
|
|
122
|
+
}(utils_1.SpeakeasyBase));
|
|
123
|
+
exports.ListHrisPayslipsResponse = ListHrisPayslipsResponse;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { SpeakeasyBase } from "../../../internal/utils";
|
|
2
|
+
import * as shared from "../../../sdk/models/shared";
|
|
3
|
+
import { AxiosResponse } from "axios";
|
|
4
|
+
export declare class ListHrisTimeoffsRequest extends SpeakeasyBase {
|
|
5
|
+
/**
|
|
6
|
+
* ID of the connection
|
|
7
|
+
*/
|
|
8
|
+
connectionId: string;
|
|
9
|
+
/**
|
|
10
|
+
* Comma-delimited fields to return
|
|
11
|
+
*/
|
|
12
|
+
fields?: string[];
|
|
13
|
+
limit?: number;
|
|
14
|
+
offset?: number;
|
|
15
|
+
order?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Query string to search. eg. email address or name
|
|
18
|
+
*/
|
|
19
|
+
query?: string;
|
|
20
|
+
sort?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Return only results whose updated date is equal or greater to this value
|
|
23
|
+
*/
|
|
24
|
+
updatedGte?: Date;
|
|
25
|
+
userId?: string;
|
|
26
|
+
}
|
|
27
|
+
export declare class ListHrisTimeoffsResponse extends SpeakeasyBase {
|
|
28
|
+
/**
|
|
29
|
+
* HTTP response content type for this operation
|
|
30
|
+
*/
|
|
31
|
+
contentType: string;
|
|
32
|
+
/**
|
|
33
|
+
* Successful
|
|
34
|
+
*/
|
|
35
|
+
hrisTimeoffs?: shared.HrisTimeoff[];
|
|
36
|
+
/**
|
|
37
|
+
* HTTP response status code for this operation
|
|
38
|
+
*/
|
|
39
|
+
statusCode: number;
|
|
40
|
+
/**
|
|
41
|
+
* Raw HTTP response; suitable for custom response parsing
|
|
42
|
+
*/
|
|
43
|
+
rawResponse: AxiosResponse;
|
|
44
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
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 __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
23
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
24
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
25
|
+
}
|
|
26
|
+
Object.defineProperty(o, k2, desc);
|
|
27
|
+
}) : (function(o, m, k, k2) {
|
|
28
|
+
if (k2 === undefined) k2 = k;
|
|
29
|
+
o[k2] = m[k];
|
|
30
|
+
}));
|
|
31
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
32
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
33
|
+
}) : function(o, v) {
|
|
34
|
+
o["default"] = v;
|
|
35
|
+
});
|
|
36
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
37
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
38
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
39
|
+
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;
|
|
40
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
41
|
+
};
|
|
42
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
43
|
+
if (mod && mod.__esModule) return mod;
|
|
44
|
+
var result = {};
|
|
45
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
46
|
+
__setModuleDefault(result, mod);
|
|
47
|
+
return result;
|
|
48
|
+
};
|
|
49
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
50
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
51
|
+
};
|
|
52
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
53
|
+
exports.ListHrisTimeoffsResponse = exports.ListHrisTimeoffsRequest = void 0;
|
|
54
|
+
var utils_1 = require("../../../internal/utils");
|
|
55
|
+
var shared = __importStar(require("../../../sdk/models/shared"));
|
|
56
|
+
var ListHrisTimeoffsRequest = /** @class */ (function (_super) {
|
|
57
|
+
__extends(ListHrisTimeoffsRequest, _super);
|
|
58
|
+
function ListHrisTimeoffsRequest() {
|
|
59
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
60
|
+
}
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=connection_id" }),
|
|
63
|
+
__metadata("design:type", String)
|
|
64
|
+
], ListHrisTimeoffsRequest.prototype, "connectionId", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=fields" }),
|
|
67
|
+
__metadata("design:type", Array)
|
|
68
|
+
], ListHrisTimeoffsRequest.prototype, "fields", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=limit" }),
|
|
71
|
+
__metadata("design:type", Number)
|
|
72
|
+
], ListHrisTimeoffsRequest.prototype, "limit", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=offset" }),
|
|
75
|
+
__metadata("design:type", Number)
|
|
76
|
+
], ListHrisTimeoffsRequest.prototype, "offset", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=order" }),
|
|
79
|
+
__metadata("design:type", String)
|
|
80
|
+
], ListHrisTimeoffsRequest.prototype, "order", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=query" }),
|
|
83
|
+
__metadata("design:type", String)
|
|
84
|
+
], ListHrisTimeoffsRequest.prototype, "query", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=sort" }),
|
|
87
|
+
__metadata("design:type", String)
|
|
88
|
+
], ListHrisTimeoffsRequest.prototype, "sort", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=updated_gte" }),
|
|
91
|
+
__metadata("design:type", Date)
|
|
92
|
+
], ListHrisTimeoffsRequest.prototype, "updatedGte", void 0);
|
|
93
|
+
__decorate([
|
|
94
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=user_id" }),
|
|
95
|
+
__metadata("design:type", String)
|
|
96
|
+
], ListHrisTimeoffsRequest.prototype, "userId", void 0);
|
|
97
|
+
return ListHrisTimeoffsRequest;
|
|
98
|
+
}(utils_1.SpeakeasyBase));
|
|
99
|
+
exports.ListHrisTimeoffsRequest = ListHrisTimeoffsRequest;
|
|
100
|
+
var ListHrisTimeoffsResponse = /** @class */ (function (_super) {
|
|
101
|
+
__extends(ListHrisTimeoffsResponse, _super);
|
|
102
|
+
function ListHrisTimeoffsResponse() {
|
|
103
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
104
|
+
}
|
|
105
|
+
__decorate([
|
|
106
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
107
|
+
__metadata("design:type", String)
|
|
108
|
+
], ListHrisTimeoffsResponse.prototype, "contentType", void 0);
|
|
109
|
+
__decorate([
|
|
110
|
+
(0, utils_1.SpeakeasyMetadata)({ elemType: shared.HrisTimeoff }),
|
|
111
|
+
__metadata("design:type", Array)
|
|
112
|
+
], ListHrisTimeoffsResponse.prototype, "hrisTimeoffs", void 0);
|
|
113
|
+
__decorate([
|
|
114
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
115
|
+
__metadata("design:type", Number)
|
|
116
|
+
], ListHrisTimeoffsResponse.prototype, "statusCode", void 0);
|
|
117
|
+
__decorate([
|
|
118
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
119
|
+
__metadata("design:type", Object)
|
|
120
|
+
], ListHrisTimeoffsResponse.prototype, "rawResponse", void 0);
|
|
121
|
+
return ListHrisTimeoffsResponse;
|
|
122
|
+
}(utils_1.SpeakeasyBase));
|
|
123
|
+
exports.ListHrisTimeoffsResponse = ListHrisTimeoffsResponse;
|
|
@@ -6,9 +6,6 @@ export declare class ListPaymentLinksRequest extends SpeakeasyBase {
|
|
|
6
6
|
* ID of the connection
|
|
7
7
|
*/
|
|
8
8
|
connectionId: string;
|
|
9
|
-
/**
|
|
10
|
-
* The customer/supplier ID to filter results
|
|
11
|
-
*/
|
|
12
9
|
contactId?: string;
|
|
13
10
|
/**
|
|
14
11
|
* Comma-delimited fields to return
|
|
@@ -17,9 +14,6 @@ export declare class ListPaymentLinksRequest extends SpeakeasyBase {
|
|
|
17
14
|
limit?: number;
|
|
18
15
|
offset?: number;
|
|
19
16
|
order?: string;
|
|
20
|
-
/**
|
|
21
|
-
* The payment ID to filter results
|
|
22
|
-
*/
|
|
23
17
|
paymentId?: string;
|
|
24
18
|
/**
|
|
25
19
|
* Query string to search. eg. email address or name
|
|
@@ -6,17 +6,11 @@ export declare class ListPaymentPaymentsRequest extends SpeakeasyBase {
|
|
|
6
6
|
* ID of the connection
|
|
7
7
|
*/
|
|
8
8
|
connectionId: string;
|
|
9
|
-
/**
|
|
10
|
-
* The customer/supplier ID to filter results
|
|
11
|
-
*/
|
|
12
9
|
contactId?: string;
|
|
13
10
|
/**
|
|
14
11
|
* Comma-delimited fields to return
|
|
15
12
|
*/
|
|
16
13
|
fields?: string[];
|
|
17
|
-
/**
|
|
18
|
-
* The invoice ID to filter results
|
|
19
|
-
*/
|
|
20
14
|
invoiceId?: string;
|
|
21
15
|
limit?: number;
|
|
22
16
|
offset?: number;
|
|
@@ -13,9 +13,6 @@ export declare class ListPaymentRefundsRequest extends SpeakeasyBase {
|
|
|
13
13
|
limit?: number;
|
|
14
14
|
offset?: number;
|
|
15
15
|
order?: string;
|
|
16
|
-
/**
|
|
17
|
-
* The payment ID to filter results
|
|
18
|
-
*/
|
|
19
16
|
paymentId?: string;
|
|
20
17
|
/**
|
|
21
18
|
* Query string to search. eg. email address or name
|
|
@@ -6,9 +6,6 @@ export declare class ListTicketingTicketsRequest extends SpeakeasyBase {
|
|
|
6
6
|
* ID of the connection
|
|
7
7
|
*/
|
|
8
8
|
connectionId: string;
|
|
9
|
-
/**
|
|
10
|
-
* The customer ID to filter results
|
|
11
|
-
*/
|
|
12
9
|
customerId?: string;
|
|
13
10
|
/**
|
|
14
11
|
* Comma-delimited fields to return
|
|
@@ -26,9 +23,6 @@ export declare class ListTicketingTicketsRequest extends SpeakeasyBase {
|
|
|
26
23
|
* Return only results whose updated date is equal or greater to this value
|
|
27
24
|
*/
|
|
28
25
|
updatedGte?: Date;
|
|
29
|
-
/**
|
|
30
|
-
* The user/agent ID to filter results
|
|
31
|
-
*/
|
|
32
26
|
userId?: string;
|
|
33
27
|
}
|
|
34
28
|
export declare class ListTicketingTicketsResponse extends SpeakeasyBase {
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { SpeakeasyBase } from "../../../internal/utils";
|
|
2
2
|
import { CommerceItemMedia } from "./commerceitemmedia";
|
|
3
|
+
export declare enum CommerceCollectionType {
|
|
4
|
+
Collection = "COLLECTION",
|
|
5
|
+
SavedSearch = "SAVED_SEARCH",
|
|
6
|
+
Category = "CATEGORY"
|
|
7
|
+
}
|
|
3
8
|
/**
|
|
4
9
|
* A collection of items/products/services
|
|
5
10
|
*/
|
|
@@ -10,12 +15,12 @@ export declare class CommerceCollection extends SpeakeasyBase {
|
|
|
10
15
|
isActive?: boolean;
|
|
11
16
|
isFeatured?: boolean;
|
|
12
17
|
isVisible?: boolean;
|
|
13
|
-
itemIds?: string[];
|
|
14
18
|
media?: CommerceItemMedia[];
|
|
15
19
|
name: string;
|
|
16
20
|
publicDescription?: string;
|
|
17
21
|
publicName?: string;
|
|
18
22
|
raw?: Record<string, any>;
|
|
19
23
|
tags?: string[];
|
|
24
|
+
type?: CommerceCollectionType;
|
|
20
25
|
updatedAt?: Date;
|
|
21
26
|
}
|
|
@@ -27,10 +27,16 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
27
27
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
28
28
|
};
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
-
exports.CommerceCollection = void 0;
|
|
30
|
+
exports.CommerceCollection = exports.CommerceCollectionType = void 0;
|
|
31
31
|
var utils_1 = require("../../../internal/utils");
|
|
32
32
|
var commerceitemmedia_1 = require("./commerceitemmedia");
|
|
33
33
|
var class_transformer_1 = require("class-transformer");
|
|
34
|
+
var CommerceCollectionType;
|
|
35
|
+
(function (CommerceCollectionType) {
|
|
36
|
+
CommerceCollectionType["Collection"] = "COLLECTION";
|
|
37
|
+
CommerceCollectionType["SavedSearch"] = "SAVED_SEARCH";
|
|
38
|
+
CommerceCollectionType["Category"] = "CATEGORY";
|
|
39
|
+
})(CommerceCollectionType = exports.CommerceCollectionType || (exports.CommerceCollectionType = {}));
|
|
34
40
|
/**
|
|
35
41
|
* A collection of items/products/services
|
|
36
42
|
*/
|
|
@@ -73,11 +79,6 @@ var CommerceCollection = /** @class */ (function (_super) {
|
|
|
73
79
|
(0, class_transformer_1.Expose)({ name: "is_visible" }),
|
|
74
80
|
__metadata("design:type", Boolean)
|
|
75
81
|
], CommerceCollection.prototype, "isVisible", void 0);
|
|
76
|
-
__decorate([
|
|
77
|
-
(0, utils_1.SpeakeasyMetadata)(),
|
|
78
|
-
(0, class_transformer_1.Expose)({ name: "item_ids" }),
|
|
79
|
-
__metadata("design:type", Array)
|
|
80
|
-
], CommerceCollection.prototype, "itemIds", void 0);
|
|
81
82
|
__decorate([
|
|
82
83
|
(0, utils_1.SpeakeasyMetadata)({ elemType: commerceitemmedia_1.CommerceItemMedia }),
|
|
83
84
|
(0, class_transformer_1.Expose)({ name: "media" }),
|
|
@@ -109,6 +110,11 @@ var CommerceCollection = /** @class */ (function (_super) {
|
|
|
109
110
|
(0, class_transformer_1.Expose)({ name: "tags" }),
|
|
110
111
|
__metadata("design:type", Array)
|
|
111
112
|
], CommerceCollection.prototype, "tags", void 0);
|
|
113
|
+
__decorate([
|
|
114
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
115
|
+
(0, class_transformer_1.Expose)({ name: "type" }),
|
|
116
|
+
__metadata("design:type", String)
|
|
117
|
+
], CommerceCollection.prototype, "type", void 0);
|
|
112
118
|
__decorate([
|
|
113
119
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
114
120
|
(0, class_transformer_1.Expose)({ name: "updated_at" }),
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { SpeakeasyBase } from "../../../internal/utils";
|
|
2
|
+
import { HrisPayslipDetail } from "./hrispayslipdetail";
|
|
3
|
+
export declare enum PaymentType {
|
|
4
|
+
Direct = "DIRECT",
|
|
5
|
+
Cheque = "CHEQUE",
|
|
6
|
+
Cash = "CASH"
|
|
7
|
+
}
|
|
8
|
+
export declare class HrisPayslip extends SpeakeasyBase {
|
|
9
|
+
createdAt?: Date;
|
|
10
|
+
currency?: string;
|
|
11
|
+
details?: HrisPayslipDetail[];
|
|
12
|
+
endAt?: Date;
|
|
13
|
+
grossAmount?: number;
|
|
14
|
+
id?: string;
|
|
15
|
+
netAmount?: number;
|
|
16
|
+
paidAt?: Date;
|
|
17
|
+
paymentType?: PaymentType;
|
|
18
|
+
raw: Record<string, any>;
|
|
19
|
+
startAt?: Date;
|
|
20
|
+
updatedAt?: Date;
|
|
21
|
+
userId: string;
|
|
22
|
+
}
|
|
@@ -0,0 +1,133 @@
|
|
|
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.HrisPayslip = exports.PaymentType = void 0;
|
|
31
|
+
var utils_1 = require("../../../internal/utils");
|
|
32
|
+
var hrispayslipdetail_1 = require("./hrispayslipdetail");
|
|
33
|
+
var class_transformer_1 = require("class-transformer");
|
|
34
|
+
var PaymentType;
|
|
35
|
+
(function (PaymentType) {
|
|
36
|
+
PaymentType["Direct"] = "DIRECT";
|
|
37
|
+
PaymentType["Cheque"] = "CHEQUE";
|
|
38
|
+
PaymentType["Cash"] = "CASH";
|
|
39
|
+
})(PaymentType = exports.PaymentType || (exports.PaymentType = {}));
|
|
40
|
+
var HrisPayslip = /** @class */ (function (_super) {
|
|
41
|
+
__extends(HrisPayslip, _super);
|
|
42
|
+
function HrisPayslip() {
|
|
43
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
44
|
+
}
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
47
|
+
(0, class_transformer_1.Expose)({ name: "created_at" }),
|
|
48
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
|
49
|
+
var value = _a.value;
|
|
50
|
+
return new Date(value);
|
|
51
|
+
}, { toClassOnly: true }),
|
|
52
|
+
__metadata("design:type", Date)
|
|
53
|
+
], HrisPayslip.prototype, "createdAt", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
56
|
+
(0, class_transformer_1.Expose)({ name: "currency" }),
|
|
57
|
+
__metadata("design:type", String)
|
|
58
|
+
], HrisPayslip.prototype, "currency", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, utils_1.SpeakeasyMetadata)({ elemType: hrispayslipdetail_1.HrisPayslipDetail }),
|
|
61
|
+
(0, class_transformer_1.Expose)({ name: "details" }),
|
|
62
|
+
(0, class_transformer_1.Type)(function () { return hrispayslipdetail_1.HrisPayslipDetail; }),
|
|
63
|
+
__metadata("design:type", Array)
|
|
64
|
+
], HrisPayslip.prototype, "details", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
67
|
+
(0, class_transformer_1.Expose)({ name: "end_at" }),
|
|
68
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
|
69
|
+
var value = _a.value;
|
|
70
|
+
return new Date(value);
|
|
71
|
+
}, { toClassOnly: true }),
|
|
72
|
+
__metadata("design:type", Date)
|
|
73
|
+
], HrisPayslip.prototype, "endAt", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
76
|
+
(0, class_transformer_1.Expose)({ name: "gross_amount" }),
|
|
77
|
+
__metadata("design:type", Number)
|
|
78
|
+
], HrisPayslip.prototype, "grossAmount", void 0);
|
|
79
|
+
__decorate([
|
|
80
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
81
|
+
(0, class_transformer_1.Expose)({ name: "id" }),
|
|
82
|
+
__metadata("design:type", String)
|
|
83
|
+
], HrisPayslip.prototype, "id", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
86
|
+
(0, class_transformer_1.Expose)({ name: "net_amount" }),
|
|
87
|
+
__metadata("design:type", Number)
|
|
88
|
+
], HrisPayslip.prototype, "netAmount", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
91
|
+
(0, class_transformer_1.Expose)({ name: "paid_at" }),
|
|
92
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
|
93
|
+
var value = _a.value;
|
|
94
|
+
return new Date(value);
|
|
95
|
+
}, { toClassOnly: true }),
|
|
96
|
+
__metadata("design:type", Date)
|
|
97
|
+
], HrisPayslip.prototype, "paidAt", void 0);
|
|
98
|
+
__decorate([
|
|
99
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
100
|
+
(0, class_transformer_1.Expose)({ name: "payment_type" }),
|
|
101
|
+
__metadata("design:type", String)
|
|
102
|
+
], HrisPayslip.prototype, "paymentType", void 0);
|
|
103
|
+
__decorate([
|
|
104
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
105
|
+
(0, class_transformer_1.Expose)({ name: "raw" }),
|
|
106
|
+
__metadata("design:type", Object)
|
|
107
|
+
], HrisPayslip.prototype, "raw", void 0);
|
|
108
|
+
__decorate([
|
|
109
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
110
|
+
(0, class_transformer_1.Expose)({ name: "start_at" }),
|
|
111
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
|
112
|
+
var value = _a.value;
|
|
113
|
+
return new Date(value);
|
|
114
|
+
}, { toClassOnly: true }),
|
|
115
|
+
__metadata("design:type", Date)
|
|
116
|
+
], HrisPayslip.prototype, "startAt", void 0);
|
|
117
|
+
__decorate([
|
|
118
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
119
|
+
(0, class_transformer_1.Expose)({ name: "updated_at" }),
|
|
120
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
|
121
|
+
var value = _a.value;
|
|
122
|
+
return new Date(value);
|
|
123
|
+
}, { toClassOnly: true }),
|
|
124
|
+
__metadata("design:type", Date)
|
|
125
|
+
], HrisPayslip.prototype, "updatedAt", void 0);
|
|
126
|
+
__decorate([
|
|
127
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
128
|
+
(0, class_transformer_1.Expose)({ name: "user_id" }),
|
|
129
|
+
__metadata("design:type", String)
|
|
130
|
+
], HrisPayslip.prototype, "userId", void 0);
|
|
131
|
+
return HrisPayslip;
|
|
132
|
+
}(utils_1.SpeakeasyBase));
|
|
133
|
+
exports.HrisPayslip = HrisPayslip;
|