@unified-api/typescript-sdk 1.0.34 → 1.0.36

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 (155) hide show
  1. package/dist/sdk/company.d.ts +24 -0
  2. package/dist/sdk/company.js +402 -0
  3. package/dist/sdk/hris.d.ts +24 -0
  4. package/dist/sdk/hris.js +402 -0
  5. package/dist/sdk/models/operations/createhriscompany.d.ts +28 -0
  6. package/dist/sdk/models/operations/createhriscompany.js +95 -0
  7. package/dist/sdk/models/operations/createtaskproject.d.ts +28 -0
  8. package/dist/sdk/models/operations/createtaskproject.js +95 -0
  9. package/dist/sdk/models/operations/createtasktask.d.ts +28 -0
  10. package/dist/sdk/models/operations/createtasktask.js +95 -0
  11. package/dist/sdk/models/operations/gethriscompany.d.ts +35 -0
  12. package/dist/sdk/models/operations/gethriscompany.js +99 -0
  13. package/dist/sdk/models/operations/gettaskproject.d.ts +35 -0
  14. package/dist/sdk/models/operations/gettaskproject.js +99 -0
  15. package/dist/sdk/models/operations/gettasktask.d.ts +35 -0
  16. package/dist/sdk/models/operations/gettasktask.js +99 -0
  17. package/dist/sdk/models/operations/getunifiedintegrationauth.d.ts +7 -1
  18. package/dist/sdk/models/operations/getunifiedintegrationauth.js +6 -0
  19. package/dist/sdk/models/operations/index.d.ts +18 -0
  20. package/dist/sdk/models/operations/index.js +18 -0
  21. package/dist/sdk/models/operations/listhriscompanies.d.ts +43 -0
  22. package/dist/sdk/models/operations/listhriscompanies.js +119 -0
  23. package/dist/sdk/models/operations/listhrisemployees.d.ts +1 -0
  24. package/dist/sdk/models/operations/listhrisemployees.js +4 -0
  25. package/dist/sdk/models/operations/listhrisgroups.d.ts +1 -0
  26. package/dist/sdk/models/operations/listhrisgroups.js +4 -0
  27. package/dist/sdk/models/operations/listtaskprojects.d.ts +44 -0
  28. package/dist/sdk/models/operations/listtaskprojects.js +123 -0
  29. package/dist/sdk/models/operations/listtasktasks.d.ts +45 -0
  30. package/dist/sdk/models/operations/listtasktasks.js +127 -0
  31. package/dist/sdk/models/operations/listunifiedconnections.d.ts +2 -1
  32. package/dist/sdk/models/operations/listunifiedconnections.js +1 -0
  33. package/dist/sdk/models/operations/listunifiedintegrations.d.ts +2 -1
  34. package/dist/sdk/models/operations/listunifiedintegrations.js +1 -0
  35. package/dist/sdk/models/operations/listunifiedintegrationworkspaces.d.ts +2 -1
  36. package/dist/sdk/models/operations/listunifiedintegrationworkspaces.js +1 -0
  37. package/dist/sdk/models/operations/patchhriscompany.d.ts +32 -0
  38. package/dist/sdk/models/operations/patchhriscompany.js +99 -0
  39. package/dist/sdk/models/operations/patchtaskproject.d.ts +32 -0
  40. package/dist/sdk/models/operations/patchtaskproject.js +99 -0
  41. package/dist/sdk/models/operations/patchtasktask.d.ts +32 -0
  42. package/dist/sdk/models/operations/patchtasktask.js +99 -0
  43. package/dist/sdk/models/operations/removehriscompany.d.ts +30 -0
  44. package/dist/sdk/models/operations/removehriscompany.js +71 -0
  45. package/dist/sdk/models/operations/removetaskproject.d.ts +30 -0
  46. package/dist/sdk/models/operations/removetaskproject.js +71 -0
  47. package/dist/sdk/models/operations/removetasktask.d.ts +30 -0
  48. package/dist/sdk/models/operations/removetasktask.js +71 -0
  49. package/dist/sdk/models/operations/updatehriscompany.d.ts +32 -0
  50. package/dist/sdk/models/operations/updatehriscompany.js +99 -0
  51. package/dist/sdk/models/operations/updatetaskproject.d.ts +32 -0
  52. package/dist/sdk/models/operations/updatetaskproject.js +99 -0
  53. package/dist/sdk/models/operations/updatetasktask.d.ts +32 -0
  54. package/dist/sdk/models/operations/updatetasktask.js +99 -0
  55. package/dist/sdk/models/shared/crmdeal.d.ts +2 -0
  56. package/dist/sdk/models/shared/crmdeal.js +10 -0
  57. package/dist/sdk/models/shared/crmpipeline.d.ts +2 -0
  58. package/dist/sdk/models/shared/crmpipeline.js +7 -0
  59. package/dist/sdk/models/shared/crmstage.d.ts +10 -0
  60. package/dist/sdk/models/shared/crmstage.js +83 -0
  61. package/dist/sdk/models/shared/genaicontent.d.ts +2 -2
  62. package/dist/sdk/models/shared/genaicontent.js +2 -2
  63. package/dist/sdk/models/shared/genaimodel.d.ts +1 -0
  64. package/dist/sdk/models/shared/genaimodel.js +5 -0
  65. package/dist/sdk/models/shared/hriscompany.d.ts +11 -0
  66. package/dist/sdk/models/shared/hriscompany.js +85 -0
  67. package/dist/sdk/models/shared/hrisemployee.d.ts +1 -0
  68. package/dist/sdk/models/shared/hrisemployee.js +5 -0
  69. package/dist/sdk/models/shared/hrisgroup.d.ts +1 -0
  70. package/dist/sdk/models/shared/hrisgroup.js +5 -0
  71. package/dist/sdk/models/shared/index.d.ts +5 -0
  72. package/dist/sdk/models/shared/index.js +5 -0
  73. package/dist/sdk/models/shared/integrationsupport.d.ts +6 -0
  74. package/dist/sdk/models/shared/integrationsupport.js +12 -1
  75. package/dist/sdk/models/shared/propertyconnectioncategories.d.ts +2 -1
  76. package/dist/sdk/models/shared/propertyconnectioncategories.js +1 -0
  77. package/dist/sdk/models/shared/propertyconnectionpermissions.d.ts +7 -1
  78. package/dist/sdk/models/shared/propertyconnectionpermissions.js +6 -0
  79. package/dist/sdk/models/shared/propertyhriscompanyaddress.d.ts +11 -0
  80. package/dist/sdk/models/shared/propertyhriscompanyaddress.js +80 -0
  81. package/dist/sdk/models/shared/propertyintegrationcategories.d.ts +2 -1
  82. package/dist/sdk/models/shared/propertyintegrationcategories.js +1 -0
  83. package/dist/sdk/models/shared/taskproject.d.ts +11 -0
  84. package/dist/sdk/models/shared/taskproject.js +88 -0
  85. package/dist/sdk/models/shared/tasktask.d.ts +24 -0
  86. package/dist/sdk/models/shared/tasktask.js +142 -0
  87. package/dist/sdk/models/shared/webhook.d.ts +4 -1
  88. package/dist/sdk/models/shared/webhook.js +3 -0
  89. package/dist/sdk/project.d.ts +31 -0
  90. package/dist/sdk/project.js +505 -0
  91. package/dist/sdk/sdk.d.ts +4 -0
  92. package/dist/sdk/sdk.js +7 -3
  93. package/dist/sdk/task.d.ts +55 -0
  94. package/dist/sdk/task.js +907 -0
  95. package/docs/sdk/models/operations/categories.md +2 -1
  96. package/docs/sdk/models/operations/createhriscompanyrequest.md +9 -0
  97. package/docs/sdk/models/operations/createhriscompanyresponse.md +11 -0
  98. package/docs/sdk/models/operations/createtaskprojectrequest.md +9 -0
  99. package/docs/sdk/models/operations/createtaskprojectresponse.md +11 -0
  100. package/docs/sdk/models/operations/createtasktaskrequest.md +9 -0
  101. package/docs/sdk/models/operations/createtasktaskresponse.md +11 -0
  102. package/docs/sdk/models/operations/gethriscompanyrequest.md +10 -0
  103. package/docs/sdk/models/operations/gethriscompanyresponse.md +11 -0
  104. package/docs/sdk/models/operations/gettaskprojectrequest.md +10 -0
  105. package/docs/sdk/models/operations/gettaskprojectresponse.md +11 -0
  106. package/docs/sdk/models/operations/gettasktaskrequest.md +10 -0
  107. package/docs/sdk/models/operations/gettasktaskresponse.md +11 -0
  108. package/docs/sdk/models/operations/listhriscompaniesrequest.md +15 -0
  109. package/docs/sdk/models/operations/listhriscompaniesresponse.md +11 -0
  110. package/docs/sdk/models/operations/listhrisemployeesrequest.md +1 -0
  111. package/docs/sdk/models/operations/listhrisgroupsrequest.md +1 -0
  112. package/docs/sdk/models/operations/listtaskprojectsrequest.md +16 -0
  113. package/docs/sdk/models/operations/listtaskprojectsresponse.md +11 -0
  114. package/docs/sdk/models/operations/listtasktasksrequest.md +17 -0
  115. package/docs/sdk/models/operations/listtasktasksresponse.md +11 -0
  116. package/docs/sdk/models/operations/listunifiedintegrationsqueryparamcategories.md +2 -1
  117. package/docs/sdk/models/operations/patchhriscompanyrequest.md +10 -0
  118. package/docs/sdk/models/operations/patchhriscompanyresponse.md +11 -0
  119. package/docs/sdk/models/operations/patchtaskprojectrequest.md +10 -0
  120. package/docs/sdk/models/operations/patchtaskprojectresponse.md +11 -0
  121. package/docs/sdk/models/operations/patchtasktaskrequest.md +10 -0
  122. package/docs/sdk/models/operations/patchtasktaskresponse.md +11 -0
  123. package/docs/sdk/models/operations/queryparamcategories.md +2 -1
  124. package/docs/sdk/models/operations/removehriscompanyrequest.md +9 -0
  125. package/docs/sdk/models/operations/removehriscompanyresponse.md +11 -0
  126. package/docs/sdk/models/operations/removetaskprojectrequest.md +9 -0
  127. package/docs/sdk/models/operations/removetaskprojectresponse.md +11 -0
  128. package/docs/sdk/models/operations/removetasktaskrequest.md +9 -0
  129. package/docs/sdk/models/operations/removetasktaskresponse.md +11 -0
  130. package/docs/sdk/models/operations/scopes.md +7 -1
  131. package/docs/sdk/models/operations/updatehriscompanyrequest.md +10 -0
  132. package/docs/sdk/models/operations/updatehriscompanyresponse.md +11 -0
  133. package/docs/sdk/models/operations/updatetaskprojectrequest.md +10 -0
  134. package/docs/sdk/models/operations/updatetaskprojectresponse.md +11 -0
  135. package/docs/sdk/models/operations/updatetasktaskrequest.md +10 -0
  136. package/docs/sdk/models/operations/updatetasktaskresponse.md +11 -0
  137. package/docs/sdk/models/shared/crmdeal.md +2 -0
  138. package/docs/sdk/models/shared/crmpipeline.md +1 -0
  139. package/docs/sdk/models/shared/crmstage.md +14 -0
  140. package/docs/sdk/models/shared/genaimodel.md +9 -8
  141. package/docs/sdk/models/shared/hriscompany.md +14 -0
  142. package/docs/sdk/models/shared/hrisemployee.md +1 -0
  143. package/docs/sdk/models/shared/hrisgroup.md +1 -0
  144. package/docs/sdk/models/shared/integrationsupport.md +1 -0
  145. package/docs/sdk/models/shared/listprojectid.md +10 -0
  146. package/docs/sdk/models/shared/objecttype.md +4 -1
  147. package/docs/sdk/models/shared/propertyconnectioncategories.md +2 -1
  148. package/docs/sdk/models/shared/propertyconnectionpermissions.md +7 -1
  149. package/docs/sdk/models/shared/propertyhriscompanyaddress.md +15 -0
  150. package/docs/sdk/models/shared/propertyintegrationcategories.md +2 -1
  151. package/docs/sdk/models/shared/role.md +2 -2
  152. package/docs/sdk/models/shared/taskproject.md +15 -0
  153. package/docs/sdk/models/shared/tasktask.md +23 -0
  154. package/docs/sdk/models/shared/tasktaskstatus.md +10 -0
  155. package/package.json +1 -1
