@unified-api/typescript-sdk 1.0.63 → 1.0.65

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.
Files changed (57) hide show
  1. package/dist/sdk/hris.d.ts +24 -0
  2. package/dist/sdk/hris.js +400 -0
  3. package/dist/sdk/location.d.ts +24 -0
  4. package/dist/sdk/location.js +400 -0
  5. package/dist/sdk/models/operations/createhrislocation.d.ts +28 -0
  6. package/dist/sdk/models/operations/createhrislocation.js +95 -0
  7. package/dist/sdk/models/operations/gethrislocation.d.ts +35 -0
  8. package/dist/sdk/models/operations/gethrislocation.js +99 -0
  9. package/dist/sdk/models/operations/getunifiedintegrationauth.d.ts +2 -0
  10. package/dist/sdk/models/operations/getunifiedintegrationauth.js +2 -0
  11. package/dist/sdk/models/operations/index.d.ts +6 -0
  12. package/dist/sdk/models/operations/index.js +6 -0
  13. package/dist/sdk/models/operations/listhrislocations.d.ts +41 -0
  14. package/dist/sdk/models/operations/listhrislocations.js +111 -0
  15. package/dist/sdk/models/operations/patchhrislocation.d.ts +32 -0
  16. package/dist/sdk/models/operations/patchhrislocation.js +99 -0
  17. package/dist/sdk/models/operations/removehrislocation.d.ts +30 -0
  18. package/dist/sdk/models/operations/removehrislocation.js +71 -0
  19. package/dist/sdk/models/operations/updatehrislocation.d.ts +32 -0
  20. package/dist/sdk/models/operations/updatehrislocation.js +99 -0
  21. package/dist/sdk/models/shared/accountingorganization.d.ts +1 -0
  22. package/dist/sdk/models/shared/accountingorganization.js +5 -0
  23. package/dist/sdk/models/shared/commerceitemvariant.d.ts +1 -1
  24. package/dist/sdk/models/shared/hrisemployee.d.ts +7 -0
  25. package/dist/sdk/models/shared/hrisemployee.js +14 -0
  26. package/dist/sdk/models/shared/hrislocation.d.ts +20 -0
  27. package/dist/sdk/models/shared/hrislocation.js +127 -0
  28. package/dist/sdk/models/shared/index.d.ts +2 -0
  29. package/dist/sdk/models/shared/index.js +2 -0
  30. package/dist/sdk/models/shared/propertyconnectionpermissions.d.ts +2 -0
  31. package/dist/sdk/models/shared/propertyconnectionpermissions.js +2 -0
  32. package/dist/sdk/models/shared/propertyhrislocationaddress.d.ts +11 -0
  33. package/dist/sdk/models/shared/propertyhrislocationaddress.js +80 -0
  34. package/dist/sdk/models/shared/webhook.d.ts +1 -0
  35. package/dist/sdk/models/shared/webhook.js +1 -0
  36. package/dist/sdk/sdk.js +3 -3
  37. package/docs/sdk/models/operations/createhrislocationrequest.md +9 -0
  38. package/docs/sdk/models/operations/createhrislocationresponse.md +11 -0
  39. package/docs/sdk/models/operations/gethrislocationrequest.md +10 -0
  40. package/docs/sdk/models/operations/gethrislocationresponse.md +11 -0
  41. package/docs/sdk/models/operations/listhrislocationsrequest.md +13 -0
  42. package/docs/sdk/models/operations/listhrislocationsresponse.md +11 -0
  43. package/docs/sdk/models/operations/patchhrislocationrequest.md +10 -0
  44. package/docs/sdk/models/operations/patchhrislocationresponse.md +11 -0
  45. package/docs/sdk/models/operations/removehrislocationrequest.md +9 -0
  46. package/docs/sdk/models/operations/removehrislocationresponse.md +11 -0
  47. package/docs/sdk/models/operations/scopes.md +2 -0
  48. package/docs/sdk/models/operations/updatehrislocationrequest.md +10 -0
  49. package/docs/sdk/models/operations/updatehrislocationresponse.md +11 -0
  50. package/docs/sdk/models/shared/accountingorganization.md +1 -0
  51. package/docs/sdk/models/shared/commerceitemvariant.md +1 -1
  52. package/docs/sdk/models/shared/hrisemployee.md +36 -34
  53. package/docs/sdk/models/shared/hrislocation.md +22 -0
  54. package/docs/sdk/models/shared/objecttype.md +1 -0
  55. package/docs/sdk/models/shared/propertyconnectionpermissions.md +2 -0
  56. package/docs/sdk/models/shared/propertyhrislocationaddress.md +15 -0
  57. package/package.json +1 -1
