@workbuddy/sdk-js-vnext 1.0.92 → 1.0.94

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 (2) hide show
  1. package/index.d.ts +5 -23
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -3870,14 +3870,6 @@ export interface WorkBuddyServicePlansCreateParams extends WorkBuddyRequestParam
3870
3870
  * Site ID — use /crm/sites to look up
3871
3871
  */
3872
3872
  siteId: string;
3873
- /**
3874
- * service type ID
3875
- */
3876
- serviceTypeId: string;
3877
- /**
3878
- * service scope ID
3879
- */
3880
- serviceScopeId: string;
3881
3873
 
3882
3874
  dateStart: string;
3883
3875
 
@@ -3953,7 +3945,7 @@ export interface WorkBuddyServicePlansLinesCreateParams extends WorkBuddyRequest
3953
3945
  /**
3954
3946
  * Work category ID — use /settings/work-types to look up
3955
3947
  */
3956
- workCategoryId: string;
3948
+ workCategoryId?: string;
3957
3949
  /**
3958
3950
  * service type ID
3959
3951
  */
@@ -6977,8 +6969,6 @@ export type WorkBuddyServicePlansCreateResponse = {
6977
6969
  name: string;
6978
6970
  customer: { id: string; name?: string };
6979
6971
  site: { id: string; name?: string };
6980
- serviceType: { id: string; name?: string };
6981
- serviceScope: { id: string; name?: string };
6982
6972
  dateStart: string;
6983
6973
  dateEnd: string;
6984
6974
  timezone: string;
@@ -6996,8 +6986,6 @@ export type WorkBuddyServicePlansGetResponse = {
6996
6986
  name: string;
6997
6987
  customer: { id: string; name?: string };
6998
6988
  site: { id: string; name?: string };
6999
- serviceType: { id: string; name?: string };
7000
- serviceScope: { id: string; name?: string };
7001
6989
  dateStart: string;
7002
6990
  dateEnd: string;
7003
6991
  timezone: string;
@@ -7015,8 +7003,6 @@ export type WorkBuddyServicePlansActivateActivateResponse = {
7015
7003
  name: string;
7016
7004
  customer: { id: string; name?: string };
7017
7005
  site: { id: string; name?: string };
7018
- serviceType: { id: string; name?: string };
7019
- serviceScope: { id: string; name?: string };
7020
7006
  dateStart: string;
7021
7007
  dateEnd: string;
7022
7008
  timezone: string;
@@ -7034,8 +7020,6 @@ export type WorkBuddyServicePlansSuspendSuspendResponse = {
7034
7020
  name: string;
7035
7021
  customer: { id: string; name?: string };
7036
7022
  site: { id: string; name?: string };
7037
- serviceType: { id: string; name?: string };
7038
- serviceScope: { id: string; name?: string };
7039
7023
  dateStart: string;
7040
7024
  dateEnd: string;
7041
7025
  timezone: string;
@@ -7053,8 +7037,6 @@ export type WorkBuddyServicePlansArchiveArchiveResponse = {
7053
7037
  name: string;
7054
7038
  customer: { id: string; name?: string };
7055
7039
  site: { id: string; name?: string };
7056
- serviceType: { id: string; name?: string };
7057
- serviceScope: { id: string; name?: string };
7058
7040
  dateStart: string;
7059
7041
  dateEnd: string;
7060
7042
  timezone: string;
@@ -7074,7 +7056,7 @@ export type WorkBuddyServicePlansLinesListResponse = {
7074
7056
  servicePlanId: string;
7075
7057
  name: string;
7076
7058
  description: string;
7077
- workCategory: { id: string; name?: string };
7059
+ workCategory: string;
7078
7060
  dateStart: string;
7079
7061
  dateEnd: string;
7080
7062
  defaultWindow: { start: string; end: string; overnight?: boolean };
@@ -7095,7 +7077,7 @@ export type WorkBuddyServicePlansLinesCreateResponse = {
7095
7077
  servicePlanId: string;
7096
7078
  name: string;
7097
7079
  description: string;
7098
- workCategory: { id: string; name?: string };
7080
+ workCategory: string;
7099
7081
  dateStart: string;
7100
7082
  dateEnd: string;
7101
7083
  defaultWindow: { start: string; end: string; overnight?: boolean };
@@ -7115,7 +7097,7 @@ export type WorkBuddyServicePlansLinesGetResponse = {
7115
7097
  servicePlanId: string;
7116
7098
  name: string;
7117
7099
  description: string;
7118
- workCategory: { id: string; name?: string };
7100
+ workCategory: string;
7119
7101
  dateStart: string;
7120
7102
  dateEnd: string;
7121
7103
  defaultWindow: { start: string; end: string; overnight?: boolean };
@@ -7135,7 +7117,7 @@ export type WorkBuddyServicePlansLinesPatchResponse = {
7135
7117
  servicePlanId: string;
7136
7118
  name: string;
7137
7119
  description: string;
7138
- workCategory: { id: string; name?: string };
7120
+ workCategory: string;
7139
7121
  dateStart: string;
7140
7122
  dateEnd: string;
7141
7123
  defaultWindow: { start: string; end: string; overnight?: boolean };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workbuddy/sdk-js-vnext",
3
- "version": "1.0.92",
3
+ "version": "1.0.94",
4
4
  "description": "WorkBuddy Public API JavaScript client",
5
5
  "license": "MIT",
6
6
  "type": "module",