servicem8 1.3.0 → 1.4.0

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 (23) hide show
  1. package/dist/cjs/api/resources/documentTemplates/client/Client.d.ts +2 -2
  2. package/dist/cjs/api/resources/documentTemplates/client/Client.js +2 -2
  3. package/dist/cjs/api/resources/emailTemplates/client/Client.d.ts +2 -2
  4. package/dist/cjs/api/resources/emailTemplates/client/Client.js +2 -2
  5. package/dist/cjs/api/resources/smsTemplates/client/Client.d.ts +2 -2
  6. package/dist/cjs/api/resources/smsTemplates/client/Client.js +2 -2
  7. package/dist/cjs/api/resources/staffMessages/client/Client.d.ts +4 -4
  8. package/dist/cjs/api/resources/staffMessages/client/Client.js +4 -4
  9. package/dist/cjs/api/resources/staffMessages/client/requests/UpdateStaffMessagesRequest.d.ts +2 -2
  10. package/dist/cjs/api/types/Vendor.d.ts +1 -0
  11. package/dist/cjs/api/types/VendorCreate.d.ts +1 -0
  12. package/dist/esm/api/resources/documentTemplates/client/Client.d.ts +2 -2
  13. package/dist/esm/api/resources/documentTemplates/client/Client.js +2 -2
  14. package/dist/esm/api/resources/emailTemplates/client/Client.d.ts +2 -2
  15. package/dist/esm/api/resources/emailTemplates/client/Client.js +2 -2
  16. package/dist/esm/api/resources/smsTemplates/client/Client.d.ts +2 -2
  17. package/dist/esm/api/resources/smsTemplates/client/Client.js +2 -2
  18. package/dist/esm/api/resources/staffMessages/client/Client.d.ts +4 -4
  19. package/dist/esm/api/resources/staffMessages/client/Client.js +4 -4
  20. package/dist/esm/api/resources/staffMessages/client/requests/UpdateStaffMessagesRequest.d.ts +2 -2
  21. package/dist/esm/api/types/Vendor.d.ts +1 -0
  22. package/dist/esm/api/types/VendorCreate.d.ts +1 -0
  23. package/package.json +2 -2