@@ -0,0 +1,99 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). 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.GetHrisLocationResponse = exports.GetHrisLocationRequest = void 0;
54
+ var utils_1 = require("../../../internal/utils");
55
+ var shared = __importStar(require("../../../sdk/models/shared"));
56
+ var GetHrisLocationRequest = /** @class */ (function (_super) {
57
+ __extends(GetHrisLocationRequest, _super);
58
+ function GetHrisLocationRequest() {
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
+ ], GetHrisLocationRequest.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
+ ], GetHrisLocationRequest.prototype, "fields", void 0);
69
+ __decorate([
70
+ (0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=id" }),
71
+ __metadata("design:type", String)
72
+ ], GetHrisLocationRequest.prototype, "id", void 0);
73
+ return GetHrisLocationRequest;
74
+ }(utils_1.SpeakeasyBase));
75
+ exports.GetHrisLocationRequest = GetHrisLocationRequest;
76
+ var GetHrisLocationResponse = /** @class */ (function (_super) {
77
+ __extends(GetHrisLocationResponse, _super);
78
+ function GetHrisLocationResponse() {
79
+ return _super !== null && _super.apply(this, arguments) || this;
80
+ }
81
+ __decorate([
82
+ (0, utils_1.SpeakeasyMetadata)(),
83
+ __metadata("design:type", String)
84
+ ], GetHrisLocationResponse.prototype, "contentType", void 0);
85
+ __decorate([
86
+ (0, utils_1.SpeakeasyMetadata)(),
87
+ __metadata("design:type", shared.HrisLocation)
88
+ ], GetHrisLocationResponse.prototype, "hrisLocation", void 0);
89
+ __decorate([
90
+ (0, utils_1.SpeakeasyMetadata)(),
91
+ __metadata("design:type", Number)
92
+ ], GetHrisLocationResponse.prototype, "statusCode", void 0);
93
+ __decorate([
94
+ (0, utils_1.SpeakeasyMetadata)(),
95
+ __metadata("design:type", Object)
96
+ ], GetHrisLocationResponse.prototype, "rawResponse", void 0);
97
+ return GetHrisLocationResponse;
98
+ }(utils_1.SpeakeasyBase));
99
+ exports.GetHrisLocationResponse = GetHrisLocationResponse;
@@ -77,6 +77,8 @@ export declare enum Scopes {
77
77
  HrisTimeoffWrite = "hris_timeoff_write",
78
78
  HrisCompanyRead = "hris_company_read",
79
79
  HrisCompanyWrite = "hris_company_write",
80
+ HrisLocationRead = "hris_location_read",
81
+ HrisLocationWrite = "hris_location_write",
80
82
  UcCallRead = "uc_call_read",
81
83
  StorageFileRead = "storage_file_read",
82
84
  StorageFileWrite = "storage_file_write",
@@ -107,6 +107,8 @@ var Scopes;
107
107
  Scopes["HrisTimeoffWrite"] = "hris_timeoff_write";
108
108
  Scopes["HrisCompanyRead"] = "hris_company_read";
109
109
  Scopes["HrisCompanyWrite"] = "hris_company_write";
110
+ Scopes["HrisLocationRead"] = "hris_location_read";
111
+ Scopes["HrisLocationWrite"] = "hris_location_write";
110
112
  Scopes["UcCallRead"] = "uc_call_read";
111
113
  Scopes["StorageFileRead"] = "storage_file_read";
112
114
  Scopes["StorageFileWrite"] = "storage_file_write";
@@ -25,6 +25,7 @@ export * from "./creategenaiprompt";
25
25
  export * from "./createhriscompany";
26
26
  export * from "./createhrisemployee";
27
27
  export * from "./createhrisgroup";
28
+ export * from "./createhrislocation";
28
29
  export * from "./createkmspage";
29
30
  export * from "./createkmsspace";
30
31
  export * from "./createmartechlist";
@@ -70,6 +71,7 @@ export * from "./getcrmpipeline";
70
71
  export * from "./gethriscompany";
71
72
  export * from "./gethrisemployee";
72
73
  export * from "./gethrisgroup";
74
+ export * from "./gethrislocation";
73
75
  export * from "./gethrispayslip";
74
76
  export * from "./gethristimeoff";
75
77
  export * from "./getkmspage";
@@ -126,6 +128,7 @@ export * from "./listgenaimodels";
126
128
  export * from "./listhriscompanies";
127
129
  export * from "./listhrisemployees";
128
130
  export * from "./listhrisgroups";
131
+ export * from "./listhrislocations";
129
132
  export * from "./listhrispayslips";
130
133
  export * from "./listhristimeoffs";
131
134
  export * from "./listkmspages";
@@ -179,6 +182,7 @@ export * from "./patchcrmpipeline";
179
182
  export * from "./patchhriscompany";
180
183
  export * from "./patchhrisemployee";
181
184
  export * from "./patchhrisgroup";
185
+ export * from "./patchhrislocation";
182
186
  export * from "./patchkmspage";
183
187
  export * from "./patchkmsspace";
184
188
  export * from "./patchmartechlist";
@@ -222,6 +226,7 @@ export * from "./removecrmpipeline";
222
226
  export * from "./removehriscompany";
223
227
  export * from "./removehrisemployee";
224
228
  export * from "./removehrisgroup";
229
+ export * from "./removehrislocation";
225
230
  export * from "./removekmspage";
226
231
  export * from "./removekmsspace";
227
232
  export * from "./removemartechlist";
@@ -265,6 +270,7 @@ export * from "./updatecrmpipeline";
265
270
  export * from "./updatehriscompany";
266
271
  export * from "./updatehrisemployee";
267
272
  export * from "./updatehrisgroup";
273
+ export * from "./updatehrislocation";
268
274
  export * from "./updatekmspage";
269
275
  export * from "./updatekmsspace";
270
276
  export * from "./updatemartechlist";
@@ -44,6 +44,7 @@ __exportStar(require("./creategenaiprompt"), exports);
44
44
  __exportStar(require("./createhriscompany"), exports);
45
45
  __exportStar(require("./createhrisemployee"), exports);
46
46
  __exportStar(require("./createhrisgroup"), exports);
47
+ __exportStar(require("./createhrislocation"), exports);
47
48
  __exportStar(require("./createkmspage"), exports);
48
49
  __exportStar(require("./createkmsspace"), exports);
49
50
  __exportStar(require("./createmartechlist"), exports);
@@ -89,6 +90,7 @@ __exportStar(require("./getcrmpipeline"), exports);
89
90
  __exportStar(require("./gethriscompany"), exports);
90
91
  __exportStar(require("./gethrisemployee"), exports);
91
92
  __exportStar(require("./gethrisgroup"), exports);
93
+ __exportStar(require("./gethrislocation"), exports);
92
94
  __exportStar(require("./gethrispayslip"), exports);
93
95
  __exportStar(require("./gethristimeoff"), exports);
94
96
  __exportStar(require("./getkmspage"), exports);
@@ -145,6 +147,7 @@ __exportStar(require("./listgenaimodels"), exports);
145
147
  __exportStar(require("./listhriscompanies"), exports);
146
148
  __exportStar(require("./listhrisemployees"), exports);
147
149
  __exportStar(require("./listhrisgroups"), exports);
150
+ __exportStar(require("./listhrislocations"), exports);
148
151
  __exportStar(require("./listhrispayslips"), exports);
149
152
  __exportStar(require("./listhristimeoffs"), exports);
150
153
  __exportStar(require("./listkmspages"), exports);
@@ -198,6 +201,7 @@ __exportStar(require("./patchcrmpipeline"), exports);
198
201
  __exportStar(require("./patchhriscompany"), exports);
199
202
  __exportStar(require("./patchhrisemployee"), exports);
200
203
  __exportStar(require("./patchhrisgroup"), exports);
204
+ __exportStar(require("./patchhrislocation"), exports);
201
205
  __exportStar(require("./patchkmspage"), exports);
202
206
  __exportStar(require("./patchkmsspace"), exports);
203
207
  __exportStar(require("./patchmartechlist"), exports);
@@ -241,6 +245,7 @@ __exportStar(require("./removecrmpipeline"), exports);
241
245
  __exportStar(require("./removehriscompany"), exports);
242
246
  __exportStar(require("./removehrisemployee"), exports);
243
247
  __exportStar(require("./removehrisgroup"), exports);
248
+ __exportStar(require("./removehrislocation"), exports);
244
249
  __exportStar(require("./removekmspage"), exports);
245
250
  __exportStar(require("./removekmsspace"), exports);
246
251
  __exportStar(require("./removemartechlist"), exports);
@@ -284,6 +289,7 @@ __exportStar(require("./updatecrmpipeline"), exports);
284
289
  __exportStar(require("./updatehriscompany"), exports);
285
290
  __exportStar(require("./updatehrisemployee"), exports);
286
291
  __exportStar(require("./updatehrisgroup"), exports);
292
+ __exportStar(require("./updatehrislocation"), exports);
287
293
  __exportStar(require("./updatekmspage"), exports);
288
294
  __exportStar(require("./updatekmsspace"), exports);
289
295
  __exportStar(require("./updatemartechlist"), exports);
@@ -0,0 +1,41 @@
1
+ import { SpeakeasyBase } from "../../../internal/utils";
2
+ import * as shared from "../../../sdk/models/shared";
3
+ import { AxiosResponse } from "axios";
4
+ export declare class ListHrisLocationsRequest 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
+ /**
16
+ * Query string to search. eg. email address or name
17
+ */
18
+ query?: string;
19
+ /**
20
+ * Return only results whose updated date is equal or greater to this value
21
+ */
22
+ updatedGte?: Date;
23
+ }
24
+ export declare class ListHrisLocationsResponse extends SpeakeasyBase {
25
+ /**
26
+ * HTTP response content type for this operation
27
+ */
28
+ contentType: string;
29
+ /**
30
+ * Successful
31
+ */
32
+ hrisLocations?: shared.HrisLocation[];
33
+ /**
34
+ * HTTP response status code for this operation
35
+ */
36
+ statusCode: number;
37
+ /**
38
+ * Raw HTTP response; suitable for custom response parsing
39
+ */
40
+ rawResponse: AxiosResponse;
41
+ }
@@ -0,0 +1,111 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). 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.ListHrisLocationsResponse = exports.ListHrisLocationsRequest = void 0;
54
+ var utils_1 = require("../../../internal/utils");
55
+ var shared = __importStar(require("../../../sdk/models/shared"));
56
+ var ListHrisLocationsRequest = /** @class */ (function (_super) {
57
+ __extends(ListHrisLocationsRequest, _super);
58
+ function ListHrisLocationsRequest() {
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
+ ], ListHrisLocationsRequest.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
+ ], ListHrisLocationsRequest.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
+ ], ListHrisLocationsRequest.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
+ ], ListHrisLocationsRequest.prototype, "offset", void 0);
77
+ __decorate([
78
+ (0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=query" }),
79
+ __metadata("design:type", String)
80
+ ], ListHrisLocationsRequest.prototype, "query", void 0);
81
+ __decorate([
82
+ (0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=updated_gte" }),
83
+ __metadata("design:type", Date)
84
+ ], ListHrisLocationsRequest.prototype, "updatedGte", void 0);
85
+ return ListHrisLocationsRequest;
86
+ }(utils_1.SpeakeasyBase));
87
+ exports.ListHrisLocationsRequest = ListHrisLocationsRequest;
88
+ var ListHrisLocationsResponse = /** @class */ (function (_super) {
89
+ __extends(ListHrisLocationsResponse, _super);
90
+ function ListHrisLocationsResponse() {
91
+ return _super !== null && _super.apply(this, arguments) || this;
92
+ }
93
+ __decorate([
94
+ (0, utils_1.SpeakeasyMetadata)(),
95
+ __metadata("design:type", String)
96
+ ], ListHrisLocationsResponse.prototype, "contentType", void 0);
97
+ __decorate([
98
+ (0, utils_1.SpeakeasyMetadata)({ elemType: shared.HrisLocation }),
99
+ __metadata("design:type", Array)
100
+ ], ListHrisLocationsResponse.prototype, "hrisLocations", void 0);
101
+ __decorate([
102
+ (0, utils_1.SpeakeasyMetadata)(),
103
+ __metadata("design:type", Number)
104
+ ], ListHrisLocationsResponse.prototype, "statusCode", void 0);
105
+ __decorate([
106
+ (0, utils_1.SpeakeasyMetadata)(),
107
+ __metadata("design:type", Object)
108
+ ], ListHrisLocationsResponse.prototype, "rawResponse", void 0);
109
+ return ListHrisLocationsResponse;
110
+ }(utils_1.SpeakeasyBase));
111
+ exports.ListHrisLocationsResponse = ListHrisLocationsResponse;
@@ -0,0 +1,32 @@
1
+ import { SpeakeasyBase } from "../../../internal/utils";
2
+ import * as shared from "../../../sdk/models/shared";
3
+ import { AxiosResponse } from "axios";
4
+ export declare class PatchHrisLocationRequest extends SpeakeasyBase {
5
+ hrisLocation?: shared.HrisLocation;
6
+ /**
7
+ * ID of the connection
8
+ */
9
+ connectionId: string;
10
+ /**
11
+ * ID of the Location
12
+ */
13
+ id: string;
14
+ }
15
+ export declare class PatchHrisLocationResponse extends SpeakeasyBase {
16
+ /**
17
+ * HTTP response content type for this operation
18
+ */
19
+ contentType: string;
20
+ /**
21
+ * Successful
22
+ */
23
+ hrisLocation?: shared.HrisLocation;
24
+ /**
25
+ * HTTP response status code for this operation
26
+ */
27
+ statusCode: number;
28
+ /**
29
+ * Raw HTTP response; suitable for custom response parsing
30
+ */
31
+ rawResponse: AxiosResponse;
32
+ }
@@ -0,0 +1,99 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). 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.PatchHrisLocationResponse = exports.PatchHrisLocationRequest = void 0;
54
+ var utils_1 = require("../../../internal/utils");
55
+ var shared = __importStar(require("../../../sdk/models/shared"));
56
+ var PatchHrisLocationRequest = /** @class */ (function (_super) {
57
+ __extends(PatchHrisLocationRequest, _super);
58
+ function PatchHrisLocationRequest() {
59
+ return _super !== null && _super.apply(this, arguments) || this;
60
+ }
61
+ __decorate([
62
+ (0, utils_1.SpeakeasyMetadata)({ data: "request, media_type=application/json" }),
63
+ __metadata("design:type", shared.HrisLocation)
64
+ ], PatchHrisLocationRequest.prototype, "hrisLocation", void 0);
65
+ __decorate([
66
+ (0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=connection_id" }),
67
+ __metadata("design:type", String)
68
+ ], PatchHrisLocationRequest.prototype, "connectionId", void 0);
69
+ __decorate([
70
+ (0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=id" }),
71
+ __metadata("design:type", String)
72
+ ], PatchHrisLocationRequest.prototype, "id", void 0);
73
+ return PatchHrisLocationRequest;
74
+ }(utils_1.SpeakeasyBase));
75
+ exports.PatchHrisLocationRequest = PatchHrisLocationRequest;
76
+ var PatchHrisLocationResponse = /** @class */ (function (_super) {
77
+ __extends(PatchHrisLocationResponse, _super);
78
+ function PatchHrisLocationResponse() {
79
+ return _super !== null && _super.apply(this, arguments) || this;
80
+ }
81
+ __decorate([
82
+ (0, utils_1.SpeakeasyMetadata)(),
83
+ __metadata("design:type", String)
84
+ ], PatchHrisLocationResponse.prototype, "contentType", void 0);
85
+ __decorate([
86
+ (0, utils_1.SpeakeasyMetadata)(),
87
+ __metadata("design:type", shared.HrisLocation)
88
+ ], PatchHrisLocationResponse.prototype, "hrisLocation", void 0);
89
+ __decorate([
90
+ (0, utils_1.SpeakeasyMetadata)(),
91
+ __metadata("design:type", Number)
92
+ ], PatchHrisLocationResponse.prototype, "statusCode", void 0);
93
+ __decorate([
94
+ (0, utils_1.SpeakeasyMetadata)(),
95
+ __metadata("design:type", Object)
96
+ ], PatchHrisLocationResponse.prototype, "rawResponse", void 0);
97
+ return PatchHrisLocationResponse;
98
+ }(utils_1.SpeakeasyBase));
99
+ exports.PatchHrisLocationResponse = PatchHrisLocationResponse;
@@ -0,0 +1,30 @@
1
+ import { SpeakeasyBase } from "../../../internal/utils";
2
+ import { AxiosResponse } from "axios";
3
+ export declare class RemoveHrisLocationRequest extends SpeakeasyBase {
4
+ /**
5
+ * ID of the connection
6
+ */
7
+ connectionId: string;
8
+ /**
9
+ * ID of the Location
10
+ */
11
+ id: string;
12
+ }
13
+ export declare class RemoveHrisLocationResponse extends SpeakeasyBase {
14
+ /**
15
+ * HTTP response content type for this operation
16
+ */
17
+ contentType: string;
18
+ /**
19
+ * HTTP response status code for this operation
20
+ */
21
+ statusCode: number;
22
+ /**
23
+ * Raw HTTP response; suitable for custom response parsing
24
+ */
25
+ rawResponse: AxiosResponse;
26
+ /**
27
+ * Successful
28
+ */
29
+ string?: string;
30
+ }
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). 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.RemoveHrisLocationResponse = exports.RemoveHrisLocationRequest = void 0;
31
+ var utils_1 = require("../../../internal/utils");
32
+ var RemoveHrisLocationRequest = /** @class */ (function (_super) {
33
+ __extends(RemoveHrisLocationRequest, _super);
34
+ function RemoveHrisLocationRequest() {
35
+ return _super !== null && _super.apply(this, arguments) || this;
36
+ }
37
+ __decorate([
38
+ (0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=connection_id" }),
39
+ __metadata("design:type", String)
40
+ ], RemoveHrisLocationRequest.prototype, "connectionId", void 0);
41
+ __decorate([
42
+ (0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=id" }),
43
+ __metadata("design:type", String)
44
+ ], RemoveHrisLocationRequest.prototype, "id", void 0);
45
+ return RemoveHrisLocationRequest;
46
+ }(utils_1.SpeakeasyBase));
47
+ exports.RemoveHrisLocationRequest = RemoveHrisLocationRequest;
48
+ var RemoveHrisLocationResponse = /** @class */ (function (_super) {
49
+ __extends(RemoveHrisLocationResponse, _super);
50
+ function RemoveHrisLocationResponse() {
51
+ return _super !== null && _super.apply(this, arguments) || this;
52
+ }
53
+ __decorate([
54
+ (0, utils_1.SpeakeasyMetadata)(),
55
+ __metadata("design:type", String)
56
+ ], RemoveHrisLocationResponse.prototype, "contentType", void 0);
57
+ __decorate([
58
+ (0, utils_1.SpeakeasyMetadata)(),
59
+ __metadata("design:type", Number)
60
+ ], RemoveHrisLocationResponse.prototype, "statusCode", void 0);
61
+ __decorate([
62
+ (0, utils_1.SpeakeasyMetadata)(),
63
+ __metadata("design:type", Object)
64
+ ], RemoveHrisLocationResponse.prototype, "rawResponse", void 0);
65
+ __decorate([
66
+ (0, utils_1.SpeakeasyMetadata)(),
67
+ __metadata("design:type", String)
68
+ ], RemoveHrisLocationResponse.prototype, "string", void 0);
69
+ return RemoveHrisLocationResponse;
70
+ }(utils_1.SpeakeasyBase));
71
+ exports.RemoveHrisLocationResponse = RemoveHrisLocationResponse;
@@ -0,0 +1,32 @@
1
+ import { SpeakeasyBase } from "../../../internal/utils";
2
+ import * as shared from "../../../sdk/models/shared";
3
+ import { AxiosResponse } from "axios";
4
+ export declare class UpdateHrisLocationRequest extends SpeakeasyBase {
5
+ hrisLocation?: shared.HrisLocation;
6
+ /**
7
+ * ID of the connection
8
+ */
9
+ connectionId: string;
10
+ /**
11
+ * ID of the Location
12
+ */
13
+ id: string;
14
+ }
15
+ export declare class UpdateHrisLocationResponse extends SpeakeasyBase {
16
+ /**
17
+ * HTTP response content type for this operation
18
+ */
19
+ contentType: string;
20
+ /**
21
+ * Successful
22
+ */
23
+ hrisLocation?: shared.HrisLocation;
24
+ /**
25
+ * HTTP response status code for this operation
26
+ */
27
+ statusCode: number;
28
+ /**
29
+ * Raw HTTP response; suitable for custom response parsing
30
+ */
31
+ rawResponse: AxiosResponse;
32
+ }