• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

box / box-node-sdk / 18874824868

28 Oct 2025 12:30PM UTC coverage: 5.219% (-0.2%) from 5.39%
18874824868

Pull #1149

github

web-flow
Merge c5f88e527 into 45de76d0d
Pull Request #1149: feat(boxsdkgen): Add GET enterprise configuration endpoint (box/box-openapi#559)

835 of 28525 branches covered (2.93%)

Branch coverage included in aggregate %.

0 of 891 new or added lines in 25 files covered. (0.0%)

1 existing line in 1 file now uncovered.

2535 of 36047 relevant lines covered (7.03%)

42.44 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/sdk-gen/schemas/v2025R0/collaborationRestrictionV2025R0.ts
NEW
1
import { BoxSdkError } from '../../box/errors';
×
2
import { SerializedData } from '../../serialization/json';
3
import { sdIsEmpty } from '../../serialization/json';
4
import { sdIsBoolean } from '../../serialization/json';
5
import { sdIsNumber } from '../../serialization/json';
NEW
6
import { sdIsString } from '../../serialization/json';
×
7
import { sdIsList } from '../../serialization/json';
8
import { sdIsMap } from '../../serialization/json';
9
export type CollaborationRestrictionV2025R0 = 'internal' | 'external' | string;
NEW
10
export function serializeCollaborationRestrictionV2025R0(
×
11
  val: CollaborationRestrictionV2025R0
12
): SerializedData {
NEW
13
  return val;
×
14
}
NEW
15
export function deserializeCollaborationRestrictionV2025R0(
×
16
  val: SerializedData
17
): CollaborationRestrictionV2025R0 {
NEW
18
  if (val == 'internal') {
×
NEW
19
    return val;
×
20
  }
NEW
21
  if (val == 'external') {
×
NEW
22
    return val;
×
23
  }
NEW
24
  if (sdIsString(val)) {
×
NEW
25
    return val;
×
26
  }
NEW
27
  throw new BoxSdkError({
×
28
    message: "Can't deserialize CollaborationRestrictionV2025R0",
29
  });
30
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc