connectwise-rest 1.0.0 → 1.0.1
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/.eslintrc +23 -26
- package/README.md +62 -12
- package/api-extractor.json +364 -364
- package/dist/Automate/AVTemplatePoliciesAPI.d.ts +10 -1
- package/dist/Automate/AVTemplatePoliciesAPI.d.ts.map +1 -1
- package/dist/Automate/AVTemplatePoliciesAPI.js +6 -1
- package/dist/Automate/AVTemplatePoliciesAPI.js.map +1 -1
- package/dist/Automate/ClientsAPI.d.ts +11 -1
- package/dist/Automate/ClientsAPI.d.ts.map +1 -1
- package/dist/Automate/ClientsAPI.js +6 -1
- package/dist/Automate/ClientsAPI.js.map +1 -1
- package/dist/Automate/CommandsAPI.d.ts +6 -1
- package/dist/Automate/CommandsAPI.d.ts.map +1 -1
- package/dist/Automate/CommandsAPI.js +6 -1
- package/dist/Automate/CommandsAPI.js.map +1 -1
- package/dist/Automate/ComputersAPI.d.ts +38 -1
- package/dist/Automate/ComputersAPI.d.ts.map +1 -1
- package/dist/Automate/ComputersAPI.js +6 -1
- package/dist/Automate/ComputersAPI.js.map +1 -1
- package/dist/Automate/ContactsAPI.d.ts +7 -1
- package/dist/Automate/ContactsAPI.d.ts.map +1 -1
- package/dist/Automate/ContactsAPI.js +6 -1
- package/dist/Automate/ContactsAPI.js.map +1 -1
- package/dist/Automate/DataViewsAPI.d.ts +7 -1
- package/dist/Automate/DataViewsAPI.d.ts.map +1 -1
- package/dist/Automate/DataViewsAPI.js +6 -1
- package/dist/Automate/DataViewsAPI.js.map +1 -1
- package/dist/Automate/DrivesAPI.d.ts +7 -1
- package/dist/Automate/DrivesAPI.d.ts.map +1 -1
- package/dist/Automate/DrivesAPI.js +6 -1
- package/dist/Automate/DrivesAPI.js.map +1 -1
- package/dist/Automate/EventLogsAPI.d.ts +6 -1
- package/dist/Automate/EventLogsAPI.d.ts.map +1 -1
- package/dist/Automate/EventLogsAPI.js +6 -1
- package/dist/Automate/EventLogsAPI.js.map +1 -1
- package/dist/Automate/LocationsAPI.d.ts +16 -1
- package/dist/Automate/LocationsAPI.d.ts.map +1 -1
- package/dist/Automate/LocationsAPI.js +6 -1
- package/dist/Automate/LocationsAPI.js.map +1 -1
- package/dist/Automate/MaintenanceWindowDefinitionsAPI.d.ts +6 -1
- package/dist/Automate/MaintenanceWindowDefinitionsAPI.d.ts.map +1 -1
- package/dist/Automate/MaintenanceWindowDefinitionsAPI.js +6 -1
- package/dist/Automate/MaintenanceWindowDefinitionsAPI.js.map +1 -1
- package/dist/Automate/MonitorsAPI.d.ts +7 -1
- package/dist/Automate/MonitorsAPI.d.ts.map +1 -1
- package/dist/Automate/MonitorsAPI.js +6 -1
- package/dist/Automate/MonitorsAPI.js.map +1 -1
- package/dist/Automate/NetworkDevicesAPI.d.ts +7 -1
- package/dist/Automate/NetworkDevicesAPI.d.ts.map +1 -1
- package/dist/Automate/NetworkDevicesAPI.js +6 -1
- package/dist/Automate/NetworkDevicesAPI.js.map +1 -1
- package/dist/Automate/PatchingAPI.d.ts +7 -1
- package/dist/Automate/PatchingAPI.d.ts.map +1 -1
- package/dist/Automate/PatchingAPI.js +6 -1
- package/dist/Automate/PatchingAPI.js.map +1 -1
- package/dist/Automate/RemoteAgentAPI.d.ts +7 -1
- package/dist/Automate/RemoteAgentAPI.d.ts.map +1 -1
- package/dist/Automate/RemoteAgentAPI.js +6 -1
- package/dist/Automate/RemoteAgentAPI.js.map +1 -1
- package/dist/Automate/ScriptingAPI.d.ts +10 -1
- package/dist/Automate/ScriptingAPI.d.ts.map +1 -1
- package/dist/Automate/ScriptingAPI.js +6 -1
- package/dist/Automate/ScriptingAPI.js.map +1 -1
- package/dist/Automate/SearchesAPI.d.ts +7 -1
- package/dist/Automate/SearchesAPI.d.ts.map +1 -1
- package/dist/Automate/SearchesAPI.js +6 -1
- package/dist/Automate/SearchesAPI.js.map +1 -1
- package/dist/Automate/SystemAPI.d.ts +28 -3
- package/dist/Automate/SystemAPI.d.ts.map +1 -1
- package/dist/Automate/SystemAPI.js +8 -3
- package/dist/Automate/SystemAPI.js.map +1 -1
- package/dist/Automate/TicketsAPI.d.ts +5 -1
- package/dist/Automate/TicketsAPI.d.ts.map +1 -1
- package/dist/Automate/TicketsAPI.js +6 -1
- package/dist/Automate/TicketsAPI.js.map +1 -1
- package/dist/Automate/UserProfilesAPI.d.ts +6 -1
- package/dist/Automate/UserProfilesAPI.d.ts.map +1 -1
- package/dist/Automate/UserProfilesAPI.js +6 -1
- package/dist/Automate/UserProfilesAPI.js.map +1 -1
- package/dist/Automate.d.ts +0 -5
- package/dist/Automate.d.ts.map +1 -1
- package/dist/Automate.js +0 -3
- package/dist/Automate.js.map +1 -1
- package/dist/AutomateAPI.d.ts +55 -22
- package/dist/AutomateAPI.d.ts.map +1 -1
- package/dist/AutomateAPI.js +46 -39
- package/dist/AutomateAPI.js.map +1 -1
- package/dist/BaseAPI.d.ts +13 -0
- package/dist/BaseAPI.d.ts.map +1 -1
- package/dist/BaseAPI.js +64 -1
- package/dist/BaseAPI.js.map +1 -1
- package/dist/Manage/CompanyAPI.d.ts +90 -1
- package/dist/Manage/CompanyAPI.d.ts.map +1 -1
- package/dist/Manage/CompanyAPI.js +6 -1
- package/dist/Manage/CompanyAPI.js.map +1 -1
- package/dist/Manage/ConfigurationsAPI.d.ts +9 -1
- package/dist/Manage/ConfigurationsAPI.d.ts.map +1 -1
- package/dist/Manage/ConfigurationsAPI.js +6 -1
- package/dist/Manage/ConfigurationsAPI.js.map +1 -1
- package/dist/Manage/ExpenseAPI.d.ts +18 -1
- package/dist/Manage/ExpenseAPI.d.ts.map +1 -1
- package/dist/Manage/ExpenseAPI.js +6 -1
- package/dist/Manage/ExpenseAPI.js.map +1 -1
- package/dist/Manage/FinanceAPI.d.ts +79 -1
- package/dist/Manage/FinanceAPI.d.ts.map +1 -1
- package/dist/Manage/FinanceAPI.js +6 -1
- package/dist/Manage/FinanceAPI.js.map +1 -1
- package/dist/Manage/MarketingAPI.d.ts +23 -1
- package/dist/Manage/MarketingAPI.d.ts.map +1 -1
- package/dist/Manage/MarketingAPI.js +6 -1
- package/dist/Manage/MarketingAPI.js.map +1 -1
- package/dist/Manage/ProcurementAPI.d.ts +63 -1
- package/dist/Manage/ProcurementAPI.d.ts.map +1 -1
- package/dist/Manage/ProcurementAPI.js +6 -1
- package/dist/Manage/ProcurementAPI.js.map +1 -1
- package/dist/Manage/ProjectAPI.d.ts +37 -1
- package/dist/Manage/ProjectAPI.d.ts.map +1 -1
- package/dist/Manage/ProjectAPI.js +6 -1
- package/dist/Manage/ProjectAPI.js.map +1 -1
- package/dist/Manage/SalesAPI.d.ts +46 -1
- package/dist/Manage/SalesAPI.d.ts.map +1 -1
- package/dist/Manage/SalesAPI.js +6 -1
- package/dist/Manage/SalesAPI.js.map +1 -1
- package/dist/Manage/ScheduleAPI.d.ts +22 -1
- package/dist/Manage/ScheduleAPI.d.ts.map +1 -1
- package/dist/Manage/ScheduleAPI.js +6 -1
- package/dist/Manage/ScheduleAPI.js.map +1 -1
- package/dist/Manage/ServiceAPI.d.ts +75 -1
- package/dist/Manage/ServiceAPI.d.ts.map +1 -1
- package/dist/Manage/ServiceAPI.js +6 -1
- package/dist/Manage/ServiceAPI.js.map +1 -1
- package/dist/Manage/SystemAPI.d.ts +146 -1
- package/dist/Manage/SystemAPI.d.ts.map +1 -1
- package/dist/Manage/SystemAPI.js +6 -1
- package/dist/Manage/SystemAPI.js.map +1 -1
- package/dist/Manage/TimeAPI.d.ts +30 -1
- package/dist/Manage/TimeAPI.d.ts.map +1 -1
- package/dist/Manage/TimeAPI.js +6 -1
- package/dist/Manage/TimeAPI.js.map +1 -1
- package/dist/Manage.d.ts +5 -0
- package/dist/Manage.d.ts.map +1 -1
- package/dist/Manage.js +10 -0
- package/dist/Manage.js.map +1 -1
- package/dist/ManageAPI.d.ts +51 -15
- package/dist/ManageAPI.d.ts.map +1 -1
- package/dist/ManageAPI.js +27 -24
- package/dist/ManageAPI.js.map +1 -1
- package/dist/connectwise-rest.d.ts +108638 -0
- package/dist/index.d.ts +6 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -2
- package/dist/index.js.map +1 -1
- package/dist/tsdoc-metadata.json +11 -0
- package/dist/types.d.ts +4 -2
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/dist/utils/Callback.d.ts +3 -0
- package/dist/utils/Callback.d.ts.map +1 -1
- package/dist/utils/Callback.js.map +1 -1
- package/dist/utils/Series.d.ts +6 -0
- package/dist/utils/Series.d.ts.map +1 -1
- package/dist/utils/Series.js +6 -2
- package/dist/utils/Series.js.map +1 -1
- package/package.json +5 -2
- package/src/Automate/AVTemplatePoliciesAPI.ts +11 -1
- package/src/Automate/ClientsAPI.ts +12 -1
- package/src/Automate/CommandsAPI.ts +7 -1
- package/src/Automate/ComputersAPI.ts +39 -1
- package/src/Automate/ContactsAPI.ts +8 -1
- package/src/Automate/DataViewsAPI.ts +8 -1
- package/src/Automate/DrivesAPI.ts +8 -1
- package/src/Automate/EventLogsAPI.ts +7 -1
- package/src/Automate/LocationsAPI.ts +17 -1
- package/src/Automate/MaintenanceWindowDefinitionsAPI.ts +7 -1
- package/src/Automate/MonitorsAPI.ts +8 -1
- package/src/Automate/NetworkDevicesAPI.ts +8 -1
- package/src/Automate/PatchingAPI.ts +8 -1
- package/src/Automate/RemoteAgentAPI.ts +8 -1
- package/src/Automate/ScriptingAPI.ts +11 -1
- package/src/Automate/SearchesAPI.ts +8 -1
- package/src/Automate/SystemAPI.ts +29 -3
- package/src/Automate/TicketsAPI.ts +6 -1
- package/src/Automate/UserProfilesAPI.ts +7 -1
- package/src/Automate.ts +0 -12
- package/src/AutomateAPI.ts +77 -43
- package/src/AutomateTypes.ts +1 -1
- package/src/BaseAPI.ts +97 -0
- package/src/Manage/CompanyAPI.ts +91 -1
- package/src/Manage/ConfigurationsAPI.ts +10 -1
- package/src/Manage/ExpenseAPI.ts +19 -1
- package/src/Manage/FinanceAPI.ts +80 -1
- package/src/Manage/MarketingAPI.ts +24 -1
- package/src/Manage/ProcurementAPI.ts +64 -1
- package/src/Manage/ProjectAPI.ts +38 -1
- package/src/Manage/SalesAPI.ts +47 -1
- package/src/Manage/ScheduleAPI.ts +23 -1
- package/src/Manage/ServiceAPI.ts +76 -1
- package/src/Manage/SystemAPI.ts +147 -1
- package/src/Manage/TimeAPI.ts +31 -1
- package/src/Manage.ts +10 -1
- package/src/ManageAPI.ts +66 -29
- package/src/index.ts +6 -11
- package/src/types.ts +4 -2
- package/src/utils/Callback.ts +3 -0
- package/src/utils/Series.ts +6 -0
- package/swagger-errors.md +25 -30
- package/test/test.ts +34 -5
- package/.github/workflows/codeql-analysis.yml +0 -70
- package/.github/workflows/node.js.yml +0 -42
- package/.travis.yml +0 -11
- package/generator/automate-generator.js +0 -75
- package/generator/automate-json.js +0 -61
- package/generator/automate-types.js +0 -15
- package/generator/generator.d.ts +0 -67
- package/generator/generator.js +0 -255
- package/generator/manage-generator.js +0 -71
- package/generator/manage-types.js +0 -14
package/src/Manage/ProjectAPI.ts
CHANGED
|
@@ -5,43 +5,80 @@ import { CommonParameters, CWMOptions } from '../ManageAPI'
|
|
|
5
5
|
import { NoContentResponse, OctetStreamResponse, PDFResponse, HTMLResponse } from '../types'
|
|
6
6
|
type schemas = components['schemas']
|
|
7
7
|
|
|
8
|
+
/** {@link ActivityReference} */
|
|
8
9
|
export type ActivityReference = schemas['ActivityReference']
|
|
10
|
+
/** {@link ConfigurationReference} */
|
|
9
11
|
export type ConfigurationReference = schemas['ConfigurationReference']
|
|
12
|
+
/** {@link ConvertItem} */
|
|
10
13
|
export type ConvertItem = schemas['ConvertItem']
|
|
14
|
+
/** {@link Count} */
|
|
11
15
|
export type Count = schemas['Count']
|
|
16
|
+
/** {@link DocumentReference} */
|
|
12
17
|
export type DocumentReference = schemas['DocumentReference']
|
|
18
|
+
/** {@link FilterValues} */
|
|
13
19
|
export type FilterValues = schemas['FilterValues']
|
|
20
|
+
/** {@link PatchOperation} */
|
|
14
21
|
export type PatchOperation = schemas['PatchOperation']
|
|
22
|
+
/** {@link PhaseStatus} */
|
|
15
23
|
export type PhaseStatus = schemas['PhaseStatus']
|
|
24
|
+
/** {@link ProductReference} */
|
|
16
25
|
export type ProductReference = schemas['ProductReference']
|
|
26
|
+
/** {@link Project} */
|
|
17
27
|
export type Project = schemas['Project']
|
|
28
|
+
/** {@link ProjectBoardTeam} */
|
|
18
29
|
export type ProjectBoardTeam = schemas['ProjectBoardTeam']
|
|
30
|
+
/** {@link ProjectBoardTeamInfo} */
|
|
19
31
|
export type ProjectBoardTeamInfo = schemas['ProjectBoardTeamInfo']
|
|
32
|
+
/** {@link ProjectBoardTeamMember} */
|
|
20
33
|
export type ProjectBoardTeamMember = schemas['ProjectBoardTeamMember']
|
|
34
|
+
/** {@link ProjectContact} */
|
|
21
35
|
export type ProjectContact = schemas['ProjectContact']
|
|
36
|
+
/** {@link ProjectNote} */
|
|
22
37
|
export type ProjectNote = schemas['ProjectNote']
|
|
38
|
+
/** {@link ProjectPhase} */
|
|
23
39
|
export type ProjectPhase = schemas['ProjectPhase']
|
|
40
|
+
/** {@link ProjectSecurityRole} */
|
|
24
41
|
export type ProjectSecurityRole = schemas['ProjectSecurityRole']
|
|
42
|
+
/** {@link ProjectSecurityRoleSetting} */
|
|
25
43
|
export type ProjectSecurityRoleSetting = schemas['ProjectSecurityRoleSetting']
|
|
44
|
+
/** {@link ProjectStatus} */
|
|
26
45
|
export type ProjectStatus = schemas['ProjectStatus']
|
|
46
|
+
/** {@link ProjectStatusInfo} */
|
|
27
47
|
export type ProjectStatusInfo = schemas['ProjectStatusInfo']
|
|
48
|
+
/** {@link ProjectTeamMember} */
|
|
28
49
|
export type ProjectTeamMember = schemas['ProjectTeamMember']
|
|
50
|
+
/** {@link ProjectTicket} */
|
|
29
51
|
export type ProjectTicket = schemas['ProjectTicket']
|
|
52
|
+
/** {@link ProjectTicketNote} */
|
|
30
53
|
export type ProjectTicketNote = schemas['ProjectTicketNote']
|
|
54
|
+
/** {@link ProjectType} */
|
|
31
55
|
export type ProjectType = schemas['ProjectType']
|
|
56
|
+
/** {@link ProjectTypeInfo} */
|
|
32
57
|
export type ProjectTypeInfo = schemas['ProjectTypeInfo']
|
|
58
|
+
/** {@link ScheduleEntryReference} */
|
|
33
59
|
export type ScheduleEntryReference = schemas['ScheduleEntryReference']
|
|
60
|
+
/** {@link StatusIndicator} */
|
|
34
61
|
export type StatusIndicator = schemas['StatusIndicator']
|
|
62
|
+
/** {@link SuccessResponse} */
|
|
35
63
|
export type SuccessResponse = schemas['SuccessResponse']
|
|
64
|
+
/** {@link TicketNote} */
|
|
36
65
|
export type TicketNote = schemas['TicketNote']
|
|
66
|
+
/** {@link TicketTask} */
|
|
37
67
|
export type TicketTask = schemas['TicketTask']
|
|
68
|
+
/** {@link TimeEntryReference} */
|
|
38
69
|
export type TimeEntryReference = schemas['TimeEntryReference']
|
|
70
|
+
/** {@link Usage} */
|
|
39
71
|
export type Usage = schemas['Usage']
|
|
40
72
|
|
|
41
73
|
/**
|
|
74
|
+
* @module ProjectAPI
|
|
75
|
+
*/
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Project module
|
|
42
79
|
* @public
|
|
43
80
|
*/
|
|
44
|
-
export
|
|
81
|
+
export class ProjectAPI extends Manage {
|
|
45
82
|
constructor(props: CWMOptions) {
|
|
46
83
|
super(props)
|
|
47
84
|
}
|
package/src/Manage/SalesAPI.ts
CHANGED
|
@@ -5,52 +5,98 @@ import { CommonParameters, CWMOptions } from '../ManageAPI'
|
|
|
5
5
|
import { NoContentResponse, OctetStreamResponse, PDFResponse, HTMLResponse } from '../types'
|
|
6
6
|
type schemas = components['schemas']
|
|
7
7
|
|
|
8
|
+
/** {@link Activity} */
|
|
8
9
|
export type Activity = schemas['Activity']
|
|
10
|
+
/** {@link ActivityStatus} */
|
|
9
11
|
export type ActivityStatus = schemas['ActivityStatus']
|
|
12
|
+
/** {@link ActivityStatusInfo} */
|
|
10
13
|
export type ActivityStatusInfo = schemas['ActivityStatusInfo']
|
|
14
|
+
/** {@link ActivityType} */
|
|
11
15
|
export type ActivityType = schemas['ActivityType']
|
|
16
|
+
/** {@link Agreement} */
|
|
12
17
|
export type Agreement = schemas['Agreement']
|
|
18
|
+
/** {@link Commission} */
|
|
13
19
|
export type Commission = schemas['Commission']
|
|
20
|
+
/** {@link Count} */
|
|
14
21
|
export type Count = schemas['Count']
|
|
22
|
+
/** {@link Forecast} */
|
|
15
23
|
export type Forecast = schemas['Forecast']
|
|
24
|
+
/** {@link ForecastItem} */
|
|
16
25
|
export type ForecastItem = schemas['ForecastItem']
|
|
26
|
+
/** {@link Opportunity} */
|
|
17
27
|
export type Opportunity = schemas['Opportunity']
|
|
28
|
+
/** {@link OpportunityContact} */
|
|
18
29
|
export type OpportunityContact = schemas['OpportunityContact']
|
|
30
|
+
/** {@link OpportunityNote} */
|
|
19
31
|
export type OpportunityNote = schemas['OpportunityNote']
|
|
32
|
+
/** {@link OpportunityRating} */
|
|
20
33
|
export type OpportunityRating = schemas['OpportunityRating']
|
|
34
|
+
/** {@link OpportunityRatingInfo} */
|
|
21
35
|
export type OpportunityRatingInfo = schemas['OpportunityRatingInfo']
|
|
36
|
+
/** {@link OpportunityStage} */
|
|
22
37
|
export type OpportunityStage = schemas['OpportunityStage']
|
|
38
|
+
/** {@link OpportunityStageInfo} */
|
|
23
39
|
export type OpportunityStageInfo = schemas['OpportunityStageInfo']
|
|
40
|
+
/** {@link OpportunityStatus} */
|
|
24
41
|
export type OpportunityStatus = schemas['OpportunityStatus']
|
|
42
|
+
/** {@link OpportunityStatusInfo} */
|
|
25
43
|
export type OpportunityStatusInfo = schemas['OpportunityStatusInfo']
|
|
44
|
+
/** {@link OpportunityToAgreementConversion} */
|
|
26
45
|
export type OpportunityToAgreementConversion = schemas['OpportunityToAgreementConversion']
|
|
46
|
+
/** {@link OpportunityToProjectConversion} */
|
|
27
47
|
export type OpportunityToProjectConversion = schemas['OpportunityToProjectConversion']
|
|
48
|
+
/** {@link OpportunityToSalesOrderConversion} */
|
|
28
49
|
export type OpportunityToSalesOrderConversion = schemas['OpportunityToSalesOrderConversion']
|
|
50
|
+
/** {@link OpportunityToServiceTicketConversion} */
|
|
29
51
|
export type OpportunityToServiceTicketConversion = schemas['OpportunityToServiceTicketConversion']
|
|
52
|
+
/** {@link OpportunityType} */
|
|
30
53
|
export type OpportunityType = schemas['OpportunityType']
|
|
54
|
+
/** {@link OpportunityTypeInfo} */
|
|
31
55
|
export type OpportunityTypeInfo = schemas['OpportunityTypeInfo']
|
|
56
|
+
/** {@link Order} */
|
|
32
57
|
export type Order = schemas['Order']
|
|
58
|
+
/** {@link OrderStatus} */
|
|
33
59
|
export type OrderStatus = schemas['OrderStatus']
|
|
60
|
+
/** {@link OrderStatusEmailTemplate} */
|
|
34
61
|
export type OrderStatusEmailTemplate = schemas['OrderStatusEmailTemplate']
|
|
62
|
+
/** {@link OrderStatusInfo} */
|
|
35
63
|
export type OrderStatusInfo = schemas['OrderStatusInfo']
|
|
64
|
+
/** {@link OrderStatusNotification} */
|
|
36
65
|
export type OrderStatusNotification = schemas['OrderStatusNotification']
|
|
66
|
+
/** {@link PatchOperation} */
|
|
37
67
|
export type PatchOperation = schemas['PatchOperation']
|
|
68
|
+
/** {@link Project} */
|
|
38
69
|
export type Project = schemas['Project']
|
|
70
|
+
/** {@link Role} */
|
|
39
71
|
export type Role = schemas['Role']
|
|
72
|
+
/** {@link SalesProbability} */
|
|
40
73
|
export type SalesProbability = schemas['SalesProbability']
|
|
74
|
+
/** {@link SalesProbabilityInfo} */
|
|
41
75
|
export type SalesProbabilityInfo = schemas['SalesProbabilityInfo']
|
|
76
|
+
/** {@link SalesQuota} */
|
|
42
77
|
export type SalesQuota = schemas['SalesQuota']
|
|
78
|
+
/** {@link SalesTeam} */
|
|
43
79
|
export type SalesTeam = schemas['SalesTeam']
|
|
80
|
+
/** {@link SalesTeamMember} */
|
|
44
81
|
export type SalesTeamMember = schemas['SalesTeamMember']
|
|
82
|
+
/** {@link SuccessResponse} */
|
|
45
83
|
export type SuccessResponse = schemas['SuccessResponse']
|
|
84
|
+
/** {@link Team} */
|
|
46
85
|
export type Team = schemas['Team']
|
|
86
|
+
/** {@link Ticket} */
|
|
47
87
|
export type Ticket = schemas['Ticket']
|
|
88
|
+
/** {@link Usage} */
|
|
48
89
|
export type Usage = schemas['Usage']
|
|
49
90
|
|
|
50
91
|
/**
|
|
92
|
+
* @module SalesAPI
|
|
93
|
+
*/
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Sales module
|
|
51
97
|
* @public
|
|
52
98
|
*/
|
|
53
|
-
export
|
|
99
|
+
export class SalesAPI extends Manage {
|
|
54
100
|
constructor(props: CWMOptions) {
|
|
55
101
|
super(props)
|
|
56
102
|
}
|
|
@@ -5,28 +5,50 @@ import { CommonParameters, CWMOptions } from '../ManageAPI'
|
|
|
5
5
|
import { NoContentResponse, OctetStreamResponse, PDFResponse, HTMLResponse } from '../types'
|
|
6
6
|
type schemas = components['schemas']
|
|
7
7
|
|
|
8
|
+
/** {@link Calendar} */
|
|
8
9
|
export type Calendar = schemas['Calendar']
|
|
10
|
+
/** {@link CalendarInfo} */
|
|
9
11
|
export type CalendarInfo = schemas['CalendarInfo']
|
|
12
|
+
/** {@link Count} */
|
|
10
13
|
export type Count = schemas['Count']
|
|
14
|
+
/** {@link Holiday} */
|
|
11
15
|
export type Holiday = schemas['Holiday']
|
|
16
|
+
/** {@link HolidayList} */
|
|
12
17
|
export type HolidayList = schemas['HolidayList']
|
|
18
|
+
/** {@link HolidayListInfo} */
|
|
13
19
|
export type HolidayListInfo = schemas['HolidayListInfo']
|
|
20
|
+
/** {@link PatchOperation} */
|
|
14
21
|
export type PatchOperation = schemas['PatchOperation']
|
|
22
|
+
/** {@link PortalCalendar} */
|
|
15
23
|
export type PortalCalendar = schemas['PortalCalendar']
|
|
24
|
+
/** {@link ScheduleColor} */
|
|
16
25
|
export type ScheduleColor = schemas['ScheduleColor']
|
|
26
|
+
/** {@link ScheduleDetail} */
|
|
17
27
|
export type ScheduleDetail = schemas['ScheduleDetail']
|
|
28
|
+
/** {@link ScheduleEntry} */
|
|
18
29
|
export type ScheduleEntry = schemas['ScheduleEntry']
|
|
30
|
+
/** {@link ScheduleEntryDetail} */
|
|
19
31
|
export type ScheduleEntryDetail = schemas['ScheduleEntryDetail']
|
|
32
|
+
/** {@link ScheduleReminderTime} */
|
|
20
33
|
export type ScheduleReminderTime = schemas['ScheduleReminderTime']
|
|
34
|
+
/** {@link ScheduleStatus} */
|
|
21
35
|
export type ScheduleStatus = schemas['ScheduleStatus']
|
|
36
|
+
/** {@link ScheduleType} */
|
|
22
37
|
export type ScheduleType = schemas['ScheduleType']
|
|
38
|
+
/** {@link ScheduleTypeInfo} */
|
|
23
39
|
export type ScheduleTypeInfo = schemas['ScheduleTypeInfo']
|
|
40
|
+
/** {@link Usage} */
|
|
24
41
|
export type Usage = schemas['Usage']
|
|
25
42
|
|
|
26
43
|
/**
|
|
44
|
+
* @module ScheduleAPI
|
|
45
|
+
*/
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Schedule module
|
|
27
49
|
* @public
|
|
28
50
|
*/
|
|
29
|
-
export
|
|
51
|
+
export class ScheduleAPI extends Manage {
|
|
30
52
|
constructor(props: CWMOptions) {
|
|
31
53
|
super(props)
|
|
32
54
|
}
|
package/src/Manage/ServiceAPI.ts
CHANGED
|
@@ -5,81 +5,156 @@ import { CommonParameters, CWMOptions } from '../ManageAPI'
|
|
|
5
5
|
import { NoContentResponse, OctetStreamResponse, PDFResponse, HTMLResponse } from '../types'
|
|
6
6
|
type schemas = components['schemas']
|
|
7
7
|
|
|
8
|
+
/** {@link ActivityReference} */
|
|
8
9
|
export type ActivityReference = schemas['ActivityReference']
|
|
10
|
+
/** {@link Board} */
|
|
9
11
|
export type Board = schemas['Board']
|
|
12
|
+
/** {@link BoardAutoAssignResource} */
|
|
10
13
|
export type BoardAutoAssignResource = schemas['BoardAutoAssignResource']
|
|
14
|
+
/** {@link BoardAutoTemplate} */
|
|
11
15
|
export type BoardAutoTemplate = schemas['BoardAutoTemplate']
|
|
16
|
+
/** {@link BoardCopy} */
|
|
12
17
|
export type BoardCopy = schemas['BoardCopy']
|
|
18
|
+
/** {@link BoardExcludedMember} */
|
|
13
19
|
export type BoardExcludedMember = schemas['BoardExcludedMember']
|
|
20
|
+
/** {@link BoardInfo} */
|
|
14
21
|
export type BoardInfo = schemas['BoardInfo']
|
|
22
|
+
/** {@link BoardItem} */
|
|
15
23
|
export type BoardItem = schemas['BoardItem']
|
|
24
|
+
/** {@link BoardItemAssociation} */
|
|
16
25
|
export type BoardItemAssociation = schemas['BoardItemAssociation']
|
|
26
|
+
/** {@link BoardNotification} */
|
|
17
27
|
export type BoardNotification = schemas['BoardNotification']
|
|
28
|
+
/** {@link BoardStatus} */
|
|
18
29
|
export type BoardStatus = schemas['BoardStatus']
|
|
30
|
+
/** {@link BoardStatusInfo} */
|
|
19
31
|
export type BoardStatusInfo = schemas['BoardStatusInfo']
|
|
32
|
+
/** {@link BoardStatusNotification} */
|
|
20
33
|
export type BoardStatusNotification = schemas['BoardStatusNotification']
|
|
34
|
+
/** {@link BoardSubType} */
|
|
21
35
|
export type BoardSubType = schemas['BoardSubType']
|
|
36
|
+
/** {@link BoardSubTypeInfo} */
|
|
22
37
|
export type BoardSubTypeInfo = schemas['BoardSubTypeInfo']
|
|
38
|
+
/** {@link BoardTeam} */
|
|
23
39
|
export type BoardTeam = schemas['BoardTeam']
|
|
40
|
+
/** {@link BoardTeamInfo} */
|
|
24
41
|
export type BoardTeamInfo = schemas['BoardTeamInfo']
|
|
42
|
+
/** {@link BoardType} */
|
|
25
43
|
export type BoardType = schemas['BoardType']
|
|
44
|
+
/** {@link BoardTypeInfo} */
|
|
26
45
|
export type BoardTypeInfo = schemas['BoardTypeInfo']
|
|
46
|
+
/** {@link BoardTypeSubTypeItemAssociation} */
|
|
27
47
|
export type BoardTypeSubTypeItemAssociation = schemas['BoardTypeSubTypeItemAssociation']
|
|
48
|
+
/** {@link Code} */
|
|
28
49
|
export type Code = schemas['Code']
|
|
50
|
+
/** {@link ConfigurationReference} */
|
|
29
51
|
export type ConfigurationReference = schemas['ConfigurationReference']
|
|
52
|
+
/** {@link ConvertToProject} */
|
|
30
53
|
export type ConvertToProject = schemas['ConvertToProject']
|
|
54
|
+
/** {@link Count} */
|
|
31
55
|
export type Count = schemas['Count']
|
|
56
|
+
/** {@link DocumentReference} */
|
|
32
57
|
export type DocumentReference = schemas['DocumentReference']
|
|
58
|
+
/** {@link FilterValues} */
|
|
33
59
|
export type FilterValues = schemas['FilterValues']
|
|
60
|
+
/** {@link Impact} */
|
|
34
61
|
export type Impact = schemas['Impact']
|
|
62
|
+
/** {@link KnowledgeBaseArticle} */
|
|
35
63
|
export type KnowledgeBaseArticle = schemas['KnowledgeBaseArticle']
|
|
64
|
+
/** {@link KnowledgeBaseCategory} */
|
|
36
65
|
export type KnowledgeBaseCategory = schemas['KnowledgeBaseCategory']
|
|
66
|
+
/** {@link KnowledgeBaseSettings} */
|
|
37
67
|
export type KnowledgeBaseSettings = schemas['KnowledgeBaseSettings']
|
|
68
|
+
/** {@link KnowledgeBaseSubCategory} */
|
|
38
69
|
export type KnowledgeBaseSubCategory = schemas['KnowledgeBaseSubCategory']
|
|
70
|
+
/** {@link PatchOperation} */
|
|
39
71
|
export type PatchOperation = schemas['PatchOperation']
|
|
72
|
+
/** {@link Priority} */
|
|
40
73
|
export type Priority = schemas['Priority']
|
|
74
|
+
/** {@link PriorityInfo} */
|
|
41
75
|
export type PriorityInfo = schemas['PriorityInfo']
|
|
76
|
+
/** {@link ProductReference} */
|
|
42
77
|
export type ProductReference = schemas['ProductReference']
|
|
78
|
+
/** {@link SLA} */
|
|
43
79
|
export type SLA = schemas['SLA']
|
|
80
|
+
/** {@link SLAInfo} */
|
|
44
81
|
export type SLAInfo = schemas['SLAInfo']
|
|
82
|
+
/** {@link SLAPriority} */
|
|
45
83
|
export type SLAPriority = schemas['SLAPriority']
|
|
84
|
+
/** {@link ScheduleEntryReference} */
|
|
46
85
|
export type ScheduleEntryReference = schemas['ScheduleEntryReference']
|
|
86
|
+
/** {@link SchedulingMemberInfo} */
|
|
47
87
|
export type SchedulingMemberInfo = schemas['SchedulingMemberInfo']
|
|
88
|
+
/** {@link ServiceEmailTemplate} */
|
|
48
89
|
export type ServiceEmailTemplate = schemas['ServiceEmailTemplate']
|
|
90
|
+
/** {@link ServiceLocation} */
|
|
49
91
|
export type ServiceLocation = schemas['ServiceLocation']
|
|
92
|
+
/** {@link ServiceLocationInfo} */
|
|
50
93
|
export type ServiceLocationInfo = schemas['ServiceLocationInfo']
|
|
94
|
+
/** {@link ServiceNote} */
|
|
51
95
|
export type ServiceNote = schemas['ServiceNote']
|
|
96
|
+
/** {@link ServiceSignoff} */
|
|
52
97
|
export type ServiceSignoff = schemas['ServiceSignoff']
|
|
98
|
+
/** {@link ServiceSignoffInfo} */
|
|
53
99
|
export type ServiceSignoffInfo = schemas['ServiceSignoffInfo']
|
|
100
|
+
/** {@link ServiceSurvey} */
|
|
54
101
|
export type ServiceSurvey = schemas['ServiceSurvey']
|
|
102
|
+
/** {@link ServiceSurveyQuestion} */
|
|
55
103
|
export type ServiceSurveyQuestion = schemas['ServiceSurveyQuestion']
|
|
104
|
+
/** {@link ServiceTeam} */
|
|
56
105
|
export type ServiceTeam = schemas['ServiceTeam']
|
|
106
|
+
/** {@link ServiceTemplate} */
|
|
57
107
|
export type ServiceTemplate = schemas['ServiceTemplate']
|
|
108
|
+
/** {@link ServiceTemplateInfo} */
|
|
58
109
|
export type ServiceTemplateInfo = schemas['ServiceTemplateInfo']
|
|
110
|
+
/** {@link ServiceTicketLink} */
|
|
59
111
|
export type ServiceTicketLink = schemas['ServiceTicketLink']
|
|
112
|
+
/** {@link ServiceTicketLinkInfo} */
|
|
60
113
|
export type ServiceTicketLinkInfo = schemas['ServiceTicketLinkInfo']
|
|
114
|
+
/** {@link ServiceTicketNote} */
|
|
61
115
|
export type ServiceTicketNote = schemas['ServiceTicketNote']
|
|
116
|
+
/** {@link Severity} */
|
|
62
117
|
export type Severity = schemas['Severity']
|
|
118
|
+
/** {@link Source} */
|
|
63
119
|
export type Source = schemas['Source']
|
|
120
|
+
/** {@link SourceInfo} */
|
|
64
121
|
export type SourceInfo = schemas['SourceInfo']
|
|
122
|
+
/** {@link SuccessResponse} */
|
|
65
123
|
export type SuccessResponse = schemas['SuccessResponse']
|
|
124
|
+
/** {@link SurveyOption} */
|
|
66
125
|
export type SurveyOption = schemas['SurveyOption']
|
|
126
|
+
/** {@link SurveyResult} */
|
|
67
127
|
export type SurveyResult = schemas['SurveyResult']
|
|
128
|
+
/** {@link Task} */
|
|
68
129
|
export type Task = schemas['Task']
|
|
130
|
+
/** {@link TeamMember} */
|
|
69
131
|
export type TeamMember = schemas['TeamMember']
|
|
132
|
+
/** {@link TemplateGeneratedCountsModel} */
|
|
70
133
|
export type TemplateGeneratedCountsModel = schemas['TemplateGeneratedCountsModel']
|
|
134
|
+
/** {@link Ticket} */
|
|
71
135
|
export type Ticket = schemas['Ticket']
|
|
136
|
+
/** {@link TicketBundle} */
|
|
72
137
|
export type TicketBundle = schemas['TicketBundle']
|
|
138
|
+
/** {@link TicketInfo} */
|
|
73
139
|
export type TicketInfo = schemas['TicketInfo']
|
|
140
|
+
/** {@link TicketMerge} */
|
|
74
141
|
export type TicketMerge = schemas['TicketMerge']
|
|
142
|
+
/** {@link TicketSync} */
|
|
75
143
|
export type TicketSync = schemas['TicketSync']
|
|
144
|
+
/** {@link TimeEntryReference} */
|
|
76
145
|
export type TimeEntryReference = schemas['TimeEntryReference']
|
|
146
|
+
/** {@link Usage} */
|
|
77
147
|
export type Usage = schemas['Usage']
|
|
78
148
|
|
|
79
149
|
/**
|
|
150
|
+
* @module ServiceAPI
|
|
151
|
+
*/
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Service module
|
|
80
155
|
* @public
|
|
81
156
|
*/
|
|
82
|
-
export
|
|
157
|
+
export class ServiceAPI extends Manage {
|
|
83
158
|
constructor(props: CWMOptions) {
|
|
84
159
|
super(props)
|
|
85
160
|
}
|