@corti/sdk 3.1.0-rc → 3.1.0-rc.2
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/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/documents/resources/sections/client/Client.d.ts +6 -0
- package/dist/cjs/api/resources/documents/resources/sections/client/Client.js +6 -0
- package/dist/cjs/api/resources/documents/resources/templates/client/Client.d.ts +7 -0
- package/dist/cjs/api/resources/documents/resources/templates/client/Client.js +7 -0
- package/dist/cjs/api/resources/documents/resources/templates/resources/versions/client/Client.d.ts +6 -0
- package/dist/cjs/api/resources/documents/resources/templates/resources/versions/client/Client.js +6 -0
- package/dist/cjs/api/resources/transcripts/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/transcripts/client/Client.js +1 -1
- package/dist/cjs/api/resources/transcripts/client/requests/TranscriptsCreateRequest.d.ts +3 -1
- package/dist/cjs/api/types/GuidedArrayNode.d.ts +3 -2
- package/dist/cjs/api/types/GuidedBoolNode.d.ts +2 -2
- package/dist/cjs/api/types/GuidedDocumentsGenerateBase.d.ts +2 -0
- package/dist/cjs/api/types/GuidedEphemeralDocument.d.ts +5 -0
- package/dist/cjs/api/types/GuidedFieldDefinition.d.ts +4 -1
- package/dist/cjs/api/types/GuidedNumberNode.d.ts +3 -3
- package/dist/cjs/api/types/GuidedObjectNode.d.ts +3 -3
- package/dist/cjs/api/types/GuidedSection.d.ts +0 -2
- package/dist/cjs/api/types/GuidedSectionsCreateBase.d.ts +0 -2
- package/dist/cjs/api/types/GuidedStringNode.d.ts +4 -4
- package/dist/cjs/api/types/GuidedTemplate.d.ts +0 -2
- package/dist/cjs/api/types/GuidedTemplatesCreateBase.d.ts +0 -2
- package/dist/cjs/api/types/StreamConfig.d.ts +5 -1
- package/dist/cjs/api/types/StreamConfigKeyterms.d.ts +8 -0
- package/dist/cjs/api/types/StreamConfigKeytermsTermsItem.d.ts +4 -0
- package/dist/cjs/api/types/StreamConfigReplacementsItem.d.ts +6 -0
- package/dist/cjs/api/types/StreamErrorDetail.d.ts +7 -5
- package/dist/cjs/api/types/TranscribeAudioEventsConfig.d.ts +1 -1
- package/dist/cjs/api/types/TranscribeCommand.d.ts +3 -3
- package/dist/cjs/api/types/TranscribeCommandVariable.d.ts +6 -5
- package/dist/cjs/api/types/TranscribeCommandVariableType.d.ts +6 -0
- package/dist/cjs/api/types/TranscribeCommandVariableType.js +9 -0
- package/dist/cjs/api/types/TranscribeConfig.d.ts +8 -4
- package/dist/cjs/api/types/TranscribeConfigKeyterms.d.ts +8 -0
- package/dist/cjs/api/types/TranscribeConfigKeytermsTermsItem.d.ts +4 -0
- package/dist/cjs/api/types/TranscribeConfigKeytermsTermsItem.js +3 -0
- package/dist/cjs/api/types/TranscribeConfigReplacementsItem.d.ts +6 -0
- package/dist/cjs/api/types/TranscribeConfigReplacementsItem.js +3 -0
- package/dist/cjs/api/types/TranscribeErrorMessageError.d.ts +7 -5
- package/dist/cjs/api/types/TranscribeSupportedLanguage.d.ts +1 -1
- package/dist/cjs/api/types/index.d.ts +7 -5
- package/dist/cjs/api/types/index.js +7 -5
- package/dist/cjs/custom/utils/dictationTranscript.d.ts +26 -0
- package/dist/cjs/custom/utils/dictationTranscript.js +77 -0
- package/dist/cjs/custom/utils/index.d.ts +1 -0
- package/dist/cjs/custom/utils/index.js +3 -1
- package/dist/cjs/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.d.ts +1 -0
- package/dist/cjs/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.js +1 -0
- package/dist/cjs/serialization/types/GuidedDocumentsGenerateBase.d.ts +2 -0
- package/dist/cjs/serialization/types/GuidedDocumentsGenerateBase.js +2 -0
- package/dist/cjs/serialization/types/GuidedEphemeralDocument.d.ts +3 -0
- package/dist/cjs/serialization/types/GuidedEphemeralDocument.js +3 -0
- package/dist/cjs/serialization/types/GuidedFieldDefinition.d.ts +1 -0
- package/dist/cjs/serialization/types/GuidedFieldDefinition.js +1 -0
- package/dist/cjs/serialization/types/GuidedSection.d.ts +0 -2
- package/dist/cjs/serialization/types/GuidedSection.js +0 -2
- package/dist/cjs/serialization/types/GuidedSectionsCreateBase.d.ts +0 -2
- package/dist/cjs/serialization/types/GuidedSectionsCreateBase.js +0 -2
- package/dist/cjs/serialization/types/GuidedTemplate.d.ts +0 -2
- package/dist/cjs/serialization/types/GuidedTemplate.js +0 -2
- package/dist/cjs/serialization/types/GuidedTemplatesCreateBase.d.ts +0 -2
- package/dist/cjs/serialization/types/GuidedTemplatesCreateBase.js +0 -2
- package/dist/cjs/serialization/types/StreamConfig.d.ts +4 -0
- package/dist/cjs/serialization/types/StreamConfig.js +4 -0
- package/dist/cjs/serialization/types/StreamConfigKeyterms.d.ts +10 -0
- package/dist/cjs/serialization/types/{GuidedTemplatesCreatePolicyRequest.js → StreamConfigKeyterms.js} +4 -5
- package/dist/cjs/serialization/types/StreamConfigKeytermsTermsItem.d.ts +9 -0
- package/dist/cjs/serialization/types/{GuidedSectionPolicy.js → StreamConfigKeytermsTermsItem.js} +3 -10
- package/dist/cjs/serialization/types/StreamConfigReplacementsItem.d.ts +10 -0
- package/dist/cjs/serialization/types/StreamConfigReplacementsItem.js +42 -0
- package/dist/cjs/serialization/types/StreamErrorDetail.d.ts +6 -5
- package/dist/cjs/serialization/types/StreamErrorDetail.js +6 -5
- package/dist/cjs/serialization/types/TranscribeAudioEventsConfig.d.ts +1 -1
- package/dist/cjs/serialization/types/TranscribeAudioEventsConfig.js +1 -1
- package/dist/cjs/serialization/types/TranscribeCommandVariable.d.ts +3 -2
- package/dist/cjs/serialization/types/TranscribeCommandVariable.js +3 -2
- package/dist/cjs/serialization/types/TranscribeCommandVariableType.d.ts +7 -0
- package/dist/cjs/serialization/types/{GuidedTemplatePolicyKind.js → TranscribeCommandVariableType.js} +2 -2
- package/dist/cjs/serialization/types/TranscribeConfig.d.ts +4 -0
- package/dist/cjs/serialization/types/TranscribeConfig.js +4 -0
- package/dist/cjs/serialization/types/TranscribeConfigKeyterms.d.ts +10 -0
- package/dist/cjs/serialization/types/TranscribeConfigKeyterms.js +42 -0
- package/dist/cjs/serialization/types/TranscribeConfigKeytermsTermsItem.d.ts +9 -0
- package/dist/cjs/serialization/types/{GuidedSectionsCreatePolicyRequest.js → TranscribeConfigKeytermsTermsItem.js} +3 -5
- package/dist/cjs/serialization/types/TranscribeConfigReplacementsItem.d.ts +10 -0
- package/dist/cjs/serialization/types/TranscribeConfigReplacementsItem.js +42 -0
- package/dist/cjs/serialization/types/TranscribeErrorMessageError.d.ts +6 -5
- package/dist/cjs/serialization/types/TranscribeErrorMessageError.js +6 -5
- package/dist/cjs/serialization/types/index.d.ts +7 -5
- package/dist/cjs/serialization/types/index.js +7 -5
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/documents/resources/sections/client/Client.d.mts +6 -0
- package/dist/esm/api/resources/documents/resources/sections/client/Client.mjs +6 -0
- package/dist/esm/api/resources/documents/resources/templates/client/Client.d.mts +7 -0
- package/dist/esm/api/resources/documents/resources/templates/client/Client.mjs +7 -0
- package/dist/esm/api/resources/documents/resources/templates/resources/versions/client/Client.d.mts +6 -0
- package/dist/esm/api/resources/documents/resources/templates/resources/versions/client/Client.mjs +6 -0
- package/dist/esm/api/resources/transcripts/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/transcripts/client/Client.mjs +1 -1
- package/dist/esm/api/resources/transcripts/client/requests/TranscriptsCreateRequest.d.mts +3 -1
- package/dist/esm/api/types/GuidedArrayNode.d.mts +3 -2
- package/dist/esm/api/types/GuidedBoolNode.d.mts +2 -2
- package/dist/esm/api/types/GuidedDocumentsGenerateBase.d.mts +2 -0
- package/dist/esm/api/types/GuidedEphemeralDocument.d.mts +5 -0
- package/dist/esm/api/types/GuidedFieldDefinition.d.mts +4 -1
- package/dist/esm/api/types/GuidedNumberNode.d.mts +3 -3
- package/dist/esm/api/types/GuidedObjectNode.d.mts +3 -3
- package/dist/esm/api/types/GuidedSection.d.mts +0 -2
- package/dist/esm/api/types/GuidedSectionsCreateBase.d.mts +0 -2
- package/dist/esm/api/types/GuidedStringNode.d.mts +4 -4
- package/dist/esm/api/types/GuidedTemplate.d.mts +0 -2
- package/dist/esm/api/types/GuidedTemplatesCreateBase.d.mts +0 -2
- package/dist/esm/api/types/StreamConfig.d.mts +5 -1
- package/dist/esm/api/types/StreamConfigKeyterms.d.mts +8 -0
- package/dist/esm/api/types/StreamConfigKeytermsTermsItem.d.mts +4 -0
- package/dist/esm/api/types/StreamConfigReplacementsItem.d.mts +6 -0
- package/dist/esm/api/types/StreamErrorDetail.d.mts +7 -5
- package/dist/esm/api/types/TranscribeAudioEventsConfig.d.mts +1 -1
- package/dist/esm/api/types/TranscribeCommand.d.mts +3 -3
- package/dist/esm/api/types/TranscribeCommandVariable.d.mts +6 -5
- package/dist/esm/api/types/TranscribeCommandVariableType.d.mts +6 -0
- package/dist/esm/api/types/TranscribeCommandVariableType.mjs +6 -0
- package/dist/esm/api/types/TranscribeConfig.d.mts +8 -4
- package/dist/esm/api/types/TranscribeConfigKeyterms.d.mts +8 -0
- package/dist/esm/api/types/TranscribeConfigKeytermsTermsItem.d.mts +4 -0
- package/dist/esm/api/types/TranscribeConfigKeytermsTermsItem.mjs +2 -0
- package/dist/esm/api/types/TranscribeConfigReplacementsItem.d.mts +6 -0
- package/dist/esm/api/types/TranscribeConfigReplacementsItem.mjs +2 -0
- package/dist/esm/api/types/TranscribeErrorMessageError.d.mts +7 -5
- package/dist/esm/api/types/TranscribeSupportedLanguage.d.mts +1 -1
- package/dist/esm/api/types/index.d.mts +7 -5
- package/dist/esm/api/types/index.mjs +7 -5
- package/dist/esm/custom/utils/dictationTranscript.d.mts +26 -0
- package/dist/esm/custom/utils/dictationTranscript.mjs +74 -0
- package/dist/esm/custom/utils/index.d.mts +1 -0
- package/dist/esm/custom/utils/index.mjs +1 -0
- package/dist/esm/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.d.mts +1 -0
- package/dist/esm/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.mjs +1 -0
- package/dist/esm/serialization/types/GuidedDocumentsGenerateBase.d.mts +2 -0
- package/dist/esm/serialization/types/GuidedDocumentsGenerateBase.mjs +2 -0
- package/dist/esm/serialization/types/GuidedEphemeralDocument.d.mts +3 -0
- package/dist/esm/serialization/types/GuidedEphemeralDocument.mjs +3 -0
- package/dist/esm/serialization/types/GuidedFieldDefinition.d.mts +1 -0
- package/dist/esm/serialization/types/GuidedFieldDefinition.mjs +1 -0
- package/dist/esm/serialization/types/GuidedSection.d.mts +0 -2
- package/dist/esm/serialization/types/GuidedSection.mjs +0 -2
- package/dist/esm/serialization/types/GuidedSectionsCreateBase.d.mts +0 -2
- package/dist/esm/serialization/types/GuidedSectionsCreateBase.mjs +0 -2
- package/dist/esm/serialization/types/GuidedTemplate.d.mts +0 -2
- package/dist/esm/serialization/types/GuidedTemplate.mjs +0 -2
- package/dist/esm/serialization/types/GuidedTemplatesCreateBase.d.mts +0 -2
- package/dist/esm/serialization/types/GuidedTemplatesCreateBase.mjs +0 -2
- package/dist/esm/serialization/types/StreamConfig.d.mts +4 -0
- package/dist/esm/serialization/types/StreamConfig.mjs +4 -0
- package/dist/esm/serialization/types/StreamConfigKeyterms.d.mts +10 -0
- package/dist/esm/serialization/types/StreamConfigKeyterms.mjs +6 -0
- package/dist/esm/serialization/types/StreamConfigKeytermsTermsItem.d.mts +9 -0
- package/dist/esm/serialization/types/StreamConfigKeytermsTermsItem.mjs +5 -0
- package/dist/esm/serialization/types/StreamConfigReplacementsItem.d.mts +10 -0
- package/dist/esm/serialization/types/StreamConfigReplacementsItem.mjs +6 -0
- package/dist/esm/serialization/types/StreamErrorDetail.d.mts +6 -5
- package/dist/esm/serialization/types/StreamErrorDetail.mjs +6 -5
- package/dist/esm/serialization/types/TranscribeAudioEventsConfig.d.mts +1 -1
- package/dist/esm/serialization/types/TranscribeAudioEventsConfig.mjs +1 -1
- package/dist/esm/serialization/types/TranscribeCommandVariable.d.mts +3 -2
- package/dist/esm/serialization/types/TranscribeCommandVariable.mjs +3 -2
- package/dist/esm/serialization/types/TranscribeCommandVariableType.d.mts +7 -0
- package/dist/esm/serialization/types/{GuidedTemplatePolicyKind.mjs → TranscribeCommandVariableType.mjs} +1 -1
- package/dist/esm/serialization/types/TranscribeConfig.d.mts +4 -0
- package/dist/esm/serialization/types/TranscribeConfig.mjs +4 -0
- package/dist/esm/serialization/types/TranscribeConfigKeyterms.d.mts +10 -0
- package/dist/esm/serialization/types/TranscribeConfigKeyterms.mjs +6 -0
- package/dist/esm/serialization/types/TranscribeConfigKeytermsTermsItem.d.mts +9 -0
- package/dist/esm/serialization/types/TranscribeConfigKeytermsTermsItem.mjs +5 -0
- package/dist/esm/serialization/types/TranscribeConfigReplacementsItem.d.mts +10 -0
- package/dist/esm/serialization/types/TranscribeConfigReplacementsItem.mjs +6 -0
- package/dist/esm/serialization/types/TranscribeErrorMessageError.d.mts +6 -5
- package/dist/esm/serialization/types/TranscribeErrorMessageError.mjs +6 -5
- package/dist/esm/serialization/types/index.d.mts +7 -5
- package/dist/esm/serialization/types/index.mjs +7 -5
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/dist/cjs/api/types/GuidedSectionPolicy.d.ts +0 -16
- package/dist/cjs/api/types/GuidedSectionsCreatePolicyRequest.d.ts +0 -6
- package/dist/cjs/api/types/GuidedTemplatePolicy.d.ts +0 -16
- package/dist/cjs/api/types/GuidedTemplatePolicyKind.d.ts +0 -6
- package/dist/cjs/api/types/GuidedTemplatePolicyKind.js +0 -9
- package/dist/cjs/api/types/GuidedTemplatesCreatePolicyRequest.d.ts +0 -6
- package/dist/cjs/serialization/types/GuidedSectionPolicy.d.ts +0 -16
- package/dist/cjs/serialization/types/GuidedSectionsCreatePolicyRequest.d.ts +0 -11
- package/dist/cjs/serialization/types/GuidedTemplatePolicy.d.ts +0 -16
- package/dist/cjs/serialization/types/GuidedTemplatePolicy.js +0 -48
- package/dist/cjs/serialization/types/GuidedTemplatePolicyKind.d.ts +0 -7
- package/dist/cjs/serialization/types/GuidedTemplatesCreatePolicyRequest.d.ts +0 -11
- package/dist/esm/api/types/GuidedSectionPolicy.d.mts +0 -16
- package/dist/esm/api/types/GuidedSectionsCreatePolicyRequest.d.mts +0 -6
- package/dist/esm/api/types/GuidedTemplatePolicy.d.mts +0 -16
- package/dist/esm/api/types/GuidedTemplatePolicyKind.d.mts +0 -6
- package/dist/esm/api/types/GuidedTemplatePolicyKind.mjs +0 -6
- package/dist/esm/api/types/GuidedTemplatesCreatePolicyRequest.d.mts +0 -6
- package/dist/esm/serialization/types/GuidedSectionPolicy.d.mts +0 -16
- package/dist/esm/serialization/types/GuidedSectionPolicy.mjs +0 -12
- package/dist/esm/serialization/types/GuidedSectionsCreatePolicyRequest.d.mts +0 -11
- package/dist/esm/serialization/types/GuidedSectionsCreatePolicyRequest.mjs +0 -7
- package/dist/esm/serialization/types/GuidedTemplatePolicy.d.mts +0 -16
- package/dist/esm/serialization/types/GuidedTemplatePolicy.mjs +0 -12
- package/dist/esm/serialization/types/GuidedTemplatePolicyKind.d.mts +0 -7
- package/dist/esm/serialization/types/GuidedTemplatesCreatePolicyRequest.d.mts +0 -11
- package/dist/esm/serialization/types/GuidedTemplatesCreatePolicyRequest.mjs +0 -7
- /package/dist/cjs/api/types/{GuidedSectionPolicy.js → StreamConfigKeyterms.js} +0 -0
- /package/dist/cjs/api/types/{GuidedSectionsCreatePolicyRequest.js → StreamConfigKeytermsTermsItem.js} +0 -0
- /package/dist/cjs/api/types/{GuidedTemplatePolicy.js → StreamConfigReplacementsItem.js} +0 -0
- /package/dist/cjs/api/types/{GuidedTemplatesCreatePolicyRequest.js → TranscribeConfigKeyterms.js} +0 -0
- /package/dist/esm/api/types/{GuidedSectionPolicy.mjs → StreamConfigKeyterms.mjs} +0 -0
- /package/dist/esm/api/types/{GuidedSectionsCreatePolicyRequest.mjs → StreamConfigKeytermsTermsItem.mjs} +0 -0
- /package/dist/esm/api/types/{GuidedTemplatePolicy.mjs → StreamConfigReplacementsItem.mjs} +0 -0
- /package/dist/esm/api/types/{GuidedTemplatesCreatePolicyRequest.mjs → TranscribeConfigKeyterms.mjs} +0 -0
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/** The kind of access policy. `project` restricts to the owning project; `customers` grants access to the listed customer tenants. */
|
|
2
|
-
export declare const GuidedTemplatePolicyKind: {
|
|
3
|
-
readonly Project: "project";
|
|
4
|
-
readonly Customers: "customers";
|
|
5
|
-
};
|
|
6
|
-
export type GuidedTemplatePolicyKind = (typeof GuidedTemplatePolicyKind)[keyof typeof GuidedTemplatePolicyKind];
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.GuidedTemplatePolicyKind = void 0;
|
|
5
|
-
/** The kind of access policy. `project` restricts to the owning project; `customers` grants access to the listed customer tenants. */
|
|
6
|
-
exports.GuidedTemplatePolicyKind = {
|
|
7
|
-
Project: "project",
|
|
8
|
-
Customers: "customers",
|
|
9
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type * as Corti from "../index.js";
|
|
2
|
-
export interface GuidedTemplatesCreatePolicyRequest {
|
|
3
|
-
kind: Corti.GuidedTemplatePolicyKind;
|
|
4
|
-
/** Required when `kind` is `customers`. List of customer tenant identifiers that should have access. */
|
|
5
|
-
customerIds?: string[] | null;
|
|
6
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type * as Corti from "../../api/index.js";
|
|
2
|
-
import * as core from "../../core/index.js";
|
|
3
|
-
import type * as serializers from "../index.js";
|
|
4
|
-
import { GuidedTemplatePolicyKind } from "./GuidedTemplatePolicyKind.js";
|
|
5
|
-
export declare const GuidedSectionPolicy: core.serialization.ObjectSchema<serializers.GuidedSectionPolicy.Raw, Corti.GuidedSectionPolicy>;
|
|
6
|
-
export declare namespace GuidedSectionPolicy {
|
|
7
|
-
interface Raw {
|
|
8
|
-
id: string;
|
|
9
|
-
kind: GuidedTemplatePolicyKind.Raw;
|
|
10
|
-
customerIds?: (string[] | null | undefined) | null;
|
|
11
|
-
sectionId: string;
|
|
12
|
-
createdBy: string;
|
|
13
|
-
createdAt: string;
|
|
14
|
-
updatedAt: string;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type * as Corti from "../../api/index.js";
|
|
2
|
-
import * as core from "../../core/index.js";
|
|
3
|
-
import type * as serializers from "../index.js";
|
|
4
|
-
import { GuidedTemplatePolicyKind } from "./GuidedTemplatePolicyKind.js";
|
|
5
|
-
export declare const GuidedSectionsCreatePolicyRequest: core.serialization.ObjectSchema<serializers.GuidedSectionsCreatePolicyRequest.Raw, Corti.GuidedSectionsCreatePolicyRequest>;
|
|
6
|
-
export declare namespace GuidedSectionsCreatePolicyRequest {
|
|
7
|
-
interface Raw {
|
|
8
|
-
kind: GuidedTemplatePolicyKind.Raw;
|
|
9
|
-
customerIds?: (string[] | null | undefined) | null;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type * as Corti from "../../api/index.js";
|
|
2
|
-
import * as core from "../../core/index.js";
|
|
3
|
-
import type * as serializers from "../index.js";
|
|
4
|
-
import { GuidedTemplatePolicyKind } from "./GuidedTemplatePolicyKind.js";
|
|
5
|
-
export declare const GuidedTemplatePolicy: core.serialization.ObjectSchema<serializers.GuidedTemplatePolicy.Raw, Corti.GuidedTemplatePolicy>;
|
|
6
|
-
export declare namespace GuidedTemplatePolicy {
|
|
7
|
-
interface Raw {
|
|
8
|
-
id: string;
|
|
9
|
-
kind: GuidedTemplatePolicyKind.Raw;
|
|
10
|
-
customerIds?: (string[] | null | undefined) | null;
|
|
11
|
-
templateId: string;
|
|
12
|
-
createdBy: string;
|
|
13
|
-
createdAt: string;
|
|
14
|
-
updatedAt: string;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
-
if (k2 === undefined) k2 = k;
|
|
5
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
-
}
|
|
9
|
-
Object.defineProperty(o, k2, desc);
|
|
10
|
-
}) : (function(o, m, k, k2) {
|
|
11
|
-
if (k2 === undefined) k2 = k;
|
|
12
|
-
o[k2] = m[k];
|
|
13
|
-
}));
|
|
14
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
-
}) : function(o, v) {
|
|
17
|
-
o["default"] = v;
|
|
18
|
-
});
|
|
19
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
-
var ownKeys = function(o) {
|
|
21
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
-
var ar = [];
|
|
23
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
-
return ar;
|
|
25
|
-
};
|
|
26
|
-
return ownKeys(o);
|
|
27
|
-
};
|
|
28
|
-
return function (mod) {
|
|
29
|
-
if (mod && mod.__esModule) return mod;
|
|
30
|
-
var result = {};
|
|
31
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
-
__setModuleDefault(result, mod);
|
|
33
|
-
return result;
|
|
34
|
-
};
|
|
35
|
-
})();
|
|
36
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.GuidedTemplatePolicy = void 0;
|
|
38
|
-
const core = __importStar(require("../../core/index.js"));
|
|
39
|
-
const GuidedTemplatePolicyKind_js_1 = require("./GuidedTemplatePolicyKind.js");
|
|
40
|
-
exports.GuidedTemplatePolicy = core.serialization.object({
|
|
41
|
-
id: core.serialization.string(),
|
|
42
|
-
kind: GuidedTemplatePolicyKind_js_1.GuidedTemplatePolicyKind,
|
|
43
|
-
customerIds: core.serialization.list(core.serialization.string()).optionalNullable(),
|
|
44
|
-
templateId: core.serialization.string(),
|
|
45
|
-
createdBy: core.serialization.string(),
|
|
46
|
-
createdAt: core.serialization.date(),
|
|
47
|
-
updatedAt: core.serialization.date(),
|
|
48
|
-
});
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type * as Corti from "../../api/index.js";
|
|
2
|
-
import * as core from "../../core/index.js";
|
|
3
|
-
import type * as serializers from "../index.js";
|
|
4
|
-
export declare const GuidedTemplatePolicyKind: core.serialization.Schema<serializers.GuidedTemplatePolicyKind.Raw, Corti.GuidedTemplatePolicyKind>;
|
|
5
|
-
export declare namespace GuidedTemplatePolicyKind {
|
|
6
|
-
type Raw = "project" | "customers";
|
|
7
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type * as Corti from "../../api/index.js";
|
|
2
|
-
import * as core from "../../core/index.js";
|
|
3
|
-
import type * as serializers from "../index.js";
|
|
4
|
-
import { GuidedTemplatePolicyKind } from "./GuidedTemplatePolicyKind.js";
|
|
5
|
-
export declare const GuidedTemplatesCreatePolicyRequest: core.serialization.ObjectSchema<serializers.GuidedTemplatesCreatePolicyRequest.Raw, Corti.GuidedTemplatesCreatePolicyRequest>;
|
|
6
|
-
export declare namespace GuidedTemplatesCreatePolicyRequest {
|
|
7
|
-
interface Raw {
|
|
8
|
-
kind: GuidedTemplatePolicyKind.Raw;
|
|
9
|
-
customerIds?: (string[] | null | undefined) | null;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type * as Corti from "../index.mjs";
|
|
2
|
-
export interface GuidedSectionPolicy {
|
|
3
|
-
/** The UUID of the policy. */
|
|
4
|
-
id: string;
|
|
5
|
-
kind: Corti.GuidedTemplatePolicyKind;
|
|
6
|
-
/** Present when `kind` is `customers`. Lists the customer tenant identifiers that have access. */
|
|
7
|
-
customerIds?: string[] | null;
|
|
8
|
-
/** The UUID of the section this policy belongs to. */
|
|
9
|
-
sectionId: string;
|
|
10
|
-
/** The UUID of the user who created this policy. */
|
|
11
|
-
createdBy: string;
|
|
12
|
-
/** Timestamp when the policy was created. */
|
|
13
|
-
createdAt: Date;
|
|
14
|
-
/** Timestamp when the policy was last updated. */
|
|
15
|
-
updatedAt: Date;
|
|
16
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type * as Corti from "../index.mjs";
|
|
2
|
-
export interface GuidedSectionsCreatePolicyRequest {
|
|
3
|
-
kind: Corti.GuidedTemplatePolicyKind;
|
|
4
|
-
/** Required when `kind` is `customers`. List of customer tenant identifiers that should have access. */
|
|
5
|
-
customerIds?: string[] | null;
|
|
6
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type * as Corti from "../index.mjs";
|
|
2
|
-
export interface GuidedTemplatePolicy {
|
|
3
|
-
/** The UUID of the policy. */
|
|
4
|
-
id: string;
|
|
5
|
-
kind: Corti.GuidedTemplatePolicyKind;
|
|
6
|
-
/** Present when `kind` is `customers`. Lists the customer tenant identifiers that have access. */
|
|
7
|
-
customerIds?: string[] | null;
|
|
8
|
-
/** The UUID of the template this policy belongs to. */
|
|
9
|
-
templateId: string;
|
|
10
|
-
/** The UUID of the user who created this policy. */
|
|
11
|
-
createdBy: string;
|
|
12
|
-
/** Timestamp when the policy was created. */
|
|
13
|
-
createdAt: Date;
|
|
14
|
-
/** Timestamp when the policy was last updated. */
|
|
15
|
-
updatedAt: Date;
|
|
16
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/** The kind of access policy. `project` restricts to the owning project; `customers` grants access to the listed customer tenants. */
|
|
2
|
-
export declare const GuidedTemplatePolicyKind: {
|
|
3
|
-
readonly Project: "project";
|
|
4
|
-
readonly Customers: "customers";
|
|
5
|
-
};
|
|
6
|
-
export type GuidedTemplatePolicyKind = (typeof GuidedTemplatePolicyKind)[keyof typeof GuidedTemplatePolicyKind];
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
/** The kind of access policy. `project` restricts to the owning project; `customers` grants access to the listed customer tenants. */
|
|
3
|
-
export const GuidedTemplatePolicyKind = {
|
|
4
|
-
Project: "project",
|
|
5
|
-
Customers: "customers",
|
|
6
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type * as Corti from "../index.mjs";
|
|
2
|
-
export interface GuidedTemplatesCreatePolicyRequest {
|
|
3
|
-
kind: Corti.GuidedTemplatePolicyKind;
|
|
4
|
-
/** Required when `kind` is `customers`. List of customer tenant identifiers that should have access. */
|
|
5
|
-
customerIds?: string[] | null;
|
|
6
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type * as Corti from "../../api/index.mjs";
|
|
2
|
-
import * as core from "../../core/index.mjs";
|
|
3
|
-
import type * as serializers from "../index.mjs";
|
|
4
|
-
import { GuidedTemplatePolicyKind } from "./GuidedTemplatePolicyKind.mjs";
|
|
5
|
-
export declare const GuidedSectionPolicy: core.serialization.ObjectSchema<serializers.GuidedSectionPolicy.Raw, Corti.GuidedSectionPolicy>;
|
|
6
|
-
export declare namespace GuidedSectionPolicy {
|
|
7
|
-
interface Raw {
|
|
8
|
-
id: string;
|
|
9
|
-
kind: GuidedTemplatePolicyKind.Raw;
|
|
10
|
-
customerIds?: (string[] | null | undefined) | null;
|
|
11
|
-
sectionId: string;
|
|
12
|
-
createdBy: string;
|
|
13
|
-
createdAt: string;
|
|
14
|
-
updatedAt: string;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
import * as core from "../../core/index.mjs";
|
|
3
|
-
import { GuidedTemplatePolicyKind } from "./GuidedTemplatePolicyKind.mjs";
|
|
4
|
-
export const GuidedSectionPolicy = core.serialization.object({
|
|
5
|
-
id: core.serialization.string(),
|
|
6
|
-
kind: GuidedTemplatePolicyKind,
|
|
7
|
-
customerIds: core.serialization.list(core.serialization.string()).optionalNullable(),
|
|
8
|
-
sectionId: core.serialization.string(),
|
|
9
|
-
createdBy: core.serialization.string(),
|
|
10
|
-
createdAt: core.serialization.date(),
|
|
11
|
-
updatedAt: core.serialization.date(),
|
|
12
|
-
});
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type * as Corti from "../../api/index.mjs";
|
|
2
|
-
import * as core from "../../core/index.mjs";
|
|
3
|
-
import type * as serializers from "../index.mjs";
|
|
4
|
-
import { GuidedTemplatePolicyKind } from "./GuidedTemplatePolicyKind.mjs";
|
|
5
|
-
export declare const GuidedSectionsCreatePolicyRequest: core.serialization.ObjectSchema<serializers.GuidedSectionsCreatePolicyRequest.Raw, Corti.GuidedSectionsCreatePolicyRequest>;
|
|
6
|
-
export declare namespace GuidedSectionsCreatePolicyRequest {
|
|
7
|
-
interface Raw {
|
|
8
|
-
kind: GuidedTemplatePolicyKind.Raw;
|
|
9
|
-
customerIds?: (string[] | null | undefined) | null;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
import * as core from "../../core/index.mjs";
|
|
3
|
-
import { GuidedTemplatePolicyKind } from "./GuidedTemplatePolicyKind.mjs";
|
|
4
|
-
export const GuidedSectionsCreatePolicyRequest = core.serialization.object({
|
|
5
|
-
kind: GuidedTemplatePolicyKind,
|
|
6
|
-
customerIds: core.serialization.list(core.serialization.string()).optionalNullable(),
|
|
7
|
-
});
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type * as Corti from "../../api/index.mjs";
|
|
2
|
-
import * as core from "../../core/index.mjs";
|
|
3
|
-
import type * as serializers from "../index.mjs";
|
|
4
|
-
import { GuidedTemplatePolicyKind } from "./GuidedTemplatePolicyKind.mjs";
|
|
5
|
-
export declare const GuidedTemplatePolicy: core.serialization.ObjectSchema<serializers.GuidedTemplatePolicy.Raw, Corti.GuidedTemplatePolicy>;
|
|
6
|
-
export declare namespace GuidedTemplatePolicy {
|
|
7
|
-
interface Raw {
|
|
8
|
-
id: string;
|
|
9
|
-
kind: GuidedTemplatePolicyKind.Raw;
|
|
10
|
-
customerIds?: (string[] | null | undefined) | null;
|
|
11
|
-
templateId: string;
|
|
12
|
-
createdBy: string;
|
|
13
|
-
createdAt: string;
|
|
14
|
-
updatedAt: string;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
import * as core from "../../core/index.mjs";
|
|
3
|
-
import { GuidedTemplatePolicyKind } from "./GuidedTemplatePolicyKind.mjs";
|
|
4
|
-
export const GuidedTemplatePolicy = core.serialization.object({
|
|
5
|
-
id: core.serialization.string(),
|
|
6
|
-
kind: GuidedTemplatePolicyKind,
|
|
7
|
-
customerIds: core.serialization.list(core.serialization.string()).optionalNullable(),
|
|
8
|
-
templateId: core.serialization.string(),
|
|
9
|
-
createdBy: core.serialization.string(),
|
|
10
|
-
createdAt: core.serialization.date(),
|
|
11
|
-
updatedAt: core.serialization.date(),
|
|
12
|
-
});
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type * as Corti from "../../api/index.mjs";
|
|
2
|
-
import * as core from "../../core/index.mjs";
|
|
3
|
-
import type * as serializers from "../index.mjs";
|
|
4
|
-
export declare const GuidedTemplatePolicyKind: core.serialization.Schema<serializers.GuidedTemplatePolicyKind.Raw, Corti.GuidedTemplatePolicyKind>;
|
|
5
|
-
export declare namespace GuidedTemplatePolicyKind {
|
|
6
|
-
type Raw = "project" | "customers";
|
|
7
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type * as Corti from "../../api/index.mjs";
|
|
2
|
-
import * as core from "../../core/index.mjs";
|
|
3
|
-
import type * as serializers from "../index.mjs";
|
|
4
|
-
import { GuidedTemplatePolicyKind } from "./GuidedTemplatePolicyKind.mjs";
|
|
5
|
-
export declare const GuidedTemplatesCreatePolicyRequest: core.serialization.ObjectSchema<serializers.GuidedTemplatesCreatePolicyRequest.Raw, Corti.GuidedTemplatesCreatePolicyRequest>;
|
|
6
|
-
export declare namespace GuidedTemplatesCreatePolicyRequest {
|
|
7
|
-
interface Raw {
|
|
8
|
-
kind: GuidedTemplatePolicyKind.Raw;
|
|
9
|
-
customerIds?: (string[] | null | undefined) | null;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
import * as core from "../../core/index.mjs";
|
|
3
|
-
import { GuidedTemplatePolicyKind } from "./GuidedTemplatePolicyKind.mjs";
|
|
4
|
-
export const GuidedTemplatesCreatePolicyRequest = core.serialization.object({
|
|
5
|
-
kind: GuidedTemplatePolicyKind,
|
|
6
|
-
customerIds: core.serialization.list(core.serialization.string()).optionalNullable(),
|
|
7
|
-
});
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/cjs/api/types/{GuidedTemplatesCreatePolicyRequest.js → TranscribeConfigKeyterms.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/esm/api/types/{GuidedTemplatesCreatePolicyRequest.mjs → TranscribeConfigKeyterms.mjs}
RENAMED
|
File without changes
|