@@ -0,0 +1,127 @@
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.ListTaskTasksResponse = exports.ListTaskTasksRequest = void 0;
54
+ var utils_1 = require("../../../internal/utils");
55
+ var shared = __importStar(require("../../../sdk/models/shared"));
56
+ var ListTaskTasksRequest = /** @class */ (function (_super) {
57
+ __extends(ListTaskTasksRequest, _super);
58
+ function ListTaskTasksRequest() {
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
+ ], ListTaskTasksRequest.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
+ ], ListTaskTasksRequest.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
+ ], ListTaskTasksRequest.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
+ ], ListTaskTasksRequest.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
+ ], ListTaskTasksRequest.prototype, "order", void 0);
81
+ __decorate([
82
+ (0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=parent_id" }),
83
+ __metadata("design:type", String)
84
+ ], ListTaskTasksRequest.prototype, "parentId", void 0);
85
+ __decorate([
86
+ (0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=project_id" }),
87
+ __metadata("design:type", String)
88
+ ], ListTaskTasksRequest.prototype, "projectId", void 0);
89
+ __decorate([
90
+ (0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=query" }),
91
+ __metadata("design:type", String)
92
+ ], ListTaskTasksRequest.prototype, "query", void 0);
93
+ __decorate([
94
+ (0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=sort" }),
95
+ __metadata("design:type", String)
96
+ ], ListTaskTasksRequest.prototype, "sort", void 0);
97
+ __decorate([
98
+ (0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=updated_gte" }),
99
+ __metadata("design:type", Date)
100
+ ], ListTaskTasksRequest.prototype, "updatedGte", void 0);
101
+ return ListTaskTasksRequest;
102
+ }(utils_1.SpeakeasyBase));
103
+ exports.ListTaskTasksRequest = ListTaskTasksRequest;
104
+ var ListTaskTasksResponse = /** @class */ (function (_super) {
105
+ __extends(ListTaskTasksResponse, _super);
106
+ function ListTaskTasksResponse() {
107
+ return _super !== null && _super.apply(this, arguments) || this;
108
+ }
109
+ __decorate([
110
+ (0, utils_1.SpeakeasyMetadata)(),
111
+ __metadata("design:type", String)
112
+ ], ListTaskTasksResponse.prototype, "contentType", void 0);
113
+ __decorate([
114
+ (0, utils_1.SpeakeasyMetadata)(),
115
+ __metadata("design:type", Number)
116
+ ], ListTaskTasksResponse.prototype, "statusCode", void 0);
117
+ __decorate([
118
+ (0, utils_1.SpeakeasyMetadata)(),
119
+ __metadata("design:type", Object)
120
+ ], ListTaskTasksResponse.prototype, "rawResponse", void 0);
121
+ __decorate([
122
+ (0, utils_1.SpeakeasyMetadata)({ elemType: shared.TaskTask }),
123
+ __metadata("design:type", Array)
124
+ ], ListTaskTasksResponse.prototype, "taskTasks", void 0);
125
+ return ListTaskTasksResponse;
126
+ }(utils_1.SpeakeasyBase));
127
+ exports.ListTaskTasksResponse = ListTaskTasksResponse;
@@ -17,7 +17,8 @@ export declare enum Categories {
17
17
  Payment = "payment",
18
18
  Genai = "genai",
19
19
  Messaging = "messaging",
20
- Kms = "kms"
20
+ Kms = "kms",
21
+ Task = "task"
21
22
  }
22
23
  export declare class ListUnifiedConnectionsRequest extends SpeakeasyBase {
23
24
  /**
@@ -71,6 +71,7 @@ var Categories;
71
71
  Categories["Genai"] = "genai";
72
72
  Categories["Messaging"] = "messaging";
73
73
  Categories["Kms"] = "kms";
74
+ Categories["Task"] = "task";
74
75
  })(Categories = exports.Categories || (exports.Categories = {}));
75
76
  var ListUnifiedConnectionsRequest = /** @class */ (function (_super) {
76
77
  __extends(ListUnifiedConnectionsRequest, _super);
@@ -17,7 +17,8 @@ export declare enum ListUnifiedIntegrationsQueryParamCategories {
17
17
  Payment = "payment",
18
18
  Genai = "genai",
19
19
  Messaging = "messaging",
20
- Kms = "kms"
20
+ Kms = "kms",
21
+ Task = "task"
21
22
  }
22
23
  export declare class ListUnifiedIntegrationsRequest extends SpeakeasyBase {
23
24
  /**
@@ -71,6 +71,7 @@ var ListUnifiedIntegrationsQueryParamCategories;
71
71
  ListUnifiedIntegrationsQueryParamCategories["Genai"] = "genai";
72
72
  ListUnifiedIntegrationsQueryParamCategories["Messaging"] = "messaging";
73
73
  ListUnifiedIntegrationsQueryParamCategories["Kms"] = "kms";
74
+ ListUnifiedIntegrationsQueryParamCategories["Task"] = "task";
74
75
  })(ListUnifiedIntegrationsQueryParamCategories = exports.ListUnifiedIntegrationsQueryParamCategories || (exports.ListUnifiedIntegrationsQueryParamCategories = {}));
75
76
  var ListUnifiedIntegrationsRequest = /** @class */ (function (_super) {
76
77
  __extends(ListUnifiedIntegrationsRequest, _super);
@@ -17,7 +17,8 @@ export declare enum QueryParamCategories {
17
17
  Payment = "payment",
18
18
  Genai = "genai",
19
19
  Messaging = "messaging",
20
- Kms = "kms"
20
+ Kms = "kms",
21
+ Task = "task"
21
22
  }
22
23
  export declare class ListUnifiedIntegrationWorkspacesRequest extends SpeakeasyBase {
23
24
  /**
@@ -71,6 +71,7 @@ var QueryParamCategories;
71
71
  QueryParamCategories["Genai"] = "genai";
72
72
  QueryParamCategories["Messaging"] = "messaging";
73
73
  QueryParamCategories["Kms"] = "kms";
74
+ QueryParamCategories["Task"] = "task";
74
75
  })(QueryParamCategories = exports.QueryParamCategories || (exports.QueryParamCategories = {}));
75
76
  var ListUnifiedIntegrationWorkspacesRequest = /** @class */ (function (_super) {
76
77
  __extends(ListUnifiedIntegrationWorkspacesRequest, _super);
@@ -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 PatchHrisCompanyRequest extends SpeakeasyBase {
5
+ hrisCompany?: shared.HrisCompany;
6
+ /**
7
+ * ID of the connection
8
+ */
9
+ connectionId: string;
10
+ /**
11
+ * ID of the Company
12
+ */
13
+ id: string;
14
+ }
15
+ export declare class PatchHrisCompanyResponse extends SpeakeasyBase {
16
+ /**
17
+ * HTTP response content type for this operation
18
+ */
19
+ contentType: string;
20
+ /**
21
+ * Successful
22
+ */
23
+ hrisCompany?: shared.HrisCompany;
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://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.PatchHrisCompanyResponse = exports.PatchHrisCompanyRequest = void 0;
54
+ var utils_1 = require("../../../internal/utils");
55
+ var shared = __importStar(require("../../../sdk/models/shared"));
56
+ var PatchHrisCompanyRequest = /** @class */ (function (_super) {
57
+ __extends(PatchHrisCompanyRequest, _super);
58
+ function PatchHrisCompanyRequest() {
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.HrisCompany)
64
+ ], PatchHrisCompanyRequest.prototype, "hrisCompany", void 0);
65
+ __decorate([
66
+ (0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=connection_id" }),
67
+ __metadata("design:type", String)
68
+ ], PatchHrisCompanyRequest.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
+ ], PatchHrisCompanyRequest.prototype, "id", void 0);
73
+ return PatchHrisCompanyRequest;
74
+ }(utils_1.SpeakeasyBase));
75
+ exports.PatchHrisCompanyRequest = PatchHrisCompanyRequest;
76
+ var PatchHrisCompanyResponse = /** @class */ (function (_super) {
77
+ __extends(PatchHrisCompanyResponse, _super);
78
+ function PatchHrisCompanyResponse() {
79
+ return _super !== null && _super.apply(this, arguments) || this;
80
+ }
81
+ __decorate([
82
+ (0, utils_1.SpeakeasyMetadata)(),
83
+ __metadata("design:type", String)
84
+ ], PatchHrisCompanyResponse.prototype, "contentType", void 0);
85
+ __decorate([
86
+ (0, utils_1.SpeakeasyMetadata)(),
87
+ __metadata("design:type", shared.HrisCompany)
88
+ ], PatchHrisCompanyResponse.prototype, "hrisCompany", void 0);
89
+ __decorate([
90
+ (0, utils_1.SpeakeasyMetadata)(),
91
+ __metadata("design:type", Number)
92
+ ], PatchHrisCompanyResponse.prototype, "statusCode", void 0);
93
+ __decorate([
94
+ (0, utils_1.SpeakeasyMetadata)(),
95
+ __metadata("design:type", Object)
96
+ ], PatchHrisCompanyResponse.prototype, "rawResponse", void 0);
97
+ return PatchHrisCompanyResponse;
98
+ }(utils_1.SpeakeasyBase));
99
+ exports.PatchHrisCompanyResponse = PatchHrisCompanyResponse;
@@ -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 PatchTaskProjectRequest extends SpeakeasyBase {
5
+ taskProject?: shared.TaskProject;
6
+ /**
7
+ * ID of the connection
8
+ */
9
+ connectionId: string;
10
+ /**
11
+ * ID of the Project
12
+ */
13
+ id: string;
14
+ }
15
+ export declare class PatchTaskProjectResponse extends SpeakeasyBase {
16
+ /**
17
+ * HTTP response content type for this operation
18
+ */
19
+ contentType: string;
20
+ /**
21
+ * HTTP response status code for this operation
22
+ */
23
+ statusCode: number;
24
+ /**
25
+ * Raw HTTP response; suitable for custom response parsing
26
+ */
27
+ rawResponse: AxiosResponse;
28
+ /**
29
+ * Successful
30
+ */
31
+ taskProject?: shared.TaskProject;
32
+ }
@@ -0,0 +1,99 @@
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.PatchTaskProjectResponse = exports.PatchTaskProjectRequest = void 0;
54
+ var utils_1 = require("../../../internal/utils");
55
+ var shared = __importStar(require("../../../sdk/models/shared"));
56
+ var PatchTaskProjectRequest = /** @class */ (function (_super) {
57
+ __extends(PatchTaskProjectRequest, _super);
58
+ function PatchTaskProjectRequest() {
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.TaskProject)
64
+ ], PatchTaskProjectRequest.prototype, "taskProject", void 0);
65
+ __decorate([
66
+ (0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=connection_id" }),
67
+ __metadata("design:type", String)
68
+ ], PatchTaskProjectRequest.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
+ ], PatchTaskProjectRequest.prototype, "id", void 0);
73
+ return PatchTaskProjectRequest;
74
+ }(utils_1.SpeakeasyBase));
75
+ exports.PatchTaskProjectRequest = PatchTaskProjectRequest;
76
+ var PatchTaskProjectResponse = /** @class */ (function (_super) {
77
+ __extends(PatchTaskProjectResponse, _super);
78
+ function PatchTaskProjectResponse() {
79
+ return _super !== null && _super.apply(this, arguments) || this;
80
+ }
81
+ __decorate([
82
+ (0, utils_1.SpeakeasyMetadata)(),
83
+ __metadata("design:type", String)
84
+ ], PatchTaskProjectResponse.prototype, "contentType", void 0);
85
+ __decorate([
86
+ (0, utils_1.SpeakeasyMetadata)(),
87
+ __metadata("design:type", Number)
88
+ ], PatchTaskProjectResponse.prototype, "statusCode", void 0);
89
+ __decorate([
90
+ (0, utils_1.SpeakeasyMetadata)(),
91
+ __metadata("design:type", Object)
92
+ ], PatchTaskProjectResponse.prototype, "rawResponse", void 0);
93
+ __decorate([
94
+ (0, utils_1.SpeakeasyMetadata)(),
95
+ __metadata("design:type", shared.TaskProject)
96
+ ], PatchTaskProjectResponse.prototype, "taskProject", void 0);
97
+ return PatchTaskProjectResponse;
98
+ }(utils_1.SpeakeasyBase));
99
+ exports.PatchTaskProjectResponse = PatchTaskProjectResponse;
@@ -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 PatchTaskTaskRequest extends SpeakeasyBase {
5
+ taskTask?: shared.TaskTask;
6
+ /**
7
+ * ID of the connection
8
+ */
9
+ connectionId: string;
10
+ /**
11
+ * ID of the Task
12
+ */
13
+ id: string;
14
+ }
15
+ export declare class PatchTaskTaskResponse extends SpeakeasyBase {
16
+ /**
17
+ * HTTP response content type for this operation
18
+ */
19
+ contentType: string;
20
+ /**
21
+ * HTTP response status code for this operation
22
+ */
23
+ statusCode: number;
24
+ /**
25
+ * Raw HTTP response; suitable for custom response parsing
26
+ */
27
+ rawResponse: AxiosResponse;
28
+ /**
29
+ * Successful
30
+ */
31
+ taskTask?: shared.TaskTask;
32
+ }
@@ -0,0 +1,99 @@
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.PatchTaskTaskResponse = exports.PatchTaskTaskRequest = void 0;
54
+ var utils_1 = require("../../../internal/utils");
55
+ var shared = __importStar(require("../../../sdk/models/shared"));
56
+ var PatchTaskTaskRequest = /** @class */ (function (_super) {
57
+ __extends(PatchTaskTaskRequest, _super);
58
+ function PatchTaskTaskRequest() {
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.TaskTask)
64
+ ], PatchTaskTaskRequest.prototype, "taskTask", void 0);
65
+ __decorate([
66
+ (0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=connection_id" }),
67
+ __metadata("design:type", String)
68
+ ], PatchTaskTaskRequest.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
+ ], PatchTaskTaskRequest.prototype, "id", void 0);
73
+ return PatchTaskTaskRequest;
74
+ }(utils_1.SpeakeasyBase));
75
+ exports.PatchTaskTaskRequest = PatchTaskTaskRequest;
76
+ var PatchTaskTaskResponse = /** @class */ (function (_super) {
77
+ __extends(PatchTaskTaskResponse, _super);
78
+ function PatchTaskTaskResponse() {
79
+ return _super !== null && _super.apply(this, arguments) || this;
80
+ }
81
+ __decorate([
82
+ (0, utils_1.SpeakeasyMetadata)(),
83
+ __metadata("design:type", String)
84
+ ], PatchTaskTaskResponse.prototype, "contentType", void 0);
85
+ __decorate([
86
+ (0, utils_1.SpeakeasyMetadata)(),
87
+ __metadata("design:type", Number)
88
+ ], PatchTaskTaskResponse.prototype, "statusCode", void 0);
89
+ __decorate([
90
+ (0, utils_1.SpeakeasyMetadata)(),
91
+ __metadata("design:type", Object)
92
+ ], PatchTaskTaskResponse.prototype, "rawResponse", void 0);
93
+ __decorate([
94
+ (0, utils_1.SpeakeasyMetadata)(),
95
+ __metadata("design:type", shared.TaskTask)
96
+ ], PatchTaskTaskResponse.prototype, "taskTask", void 0);
97
+ return PatchTaskTaskResponse;
98
+ }(utils_1.SpeakeasyBase));
99
+ exports.PatchTaskTaskResponse = PatchTaskTaskResponse;
@@ -0,0 +1,30 @@
1
+ import { SpeakeasyBase } from "../../../internal/utils";
2
+ import { AxiosResponse } from "axios";
3
+ export declare class RemoveHrisCompanyRequest extends SpeakeasyBase {
4
+ /**
5
+ * ID of the connection
6
+ */
7
+ connectionId: string;
8
+ /**
9
+ * ID of the Company
10
+ */
11
+ id: string;
12
+ }
13
+ export declare class RemoveHrisCompanyResponse 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
+ }