@unified-api/typescript-sdk 1.0.34 → 1.0.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sdk/models/operations/createtaskproject.d.ts +28 -0
- package/dist/sdk/models/operations/createtaskproject.js +95 -0
- package/dist/sdk/models/operations/createtasktask.d.ts +28 -0
- package/dist/sdk/models/operations/createtasktask.js +95 -0
- package/dist/sdk/models/operations/gettaskproject.d.ts +35 -0
- package/dist/sdk/models/operations/gettaskproject.js +99 -0
- package/dist/sdk/models/operations/gettasktask.d.ts +35 -0
- package/dist/sdk/models/operations/gettasktask.js +99 -0
- package/dist/sdk/models/operations/getunifiedintegrationauth.d.ts +5 -1
- package/dist/sdk/models/operations/getunifiedintegrationauth.js +4 -0
- package/dist/sdk/models/operations/index.d.ts +12 -0
- package/dist/sdk/models/operations/index.js +12 -0
- package/dist/sdk/models/operations/listtaskprojects.d.ts +44 -0
- package/dist/sdk/models/operations/listtaskprojects.js +123 -0
- package/dist/sdk/models/operations/listtasktasks.d.ts +45 -0
- package/dist/sdk/models/operations/listtasktasks.js +127 -0
- package/dist/sdk/models/operations/listunifiedconnections.d.ts +2 -1
- package/dist/sdk/models/operations/listunifiedconnections.js +1 -0
- package/dist/sdk/models/operations/listunifiedintegrations.d.ts +2 -1
- package/dist/sdk/models/operations/listunifiedintegrations.js +1 -0
- package/dist/sdk/models/operations/listunifiedintegrationworkspaces.d.ts +2 -1
- package/dist/sdk/models/operations/listunifiedintegrationworkspaces.js +1 -0
- package/dist/sdk/models/operations/patchtaskproject.d.ts +32 -0
- package/dist/sdk/models/operations/patchtaskproject.js +99 -0
- package/dist/sdk/models/operations/patchtasktask.d.ts +32 -0
- package/dist/sdk/models/operations/patchtasktask.js +99 -0
- package/dist/sdk/models/operations/removetaskproject.d.ts +30 -0
- package/dist/sdk/models/operations/removetaskproject.js +71 -0
- package/dist/sdk/models/operations/removetasktask.d.ts +30 -0
- package/dist/sdk/models/operations/removetasktask.js +71 -0
- package/dist/sdk/models/operations/updatetaskproject.d.ts +32 -0
- package/dist/sdk/models/operations/updatetaskproject.js +99 -0
- package/dist/sdk/models/operations/updatetasktask.d.ts +32 -0
- package/dist/sdk/models/operations/updatetasktask.js +99 -0
- package/dist/sdk/models/shared/crmdeal.d.ts +2 -0
- package/dist/sdk/models/shared/crmdeal.js +10 -0
- package/dist/sdk/models/shared/crmpipeline.d.ts +2 -0
- package/dist/sdk/models/shared/crmpipeline.js +7 -0
- package/dist/sdk/models/shared/crmstage.d.ts +10 -0
- package/dist/sdk/models/shared/crmstage.js +83 -0
- package/dist/sdk/models/shared/genaicontent.d.ts +2 -2
- package/dist/sdk/models/shared/genaicontent.js +2 -2
- package/dist/sdk/models/shared/genaimodel.d.ts +1 -0
- package/dist/sdk/models/shared/genaimodel.js +5 -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 +6 -0
- package/dist/sdk/models/shared/integrationsupport.js +12 -1
- package/dist/sdk/models/shared/propertyconnectioncategories.d.ts +2 -1
- package/dist/sdk/models/shared/propertyconnectioncategories.js +1 -0
- package/dist/sdk/models/shared/propertyconnectionpermissions.d.ts +5 -1
- package/dist/sdk/models/shared/propertyconnectionpermissions.js +4 -0
- package/dist/sdk/models/shared/propertyintegrationcategories.d.ts +2 -1
- package/dist/sdk/models/shared/propertyintegrationcategories.js +1 -0
- package/dist/sdk/models/shared/taskproject.d.ts +11 -0
- package/dist/sdk/models/shared/taskproject.js +88 -0
- package/dist/sdk/models/shared/tasktask.d.ts +24 -0
- package/dist/sdk/models/shared/tasktask.js +142 -0
- package/dist/sdk/models/shared/webhook.d.ts +3 -1
- package/dist/sdk/models/shared/webhook.js +2 -0
- package/dist/sdk/project.d.ts +31 -0
- package/dist/sdk/project.js +505 -0
- package/dist/sdk/sdk.d.ts +4 -0
- package/dist/sdk/sdk.js +7 -3
- package/dist/sdk/task.d.ts +55 -0
- package/dist/sdk/task.js +907 -0
- package/docs/sdk/models/operations/categories.md +2 -1
- package/docs/sdk/models/operations/createtaskprojectrequest.md +9 -0
- package/docs/sdk/models/operations/createtaskprojectresponse.md +11 -0
- package/docs/sdk/models/operations/createtasktaskrequest.md +9 -0
- package/docs/sdk/models/operations/createtasktaskresponse.md +11 -0
- package/docs/sdk/models/operations/gettaskprojectrequest.md +10 -0
- package/docs/sdk/models/operations/gettaskprojectresponse.md +11 -0
- package/docs/sdk/models/operations/gettasktaskrequest.md +10 -0
- package/docs/sdk/models/operations/gettasktaskresponse.md +11 -0
- package/docs/sdk/models/operations/listtaskprojectsrequest.md +16 -0
- package/docs/sdk/models/operations/listtaskprojectsresponse.md +11 -0
- package/docs/sdk/models/operations/listtasktasksrequest.md +17 -0
- package/docs/sdk/models/operations/listtasktasksresponse.md +11 -0
- package/docs/sdk/models/operations/listunifiedintegrationsqueryparamcategories.md +2 -1
- package/docs/sdk/models/operations/patchtaskprojectrequest.md +10 -0
- package/docs/sdk/models/operations/patchtaskprojectresponse.md +11 -0
- package/docs/sdk/models/operations/patchtasktaskrequest.md +10 -0
- package/docs/sdk/models/operations/patchtasktaskresponse.md +11 -0
- package/docs/sdk/models/operations/queryparamcategories.md +2 -1
- package/docs/sdk/models/operations/removetaskprojectrequest.md +9 -0
- package/docs/sdk/models/operations/removetaskprojectresponse.md +11 -0
- package/docs/sdk/models/operations/removetasktaskrequest.md +9 -0
- package/docs/sdk/models/operations/removetasktaskresponse.md +11 -0
- package/docs/sdk/models/operations/scopes.md +5 -1
- package/docs/sdk/models/operations/updatetaskprojectrequest.md +10 -0
- package/docs/sdk/models/operations/updatetaskprojectresponse.md +11 -0
- package/docs/sdk/models/operations/updatetasktaskrequest.md +10 -0
- package/docs/sdk/models/operations/updatetasktaskresponse.md +11 -0
- package/docs/sdk/models/shared/crmdeal.md +2 -0
- package/docs/sdk/models/shared/crmpipeline.md +1 -0
- package/docs/sdk/models/shared/crmstage.md +14 -0
- package/docs/sdk/models/shared/genaimodel.md +9 -8
- package/docs/sdk/models/shared/integrationsupport.md +1 -0
- package/docs/sdk/models/shared/listprojectid.md +10 -0
- package/docs/sdk/models/shared/objecttype.md +3 -1
- package/docs/sdk/models/shared/propertyconnectioncategories.md +2 -1
- package/docs/sdk/models/shared/propertyconnectionpermissions.md +5 -1
- package/docs/sdk/models/shared/propertyintegrationcategories.md +2 -1
- package/docs/sdk/models/shared/role.md +2 -2
- package/docs/sdk/models/shared/taskproject.md +15 -0
- package/docs/sdk/models/shared/tasktask.md +23 -0
- package/docs/sdk/models/shared/tasktaskstatus.md +10 -0
- package/package.json +1 -1
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { SpeakeasyBase } from "../../../internal/utils";
|
|
2
|
+
import { AxiosResponse } from "axios";
|
|
3
|
+
export declare class RemoveTaskProjectRequest extends SpeakeasyBase {
|
|
4
|
+
/**
|
|
5
|
+
* ID of the connection
|
|
6
|
+
*/
|
|
7
|
+
connectionId: string;
|
|
8
|
+
/**
|
|
9
|
+
* ID of the Project
|
|
10
|
+
*/
|
|
11
|
+
id: string;
|
|
12
|
+
}
|
|
13
|
+
export declare class RemoveTaskProjectResponse 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://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.RemoveTaskProjectResponse = exports.RemoveTaskProjectRequest = void 0;
|
|
31
|
+
var utils_1 = require("../../../internal/utils");
|
|
32
|
+
var RemoveTaskProjectRequest = /** @class */ (function (_super) {
|
|
33
|
+
__extends(RemoveTaskProjectRequest, _super);
|
|
34
|
+
function RemoveTaskProjectRequest() {
|
|
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
|
+
], RemoveTaskProjectRequest.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
|
+
], RemoveTaskProjectRequest.prototype, "id", void 0);
|
|
45
|
+
return RemoveTaskProjectRequest;
|
|
46
|
+
}(utils_1.SpeakeasyBase));
|
|
47
|
+
exports.RemoveTaskProjectRequest = RemoveTaskProjectRequest;
|
|
48
|
+
var RemoveTaskProjectResponse = /** @class */ (function (_super) {
|
|
49
|
+
__extends(RemoveTaskProjectResponse, _super);
|
|
50
|
+
function RemoveTaskProjectResponse() {
|
|
51
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
52
|
+
}
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], RemoveTaskProjectResponse.prototype, "contentType", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
59
|
+
__metadata("design:type", Number)
|
|
60
|
+
], RemoveTaskProjectResponse.prototype, "statusCode", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
63
|
+
__metadata("design:type", Object)
|
|
64
|
+
], RemoveTaskProjectResponse.prototype, "rawResponse", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
67
|
+
__metadata("design:type", String)
|
|
68
|
+
], RemoveTaskProjectResponse.prototype, "string", void 0);
|
|
69
|
+
return RemoveTaskProjectResponse;
|
|
70
|
+
}(utils_1.SpeakeasyBase));
|
|
71
|
+
exports.RemoveTaskProjectResponse = RemoveTaskProjectResponse;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { SpeakeasyBase } from "../../../internal/utils";
|
|
2
|
+
import { AxiosResponse } from "axios";
|
|
3
|
+
export declare class RemoveTaskTaskRequest extends SpeakeasyBase {
|
|
4
|
+
/**
|
|
5
|
+
* ID of the connection
|
|
6
|
+
*/
|
|
7
|
+
connectionId: string;
|
|
8
|
+
/**
|
|
9
|
+
* ID of the Task
|
|
10
|
+
*/
|
|
11
|
+
id: string;
|
|
12
|
+
}
|
|
13
|
+
export declare class RemoveTaskTaskResponse 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://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.RemoveTaskTaskResponse = exports.RemoveTaskTaskRequest = void 0;
|
|
31
|
+
var utils_1 = require("../../../internal/utils");
|
|
32
|
+
var RemoveTaskTaskRequest = /** @class */ (function (_super) {
|
|
33
|
+
__extends(RemoveTaskTaskRequest, _super);
|
|
34
|
+
function RemoveTaskTaskRequest() {
|
|
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
|
+
], RemoveTaskTaskRequest.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
|
+
], RemoveTaskTaskRequest.prototype, "id", void 0);
|
|
45
|
+
return RemoveTaskTaskRequest;
|
|
46
|
+
}(utils_1.SpeakeasyBase));
|
|
47
|
+
exports.RemoveTaskTaskRequest = RemoveTaskTaskRequest;
|
|
48
|
+
var RemoveTaskTaskResponse = /** @class */ (function (_super) {
|
|
49
|
+
__extends(RemoveTaskTaskResponse, _super);
|
|
50
|
+
function RemoveTaskTaskResponse() {
|
|
51
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
52
|
+
}
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], RemoveTaskTaskResponse.prototype, "contentType", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
59
|
+
__metadata("design:type", Number)
|
|
60
|
+
], RemoveTaskTaskResponse.prototype, "statusCode", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
63
|
+
__metadata("design:type", Object)
|
|
64
|
+
], RemoveTaskTaskResponse.prototype, "rawResponse", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
67
|
+
__metadata("design:type", String)
|
|
68
|
+
], RemoveTaskTaskResponse.prototype, "string", void 0);
|
|
69
|
+
return RemoveTaskTaskResponse;
|
|
70
|
+
}(utils_1.SpeakeasyBase));
|
|
71
|
+
exports.RemoveTaskTaskResponse = RemoveTaskTaskResponse;
|
|
@@ -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 UpdateTaskProjectRequest 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 UpdateTaskProjectResponse 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.UpdateTaskProjectResponse = exports.UpdateTaskProjectRequest = void 0;
|
|
54
|
+
var utils_1 = require("../../../internal/utils");
|
|
55
|
+
var shared = __importStar(require("../../../sdk/models/shared"));
|
|
56
|
+
var UpdateTaskProjectRequest = /** @class */ (function (_super) {
|
|
57
|
+
__extends(UpdateTaskProjectRequest, _super);
|
|
58
|
+
function UpdateTaskProjectRequest() {
|
|
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
|
+
], UpdateTaskProjectRequest.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
|
+
], UpdateTaskProjectRequest.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
|
+
], UpdateTaskProjectRequest.prototype, "id", void 0);
|
|
73
|
+
return UpdateTaskProjectRequest;
|
|
74
|
+
}(utils_1.SpeakeasyBase));
|
|
75
|
+
exports.UpdateTaskProjectRequest = UpdateTaskProjectRequest;
|
|
76
|
+
var UpdateTaskProjectResponse = /** @class */ (function (_super) {
|
|
77
|
+
__extends(UpdateTaskProjectResponse, _super);
|
|
78
|
+
function UpdateTaskProjectResponse() {
|
|
79
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
80
|
+
}
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
83
|
+
__metadata("design:type", String)
|
|
84
|
+
], UpdateTaskProjectResponse.prototype, "contentType", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
87
|
+
__metadata("design:type", Number)
|
|
88
|
+
], UpdateTaskProjectResponse.prototype, "statusCode", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
91
|
+
__metadata("design:type", Object)
|
|
92
|
+
], UpdateTaskProjectResponse.prototype, "rawResponse", void 0);
|
|
93
|
+
__decorate([
|
|
94
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
95
|
+
__metadata("design:type", shared.TaskProject)
|
|
96
|
+
], UpdateTaskProjectResponse.prototype, "taskProject", void 0);
|
|
97
|
+
return UpdateTaskProjectResponse;
|
|
98
|
+
}(utils_1.SpeakeasyBase));
|
|
99
|
+
exports.UpdateTaskProjectResponse = UpdateTaskProjectResponse;
|
|
@@ -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 UpdateTaskTaskRequest 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 UpdateTaskTaskResponse 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.UpdateTaskTaskResponse = exports.UpdateTaskTaskRequest = void 0;
|
|
54
|
+
var utils_1 = require("../../../internal/utils");
|
|
55
|
+
var shared = __importStar(require("../../../sdk/models/shared"));
|
|
56
|
+
var UpdateTaskTaskRequest = /** @class */ (function (_super) {
|
|
57
|
+
__extends(UpdateTaskTaskRequest, _super);
|
|
58
|
+
function UpdateTaskTaskRequest() {
|
|
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
|
+
], UpdateTaskTaskRequest.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
|
+
], UpdateTaskTaskRequest.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
|
+
], UpdateTaskTaskRequest.prototype, "id", void 0);
|
|
73
|
+
return UpdateTaskTaskRequest;
|
|
74
|
+
}(utils_1.SpeakeasyBase));
|
|
75
|
+
exports.UpdateTaskTaskRequest = UpdateTaskTaskRequest;
|
|
76
|
+
var UpdateTaskTaskResponse = /** @class */ (function (_super) {
|
|
77
|
+
__extends(UpdateTaskTaskResponse, _super);
|
|
78
|
+
function UpdateTaskTaskResponse() {
|
|
79
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
80
|
+
}
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
83
|
+
__metadata("design:type", String)
|
|
84
|
+
], UpdateTaskTaskResponse.prototype, "contentType", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
87
|
+
__metadata("design:type", Number)
|
|
88
|
+
], UpdateTaskTaskResponse.prototype, "statusCode", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
91
|
+
__metadata("design:type", Object)
|
|
92
|
+
], UpdateTaskTaskResponse.prototype, "rawResponse", void 0);
|
|
93
|
+
__decorate([
|
|
94
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
95
|
+
__metadata("design:type", shared.TaskTask)
|
|
96
|
+
], UpdateTaskTaskResponse.prototype, "taskTask", void 0);
|
|
97
|
+
return UpdateTaskTaskResponse;
|
|
98
|
+
}(utils_1.SpeakeasyBase));
|
|
99
|
+
exports.UpdateTaskTaskResponse = UpdateTaskTaskResponse;
|
|
@@ -11,6 +11,7 @@ export declare class CrmDeal extends SpeakeasyBase {
|
|
|
11
11
|
lostReason?: string;
|
|
12
12
|
name?: string;
|
|
13
13
|
pipeline?: string;
|
|
14
|
+
pipelineId?: string;
|
|
14
15
|
probability?: number;
|
|
15
16
|
/**
|
|
16
17
|
* The raw data returned by the integration for this deal
|
|
@@ -18,6 +19,7 @@ export declare class CrmDeal extends SpeakeasyBase {
|
|
|
18
19
|
raw?: Record<string, any>;
|
|
19
20
|
source?: string;
|
|
20
21
|
stage?: string;
|
|
22
|
+
stageId?: string;
|
|
21
23
|
tags?: string[];
|
|
22
24
|
updatedAt?: Date;
|
|
23
25
|
userId?: string;
|
|
@@ -86,6 +86,11 @@ var CrmDeal = /** @class */ (function (_super) {
|
|
|
86
86
|
(0, class_transformer_1.Expose)({ name: "pipeline" }),
|
|
87
87
|
__metadata("design:type", String)
|
|
88
88
|
], CrmDeal.prototype, "pipeline", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
91
|
+
(0, class_transformer_1.Expose)({ name: "pipeline_id" }),
|
|
92
|
+
__metadata("design:type", String)
|
|
93
|
+
], CrmDeal.prototype, "pipelineId", void 0);
|
|
89
94
|
__decorate([
|
|
90
95
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
91
96
|
(0, class_transformer_1.Expose)({ name: "probability" }),
|
|
@@ -106,6 +111,11 @@ var CrmDeal = /** @class */ (function (_super) {
|
|
|
106
111
|
(0, class_transformer_1.Expose)({ name: "stage" }),
|
|
107
112
|
__metadata("design:type", String)
|
|
108
113
|
], CrmDeal.prototype, "stage", void 0);
|
|
114
|
+
__decorate([
|
|
115
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
116
|
+
(0, class_transformer_1.Expose)({ name: "stage_id" }),
|
|
117
|
+
__metadata("design:type", String)
|
|
118
|
+
], CrmDeal.prototype, "stageId", void 0);
|
|
109
119
|
__decorate([
|
|
110
120
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
111
121
|
(0, class_transformer_1.Expose)({ name: "tags" }),
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { SpeakeasyBase } from "../../../internal/utils";
|
|
2
|
+
import { CrmStage } from "./crmstage";
|
|
2
3
|
export declare class CrmPipeline extends SpeakeasyBase {
|
|
3
4
|
createdAt?: Date;
|
|
4
5
|
dealProbability?: number;
|
|
@@ -7,5 +8,6 @@ export declare class CrmPipeline extends SpeakeasyBase {
|
|
|
7
8
|
isActive?: boolean;
|
|
8
9
|
name?: string;
|
|
9
10
|
raw?: Record<string, any>;
|
|
11
|
+
stages?: CrmStage[];
|
|
10
12
|
updatedAt?: Date;
|
|
11
13
|
}
|
|
@@ -29,6 +29,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
30
|
exports.CrmPipeline = void 0;
|
|
31
31
|
var utils_1 = require("../../../internal/utils");
|
|
32
|
+
var crmstage_1 = require("./crmstage");
|
|
32
33
|
var class_transformer_1 = require("class-transformer");
|
|
33
34
|
var CrmPipeline = /** @class */ (function (_super) {
|
|
34
35
|
__extends(CrmPipeline, _super);
|
|
@@ -74,6 +75,12 @@ var CrmPipeline = /** @class */ (function (_super) {
|
|
|
74
75
|
(0, class_transformer_1.Expose)({ name: "raw" }),
|
|
75
76
|
__metadata("design:type", Object)
|
|
76
77
|
], CrmPipeline.prototype, "raw", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, utils_1.SpeakeasyMetadata)({ elemType: crmstage_1.CrmStage }),
|
|
80
|
+
(0, class_transformer_1.Expose)({ name: "stages" }),
|
|
81
|
+
(0, class_transformer_1.Type)(function () { return crmstage_1.CrmStage; }),
|
|
82
|
+
__metadata("design:type", Array)
|
|
83
|
+
], CrmPipeline.prototype, "stages", void 0);
|
|
77
84
|
__decorate([
|
|
78
85
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
79
86
|
(0, class_transformer_1.Expose)({ name: "updated_at" }),
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SpeakeasyBase } from "../../../internal/utils";
|
|
2
|
+
export declare class CrmStage extends SpeakeasyBase {
|
|
3
|
+
active?: boolean;
|
|
4
|
+
createdAt?: Date;
|
|
5
|
+
dealProbability?: number;
|
|
6
|
+
displayOrder?: number;
|
|
7
|
+
id?: string;
|
|
8
|
+
name?: string;
|
|
9
|
+
updatedAt?: Date;
|
|
10
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
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.CrmStage = void 0;
|
|
31
|
+
var utils_1 = require("../../../internal/utils");
|
|
32
|
+
var class_transformer_1 = require("class-transformer");
|
|
33
|
+
var CrmStage = /** @class */ (function (_super) {
|
|
34
|
+
__extends(CrmStage, _super);
|
|
35
|
+
function CrmStage() {
|
|
36
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
37
|
+
}
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
40
|
+
(0, class_transformer_1.Expose)({ name: "active" }),
|
|
41
|
+
__metadata("design:type", Boolean)
|
|
42
|
+
], CrmStage.prototype, "active", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
45
|
+
(0, class_transformer_1.Expose)({ name: "created_at" }),
|
|
46
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
|
47
|
+
var value = _a.value;
|
|
48
|
+
return new Date(value);
|
|
49
|
+
}, { toClassOnly: true }),
|
|
50
|
+
__metadata("design:type", Date)
|
|
51
|
+
], CrmStage.prototype, "createdAt", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
54
|
+
(0, class_transformer_1.Expose)({ name: "deal_probability" }),
|
|
55
|
+
__metadata("design:type", Number)
|
|
56
|
+
], CrmStage.prototype, "dealProbability", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
59
|
+
(0, class_transformer_1.Expose)({ name: "display_order" }),
|
|
60
|
+
__metadata("design:type", Number)
|
|
61
|
+
], CrmStage.prototype, "displayOrder", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
64
|
+
(0, class_transformer_1.Expose)({ name: "id" }),
|
|
65
|
+
__metadata("design:type", String)
|
|
66
|
+
], CrmStage.prototype, "id", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
69
|
+
(0, class_transformer_1.Expose)({ name: "name" }),
|
|
70
|
+
__metadata("design:type", String)
|
|
71
|
+
], CrmStage.prototype, "name", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
74
|
+
(0, class_transformer_1.Expose)({ name: "updated_at" }),
|
|
75
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
|
76
|
+
var value = _a.value;
|
|
77
|
+
return new Date(value);
|
|
78
|
+
}, { toClassOnly: true }),
|
|
79
|
+
__metadata("design:type", Date)
|
|
80
|
+
], CrmStage.prototype, "updatedAt", void 0);
|
|
81
|
+
return CrmStage;
|
|
82
|
+
}(utils_1.SpeakeasyBase));
|
|
83
|
+
exports.CrmStage = CrmStage;
|
|
@@ -32,8 +32,8 @@ var utils_1 = require("../../../internal/utils");
|
|
|
32
32
|
var class_transformer_1 = require("class-transformer");
|
|
33
33
|
var Role;
|
|
34
34
|
(function (Role) {
|
|
35
|
-
Role["System"] = "
|
|
36
|
-
Role["User"] = "
|
|
35
|
+
Role["System"] = "SYSTEM";
|
|
36
|
+
Role["User"] = "USER";
|
|
37
37
|
})(Role = exports.Role || (exports.Role = {}));
|
|
38
38
|
var GenaiContent = /** @class */ (function (_super) {
|
|
39
39
|
__extends(GenaiContent, _super);
|