@cavuno/board 1.35.0 → 1.35.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/dist/index.mjs CHANGED
@@ -265,7 +265,7 @@ async function clearSession(storage) {
265
265
  }
266
266
 
267
267
  // src/version.ts
268
- var SDK_VERSION = "1.35.0";
268
+ var SDK_VERSION = "1.35.1";
269
269
 
270
270
  // src/client.ts
271
271
  function isRawBody(body) {
@@ -926,13 +926,6 @@ function jobPostingNamespace(client) {
926
926
  query: { domain }
927
927
  });
928
928
  },
929
- /** Does this email already have billing credit on the board? */
930
- checkBilling(input, options) {
931
- return client.fetch(
932
- "/job-postings/check-billing",
933
- { ...options, method: "POST", body: input }
934
- );
935
- },
936
929
  /** Email a billing-verification token (then pass it to `getBillingOptions`). */
937
930
  sendBillingVerification(input, options) {
938
931
  return client.fetch(
@@ -946,13 +939,6 @@ function jobPostingNamespace(client) {
946
939
  "/job-postings/billing-options",
947
940
  { ...options, method: "POST", body: input }
948
941
  );
949
- },
950
- /** The featured/active entitlements a verified email's subscription grants. */
951
- checkSubscriptionEntitlements(input, options) {
952
- return client.fetch(
953
- "/job-postings/subscription-entitlements",
954
- { ...options, method: "POST", body: input }
955
- );
956
942
  }
957
943
  };
958
944
  }
@@ -2498,10 +2484,29 @@ function taxonomyResolver(client, kind) {
2498
2484
  }
2499
2485
  };
2500
2486
  }
2487
+ function taxonomyCollection(client, kind) {
2488
+ return {
2489
+ ...taxonomyResolver(client, kind),
2490
+ list(query, options) {
2491
+ return client.fetch(`/${kind}`, {
2492
+ ...options,
2493
+ query
2494
+ });
2495
+ }
2496
+ };
2497
+ }
2501
2498
  function taxonomyNamespace(client) {
2502
2499
  return {
2503
- categories: taxonomyResolver(client, "categories"),
2504
- skills: taxonomyResolver(client, "skills"),
2500
+ categories: taxonomyCollection(client, "categories"),
2501
+ skills: taxonomyCollection(client, "skills"),
2502
+ suggestions: {
2503
+ list(query, options) {
2504
+ return client.fetch("/suggestions", {
2505
+ ...options,
2506
+ query
2507
+ });
2508
+ }
2509
+ },
2505
2510
  places: {
2506
2511
  ...taxonomyResolver(client, "places"),
2507
2512
  /**