box-node-sdk 4.0.0 → 4.1.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.
- package/README.md +7 -7
- package/lib/sdk-gen/box/errors.d.ts.map +1 -1
- package/lib/sdk-gen/box/errors.js +2 -0
- package/lib/sdk-gen/box/errors.js.map +1 -1
- package/lib/sdk-gen/client.d.ts +3 -1
- package/lib/sdk-gen/client.d.ts.map +1 -1
- package/lib/sdk-gen/client.js +5 -0
- package/lib/sdk-gen/client.js.map +1 -1
- package/lib/sdk-gen/managers/archives.d.ts +60 -1
- package/lib/sdk-gen/managers/archives.d.ts.map +1 -1
- package/lib/sdk-gen/managers/archives.js +120 -3
- package/lib/sdk-gen/managers/archives.js.map +1 -1
- package/lib/sdk-gen/managers/enterpriseConfigurations.d.ts +60 -0
- package/lib/sdk-gen/managers/enterpriseConfigurations.d.ts.map +1 -0
- package/lib/sdk-gen/managers/enterpriseConfigurations.js +95 -0
- package/lib/sdk-gen/managers/enterpriseConfigurations.js.map +1 -0
- package/lib/sdk-gen/managers/index.d.ts +1 -0
- package/lib/sdk-gen/managers/index.d.ts.map +1 -1
- package/lib/sdk-gen/managers/index.js +1 -0
- package/lib/sdk-gen/managers/index.js.map +1 -1
- package/lib/sdk-gen/managers/users.d.ts +5 -5
- package/lib/sdk-gen/managers/users.d.ts.map +1 -1
- package/lib/sdk-gen/managers/users.js +3 -3
- package/lib/sdk-gen/networking/retries.d.ts.map +1 -1
- package/lib/sdk-gen/networking/retries.js +3 -1
- package/lib/sdk-gen/networking/retries.js.map +1 -1
- package/lib/sdk-gen/networking/version.d.ts +1 -1
- package/lib/sdk-gen/networking/version.js +1 -1
- package/lib/sdk-gen/schemas/v2025R0/archiveV2025R0.d.ts +25 -2
- package/lib/sdk-gen/schemas/v2025R0/archiveV2025R0.d.ts.map +1 -1
- package/lib/sdk-gen/schemas/v2025R0/archiveV2025R0.js +72 -1
- package/lib/sdk-gen/schemas/v2025R0/archiveV2025R0.js.map +1 -1
- package/lib/sdk-gen/schemas/v2025R0/collaborationPermissionsV2025R0.d.ts +28 -0
- package/lib/sdk-gen/schemas/v2025R0/collaborationPermissionsV2025R0.d.ts.map +1 -0
- package/lib/sdk-gen/schemas/v2025R0/collaborationPermissionsV2025R0.js +94 -0
- package/lib/sdk-gen/schemas/v2025R0/collaborationPermissionsV2025R0.js.map +1 -0
- package/lib/sdk-gen/schemas/v2025R0/customSessionDurationGroupItemV2025R0.d.ts +13 -0
- package/lib/sdk-gen/schemas/v2025R0/customSessionDurationGroupItemV2025R0.d.ts.map +1 -0
- package/lib/sdk-gen/schemas/v2025R0/customSessionDurationGroupItemV2025R0.js +31 -0
- package/lib/sdk-gen/schemas/v2025R0/customSessionDurationGroupItemV2025R0.js.map +1 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseConfigurationContentAndSharingV2025R0.d.ts +96 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseConfigurationContentAndSharingV2025R0.d.ts.map +1 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseConfigurationContentAndSharingV2025R0.js +640 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseConfigurationContentAndSharingV2025R0.js.map +1 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseConfigurationItemBooleanV2025R0.d.ts +10 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseConfigurationItemBooleanV2025R0.d.ts.map +1 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseConfigurationItemBooleanV2025R0.js +41 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseConfigurationItemBooleanV2025R0.js.map +1 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseConfigurationItemIntegerV2025R0.d.ts +10 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseConfigurationItemIntegerV2025R0.d.ts.map +1 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseConfigurationItemIntegerV2025R0.js +42 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseConfigurationItemIntegerV2025R0.js.map +1 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseConfigurationItemStringV2025R0.d.ts +10 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseConfigurationItemStringV2025R0.d.ts.map +1 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseConfigurationItemStringV2025R0.js +42 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseConfigurationItemStringV2025R0.js.map +1 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseConfigurationItemV2025R0.d.ts +10 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseConfigurationItemV2025R0.d.ts.map +1 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseConfigurationItemV2025R0.js +25 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseConfigurationItemV2025R0.js.map +1 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseConfigurationSecurityV2025R0.d.ts +83 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseConfigurationSecurityV2025R0.d.ts.map +1 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseConfigurationSecurityV2025R0.js +472 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseConfigurationSecurityV2025R0.js.map +1 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseConfigurationShieldV2025R0.d.ts +11 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseConfigurationShieldV2025R0.d.ts.map +1 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseConfigurationShieldV2025R0.js +41 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseConfigurationShieldV2025R0.js.map +1 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseConfigurationUserSettingsV2025R0.d.ts +37 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseConfigurationUserSettingsV2025R0.d.ts.map +1 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseConfigurationUserSettingsV2025R0.js +224 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseConfigurationUserSettingsV2025R0.js.map +1 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseConfigurationV2025R0.d.ts +24 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseConfigurationV2025R0.d.ts.map +1 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseConfigurationV2025R0.js +101 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseConfigurationV2025R0.js.map +1 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseFeatureSettingV2025R0.d.ts +37 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseFeatureSettingV2025R0.d.ts.map +1 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseFeatureSettingV2025R0.js +119 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseFeatureSettingV2025R0.js.map +1 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseFeatureSettingsItemV2025R0.d.ts +9 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseFeatureSettingsItemV2025R0.d.ts.map +1 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseFeatureSettingsItemV2025R0.js +44 -0
- package/lib/sdk-gen/schemas/v2025R0/enterpriseFeatureSettingsItemV2025R0.js.map +1 -0
- package/lib/sdk-gen/schemas/v2025R0/externalCollabSecuritySettingsV2025R0.d.ts +32 -0
- package/lib/sdk-gen/schemas/v2025R0/externalCollabSecuritySettingsV2025R0.d.ts.map +1 -0
- package/lib/sdk-gen/schemas/v2025R0/externalCollabSecuritySettingsV2025R0.js +151 -0
- package/lib/sdk-gen/schemas/v2025R0/externalCollabSecuritySettingsV2025R0.js.map +1 -0
- package/lib/sdk-gen/schemas/v2025R0/hubItemReferenceV2025R0.js +2 -2
- package/lib/sdk-gen/schemas/v2025R0/hubItemReferenceV2025R0.js.map +1 -1
- package/lib/sdk-gen/schemas/v2025R0/index.d.ts +20 -0
- package/lib/sdk-gen/schemas/v2025R0/index.d.ts.map +1 -1
- package/lib/sdk-gen/schemas/v2025R0/index.js +20 -0
- package/lib/sdk-gen/schemas/v2025R0/index.js.map +1 -1
- package/lib/sdk-gen/schemas/v2025R0/keysafeSettingsV2025R0.d.ts +28 -0
- package/lib/sdk-gen/schemas/v2025R0/keysafeSettingsV2025R0.d.ts.map +1 -0
- package/lib/sdk-gen/schemas/v2025R0/keysafeSettingsV2025R0.js +78 -0
- package/lib/sdk-gen/schemas/v2025R0/keysafeSettingsV2025R0.js.map +1 -0
- package/lib/sdk-gen/schemas/v2025R0/listUserV2025R0.d.ts +16 -0
- package/lib/sdk-gen/schemas/v2025R0/listUserV2025R0.d.ts.map +1 -0
- package/lib/sdk-gen/schemas/v2025R0/listUserV2025R0.js +36 -0
- package/lib/sdk-gen/schemas/v2025R0/listUserV2025R0.js.map +1 -0
- package/lib/sdk-gen/schemas/v2025R0/sharedLinkPermissionsV2025R0.d.ts +19 -0
- package/lib/sdk-gen/schemas/v2025R0/sharedLinkPermissionsV2025R0.d.ts.map +1 -0
- package/lib/sdk-gen/schemas/v2025R0/sharedLinkPermissionsV2025R0.js +63 -0
- package/lib/sdk-gen/schemas/v2025R0/sharedLinkPermissionsV2025R0.js.map +1 -0
- package/lib/sdk-gen/schemas/v2025R0/shieldRuleItemV2025R0.d.ts +38 -0
- package/lib/sdk-gen/schemas/v2025R0/shieldRuleItemV2025R0.d.ts.map +1 -0
- package/lib/sdk-gen/schemas/v2025R0/shieldRuleItemV2025R0.js +130 -0
- package/lib/sdk-gen/schemas/v2025R0/shieldRuleItemV2025R0.js.map +1 -0
- package/lib/sdk-gen/schemas/v2025R0/userOrGroupReferenceV2025R0.d.ts +16 -0
- package/lib/sdk-gen/schemas/v2025R0/userOrGroupReferenceV2025R0.d.ts.map +1 -0
- package/lib/sdk-gen/schemas/v2025R0/userOrGroupReferenceV2025R0.js +49 -0
- package/lib/sdk-gen/schemas/v2025R0/userOrGroupReferenceV2025R0.js.map +1 -0
- package/lib/sdk-gen/schemas/v2025R0/userTrackingCodeV2025R0.d.ts +13 -0
- package/lib/sdk-gen/schemas/v2025R0/userTrackingCodeV2025R0.d.ts.map +1 -0
- package/lib/sdk-gen/schemas/v2025R0/userTrackingCodeV2025R0.js +32 -0
- package/lib/sdk-gen/schemas/v2025R0/userTrackingCodeV2025R0.js.map +1 -0
- package/lib/sdk-gen/schemas/v2025R0/weblinkReferenceV2025R0.d.ts +3 -3
- package/lib/sdk-gen/schemas/v2025R0/weblinkReferenceV2025R0.d.ts.map +1 -1
- package/lib/sdk-gen/schemas/v2025R0/weblinkReferenceV2025R0.js +3 -3
- package/lib/sdk-gen/schemas/v2025R0/weblinkReferenceV2025R0.js.map +1 -1
- package/lib-esm/bundle.js +1703 -9
- package/lib-esm/bundle.js.map +1 -1
- package/lib-esm/sdk-gen/box/errors.js +2 -0
- package/lib-esm/sdk-gen/box/errors.js.map +1 -1
- package/lib-esm/sdk-gen/client.d.ts +3 -1
- package/lib-esm/sdk-gen/client.js +6 -0
- package/lib-esm/sdk-gen/client.js.map +1 -1
- package/lib-esm/sdk-gen/managers/archives.d.ts +60 -1
- package/lib-esm/sdk-gen/managers/archives.js +124 -3
- package/lib-esm/sdk-gen/managers/archives.js.map +1 -1
- package/lib-esm/sdk-gen/managers/enterpriseConfigurations.d.ts +59 -0
- package/lib-esm/sdk-gen/managers/enterpriseConfigurations.js +91 -0
- package/lib-esm/sdk-gen/managers/enterpriseConfigurations.js.map +1 -0
- package/lib-esm/sdk-gen/managers/index.d.ts +1 -0
- package/lib-esm/sdk-gen/managers/index.js +1 -0
- package/lib-esm/sdk-gen/managers/index.js.map +1 -1
- package/lib-esm/sdk-gen/managers/users.d.ts +5 -5
- package/lib-esm/sdk-gen/managers/users.js +3 -3
- package/lib-esm/sdk-gen/networking/retries.js +3 -1
- package/lib-esm/sdk-gen/networking/retries.js.map +1 -1
- package/lib-esm/sdk-gen/networking/version.d.ts +1 -1
- package/lib-esm/sdk-gen/networking/version.js +1 -1
- package/lib-esm/sdk-gen/schemas/v2025R0/archiveV2025R0.d.ts +25 -2
- package/lib-esm/sdk-gen/schemas/v2025R0/archiveV2025R0.js +78 -1
- package/lib-esm/sdk-gen/schemas/v2025R0/archiveV2025R0.js.map +1 -1
- package/lib-esm/sdk-gen/schemas/v2025R0/collaborationPermissionsV2025R0.d.ts +27 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/collaborationPermissionsV2025R0.js +94 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/collaborationPermissionsV2025R0.js.map +1 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/customSessionDurationGroupItemV2025R0.d.ts +12 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/customSessionDurationGroupItemV2025R0.js +31 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/customSessionDurationGroupItemV2025R0.js.map +1 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/enterpriseConfigurationContentAndSharingV2025R0.d.ts +95 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/enterpriseConfigurationContentAndSharingV2025R0.js +655 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/enterpriseConfigurationContentAndSharingV2025R0.js.map +1 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/enterpriseConfigurationItemBooleanV2025R0.d.ts +9 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/enterpriseConfigurationItemBooleanV2025R0.js +41 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/enterpriseConfigurationItemBooleanV2025R0.js.map +1 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/enterpriseConfigurationItemIntegerV2025R0.d.ts +9 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/enterpriseConfigurationItemIntegerV2025R0.js +42 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/enterpriseConfigurationItemIntegerV2025R0.js.map +1 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/enterpriseConfigurationItemStringV2025R0.d.ts +9 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/enterpriseConfigurationItemStringV2025R0.js +42 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/enterpriseConfigurationItemStringV2025R0.js.map +1 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/enterpriseConfigurationItemV2025R0.d.ts +9 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/enterpriseConfigurationItemV2025R0.js +25 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/enterpriseConfigurationItemV2025R0.js.map +1 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/enterpriseConfigurationSecurityV2025R0.d.ts +82 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/enterpriseConfigurationSecurityV2025R0.js +487 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/enterpriseConfigurationSecurityV2025R0.js.map +1 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/enterpriseConfigurationShieldV2025R0.d.ts +10 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/enterpriseConfigurationShieldV2025R0.js +41 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/enterpriseConfigurationShieldV2025R0.js.map +1 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/enterpriseConfigurationUserSettingsV2025R0.d.ts +36 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/enterpriseConfigurationUserSettingsV2025R0.js +227 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/enterpriseConfigurationUserSettingsV2025R0.js.map +1 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/enterpriseConfigurationV2025R0.d.ts +23 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/enterpriseConfigurationV2025R0.js +101 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/enterpriseConfigurationV2025R0.js.map +1 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/enterpriseFeatureSettingV2025R0.d.ts +36 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/enterpriseFeatureSettingV2025R0.js +119 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/enterpriseFeatureSettingV2025R0.js.map +1 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/enterpriseFeatureSettingsItemV2025R0.d.ts +8 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/enterpriseFeatureSettingsItemV2025R0.js +47 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/enterpriseFeatureSettingsItemV2025R0.js.map +1 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/externalCollabSecuritySettingsV2025R0.d.ts +31 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/externalCollabSecuritySettingsV2025R0.js +151 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/externalCollabSecuritySettingsV2025R0.js.map +1 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/hubItemReferenceV2025R0.js +2 -2
- package/lib-esm/sdk-gen/schemas/v2025R0/hubItemReferenceV2025R0.js.map +1 -1
- package/lib-esm/sdk-gen/schemas/v2025R0/index.d.ts +20 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/index.js +20 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/index.js.map +1 -1
- package/lib-esm/sdk-gen/schemas/v2025R0/keysafeSettingsV2025R0.d.ts +27 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/keysafeSettingsV2025R0.js +78 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/keysafeSettingsV2025R0.js.map +1 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/listUserV2025R0.d.ts +15 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/listUserV2025R0.js +36 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/listUserV2025R0.js.map +1 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/sharedLinkPermissionsV2025R0.d.ts +18 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/sharedLinkPermissionsV2025R0.js +63 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/sharedLinkPermissionsV2025R0.js.map +1 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/shieldRuleItemV2025R0.d.ts +37 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/shieldRuleItemV2025R0.js +130 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/shieldRuleItemV2025R0.js.map +1 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/userOrGroupReferenceV2025R0.d.ts +15 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/userOrGroupReferenceV2025R0.js +49 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/userOrGroupReferenceV2025R0.js.map +1 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/userTrackingCodeV2025R0.d.ts +12 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/userTrackingCodeV2025R0.js +32 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/userTrackingCodeV2025R0.js.map +1 -0
- package/lib-esm/sdk-gen/schemas/v2025R0/weblinkReferenceV2025R0.d.ts +3 -3
- package/lib-esm/sdk-gen/schemas/v2025R0/weblinkReferenceV2025R0.js +3 -3
- package/lib-esm/sdk-gen/schemas/v2025R0/weblinkReferenceV2025R0.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { DateTime } from '../../internal/utils';
|
|
2
|
+
import { SerializedData } from '../../serialization/json';
|
|
3
|
+
export interface ExternalCollabSecuritySettingsV2025R0 {
|
|
4
|
+
/**
|
|
5
|
+
* List of domains that are not allowed for external collaboration. Applies if state is `denylist`. */
|
|
6
|
+
readonly denylistDomains?: readonly string[];
|
|
7
|
+
/**
|
|
8
|
+
* List of email addresses that are not allowed for external collaboration. Applies if state is `denylist`. */
|
|
9
|
+
readonly denylistEmails?: readonly string[];
|
|
10
|
+
/**
|
|
11
|
+
* List of domains that are allowed for external collaboration. Applies if state is `allowlist`. */
|
|
12
|
+
readonly allowlistDomains?: readonly string[];
|
|
13
|
+
/**
|
|
14
|
+
* List of email addresses that are allowed for external collaboration. Applies if state is `allowlist`. */
|
|
15
|
+
readonly allowlistEmails?: readonly string[];
|
|
16
|
+
/**
|
|
17
|
+
* The state of the external collaboration security settings. Possible values include `enabled`, `disabled`, `allowlist`, and `denylist`. */
|
|
18
|
+
readonly state?: string | null;
|
|
19
|
+
/**
|
|
20
|
+
* The status of the scheduling to apply external collaboration security settings. Possible values include `in_progress`, `scheduled`, `completed`, `failed`, and `scheduled_immediate`. */
|
|
21
|
+
readonly scheduledStatus?: string | null;
|
|
22
|
+
/**
|
|
23
|
+
* Scheduled at. */
|
|
24
|
+
readonly scheduledAt?: DateTime | null;
|
|
25
|
+
/**
|
|
26
|
+
* Factor type for the external collaborators authentication. Possible values include `totp`, `any`, or `unknown`. */
|
|
27
|
+
readonly factorTypeSettings?: string | null;
|
|
28
|
+
readonly rawData?: SerializedData;
|
|
29
|
+
}
|
|
30
|
+
export declare function serializeExternalCollabSecuritySettingsV2025R0(val: ExternalCollabSecuritySettingsV2025R0): SerializedData;
|
|
31
|
+
export declare function deserializeExternalCollabSecuritySettingsV2025R0(val: SerializedData): ExternalCollabSecuritySettingsV2025R0;
|
|
32
|
+
//# sourceMappingURL=externalCollabSecuritySettingsV2025R0.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"externalCollabSecuritySettingsV2025R0.d.ts","sourceRoot":"","sources":["../../../../src/sdk-gen/schemas/v2025R0/externalCollabSecuritySettingsV2025R0.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAO1D,MAAM,WAAW,qCAAqC;IACpD;0GACsG;IACtG,QAAQ,CAAC,eAAe,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC7C;kHAC8G;IAC9G,QAAQ,CAAC,cAAc,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC5C;uGACmG;IACnG,QAAQ,CAAC,gBAAgB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC9C;+GAC2G;IAC3G,QAAQ,CAAC,eAAe,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC7C;gJAC4I;IAC5I,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;+LAC2L;IAC3L,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzC;uBACmB;IACnB,QAAQ,CAAC,WAAW,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;IACvC;yHACqH;IACrH,QAAQ,CAAC,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5C,QAAQ,CAAC,OAAO,CAAC,EAAE,cAAc,CAAC;CACnC;AACD,wBAAgB,8CAA8C,CAC5D,GAAG,EAAE,qCAAqC,GACzC,cAAc,CAkChB;AACD,wBAAgB,gDAAgD,CAC9D,GAAG,EAAE,cAAc,GAClB,qCAAqC,CAkIvC"}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.serializeExternalCollabSecuritySettingsV2025R0 = serializeExternalCollabSecuritySettingsV2025R0;
|
|
4
|
+
exports.deserializeExternalCollabSecuritySettingsV2025R0 = deserializeExternalCollabSecuritySettingsV2025R0;
|
|
5
|
+
const utils_1 = require("../../internal/utils");
|
|
6
|
+
const utils_2 = require("../../internal/utils");
|
|
7
|
+
const errors_1 = require("../../box/errors");
|
|
8
|
+
const json_1 = require("../../serialization/json");
|
|
9
|
+
const json_2 = require("../../serialization/json");
|
|
10
|
+
const json_3 = require("../../serialization/json");
|
|
11
|
+
function serializeExternalCollabSecuritySettingsV2025R0(val) {
|
|
12
|
+
return {
|
|
13
|
+
['denylist_domains']: val.denylistDomains == void 0
|
|
14
|
+
? val.denylistDomains
|
|
15
|
+
: val.denylistDomains.map(function (item) {
|
|
16
|
+
return item;
|
|
17
|
+
}),
|
|
18
|
+
['denylist_emails']: val.denylistEmails == void 0
|
|
19
|
+
? val.denylistEmails
|
|
20
|
+
: val.denylistEmails.map(function (item) {
|
|
21
|
+
return item;
|
|
22
|
+
}),
|
|
23
|
+
['allowlist_domains']: val.allowlistDomains == void 0
|
|
24
|
+
? val.allowlistDomains
|
|
25
|
+
: val.allowlistDomains.map(function (item) {
|
|
26
|
+
return item;
|
|
27
|
+
}),
|
|
28
|
+
['allowlist_emails']: val.allowlistEmails == void 0
|
|
29
|
+
? val.allowlistEmails
|
|
30
|
+
: val.allowlistEmails.map(function (item) {
|
|
31
|
+
return item;
|
|
32
|
+
}),
|
|
33
|
+
['state']: val.state,
|
|
34
|
+
['scheduled_status']: val.scheduledStatus,
|
|
35
|
+
['scheduled_at']: val.scheduledAt == void 0
|
|
36
|
+
? val.scheduledAt
|
|
37
|
+
: (0, utils_1.serializeDateTime)(val.scheduledAt),
|
|
38
|
+
['factor_type_settings']: val.factorTypeSettings,
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function deserializeExternalCollabSecuritySettingsV2025R0(val) {
|
|
42
|
+
if (!(0, json_3.sdIsMap)(val)) {
|
|
43
|
+
throw new errors_1.BoxSdkError({
|
|
44
|
+
message: 'Expecting a map for "ExternalCollabSecuritySettingsV2025R0"',
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
if (!(val.denylist_domains == void 0) && !(0, json_2.sdIsList)(val.denylist_domains)) {
|
|
48
|
+
throw new errors_1.BoxSdkError({
|
|
49
|
+
message: 'Expecting array for "denylist_domains" of type "ExternalCollabSecuritySettingsV2025R0"',
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
const denylistDomains = val.denylist_domains == void 0
|
|
53
|
+
? void 0
|
|
54
|
+
: (0, json_2.sdIsList)(val.denylist_domains)
|
|
55
|
+
? val.denylist_domains.map(function (itm) {
|
|
56
|
+
if (!(0, json_1.sdIsString)(itm)) {
|
|
57
|
+
throw new errors_1.BoxSdkError({
|
|
58
|
+
message: 'Expecting string for "ExternalCollabSecuritySettingsV2025R0"',
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
return itm;
|
|
62
|
+
})
|
|
63
|
+
: [];
|
|
64
|
+
if (!(val.denylist_emails == void 0) && !(0, json_2.sdIsList)(val.denylist_emails)) {
|
|
65
|
+
throw new errors_1.BoxSdkError({
|
|
66
|
+
message: 'Expecting array for "denylist_emails" of type "ExternalCollabSecuritySettingsV2025R0"',
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
const denylistEmails = val.denylist_emails == void 0
|
|
70
|
+
? void 0
|
|
71
|
+
: (0, json_2.sdIsList)(val.denylist_emails)
|
|
72
|
+
? val.denylist_emails.map(function (itm) {
|
|
73
|
+
if (!(0, json_1.sdIsString)(itm)) {
|
|
74
|
+
throw new errors_1.BoxSdkError({
|
|
75
|
+
message: 'Expecting string for "ExternalCollabSecuritySettingsV2025R0"',
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
return itm;
|
|
79
|
+
})
|
|
80
|
+
: [];
|
|
81
|
+
if (!(val.allowlist_domains == void 0) && !(0, json_2.sdIsList)(val.allowlist_domains)) {
|
|
82
|
+
throw new errors_1.BoxSdkError({
|
|
83
|
+
message: 'Expecting array for "allowlist_domains" of type "ExternalCollabSecuritySettingsV2025R0"',
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
const allowlistDomains = val.allowlist_domains == void 0
|
|
87
|
+
? void 0
|
|
88
|
+
: (0, json_2.sdIsList)(val.allowlist_domains)
|
|
89
|
+
? val.allowlist_domains.map(function (itm) {
|
|
90
|
+
if (!(0, json_1.sdIsString)(itm)) {
|
|
91
|
+
throw new errors_1.BoxSdkError({
|
|
92
|
+
message: 'Expecting string for "ExternalCollabSecuritySettingsV2025R0"',
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
return itm;
|
|
96
|
+
})
|
|
97
|
+
: [];
|
|
98
|
+
if (!(val.allowlist_emails == void 0) && !(0, json_2.sdIsList)(val.allowlist_emails)) {
|
|
99
|
+
throw new errors_1.BoxSdkError({
|
|
100
|
+
message: 'Expecting array for "allowlist_emails" of type "ExternalCollabSecuritySettingsV2025R0"',
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
const allowlistEmails = val.allowlist_emails == void 0
|
|
104
|
+
? void 0
|
|
105
|
+
: (0, json_2.sdIsList)(val.allowlist_emails)
|
|
106
|
+
? val.allowlist_emails.map(function (itm) {
|
|
107
|
+
if (!(0, json_1.sdIsString)(itm)) {
|
|
108
|
+
throw new errors_1.BoxSdkError({
|
|
109
|
+
message: 'Expecting string for "ExternalCollabSecuritySettingsV2025R0"',
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
return itm;
|
|
113
|
+
})
|
|
114
|
+
: [];
|
|
115
|
+
if (!(val.state == void 0) && !(0, json_1.sdIsString)(val.state)) {
|
|
116
|
+
throw new errors_1.BoxSdkError({
|
|
117
|
+
message: 'Expecting string for "state" of type "ExternalCollabSecuritySettingsV2025R0"',
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
const state = val.state == void 0 ? void 0 : val.state;
|
|
121
|
+
if (!(val.scheduled_status == void 0) && !(0, json_1.sdIsString)(val.scheduled_status)) {
|
|
122
|
+
throw new errors_1.BoxSdkError({
|
|
123
|
+
message: 'Expecting string for "scheduled_status" of type "ExternalCollabSecuritySettingsV2025R0"',
|
|
124
|
+
});
|
|
125
|
+
}
|
|
126
|
+
const scheduledStatus = val.scheduled_status == void 0 ? void 0 : val.scheduled_status;
|
|
127
|
+
if (!(val.scheduled_at == void 0) && !(0, json_1.sdIsString)(val.scheduled_at)) {
|
|
128
|
+
throw new errors_1.BoxSdkError({
|
|
129
|
+
message: 'Expecting string for "scheduled_at" of type "ExternalCollabSecuritySettingsV2025R0"',
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
const scheduledAt = val.scheduled_at == void 0 ? void 0 : (0, utils_2.deserializeDateTime)(val.scheduled_at);
|
|
133
|
+
if (!(val.factor_type_settings == void 0) &&
|
|
134
|
+
!(0, json_1.sdIsString)(val.factor_type_settings)) {
|
|
135
|
+
throw new errors_1.BoxSdkError({
|
|
136
|
+
message: 'Expecting string for "factor_type_settings" of type "ExternalCollabSecuritySettingsV2025R0"',
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
const factorTypeSettings = val.factor_type_settings == void 0 ? void 0 : val.factor_type_settings;
|
|
140
|
+
return {
|
|
141
|
+
denylistDomains: denylistDomains,
|
|
142
|
+
denylistEmails: denylistEmails,
|
|
143
|
+
allowlistDomains: allowlistDomains,
|
|
144
|
+
allowlistEmails: allowlistEmails,
|
|
145
|
+
state: state,
|
|
146
|
+
scheduledStatus: scheduledStatus,
|
|
147
|
+
scheduledAt: scheduledAt,
|
|
148
|
+
factorTypeSettings: factorTypeSettings,
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
//# sourceMappingURL=externalCollabSecuritySettingsV2025R0.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"externalCollabSecuritySettingsV2025R0.js","sourceRoot":"","sources":["../../../../src/sdk-gen/schemas/v2025R0/externalCollabSecuritySettingsV2025R0.ts"],"names":[],"mappings":";;AAsCA,wGAoCC;AACD,4GAoIC;AA/MD,gDAAyD;AACzD,gDAA2D;AAC3D,6CAA+C;AAM/C,mDAAsD;AACtD,mDAAoD;AACpD,mDAAmD;AA4BnD,SAAgB,8CAA8C,CAC5D,GAA0C;IAE1C,OAAO;QACL,CAAC,kBAAkB,CAAC,EAClB,GAAG,CAAC,eAAe,IAAI,KAAK,CAAC;YAC3B,CAAC,CAAC,GAAG,CAAC,eAAe;YACrB,CAAC,CAAE,GAAG,CAAC,eAAe,CAAC,GAAG,CAAC,UAAU,IAAY;gBAC7C,OAAO,IAAI,CAAC;YACd,CAAC,CAAoB;QAC3B,CAAC,iBAAiB,CAAC,EACjB,GAAG,CAAC,cAAc,IAAI,KAAK,CAAC;YAC1B,CAAC,CAAC,GAAG,CAAC,cAAc;YACpB,CAAC,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AA,iBAAU,EAAC,GAAG,CAAC,oBAAoB,CAAC,EACrC,CAAC;QACD,MAAM,IAAI,oBAAW,CAAC;YACpB,OAAO,EACL,6FAA6F;SAChG,CAAC,CAAC;IACL,CAAC;IACD,MAAM,kBAAkB,GACtB,GAAG,CAAC,oBAAoB,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,oBAAoB,CAAC;IACzE,OAAO;QACL,eAAe,EAAE,eAAe;QAChC,cAAc,EAAE,cAAc;QAC9B,gBAAgB,EAAE,gBAAgB;QAClC,eAAe,EAAE,eAAe;QAChC,KAAK,EAAE,KAAK;QACZ,eAAe,EAAE,eAAe;QAChC,WAAW,EAAE,WAAW;QACxB,kBAAkB,EAAE,kBAAkB;KACS,CAAC;AACpD,CAAC"}
|
|
@@ -17,7 +17,7 @@ function serializeHubItemReferenceV2025R0(val) {
|
|
|
17
17
|
if (val.type == 'folder') {
|
|
18
18
|
return (0, folderReferenceV2025R0_1.serializeFolderReferenceV2025R0)(val);
|
|
19
19
|
}
|
|
20
|
-
if (val.type == '
|
|
20
|
+
if (val.type == 'web_link') {
|
|
21
21
|
return (0, weblinkReferenceV2025R0_1.serializeWeblinkReferenceV2025R0)(val);
|
|
22
22
|
}
|
|
23
23
|
throw new errors_1.BoxSdkError({ message: 'unknown type' });
|
|
@@ -34,7 +34,7 @@ function deserializeHubItemReferenceV2025R0(val) {
|
|
|
34
34
|
if (val.type == 'folder') {
|
|
35
35
|
return (0, folderReferenceV2025R0_2.deserializeFolderReferenceV2025R0)(val);
|
|
36
36
|
}
|
|
37
|
-
if (val.type == '
|
|
37
|
+
if (val.type == 'web_link') {
|
|
38
38
|
return (0, weblinkReferenceV2025R0_2.deserializeWeblinkReferenceV2025R0)(val);
|
|
39
39
|
}
|
|
40
40
|
throw new errors_1.BoxSdkError({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hubItemReferenceV2025R0.js","sourceRoot":"","sources":["../../../../src/sdk-gen/schemas/v2025R0/hubItemReferenceV2025R0.ts"],"names":[],"mappings":";;AAqBA,4EAWC;AACD,gFAoBC;AArDD,iEAAuE;AACvE,iEAAyE;AACzE,qEAA2E;AAC3E,qEAA6E;AAC7E,uEAA6E;AAC7E,uEAA+E;AAI/E,6CAA+C;AAO/C,mDAAmD;AAKnD,SAAgB,gCAAgC,CAAC,GAAQ;IACvD,IAAI,GAAG,CAAC,IAAI,IAAI,MAAM,EAAE,CAAC;QACvB,OAAO,IAAA,oDAA6B,EAAC,GAAG,CAAC,CAAC;IAC5C,CAAC;IACD,IAAI,GAAG,CAAC,IAAI,IAAI,QAAQ,EAAE,CAAC;QACzB,OAAO,IAAA,wDAA+B,EAAC,GAAG,CAAC,CAAC;IAC9C,CAAC;IACD,IAAI,GAAG,CAAC,IAAI,IAAI,
|
|
1
|
+
{"version":3,"file":"hubItemReferenceV2025R0.js","sourceRoot":"","sources":["../../../../src/sdk-gen/schemas/v2025R0/hubItemReferenceV2025R0.ts"],"names":[],"mappings":";;AAqBA,4EAWC;AACD,gFAoBC;AArDD,iEAAuE;AACvE,iEAAyE;AACzE,qEAA2E;AAC3E,qEAA6E;AAC7E,uEAA6E;AAC7E,uEAA+E;AAI/E,6CAA+C;AAO/C,mDAAmD;AAKnD,SAAgB,gCAAgC,CAAC,GAAQ;IACvD,IAAI,GAAG,CAAC,IAAI,IAAI,MAAM,EAAE,CAAC;QACvB,OAAO,IAAA,oDAA6B,EAAC,GAAG,CAAC,CAAC;IAC5C,CAAC;IACD,IAAI,GAAG,CAAC,IAAI,IAAI,QAAQ,EAAE,CAAC;QACzB,OAAO,IAAA,wDAA+B,EAAC,GAAG,CAAC,CAAC;IAC9C,CAAC;IACD,IAAI,GAAG,CAAC,IAAI,IAAI,UAAU,EAAE,CAAC;QAC3B,OAAO,IAAA,0DAAgC,EAAC,GAAG,CAAC,CAAC;IAC/C,CAAC;IACD,MAAM,IAAI,oBAAW,CAAC,EAAE,OAAO,EAAE,cAAc,EAAE,CAAC,CAAC;AACrD,CAAC;AACD,SAAgB,kCAAkC,CAChD,GAAmB;IAEnB,IAAI,CAAC,IAAA,cAAO,EAAC,GAAG,CAAC,EAAE,CAAC;QAClB,MAAM,IAAI,oBAAW,CAAC;YACpB,OAAO,EAAE,+CAA+C;SACzD,CAAC,CAAC;IACL,CAAC;IACD,IAAI,GAAG,CAAC,IAAI,IAAI,MAAM,EAAE,CAAC;QACvB,OAAO,IAAA,sDAA+B,EAAC,GAAG,CAAC,CAAC;IAC9C,CAAC;IACD,IAAI,GAAG,CAAC,IAAI,IAAI,QAAQ,EAAE,CAAC;QACzB,OAAO,IAAA,0DAAiC,EAAC,GAAG,CAAC,CAAC;IAChD,CAAC;IACD,IAAI,GAAG,CAAC,IAAI,IAAI,UAAU,EAAE,CAAC;QAC3B,OAAO,IAAA,4DAAkC,EAAC,GAAG,CAAC,CAAC;IACjD,CAAC;IACD,MAAM,IAAI,oBAAW,CAAC;QACpB,OAAO,EAAE,2CAA2C;KACrD,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1,13 +1,20 @@
|
|
|
1
1
|
export * from './archiveV2025R0';
|
|
2
2
|
export * from './archivesV2025R0';
|
|
3
3
|
export * from './clientErrorV2025R0';
|
|
4
|
+
export * from './collaborationPermissionsV2025R0';
|
|
5
|
+
export * from './customSessionDurationGroupItemV2025R0';
|
|
4
6
|
export * from './docGenBatchBaseV2025R0';
|
|
5
7
|
export * from './docGenDocumentGenerationDataV2025R0';
|
|
6
8
|
export * from './docGenJobBaseV2025R0';
|
|
7
9
|
export * from './docGenTagV2025R0';
|
|
8
10
|
export * from './docGenTagsV2025R0';
|
|
9
11
|
export * from './docGenTagsProcessingMessageV2025R0';
|
|
12
|
+
export * from './enterpriseConfigurationItemV2025R0';
|
|
13
|
+
export * from './enterpriseConfigurationItemStringV2025R0';
|
|
14
|
+
export * from './enterpriseConfigurationItemIntegerV2025R0';
|
|
15
|
+
export * from './enterpriseConfigurationItemBooleanV2025R0';
|
|
10
16
|
export * from './enterpriseReferenceV2025R0';
|
|
17
|
+
export * from './externalCollabSecuritySettingsV2025R0';
|
|
11
18
|
export * from './externalUserDeletionResultV2025R0';
|
|
12
19
|
export * from './externalUsersSubmitDeleteJobResponseV2025R0';
|
|
13
20
|
export * from './fileReferenceV2025R0';
|
|
@@ -30,6 +37,10 @@ export * from './hubCreateRequestV2025R0';
|
|
|
30
37
|
export * from './hubItemV2025R0';
|
|
31
38
|
export * from './hubItemsV2025R0';
|
|
32
39
|
export * from './hubUpdateRequestV2025R0';
|
|
40
|
+
export * from './keysafeSettingsV2025R0';
|
|
41
|
+
export * from './enterpriseConfigurationSecurityV2025R0';
|
|
42
|
+
export * from './listUserV2025R0';
|
|
43
|
+
export * from './sharedLinkPermissionsV2025R0';
|
|
33
44
|
export * from './shieldListMiniV2025R0';
|
|
34
45
|
export * from './shieldListsV2025R0';
|
|
35
46
|
export * from './shieldListContentCountryV2025R0';
|
|
@@ -42,6 +53,8 @@ export * from './shieldListsUpdateV2025R0';
|
|
|
42
53
|
export * from './shieldListsCreateV2025R0';
|
|
43
54
|
export * from './shieldListContentV2025R0';
|
|
44
55
|
export * from './shieldListV2025R0';
|
|
56
|
+
export * from './shieldRuleItemV2025R0';
|
|
57
|
+
export * from './enterpriseConfigurationShieldV2025R0';
|
|
45
58
|
export * from './termsOfServiceBaseV2025R0';
|
|
46
59
|
export * from './userBaseV2025R0';
|
|
47
60
|
export * from './userMiniV2025R0';
|
|
@@ -53,8 +66,15 @@ export * from './hubCollaborationV2025R0';
|
|
|
53
66
|
export * from './hubCollaborationsV2025R0';
|
|
54
67
|
export * from './docGenJobFullV2025R0';
|
|
55
68
|
export * from './docGenJobsFullV2025R0';
|
|
69
|
+
export * from './userOrGroupReferenceV2025R0';
|
|
70
|
+
export * from './enterpriseFeatureSettingV2025R0';
|
|
71
|
+
export * from './enterpriseFeatureSettingsItemV2025R0';
|
|
72
|
+
export * from './enterpriseConfigurationContentAndSharingV2025R0';
|
|
56
73
|
export * from './userReferenceV2025R0';
|
|
57
74
|
export * from './externalUsersSubmitDeleteJobRequestV2025R0';
|
|
75
|
+
export * from './userTrackingCodeV2025R0';
|
|
76
|
+
export * from './enterpriseConfigurationUserSettingsV2025R0';
|
|
77
|
+
export * from './enterpriseConfigurationV2025R0';
|
|
58
78
|
export * from './weblinkReferenceV2025R0';
|
|
59
79
|
export * from './hubItemReferenceV2025R0';
|
|
60
80
|
export * from './hubItemOperationResultV2025R0';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk-gen/schemas/v2025R0/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uCAAuC,CAAC;AACtD,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sCAAsC,CAAC;AACrD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qCAAqC,CAAC;AACpD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,wBAAwB,CAAC;AACvC,cAAc,sCAAsC,CAAC;AACrD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mCAAmC,CAAC;AAClD,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC;AACvD,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC;AACjC,cAAc,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B,CAAC;AACxC,cAAc,wCAAwC,CAAC;AACvD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mCAAmC,CAAC;AAClD,cAAc,wCAAwC,CAAC;AACvD,cAAc,mDAAmD,CAAC;AAClE,cAAc,wBAAwB,CAAC;AACvC,cAAc,8CAA8C,CAAC;AAC7D,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8CAA8C,CAAC;AAC7D,cAAc,kCAAkC,CAAC;AACjD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gCAAgC,CAAC"}
|
|
@@ -17,13 +17,20 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./archiveV2025R0"), exports);
|
|
18
18
|
__exportStar(require("./archivesV2025R0"), exports);
|
|
19
19
|
__exportStar(require("./clientErrorV2025R0"), exports);
|
|
20
|
+
__exportStar(require("./collaborationPermissionsV2025R0"), exports);
|
|
21
|
+
__exportStar(require("./customSessionDurationGroupItemV2025R0"), exports);
|
|
20
22
|
__exportStar(require("./docGenBatchBaseV2025R0"), exports);
|
|
21
23
|
__exportStar(require("./docGenDocumentGenerationDataV2025R0"), exports);
|
|
22
24
|
__exportStar(require("./docGenJobBaseV2025R0"), exports);
|
|
23
25
|
__exportStar(require("./docGenTagV2025R0"), exports);
|
|
24
26
|
__exportStar(require("./docGenTagsV2025R0"), exports);
|
|
25
27
|
__exportStar(require("./docGenTagsProcessingMessageV2025R0"), exports);
|
|
28
|
+
__exportStar(require("./enterpriseConfigurationItemV2025R0"), exports);
|
|
29
|
+
__exportStar(require("./enterpriseConfigurationItemStringV2025R0"), exports);
|
|
30
|
+
__exportStar(require("./enterpriseConfigurationItemIntegerV2025R0"), exports);
|
|
31
|
+
__exportStar(require("./enterpriseConfigurationItemBooleanV2025R0"), exports);
|
|
26
32
|
__exportStar(require("./enterpriseReferenceV2025R0"), exports);
|
|
33
|
+
__exportStar(require("./externalCollabSecuritySettingsV2025R0"), exports);
|
|
27
34
|
__exportStar(require("./externalUserDeletionResultV2025R0"), exports);
|
|
28
35
|
__exportStar(require("./externalUsersSubmitDeleteJobResponseV2025R0"), exports);
|
|
29
36
|
__exportStar(require("./fileReferenceV2025R0"), exports);
|
|
@@ -46,6 +53,10 @@ __exportStar(require("./hubCreateRequestV2025R0"), exports);
|
|
|
46
53
|
__exportStar(require("./hubItemV2025R0"), exports);
|
|
47
54
|
__exportStar(require("./hubItemsV2025R0"), exports);
|
|
48
55
|
__exportStar(require("./hubUpdateRequestV2025R0"), exports);
|
|
56
|
+
__exportStar(require("./keysafeSettingsV2025R0"), exports);
|
|
57
|
+
__exportStar(require("./enterpriseConfigurationSecurityV2025R0"), exports);
|
|
58
|
+
__exportStar(require("./listUserV2025R0"), exports);
|
|
59
|
+
__exportStar(require("./sharedLinkPermissionsV2025R0"), exports);
|
|
49
60
|
__exportStar(require("./shieldListMiniV2025R0"), exports);
|
|
50
61
|
__exportStar(require("./shieldListsV2025R0"), exports);
|
|
51
62
|
__exportStar(require("./shieldListContentCountryV2025R0"), exports);
|
|
@@ -58,6 +69,8 @@ __exportStar(require("./shieldListsUpdateV2025R0"), exports);
|
|
|
58
69
|
__exportStar(require("./shieldListsCreateV2025R0"), exports);
|
|
59
70
|
__exportStar(require("./shieldListContentV2025R0"), exports);
|
|
60
71
|
__exportStar(require("./shieldListV2025R0"), exports);
|
|
72
|
+
__exportStar(require("./shieldRuleItemV2025R0"), exports);
|
|
73
|
+
__exportStar(require("./enterpriseConfigurationShieldV2025R0"), exports);
|
|
61
74
|
__exportStar(require("./termsOfServiceBaseV2025R0"), exports);
|
|
62
75
|
__exportStar(require("./userBaseV2025R0"), exports);
|
|
63
76
|
__exportStar(require("./userMiniV2025R0"), exports);
|
|
@@ -69,8 +82,15 @@ __exportStar(require("./hubCollaborationV2025R0"), exports);
|
|
|
69
82
|
__exportStar(require("./hubCollaborationsV2025R0"), exports);
|
|
70
83
|
__exportStar(require("./docGenJobFullV2025R0"), exports);
|
|
71
84
|
__exportStar(require("./docGenJobsFullV2025R0"), exports);
|
|
85
|
+
__exportStar(require("./userOrGroupReferenceV2025R0"), exports);
|
|
86
|
+
__exportStar(require("./enterpriseFeatureSettingV2025R0"), exports);
|
|
87
|
+
__exportStar(require("./enterpriseFeatureSettingsItemV2025R0"), exports);
|
|
88
|
+
__exportStar(require("./enterpriseConfigurationContentAndSharingV2025R0"), exports);
|
|
72
89
|
__exportStar(require("./userReferenceV2025R0"), exports);
|
|
73
90
|
__exportStar(require("./externalUsersSubmitDeleteJobRequestV2025R0"), exports);
|
|
91
|
+
__exportStar(require("./userTrackingCodeV2025R0"), exports);
|
|
92
|
+
__exportStar(require("./enterpriseConfigurationUserSettingsV2025R0"), exports);
|
|
93
|
+
__exportStar(require("./enterpriseConfigurationV2025R0"), exports);
|
|
74
94
|
__exportStar(require("./weblinkReferenceV2025R0"), exports);
|
|
75
95
|
__exportStar(require("./hubItemReferenceV2025R0"), exports);
|
|
76
96
|
__exportStar(require("./hubItemOperationResultV2025R0"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/sdk-gen/schemas/v2025R0/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,oDAAkC;AAClC,uDAAqC;AACrC,2DAAyC;AACzC,wEAAsD;AACtD,yDAAuC;AACvC,qDAAmC;AACnC,sDAAoC;AACpC,uEAAqD;AACrD,+DAA6C;AAC7C,sEAAoD;AACpD,gFAA8D;AAC9D,yDAAuC;AACvC,uEAAqD;AACrD,8DAA4C;AAC5C,0DAAwC;AACxC,2DAAyC;AACzC,2DAAyC;AACzC,qDAAmC;AACnC,sDAAoC;AACpC,oEAAkD;AAClD,2DAAyC;AACzC,qDAAmC;AACnC,qDAAmC;AACnC,mDAAiC;AACjC,yEAAuD;AACvD,yEAAuD;AACvD,0DAAwC;AACxC,4DAA0C;AAC1C,mDAAiC;AACjC,oDAAkC;AAClC,4DAA0C;AAC1C,0DAAwC;AACxC,uDAAqC;AACrC,oEAAkD;AAClD,mEAAiD;AACjD,kEAAgD;AAChD,wEAAsD;AACtD,+DAA6C;AAC7C,oEAAkD;AAClD,6DAA2C;AAC3C,6DAA2C;AAC3C,6DAA2C;AAC3C,sDAAoC;AACpC,8DAA4C;AAC5C,oDAAkC;AAClC,oDAAkC;AAClC,+CAA6B;AAC7B,gDAA8B;AAC9B,gEAA8C;AAC9C,4DAA0C;AAC1C,4DAA0C;AAC1C,6DAA2C;AAC3C,yDAAuC;AACvC,0DAAwC;AACxC,yDAAuC;AACvC,+EAA6D;AAC7D,4DAA0C;AAC1C,4DAA0C;AAC1C,kEAAgD;AAChD,kEAAgD;AAChD,4DAA0C;AAC1C,iEAA+C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/sdk-gen/schemas/v2025R0/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,oDAAkC;AAClC,uDAAqC;AACrC,oEAAkD;AAClD,0EAAwD;AACxD,2DAAyC;AACzC,wEAAsD;AACtD,yDAAuC;AACvC,qDAAmC;AACnC,sDAAoC;AACpC,uEAAqD;AACrD,uEAAqD;AACrD,6EAA2D;AAC3D,8EAA4D;AAC5D,8EAA4D;AAC5D,+DAA6C;AAC7C,0EAAwD;AACxD,sEAAoD;AACpD,gFAA8D;AAC9D,yDAAuC;AACvC,uEAAqD;AACrD,8DAA4C;AAC5C,0DAAwC;AACxC,2DAAyC;AACzC,2DAAyC;AACzC,qDAAmC;AACnC,sDAAoC;AACpC,oEAAkD;AAClD,2DAAyC;AACzC,qDAAmC;AACnC,qDAAmC;AACnC,mDAAiC;AACjC,yEAAuD;AACvD,yEAAuD;AACvD,0DAAwC;AACxC,4DAA0C;AAC1C,mDAAiC;AACjC,oDAAkC;AAClC,4DAA0C;AAC1C,2DAAyC;AACzC,2EAAyD;AACzD,oDAAkC;AAClC,iEAA+C;AAC/C,0DAAwC;AACxC,uDAAqC;AACrC,oEAAkD;AAClD,mEAAiD;AACjD,kEAAgD;AAChD,wEAAsD;AACtD,+DAA6C;AAC7C,oEAAkD;AAClD,6DAA2C;AAC3C,6DAA2C;AAC3C,6DAA2C;AAC3C,sDAAoC;AACpC,0DAAwC;AACxC,yEAAuD;AACvD,8DAA4C;AAC5C,oDAAkC;AAClC,oDAAkC;AAClC,+CAA6B;AAC7B,gDAA8B;AAC9B,gEAA8C;AAC9C,4DAA0C;AAC1C,4DAA0C;AAC1C,6DAA2C;AAC3C,yDAAuC;AACvC,0DAAwC;AACxC,gEAA8C;AAC9C,oEAAkD;AAClD,yEAAuD;AACvD,oFAAkE;AAClE,yDAAuC;AACvC,+EAA6D;AAC7D,4DAA0C;AAC1C,+EAA6D;AAC7D,mEAAiD;AACjD,4DAA0C;AAC1C,4DAA0C;AAC1C,kEAAgD;AAChD,kEAAgD;AAChD,4DAA0C;AAC1C,iEAA+C"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { SerializedData } from '../../serialization/json';
|
|
2
|
+
export interface KeysafeSettingsV2025R0 {
|
|
3
|
+
/**
|
|
4
|
+
* Whether KeySafe addon is enabled for the enterprise. */
|
|
5
|
+
readonly keysafeEnabled?: boolean;
|
|
6
|
+
/**
|
|
7
|
+
* The cloud provider. */
|
|
8
|
+
readonly cloudProvider?: string | null;
|
|
9
|
+
/**
|
|
10
|
+
* The key ID. */
|
|
11
|
+
readonly keyId?: string | null;
|
|
12
|
+
/**
|
|
13
|
+
* The account ID. */
|
|
14
|
+
readonly accountId?: string | null;
|
|
15
|
+
/**
|
|
16
|
+
* The location ID. */
|
|
17
|
+
readonly locationId?: string | null;
|
|
18
|
+
/**
|
|
19
|
+
* The project ID. */
|
|
20
|
+
readonly projectId?: string | null;
|
|
21
|
+
/**
|
|
22
|
+
* The key ring ID. */
|
|
23
|
+
readonly keyringId?: string | null;
|
|
24
|
+
readonly rawData?: SerializedData;
|
|
25
|
+
}
|
|
26
|
+
export declare function serializeKeysafeSettingsV2025R0(val: KeysafeSettingsV2025R0): SerializedData;
|
|
27
|
+
export declare function deserializeKeysafeSettingsV2025R0(val: SerializedData): KeysafeSettingsV2025R0;
|
|
28
|
+
//# sourceMappingURL=keysafeSettingsV2025R0.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keysafeSettingsV2025R0.d.ts","sourceRoot":"","sources":["../../../../src/sdk-gen/schemas/v2025R0/keysafeSettingsV2025R0.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAO1D,MAAM,WAAW,sBAAsB;IACrC;8DAC0D;IAC1D,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;IAClC;6BACyB;IACzB,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC;qBACiB;IACjB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;yBACqB;IACrB,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC;0BACsB;IACtB,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC;yBACqB;IACrB,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC;0BACsB;IACtB,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,QAAQ,CAAC,OAAO,CAAC,EAAE,cAAc,CAAC;CACnC;AACD,wBAAgB,+BAA+B,CAC7C,GAAG,EAAE,sBAAsB,GAC1B,cAAc,CAUhB;AACD,wBAAgB,iCAAiC,CAC/C,GAAG,EAAE,cAAc,GAClB,sBAAsB,CAqExB"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.serializeKeysafeSettingsV2025R0 = serializeKeysafeSettingsV2025R0;
|
|
4
|
+
exports.deserializeKeysafeSettingsV2025R0 = deserializeKeysafeSettingsV2025R0;
|
|
5
|
+
const errors_1 = require("../../box/errors");
|
|
6
|
+
const json_1 = require("../../serialization/json");
|
|
7
|
+
const json_2 = require("../../serialization/json");
|
|
8
|
+
const json_3 = require("../../serialization/json");
|
|
9
|
+
function serializeKeysafeSettingsV2025R0(val) {
|
|
10
|
+
return {
|
|
11
|
+
['keysafe_enabled']: val.keysafeEnabled,
|
|
12
|
+
['cloud_provider']: val.cloudProvider,
|
|
13
|
+
['key_id']: val.keyId,
|
|
14
|
+
['account_id']: val.accountId,
|
|
15
|
+
['location_id']: val.locationId,
|
|
16
|
+
['project_id']: val.projectId,
|
|
17
|
+
['keyring_id']: val.keyringId,
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function deserializeKeysafeSettingsV2025R0(val) {
|
|
21
|
+
if (!(0, json_3.sdIsMap)(val)) {
|
|
22
|
+
throw new errors_1.BoxSdkError({
|
|
23
|
+
message: 'Expecting a map for "KeysafeSettingsV2025R0"',
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
if (!(val.keysafe_enabled == void 0) && !(0, json_1.sdIsBoolean)(val.keysafe_enabled)) {
|
|
27
|
+
throw new errors_1.BoxSdkError({
|
|
28
|
+
message: 'Expecting boolean for "keysafe_enabled" of type "KeysafeSettingsV2025R0"',
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
const keysafeEnabled = val.keysafe_enabled == void 0 ? void 0 : val.keysafe_enabled;
|
|
32
|
+
if (!(val.cloud_provider == void 0) && !(0, json_2.sdIsString)(val.cloud_provider)) {
|
|
33
|
+
throw new errors_1.BoxSdkError({
|
|
34
|
+
message: 'Expecting string for "cloud_provider" of type "KeysafeSettingsV2025R0"',
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
const cloudProvider = val.cloud_provider == void 0 ? void 0 : val.cloud_provider;
|
|
38
|
+
if (!(val.key_id == void 0) && !(0, json_2.sdIsString)(val.key_id)) {
|
|
39
|
+
throw new errors_1.BoxSdkError({
|
|
40
|
+
message: 'Expecting string for "key_id" of type "KeysafeSettingsV2025R0"',
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
const keyId = val.key_id == void 0 ? void 0 : val.key_id;
|
|
44
|
+
if (!(val.account_id == void 0) && !(0, json_2.sdIsString)(val.account_id)) {
|
|
45
|
+
throw new errors_1.BoxSdkError({
|
|
46
|
+
message: 'Expecting string for "account_id" of type "KeysafeSettingsV2025R0"',
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
const accountId = val.account_id == void 0 ? void 0 : val.account_id;
|
|
50
|
+
if (!(val.location_id == void 0) && !(0, json_2.sdIsString)(val.location_id)) {
|
|
51
|
+
throw new errors_1.BoxSdkError({
|
|
52
|
+
message: 'Expecting string for "location_id" of type "KeysafeSettingsV2025R0"',
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
const locationId = val.location_id == void 0 ? void 0 : val.location_id;
|
|
56
|
+
if (!(val.project_id == void 0) && !(0, json_2.sdIsString)(val.project_id)) {
|
|
57
|
+
throw new errors_1.BoxSdkError({
|
|
58
|
+
message: 'Expecting string for "project_id" of type "KeysafeSettingsV2025R0"',
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
const projectId = val.project_id == void 0 ? void 0 : val.project_id;
|
|
62
|
+
if (!(val.keyring_id == void 0) && !(0, json_2.sdIsString)(val.keyring_id)) {
|
|
63
|
+
throw new errors_1.BoxSdkError({
|
|
64
|
+
message: 'Expecting string for "keyring_id" of type "KeysafeSettingsV2025R0"',
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
const keyringId = val.keyring_id == void 0 ? void 0 : val.keyring_id;
|
|
68
|
+
return {
|
|
69
|
+
keysafeEnabled: keysafeEnabled,
|
|
70
|
+
cloudProvider: cloudProvider,
|
|
71
|
+
keyId: keyId,
|
|
72
|
+
accountId: accountId,
|
|
73
|
+
locationId: locationId,
|
|
74
|
+
projectId: projectId,
|
|
75
|
+
keyringId: keyringId,
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
//# sourceMappingURL=keysafeSettingsV2025R0.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keysafeSettingsV2025R0.js","sourceRoot":"","sources":["../../../../src/sdk-gen/schemas/v2025R0/keysafeSettingsV2025R0.ts"],"names":[],"mappings":";;AAgCA,0EAYC;AACD,8EAuEC;AApHD,6CAA+C;AAG/C,mDAAuD;AAEvD,mDAAsD;AAEtD,mDAAmD;AAyBnD,SAAgB,+BAA+B,CAC7C,GAA2B;IAE3B,OAAO;QACL,CAAC,iBAAiB,CAAC,EAAE,GAAG,CAAC,cAAc;QACvC,CAAC,gBAAgB,CAAC,EAAE,GAAG,CAAC,aAAa;QACrC,CAAC,QAAQ,CAAC,EAAE,GAAG,CAAC,KAAK;QACrB,CAAC,YAAY,CAAC,EAAE,GAAG,CAAC,SAAS;QAC7B,CAAC,aAAa,CAAC,EAAE,GAAG,CAAC,UAAU;QAC/B,CAAC,YAAY,CAAC,EAAE,GAAG,CAAC,SAAS;QAC7B,CAAC,YAAY,CAAC,EAAE,GAAG,CAAC,SAAS;KAC9B,CAAC;AACJ,CAAC;AACD,SAAgB,iCAAiC,CAC/C,GAAmB;IAEnB,IAAI,CAAC,I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AM,SAAS,GACb,GAAG,CAAC,UAAU,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC;IACrD,OAAO;QACL,cAAc,EAAE,cAAc;QAC9B,aAAa,EAAE,aAAa;QAC5B,KAAK,EAAE,KAAK;QACZ,SAAS,EAAE,SAAS;QACpB,UAAU,EAAE,UAAU;QACtB,SAAS,EAAE,SAAS;QACpB,SAAS,EAAE,SAAS;KACY,CAAC;AACrC,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { SerializedData } from '../../serialization/json';
|
|
2
|
+
export interface ListUserV2025R0 {
|
|
3
|
+
/**
|
|
4
|
+
* The ID of the user. */
|
|
5
|
+
readonly id?: number | null;
|
|
6
|
+
/**
|
|
7
|
+
* The name of the user. */
|
|
8
|
+
readonly name?: string | null;
|
|
9
|
+
/**
|
|
10
|
+
* The email of the user. */
|
|
11
|
+
readonly email?: string | null;
|
|
12
|
+
readonly rawData?: SerializedData;
|
|
13
|
+
}
|
|
14
|
+
export declare function serializeListUserV2025R0(val: ListUserV2025R0): SerializedData;
|
|
15
|
+
export declare function deserializeListUserV2025R0(val: SerializedData): ListUserV2025R0;
|
|
16
|
+
//# sourceMappingURL=listUserV2025R0.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listUserV2025R0.d.ts","sourceRoot":"","sources":["../../../../src/sdk-gen/schemas/v2025R0/listUserV2025R0.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAO1D,MAAM,WAAW,eAAe;IAC9B;6BACyB;IACzB,QAAQ,CAAC,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;+BAC2B;IAC3B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;gCAC4B;IAC5B,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,QAAQ,CAAC,OAAO,CAAC,EAAE,cAAc,CAAC;CACnC;AACD,wBAAgB,wBAAwB,CAAC,GAAG,EAAE,eAAe,GAAG,cAAc,CAE7E;AACD,wBAAgB,0BAA0B,CACxC,GAAG,EAAE,cAAc,GAClB,eAAe,CAuBjB"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.serializeListUserV2025R0 = serializeListUserV2025R0;
|
|
4
|
+
exports.deserializeListUserV2025R0 = deserializeListUserV2025R0;
|
|
5
|
+
const errors_1 = require("../../box/errors");
|
|
6
|
+
const json_1 = require("../../serialization/json");
|
|
7
|
+
const json_2 = require("../../serialization/json");
|
|
8
|
+
const json_3 = require("../../serialization/json");
|
|
9
|
+
function serializeListUserV2025R0(val) {
|
|
10
|
+
return { ['id']: val.id, ['name']: val.name, ['email']: val.email };
|
|
11
|
+
}
|
|
12
|
+
function deserializeListUserV2025R0(val) {
|
|
13
|
+
if (!(0, json_3.sdIsMap)(val)) {
|
|
14
|
+
throw new errors_1.BoxSdkError({ message: 'Expecting a map for "ListUserV2025R0"' });
|
|
15
|
+
}
|
|
16
|
+
if (!(val.id == void 0) && !(0, json_1.sdIsNumber)(val.id)) {
|
|
17
|
+
throw new errors_1.BoxSdkError({
|
|
18
|
+
message: 'Expecting number for "id" of type "ListUserV2025R0"',
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
const id = val.id == void 0 ? void 0 : val.id;
|
|
22
|
+
if (!(val.name == void 0) && !(0, json_2.sdIsString)(val.name)) {
|
|
23
|
+
throw new errors_1.BoxSdkError({
|
|
24
|
+
message: 'Expecting string for "name" of type "ListUserV2025R0"',
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
const name = val.name == void 0 ? void 0 : val.name;
|
|
28
|
+
if (!(val.email == void 0) && !(0, json_2.sdIsString)(val.email)) {
|
|
29
|
+
throw new errors_1.BoxSdkError({
|
|
30
|
+
message: 'Expecting string for "email" of type "ListUserV2025R0"',
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
const email = val.email == void 0 ? void 0 : val.email;
|
|
34
|
+
return { id: id, name: name, email: email };
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=listUserV2025R0.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listUserV2025R0.js","sourceRoot":"","sources":["../../../../src/sdk-gen/schemas/v2025R0/listUserV2025R0.ts"],"names":[],"mappings":";;AAoBA,4DAEC;AACD,gEAyBC;AAhDD,6CAA+C;AAI/C,mDAAsD;AACtD,mDAAsD;AAEtD,mDAAmD;AAanD,SAAgB,wBAAwB,CAAC,GAAoB;IAC3D,OAAO,EAAE,CAAC,IAAI,CAAC,EAAE,GAAG,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,EAAE,GAAG,CAAC,IAAI,EAAE,CAAC,OAAO,CAAC,EAAE,GAAG,CAAC,KAAK,EAAE,CAAC;AACtE,CAAC;AACD,SAAgB,0BAA0B,CACxC,GAAmB;IAEnB,IAAI,CAAC,IAAA,cAAO,EAAC,GAAG,CAAC,EAAE,CAAC;QAClB,MAAM,IAAI,oBAAW,CAAC,EAAE,OAAO,EAAE,uCAAuC,EAAE,CAAC,CAAC;IAC9E,CAAC;IACD,IAAI,CAAC,CAAC,GAAG,CAAC,EAAE,IAAI,KAAK,CAAC,CAAC,IAAI,CAAC,IAAA,iBAAU,EAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC;QAC/C,MAAM,IAAI,oBAAW,CAAC;YACpB,OAAO,EAAE,qDAAqD;SAC/D,CAAC,CAAC;IACL,CAAC;IACD,MAAM,EAAE,GAAuB,GAAG,CAAC,EAAE,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC;IAClE,IAAI,CAAC,CAAC,GAAG,CAAC,IAAI,IAAI,KAAK,CAAC,CAAC,IAAI,CAAC,IAAA,iBAAU,EAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;QACnD,MAAM,IAAI,oBAAW,CAAC;YACpB,OAAO,EAAE,uDAAuD;SACjE,CAAC,CAAC;IACL,CAAC;IACD,MAAM,IAAI,GAAuB,GAAG,CAAC,IAAI,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC;IACxE,IAAI,CAAC,CAAC,GAAG,CAAC,KAAK,IAAI,KAAK,CAAC,CAAC,IAAI,CAAC,IAAA,iBAAU,EAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC;QACrD,MAAM,IAAI,oBAAW,CAAC;YACpB,OAAO,EAAE,wDAAwD;SAClE,CAAC,CAAC;IACL,CAAC;IACD,MAAM,KAAK,GAAuB,GAAG,CAAC,KAAK,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC;IAC3E,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAA4B,CAAC;AACxE,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { SerializedData } from '../../serialization/json';
|
|
2
|
+
export interface SharedLinkPermissionsV2025R0 {
|
|
3
|
+
/**
|
|
4
|
+
* The selected option for shared links permissions. */
|
|
5
|
+
readonly sharedLinksOption?: string | null;
|
|
6
|
+
/**
|
|
7
|
+
* The default shared link type. */
|
|
8
|
+
readonly defaultSharedLinkType?: string | null;
|
|
9
|
+
/**
|
|
10
|
+
* The selected option for notes shared links permissions. */
|
|
11
|
+
readonly notesSharedLinkOption?: string | null;
|
|
12
|
+
/**
|
|
13
|
+
* The default notes shared link type. */
|
|
14
|
+
readonly defaultNotesSharedLinkType?: string | null;
|
|
15
|
+
readonly rawData?: SerializedData;
|
|
16
|
+
}
|
|
17
|
+
export declare function serializeSharedLinkPermissionsV2025R0(val: SharedLinkPermissionsV2025R0): SerializedData;
|
|
18
|
+
export declare function deserializeSharedLinkPermissionsV2025R0(val: SerializedData): SharedLinkPermissionsV2025R0;
|
|
19
|
+
//# sourceMappingURL=sharedLinkPermissionsV2025R0.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sharedLinkPermissionsV2025R0.d.ts","sourceRoot":"","sources":["../../../../src/sdk-gen/schemas/v2025R0/sharedLinkPermissionsV2025R0.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAO1D,MAAM,WAAW,4BAA4B;IAC3C;2DACuD;IACvD,QAAQ,CAAC,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3C;uCACmC;IACnC,QAAQ,CAAC,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/C;iEAC6D;IAC7D,QAAQ,CAAC,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/C;6CACyC;IACzC,QAAQ,CAAC,0BAA0B,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpD,QAAQ,CAAC,OAAO,CAAC,EAAE,cAAc,CAAC;CACnC;AACD,wBAAgB,qCAAqC,CACnD,GAAG,EAAE,4BAA4B,GAChC,cAAc,CAOhB;AACD,wBAAgB,uCAAuC,CACrD,GAAG,EAAE,cAAc,GAClB,4BAA4B,CA8D9B"}
|