@@ -21,7 +21,7 @@ export declare class DocumentTemplatesClient {
21
21
  *
22
22
  *
23
23
  * #### OAuth Scope
24
- * This endpoint requires the following OAuth scope **manage_templates**.
24
+ * This endpoint requires the following OAuth scope **read_templates**.
25
25
  *
26
26
  *
27
27
  *
@@ -72,7 +72,7 @@ export declare class DocumentTemplatesClient {
72
72
  *
73
73
  *
74
74
  * #### OAuth Scope
75
- * This endpoint requires the following OAuth scope **manage_templates**.
75
+ * This endpoint requires the following OAuth scope **read_templates**.
76
76
  *
77
77
  *
78
78
  *
@@ -67,7 +67,7 @@ class DocumentTemplatesClient {
67
67
  *
68
68
  *
69
69
  * #### OAuth Scope
70
- * This endpoint requires the following OAuth scope **manage_templates**.
70
+ * This endpoint requires the following OAuth scope **read_templates**.
71
71
  *
72
72
  *
73
73
  *
@@ -215,7 +215,7 @@ class DocumentTemplatesClient {
215
215
  *
216
216
  *
217
217
  * #### OAuth Scope
218
- * This endpoint requires the following OAuth scope **manage_templates**.
218
+ * This endpoint requires the following OAuth scope **read_templates**.
219
219
  *
220
220
  *
221
221
  *
@@ -21,7 +21,7 @@ export declare class EmailTemplatesClient {
21
21
  *
22
22
  *
23
23
  * #### OAuth Scope
24
- * This endpoint requires the following OAuth scope **manage_templates**.
24
+ * This endpoint requires the following OAuth scope **read_templates**.
25
25
  *
26
26
  *
27
27
  *
@@ -74,7 +74,7 @@ export declare class EmailTemplatesClient {
74
74
  *
75
75
  *
76
76
  * #### OAuth Scope
77
- * This endpoint requires the following OAuth scope **manage_templates**.
77
+ * This endpoint requires the following OAuth scope **read_templates**.
78
78
  *
79
79
  *
80
80
  *
@@ -67,7 +67,7 @@ class EmailTemplatesClient {
67
67
  *
68
68
  *
69
69
  * #### OAuth Scope
70
- * This endpoint requires the following OAuth scope **manage_templates**.
70
+ * This endpoint requires the following OAuth scope **read_templates**.
71
71
  *
72
72
  *
73
73
  *
@@ -217,7 +217,7 @@ class EmailTemplatesClient {
217
217
  *
218
218
  *
219
219
  * #### OAuth Scope
220
- * This endpoint requires the following OAuth scope **manage_templates**.
220
+ * This endpoint requires the following OAuth scope **read_templates**.
221
221
  *
222
222
  *
223
223
  *
@@ -21,7 +21,7 @@ export declare class SmsTemplatesClient {
21
21
  *
22
22
  *
23
23
  * #### OAuth Scope
24
- * This endpoint requires the following OAuth scope **manage_templates**.
24
+ * This endpoint requires the following OAuth scope **read_templates**.
25
25
  *
26
26
  *
27
27
  *
@@ -74,7 +74,7 @@ export declare class SmsTemplatesClient {
74
74
  *
75
75
  *
76
76
  * #### OAuth Scope
77
- * This endpoint requires the following OAuth scope **manage_templates**.
77
+ * This endpoint requires the following OAuth scope **read_templates**.
78
78
  *
79
79
  *
80
80
  *
@@ -67,7 +67,7 @@ class SmsTemplatesClient {
67
67
  *
68
68
  *
69
69
  * #### OAuth Scope
70
- * This endpoint requires the following OAuth scope **manage_templates**.
70
+ * This endpoint requires the following OAuth scope **read_templates**.
71
71
  *
72
72
  *
73
73
  *
@@ -217,7 +217,7 @@ class SmsTemplatesClient {
217
217
  *
218
218
  *
219
219
  * #### OAuth Scope
220
- * This endpoint requires the following OAuth scope **manage_templates**.
220
+ * This endpoint requires the following OAuth scope **read_templates**.
221
221
  *
222
222
  *
223
223
  *
@@ -65,8 +65,8 @@ export declare class StaffMessagesClient {
65
65
  *
66
66
  * @example
67
67
  * await client.staffMessages.createStaffMessages({
68
- * from_staff_uuid: "123e4567-d397-7d94-8a1e-7767be09397b",
69
- * to_staff_uuid: "123e4567-d397-7d94-8a1e-cefb21e189cb"
68
+ * from_staff_uuid: "123e4567-ddd1-7d94-8a1e-1c89aba7201b",
69
+ * to_staff_uuid: "123e4567-ddd1-7d94-8a1f-239221cebd6b"
70
70
  * })
71
71
  */
72
72
  createStaffMessages(request: ServiceM8.StaffMessageCreate, requestOptions?: StaffMessagesClient.RequestOptions): core.HttpResponsePromise<ServiceM8.Result>;
@@ -118,8 +118,8 @@ export declare class StaffMessagesClient {
118
118
  * await client.staffMessages.updateStaffMessages({
119
119
  * uuid: "uuid",
120
120
  * body: {
121
- * from_staff_uuid: "123e4567-d397-7d94-8a1e-7767be09397b",
122
- * to_staff_uuid: "123e4567-d397-7d94-8a1e-cefb21e189cb"
121
+ * from_staff_uuid: "123e4567-ddd1-7d94-8a1e-1c89aba7201b",
122
+ * to_staff_uuid: "123e4567-ddd1-7d94-8a1f-239221cebd6b"
123
123
  * }
124
124
  * })
125
125
  */
@@ -162,8 +162,8 @@ class StaffMessagesClient {
162
162
  *
163
163
  * @example
164
164
  * await client.staffMessages.createStaffMessages({
165
- * from_staff_uuid: "123e4567-d397-7d94-8a1e-7767be09397b",
166
- * to_staff_uuid: "123e4567-d397-7d94-8a1e-cefb21e189cb"
165
+ * from_staff_uuid: "123e4567-ddd1-7d94-8a1e-1c89aba7201b",
166
+ * to_staff_uuid: "123e4567-ddd1-7d94-8a1f-239221cebd6b"
167
167
  * })
168
168
  */
169
169
  createStaffMessages(request, requestOptions) {
@@ -311,8 +311,8 @@ class StaffMessagesClient {
311
311
  * await client.staffMessages.updateStaffMessages({
312
312
  * uuid: "uuid",
313
313
  * body: {
314
- * from_staff_uuid: "123e4567-d397-7d94-8a1e-7767be09397b",
315
- * to_staff_uuid: "123e4567-d397-7d94-8a1e-cefb21e189cb"
314
+ * from_staff_uuid: "123e4567-ddd1-7d94-8a1e-1c89aba7201b",
315
+ * to_staff_uuid: "123e4567-ddd1-7d94-8a1f-239221cebd6b"
316
316
  * }
317
317
  * })
318
318
  */
@@ -4,8 +4,8 @@ import type * as ServiceM8 from "../../../../index.js";
4
4
  * {
5
5
  * uuid: "uuid",
6
6
  * body: {
7
- * from_staff_uuid: "123e4567-d397-7d94-8a1e-7767be09397b",
8
- * to_staff_uuid: "123e4567-d397-7d94-8a1e-cefb21e189cb"
7
+ * from_staff_uuid: "123e4567-ddd1-7d94-8a1e-1c89aba7201b",
8
+ * to_staff_uuid: "123e4567-ddd1-7d94-8a1f-239221cebd6b"
9
9
  * }
10
10
  * }
11
11
  */
@@ -59,4 +59,5 @@ export interface Vendor {
59
59
  abn_number?: string | undefined;
60
60
  /** Company Website address */
61
61
  website?: string | undefined;
62
+ displayed_amounts_are_tax_inclusive?: string | undefined;
62
63
  }
@@ -55,4 +55,5 @@ export interface VendorCreate {
55
55
  abn_number?: string | undefined;
56
56
  /** Company Website address */
57
57
  website?: string | undefined;
58
+ displayed_amounts_are_tax_inclusive?: string | undefined;
58
59
  }
@@ -21,7 +21,7 @@ export declare class DocumentTemplatesClient {
21
21
  *
22
22
  *
23
23
  * #### OAuth Scope
24
- * This endpoint requires the following OAuth scope **manage_templates**.
24
+ * This endpoint requires the following OAuth scope **read_templates**.
25
25
  *
26
26
  *
27
27
  *
@@ -72,7 +72,7 @@ export declare class DocumentTemplatesClient {
72
72
  *
73
73
  *
74
74
  * #### OAuth Scope
75
- * This endpoint requires the following OAuth scope **manage_templates**.
75
+ * This endpoint requires the following OAuth scope **read_templates**.
76
76
  *
77
77
  *
78
78
  *
@@ -31,7 +31,7 @@ export class DocumentTemplatesClient {
31
31
  *
32
32
  *
33
33
  * #### OAuth Scope
34
- * This endpoint requires the following OAuth scope **manage_templates**.
34
+ * This endpoint requires the following OAuth scope **read_templates**.
35
35
  *
36
36
  *
37
37
  *
@@ -179,7 +179,7 @@ export class DocumentTemplatesClient {
179
179
  *
180
180
  *
181
181
  * #### OAuth Scope
182
- * This endpoint requires the following OAuth scope **manage_templates**.
182
+ * This endpoint requires the following OAuth scope **read_templates**.
183
183
  *
184
184
  *
185
185
  *
@@ -21,7 +21,7 @@ export declare class EmailTemplatesClient {
21
21
  *
22
22
  *
23
23
  * #### OAuth Scope
24
- * This endpoint requires the following OAuth scope **manage_templates**.
24
+ * This endpoint requires the following OAuth scope **read_templates**.
25
25
  *
26
26
  *
27
27
  *
@@ -74,7 +74,7 @@ export declare class EmailTemplatesClient {
74
74
  *
75
75
  *
76
76
  * #### OAuth Scope
77
- * This endpoint requires the following OAuth scope **manage_templates**.
77
+ * This endpoint requires the following OAuth scope **read_templates**.
78
78
  *
79
79
  *
80
80
  *
@@ -31,7 +31,7 @@ export class EmailTemplatesClient {
31
31
  *
32
32
  *
33
33
  * #### OAuth Scope
34
- * This endpoint requires the following OAuth scope **manage_templates**.
34
+ * This endpoint requires the following OAuth scope **read_templates**.
35
35
  *
36
36
  *
37
37
  *
@@ -181,7 +181,7 @@ export class EmailTemplatesClient {
181
181
  *
182
182
  *
183
183
  * #### OAuth Scope
184
- * This endpoint requires the following OAuth scope **manage_templates**.
184
+ * This endpoint requires the following OAuth scope **read_templates**.
185
185
  *
186
186
  *
187
187
  *
@@ -21,7 +21,7 @@ export declare class SmsTemplatesClient {
21
21
  *
22
22
  *
23
23
  * #### OAuth Scope
24
- * This endpoint requires the following OAuth scope **manage_templates**.
24
+ * This endpoint requires the following OAuth scope **read_templates**.
25
25
  *
26
26
  *
27
27
  *
@@ -74,7 +74,7 @@ export declare class SmsTemplatesClient {
74
74
  *
75
75
  *
76
76
  * #### OAuth Scope
77
- * This endpoint requires the following OAuth scope **manage_templates**.
77
+ * This endpoint requires the following OAuth scope **read_templates**.
78
78
  *
79
79
  *
80
80
  *
@@ -31,7 +31,7 @@ export class SmsTemplatesClient {
31
31
  *
32
32
  *
33
33
  * #### OAuth Scope
34
- * This endpoint requires the following OAuth scope **manage_templates**.
34
+ * This endpoint requires the following OAuth scope **read_templates**.
35
35
  *
36
36
  *
37
37
  *
@@ -181,7 +181,7 @@ export class SmsTemplatesClient {
181
181
  *
182
182
  *
183
183
  * #### OAuth Scope
184
- * This endpoint requires the following OAuth scope **manage_templates**.
184
+ * This endpoint requires the following OAuth scope **read_templates**.
185
185
  *
186
186
  *
187
187
  *
@@ -65,8 +65,8 @@ export declare class StaffMessagesClient {
65
65
  *
66
66
  * @example
67
67
  * await client.staffMessages.createStaffMessages({
68
- * from_staff_uuid: "123e4567-d397-7d94-8a1e-7767be09397b",
69
- * to_staff_uuid: "123e4567-d397-7d94-8a1e-cefb21e189cb"
68
+ * from_staff_uuid: "123e4567-ddd1-7d94-8a1e-1c89aba7201b",
69
+ * to_staff_uuid: "123e4567-ddd1-7d94-8a1f-239221cebd6b"
70
70
  * })
71
71
  */
72
72
  createStaffMessages(request: ServiceM8.StaffMessageCreate, requestOptions?: StaffMessagesClient.RequestOptions): core.HttpResponsePromise<ServiceM8.Result>;
@@ -118,8 +118,8 @@ export declare class StaffMessagesClient {
118
118
  * await client.staffMessages.updateStaffMessages({
119
119
  * uuid: "uuid",
120
120
  * body: {
121
- * from_staff_uuid: "123e4567-d397-7d94-8a1e-7767be09397b",
122
- * to_staff_uuid: "123e4567-d397-7d94-8a1e-cefb21e189cb"
121
+ * from_staff_uuid: "123e4567-ddd1-7d94-8a1e-1c89aba7201b",
122
+ * to_staff_uuid: "123e4567-ddd1-7d94-8a1f-239221cebd6b"
123
123
  * }
124
124
  * })
125
125
  */
@@ -126,8 +126,8 @@ export class StaffMessagesClient {
126
126
  *
127
127
  * @example
128
128
  * await client.staffMessages.createStaffMessages({
129
- * from_staff_uuid: "123e4567-d397-7d94-8a1e-7767be09397b",
130
- * to_staff_uuid: "123e4567-d397-7d94-8a1e-cefb21e189cb"
129
+ * from_staff_uuid: "123e4567-ddd1-7d94-8a1e-1c89aba7201b",
130
+ * to_staff_uuid: "123e4567-ddd1-7d94-8a1f-239221cebd6b"
131
131
  * })
132
132
  */
133
133
  createStaffMessages(request, requestOptions) {
@@ -275,8 +275,8 @@ export class StaffMessagesClient {
275
275
  * await client.staffMessages.updateStaffMessages({
276
276
  * uuid: "uuid",
277
277
  * body: {
278
- * from_staff_uuid: "123e4567-d397-7d94-8a1e-7767be09397b",
279
- * to_staff_uuid: "123e4567-d397-7d94-8a1e-cefb21e189cb"
278
+ * from_staff_uuid: "123e4567-ddd1-7d94-8a1e-1c89aba7201b",
279
+ * to_staff_uuid: "123e4567-ddd1-7d94-8a1f-239221cebd6b"
280
280
  * }
281
281
  * })
282
282
  */
@@ -4,8 +4,8 @@ import type * as ServiceM8 from "../../../../index.js";
4
4
  * {
5
5
  * uuid: "uuid",
6
6
  * body: {
7
- * from_staff_uuid: "123e4567-d397-7d94-8a1e-7767be09397b",
8
- * to_staff_uuid: "123e4567-d397-7d94-8a1e-cefb21e189cb"
7
+ * from_staff_uuid: "123e4567-ddd1-7d94-8a1e-1c89aba7201b",
8
+ * to_staff_uuid: "123e4567-ddd1-7d94-8a1f-239221cebd6b"
9
9
  * }
10
10
  * }
11
11
  */
@@ -59,4 +59,5 @@ export interface Vendor {
59
59
  abn_number?: string | undefined;
60
60
  /** Company Website address */
61
61
  website?: string | undefined;
62
+ displayed_amounts_are_tax_inclusive?: string | undefined;
62
63
  }
@@ -55,4 +55,5 @@ export interface VendorCreate {
55
55
  abn_number?: string | undefined;
56
56
  /** Company Website address */
57
57
  website?: string | undefined;
58
+ displayed_amounts_are_tax_inclusive?: string | undefined;
58
59
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "servicem8",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "description": "TypeScript SDK for the ServiceM8 API",
5
5
  "author": "ServiceM8",
6
6
  "license": "MIT",
@@ -42,6 +42,6 @@
42
42
  "node": ">=18.0.0"
43
43
  },
44
44
  "servicem8Sdk": {
45
- "sourceHash": "d5108477b16a9f34cb7a398733cacc8c4e7614fa0cb23b2f81e9426f433fb9e8"
45
+ "sourceHash": "959114590de60a659758b7ff2231b2ddaff9fa16617004c6d5944ad6bfb8f19b"
46
46
  }
47
47
  }