@singi-labs/sifa-sdk 0.12.66 → 0.12.67

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.cjs CHANGED
@@ -483,11 +483,15 @@ function isCompanyRequired(employmentType) {
483
483
  if (!employmentType) return true;
484
484
  return !COMPANY_OPTIONAL_EMPLOYMENT_TYPES.has(employmentType);
485
485
  }
486
- new Set(
486
+ var ON_BEHALF_OF_EMPLOYMENT_TYPES = new Set(
487
487
  EMPLOYMENT_TYPE_GROUPS.find((g) => g.label === "Governance & advisory")?.items.map(
488
488
  (i) => i.value
489
489
  ) ?? []
490
490
  );
491
+ function isOnBehalfOfApplicable(employmentType) {
492
+ if (!employmentType) return false;
493
+ return ON_BEHALF_OF_EMPLOYMENT_TYPES.has(employmentType);
494
+ }
491
495
 
492
496
  // src/taxonomy/industry-taxonomy.ts
493
497
  var INDUSTRY_OPTIONS = [
@@ -5672,7 +5676,7 @@ function describeSifaRecord(collection, value) {
5672
5676
  }
5673
5677
 
5674
5678
  // src/index.ts
5675
- var SIFA_SDK_VERSION = "0.12.66";
5679
+ var SIFA_SDK_VERSION = "0.12.67";
5676
5680
 
5677
5681
  exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
5678
5682
  exports.ACTIVITY_VERBS = ACTIVITY_VERBS;
@@ -5726,6 +5730,7 @@ exports.INVOLVEMENT_KIND_HEADINGS = INVOLVEMENT_KIND_HEADINGS;
5726
5730
  exports.INVOLVEMENT_KIND_LABELS = INVOLVEMENT_KIND_LABELS;
5727
5731
  exports.INVOLVEMENT_KIND_OPTIONS = INVOLVEMENT_KIND_OPTIONS;
5728
5732
  exports.MIN_SKILLS = MIN_SKILLS;
5733
+ exports.ON_BEHALF_OF_EMPLOYMENT_TYPES = ON_BEHALF_OF_EMPLOYMENT_TYPES;
5729
5734
  exports.OPEN_TO_OPTIONS = OPEN_TO_OPTIONS;
5730
5735
  exports.OPEN_TO_TOKENS = OPEN_TO_TOKENS;
5731
5736
  exports.OPEN_TO_TOKEN_TO_VALUE = OPEN_TO_TOKEN_TO_VALUE;
@@ -5850,6 +5855,7 @@ exports.isKnownAppId = isKnownAppId;
5850
5855
  exports.isKnownPlatform = isKnownPlatform;
5851
5856
  exports.isKnownVerificationProvider = isKnownVerificationProvider;
5852
5857
  exports.isLinked = isLinked;
5858
+ exports.isOnBehalfOfApplicable = isOnBehalfOfApplicable;
5853
5859
  exports.isPseudoEmployer = isPseudoEmployer;
5854
5860
  exports.isRegistrableDomainHandle = isRegistrableDomainHandle;
5855
5861
  exports.isSectionPopulated = isSectionPopulated;