@workbuddy/sdk-js-vnext 1.0.88 → 1.0.90

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 (3) hide show
  1. package/index.d.ts +1 -40
  2. package/index.js +2 -2
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -2977,19 +2977,6 @@ export interface WorkBuddyCrmCustomersUpdateParams extends WorkBuddyRequestParam
2977
2977
  */
2978
2978
  integrationId?: string;
2979
2979
 
2980
- address?: {
2981
- name?: string;
2982
- street1?: string;
2983
- street2?: string;
2984
- suburb?: string;
2985
- state?: string;
2986
- postalCode?: string;
2987
- country?: string;
2988
- lat?: number;
2989
- lgn?: number;
2990
- timezone?: string;
2991
- };
2992
-
2993
2980
  primaryContact?: { id: string; name?: string; type?: string };
2994
2981
 
2995
2982
  primarySite?: Record<string, unknown>;
@@ -3247,19 +3234,6 @@ export interface WorkBuddyCrmContractorsUpdateParams extends WorkBuddyRequestPar
3247
3234
  */
3248
3235
  integrationId?: string;
3249
3236
 
3250
- address?: {
3251
- name?: string;
3252
- street1?: string;
3253
- street2?: string;
3254
- suburb?: string;
3255
- state?: string;
3256
- postalCode?: string;
3257
- country?: string;
3258
- lat?: number;
3259
- lgn?: number;
3260
- timezone?: string;
3261
- };
3262
-
3263
3237
  primaryContact?: { id: string; name?: string; type?: string };
3264
3238
 
3265
3239
  primarySite?: Record<string, unknown>;
@@ -3511,19 +3485,6 @@ export interface WorkBuddyCrmSuppliersUpdateParams extends WorkBuddyRequestParam
3511
3485
  */
3512
3486
  integrationId?: string;
3513
3487
 
3514
- address?: {
3515
- name?: string;
3516
- street1?: string;
3517
- street2?: string;
3518
- suburb?: string;
3519
- state?: string;
3520
- postalCode?: string;
3521
- country?: string;
3522
- lat?: number;
3523
- lgn?: number;
3524
- timezone?: string;
3525
- };
3526
-
3527
3488
  primaryContact?: { id: string; name?: string; type?: string };
3528
3489
 
3529
3490
  primarySite?: Record<string, unknown>;
@@ -8449,7 +8410,7 @@ export interface WorkBuddySettingsPricebooksResource {
8449
8410
 
8450
8411
  export interface WorkBuddySettingsStageStatusesResource {
8451
8412
  /**
8452
- * Retrieve all stage statuses configured for the tenant (Settings > Stage Status).
8413
+ * Retrieve active stage statuses configured for the tenant (Settings > Stage Status). Soft-deleted statuses are omitted.
8453
8414
  Each item is a workflow state a stage (work order) can use (e.g. New, Dispatched, En Route, On Site, Completed, Finalised).
8454
8415
 
8455
8416
  Response fields include:
package/index.js CHANGED
@@ -643,7 +643,7 @@ export class WorkBuddyClient {
643
643
  },
644
644
  stageStatuses: {
645
645
  /**
646
- * Retrieve all stage statuses configured for the tenant (Settings > Stage Status).
646
+ * Retrieve active stage statuses configured for the tenant (Settings > Stage Status). Soft-deleted statuses are omitted.
647
647
  Each item is a workflow state a stage (work order) can use (e.g. New, Dispatched, En Route, On Site, Completed, Finalised).
648
648
 
649
649
  Response fields include:
@@ -2224,7 +2224,7 @@ export const operations = [
2224
2224
  actionName: 'list',
2225
2225
  displayName: 'List stage statuses',
2226
2226
  description:
2227
- 'Retrieve all stage statuses configured for the tenant (Settings > Stage Status).\nEach item is a workflow state a stage (work order) can use (e.g. New, Dispatched, En Route, On Site, Completed, Finalised).\n\nResponse fields include:\n- identity: id, name, systemName, systemStatus, sortOrder\n- description (nullable)\n- activityOptions: shareWithCustomer, shareWithField (always present; unset = false)\n- displayOptions: showInContractorPortal, showInFieldApp (always present)\n\nDisplay Options rules (match Settings UI):\n- Only systemStatus On Hold or In Progress support display options; other systemStatus values return both flags as false\n- showInFieldApp is not configurable for In Progress and is always false\n- When supported and not configured, visibility defaults to true (Settings UI default)\n\nRequires scope: settings:read',
2227
+ 'Retrieve active stage statuses configured for the tenant (Settings > Stage Status). Soft-deleted statuses are omitted.\nEach item is a workflow state a stage (work order) can use (e.g. New, Dispatched, En Route, On Site, Completed, Finalised).\n\nResponse fields include:\n- identity: id, name, systemName, systemStatus, sortOrder\n- description (nullable)\n- activityOptions: shareWithCustomer, shareWithField (always present; unset = false)\n- displayOptions: showInContractorPortal, showInFieldApp (always present)\n\nDisplay Options rules (match Settings UI):\n- Only systemStatus On Hold or In Progress support display options; other systemStatus values return both flags as false\n- showInFieldApp is not configurable for In Progress and is always false\n- When supported and not configured, visibility defaults to true (Settings UI default)\n\nRequires scope: settings:read',
2228
2228
  method: 'GET',
2229
2229
  path: '/settings/stage-statuses',
2230
2230
  pathParams: [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workbuddy/sdk-js-vnext",
3
- "version": "1.0.88",
3
+ "version": "1.0.90",
4
4
  "description": "WorkBuddy Public API JavaScript client",
5
5
  "license": "MIT",
6
6
  "type": "module",