@workbuddy/sdk-js-vnext 1.0.86 → 1.0.87
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/index.d.ts +8 -2
- package/index.js +6 -6
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -4097,6 +4097,8 @@ export interface WorkBuddyServicePlansLinesTasksPatchParams extends WorkBuddyReq
|
|
|
4097
4097
|
|
|
4098
4098
|
startsOn?: string;
|
|
4099
4099
|
|
|
4100
|
+
lastServiced?: string;
|
|
4101
|
+
|
|
4100
4102
|
schedule?: string;
|
|
4101
4103
|
|
|
4102
4104
|
exceptions?: {
|
|
@@ -7103,6 +7105,7 @@ export type WorkBuddyServicePlansLinesTasksListResponse = {
|
|
|
7103
7105
|
name: string;
|
|
7104
7106
|
description: string;
|
|
7105
7107
|
startsOn: string;
|
|
7108
|
+
lastServiced: string;
|
|
7106
7109
|
schedule: string;
|
|
7107
7110
|
exceptions: string;
|
|
7108
7111
|
mandatory: boolean;
|
|
@@ -7134,6 +7137,7 @@ export type WorkBuddyServicePlansLinesTasksCreateResponse = {
|
|
|
7134
7137
|
name: string;
|
|
7135
7138
|
description: string;
|
|
7136
7139
|
startsOn: string;
|
|
7140
|
+
lastServiced: string;
|
|
7137
7141
|
schedule: string;
|
|
7138
7142
|
exceptions: string;
|
|
7139
7143
|
mandatory: boolean;
|
|
@@ -7165,6 +7169,7 @@ export type WorkBuddyServicePlansLinesTasksGetResponse = {
|
|
|
7165
7169
|
name: string;
|
|
7166
7170
|
description: string;
|
|
7167
7171
|
startsOn: string;
|
|
7172
|
+
lastServiced: string;
|
|
7168
7173
|
schedule: string;
|
|
7169
7174
|
exceptions: string;
|
|
7170
7175
|
mandatory: boolean;
|
|
@@ -7191,6 +7196,7 @@ export type WorkBuddyServicePlansLinesTasksPatchResponse = {
|
|
|
7191
7196
|
name: string;
|
|
7192
7197
|
description: string;
|
|
7193
7198
|
startsOn: string;
|
|
7199
|
+
lastServiced: string;
|
|
7194
7200
|
schedule: string;
|
|
7195
7201
|
exceptions: string;
|
|
7196
7202
|
mandatory: boolean;
|
|
@@ -9485,7 +9491,7 @@ export interface WorkBuddyServicePlansResource {
|
|
|
9485
9491
|
|
|
9486
9492
|
export interface WorkBuddyServicePlansActivateResource {
|
|
9487
9493
|
/**
|
|
9488
|
-
* Validates and
|
|
9494
|
+
* Validates and starts a fully assembled Service Plan.
|
|
9489
9495
|
* Operation: PublicServicePlanController_activate
|
|
9490
9496
|
*/
|
|
9491
9497
|
activate<TResponse = WorkBuddyServicePlansActivateActivateResponse>(
|
|
@@ -9507,7 +9513,7 @@ export interface WorkBuddyServicePlansSuspendResource {
|
|
|
9507
9513
|
|
|
9508
9514
|
export interface WorkBuddyServicePlansArchiveResource {
|
|
9509
9515
|
/**
|
|
9510
|
-
* Archives a
|
|
9516
|
+
* Archives a paused Service Plan and reconciles future scheduled work.
|
|
9511
9517
|
* Operation: PublicServicePlanController_archive
|
|
9512
9518
|
*/
|
|
9513
9519
|
archive<TResponse = WorkBuddyServicePlansArchiveArchiveResponse>(
|
package/index.js
CHANGED
|
@@ -1288,7 +1288,7 @@ Requires scope: settings:read
|
|
|
1288
1288
|
this.servicePlans = {
|
|
1289
1289
|
activate: {
|
|
1290
1290
|
/**
|
|
1291
|
-
* Validates and
|
|
1291
|
+
* Validates and starts a fully assembled Service Plan.
|
|
1292
1292
|
* Operation: PublicServicePlanController_activate
|
|
1293
1293
|
*/
|
|
1294
1294
|
activate: (params = {}, options = {}) => this.request('PublicServicePlanController_activate', params, options),
|
|
@@ -1302,7 +1302,7 @@ Requires scope: settings:read
|
|
|
1302
1302
|
},
|
|
1303
1303
|
archive: {
|
|
1304
1304
|
/**
|
|
1305
|
-
* Archives a
|
|
1305
|
+
* Archives a paused Service Plan and reconciles future scheduled work.
|
|
1306
1306
|
* Operation: PublicServicePlanController_archive
|
|
1307
1307
|
*/
|
|
1308
1308
|
archive: (params = {}, options = {}) => this.request('PublicServicePlanController_archive', params, options),
|
|
@@ -3774,8 +3774,8 @@ export const operations = [
|
|
|
3774
3774
|
operationId: 'PublicServicePlanController_activate',
|
|
3775
3775
|
resourcePath: ['servicePlans', 'activate'],
|
|
3776
3776
|
actionName: 'activate',
|
|
3777
|
-
displayName: '
|
|
3778
|
-
description: 'Validates and
|
|
3777
|
+
displayName: 'Start a Service Plan',
|
|
3778
|
+
description: 'Validates and starts a fully assembled Service Plan.',
|
|
3779
3779
|
method: 'POST',
|
|
3780
3780
|
path: '/service-plans/{identifier}/activate',
|
|
3781
3781
|
pathParams: ['identifier'],
|
|
@@ -3786,7 +3786,7 @@ export const operations = [
|
|
|
3786
3786
|
operationId: 'PublicServicePlanController_suspend',
|
|
3787
3787
|
resourcePath: ['servicePlans', 'suspend'],
|
|
3788
3788
|
actionName: 'suspend',
|
|
3789
|
-
displayName: '
|
|
3789
|
+
displayName: 'Pause a Service Plan',
|
|
3790
3790
|
description: 'Stops future scheduled work while preserving history.',
|
|
3791
3791
|
method: 'POST',
|
|
3792
3792
|
path: '/service-plans/{identifier}/suspend',
|
|
@@ -3799,7 +3799,7 @@ export const operations = [
|
|
|
3799
3799
|
resourcePath: ['servicePlans', 'archive'],
|
|
3800
3800
|
actionName: 'archive',
|
|
3801
3801
|
displayName: 'Archive a Service Plan',
|
|
3802
|
-
description: 'Archives a
|
|
3802
|
+
description: 'Archives a paused Service Plan and reconciles future scheduled work.',
|
|
3803
3803
|
method: 'POST',
|
|
3804
3804
|
path: '/service-plans/{identifier}/archive',
|
|
3805
3805
|
pathParams: ['identifier'],
|