@allthings/sdk 4.5.0 → 4.8.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/README.md CHANGED
@@ -28,7 +28,7 @@ const client = allthings.restClient({
28
28
 
29
29
  client
30
30
  .getCurrentUser()
31
- .then(viewer => console.log(`Welcome back ${viewer.username}!`))
31
+ .then((viewer) => console.log(`Welcome back ${viewer.username}!`))
32
32
  ```
33
33
 
34
34
  <!--
@@ -83,7 +83,7 @@ const client = allthings.restClient({
83
83
 
84
84
  client
85
85
  .getCurrentUser()
86
- .then(viewer => console.log(`Welcome back ${viewer.username}!`))
86
+ .then((viewer) => console.log(`Welcome back ${viewer.username}!`))
87
87
  ```
88
88
 
89
89
  ## OAuth Authorization Code Grant Example
@@ -249,12 +249,17 @@ export interface IAllthingsRestClient {
249
249
  */
250
250
  readonly appCreate: MethodAppCreate
251
251
 
252
- // ID Lookup
252
+ // Booking
253
253
 
254
254
  /**
255
- * Map one or more externalId's to API ObjectId's within the scope of a specified App
255
+ * Get a booking by its ID
256
256
  */
257
- readonly lookupIds: MethodLookupIds
257
+ readonly bookingGetById: MethodBookingGetById
258
+
259
+ /**
260
+ * Update a booking by its ID
261
+ */
262
+ readonly bookingUpdateById: MethodBookingUpdateById
258
263
 
259
264
  // Group
260
265
 
@@ -273,6 +278,13 @@ export interface IAllthingsRestClient {
273
278
  */
274
279
  readonly groupUpdateById: MethodGroupUpdateById
275
280
 
281
+ // ID Lookup
282
+
283
+ /**
284
+ * Map one or more externalId's to API ObjectId's within the scope of a specified App
285
+ */
286
+ readonly lookupIds: MethodLookupIds
287
+
276
288
  // Notification
277
289
 
278
290
  /**
@@ -443,5 +455,15 @@ export interface IAllthingsRestClient {
443
455
 
444
456
  ## Release management & versioning
445
457
 
446
- The Allthings SDK makes use of [semantic-release](https://github.com/semantic-release/semantic-release) which automates the whole package release workflow including: determining the next version number, generating the release notes and publishing the package. This repository is configured to `squash-merge` ([see here](https://github.blog/2016-04-01-squash-your-commits/)).
447
- When you squash merge, GitHub takes the title of the PR for the squash-merge's commit subject. By choosing a proper PR title e.g. `feat: my new feature` your merged PR will trigger a new release. See semantic-releases [docs](https://github.com/semantic-release/semantic-release#how-does-it-work) for available prefixes.
458
+ !! DO NOT `npm version` !!
459
+
460
+ The Allthings SDK makes use of [semantic-release](https://github.com/semantic-release/semantic-release) which automates the whole package release workflow including:
461
+
462
+ - determining the next version number
463
+ - generating the release notes and publishing the package.
464
+
465
+ This repository is also configured to `squash-merge` ([see here](https://github.blog/2016-04-01-squash-your-commits/)).
466
+ When you squash merge, GitHub takes the title of the PR for the squash-merge's commit subject.
467
+
468
+ By choosing a proper PR title e.g. `feat: my new feature` your merged PR will trigger a new release.
469
+ See semantic-releases [docs](https://github.com/semantic-release/semantic-release#how-does-it-work) for available prefixes.