lemma-sdk 0.2.33 → 0.2.34
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 +83 -31
- package/dist/browser/lemma-client.js +70 -15
- package/dist/index.d.ts +3 -1
- package/dist/index.js +2 -1
- package/dist/namespaces/pod-surfaces.js +1 -1
- package/dist/namespaces/workflows.d.ts +1 -1
- package/dist/openapi_client/index.d.ts +50 -12
- package/dist/openapi_client/index.js +10 -2
- package/dist/openapi_client/models/AdminConsentInfoResponse.d.ts +6 -0
- package/dist/openapi_client/models/AssistantSurfaceResponse.d.ts +16 -1
- package/dist/openapi_client/models/AssistantSurfaceStatus.d.ts +5 -0
- package/dist/openapi_client/models/AssistantSurfaceStatus.js +10 -0
- package/dist/openapi_client/models/ConversationMessageResponse.d.ts +4 -0
- package/dist/openapi_client/models/ConversationResponse.d.ts +3 -0
- package/dist/openapi_client/models/ConversationType.d.ts +8 -0
- package/dist/openapi_client/models/ConversationType.js +13 -0
- package/dist/openapi_client/models/CreateSurfaceRequest.d.ts +16 -5
- package/dist/openapi_client/models/{DataStoreFlowStart.d.ts → DataStoreFlowStartInput.d.ts} +1 -1
- package/dist/openapi_client/models/DataStoreFlowStartOutput.d.ts +11 -0
- package/dist/openapi_client/models/DataStoreWorkflowStartInput.d.ts +11 -0
- package/dist/openapi_client/models/DataStoreWorkflowStartOutput.d.ts +11 -0
- package/dist/openapi_client/models/{EventFlowStart.d.ts → EventFlowStartInput.d.ts} +1 -1
- package/dist/openapi_client/models/EventFlowStartOutput.d.ts +19 -0
- package/dist/openapi_client/models/EventWorkflowStartInput.d.ts +11 -0
- package/dist/openapi_client/models/EventWorkflowStartOutput.d.ts +11 -0
- package/dist/openapi_client/models/FlowInstallResponse.d.ts +15 -0
- package/dist/openapi_client/models/FlowResponse.d.ts +5 -2
- package/dist/openapi_client/models/GmailSurfaceConfig.d.ts +7 -0
- package/dist/openapi_client/models/GmailSurfaceConfig.js +1 -0
- package/dist/openapi_client/models/GmailSurfaceConfigInput.d.ts +4 -0
- package/dist/openapi_client/models/GmailSurfaceConfigInput.js +1 -0
- package/dist/openapi_client/models/GrantPermissionRequest.d.ts +6 -0
- package/dist/openapi_client/models/GrantPermissionRequest.js +1 -0
- package/dist/openapi_client/models/ManualWorkflowStartInput.d.ts +10 -0
- package/dist/openapi_client/models/ManualWorkflowStartInput.js +1 -0
- package/dist/openapi_client/models/ManualWorkflowStartOutput.d.ts +10 -0
- package/dist/openapi_client/models/ManualWorkflowStartOutput.js +1 -0
- package/dist/openapi_client/models/OrganizationInvitationRequest.d.ts +2 -0
- package/dist/openapi_client/models/OrganizationInvitationResponse.d.ts +2 -0
- package/dist/openapi_client/models/OutlookSurfaceConfig.d.ts +7 -0
- package/dist/openapi_client/models/OutlookSurfaceConfig.js +1 -0
- package/dist/openapi_client/models/OutlookSurfaceConfigInput.d.ts +4 -0
- package/dist/openapi_client/models/OutlookSurfaceConfigInput.js +1 -0
- package/dist/openapi_client/models/ResourcePermissionListResponse.d.ts +4 -0
- package/dist/openapi_client/models/ResourcePermissionListResponse.js +1 -0
- package/dist/openapi_client/models/ResourcePermissionResponse.d.ts +12 -0
- package/dist/openapi_client/models/ResourcePermissionResponse.js +1 -0
- package/dist/openapi_client/models/{ScheduledFlowStart.d.ts → ScheduledFlowStartInput.d.ts} +1 -1
- package/dist/openapi_client/models/ScheduledFlowStartInput.js +1 -0
- package/dist/openapi_client/models/ScheduledFlowStartOutput.d.ts +7 -0
- package/dist/openapi_client/models/ScheduledFlowStartOutput.js +1 -0
- package/dist/openapi_client/models/ScheduledWorkflowStartInput.d.ts +11 -0
- package/dist/openapi_client/models/ScheduledWorkflowStartInput.js +1 -0
- package/dist/openapi_client/models/ScheduledWorkflowStartOutput.d.ts +11 -0
- package/dist/openapi_client/models/ScheduledWorkflowStartOutput.js +1 -0
- package/dist/openapi_client/models/SetVisibilityRequest.d.ts +3 -0
- package/dist/openapi_client/models/SetVisibilityRequest.js +1 -0
- package/dist/openapi_client/models/SlackCredentialsInput.d.ts +5 -0
- package/dist/openapi_client/models/SlackCredentialsInput.js +1 -0
- package/dist/openapi_client/models/SlackSurfaceConfig.d.ts +10 -0
- package/dist/openapi_client/models/SlackSurfaceConfig.js +1 -0
- package/dist/openapi_client/models/{SlackSurfaceConfigCreate.d.ts → SlackSurfaceConfigInput.d.ts} +1 -1
- package/dist/openapi_client/models/SlackSurfaceConfigInput.js +1 -0
- package/dist/openapi_client/models/SurfaceCredentialMode.d.ts +4 -0
- package/dist/openapi_client/models/SurfaceCredentialMode.js +9 -0
- package/dist/openapi_client/models/SurfaceIntegrationSetupGuide.d.ts +13 -0
- package/dist/openapi_client/models/SurfaceIntegrationSetupGuide.js +1 -0
- package/dist/openapi_client/models/SurfacePlatform.d.ts +8 -0
- package/dist/openapi_client/models/SurfacePlatform.js +13 -0
- package/dist/openapi_client/models/SurfacePlatformSetupGuideResponse.d.ts +9 -0
- package/dist/openapi_client/models/SurfacePlatformSetupGuideResponse.js +1 -0
- package/dist/openapi_client/models/SurfaceRoutingScope.d.ts +4 -0
- package/dist/openapi_client/models/SurfaceRoutingScope.js +9 -0
- package/dist/openapi_client/models/SurfaceSetupField.d.ts +10 -0
- package/dist/openapi_client/models/SurfaceSetupField.js +1 -0
- package/dist/openapi_client/models/SurfaceSetupFieldSource.d.ts +4 -0
- package/dist/openapi_client/models/SurfaceSetupFieldSource.js +9 -0
- package/dist/openapi_client/models/SurfaceSetupMode.d.ts +5 -0
- package/dist/openapi_client/models/SurfaceSetupMode.js +10 -0
- package/dist/openapi_client/models/SurfaceSetupPhase.d.ts +6 -0
- package/dist/openapi_client/models/SurfaceSetupPhase.js +11 -0
- package/dist/openapi_client/models/SurfaceSetupStep.d.ts +6 -0
- package/dist/openapi_client/models/SurfaceSetupStep.js +1 -0
- package/dist/openapi_client/models/SurfaceWebhookMode.d.ts +4 -0
- package/dist/openapi_client/models/SurfaceWebhookMode.js +9 -0
- package/dist/openapi_client/models/TeamsCredentialsInput.d.ts +6 -0
- package/dist/openapi_client/models/TeamsCredentialsInput.js +1 -0
- package/dist/openapi_client/models/TeamsSurfaceConfig.d.ts +9 -0
- package/dist/openapi_client/models/TeamsSurfaceConfig.js +1 -0
- package/dist/openapi_client/models/{TeamsSurfaceConfigCreate.d.ts → TeamsSurfaceConfigInput.d.ts} +1 -1
- package/dist/openapi_client/models/TeamsSurfaceConfigInput.js +1 -0
- package/dist/openapi_client/models/TelegramCredentialsInput.d.ts +5 -0
- package/dist/openapi_client/models/TelegramCredentialsInput.js +1 -0
- package/dist/openapi_client/models/TelegramSurfaceConfig.d.ts +6 -0
- package/dist/openapi_client/models/TelegramSurfaceConfig.js +1 -0
- package/dist/openapi_client/models/TelegramSurfaceConfigInput.d.ts +6 -0
- package/dist/openapi_client/models/TelegramSurfaceConfigInput.js +1 -0
- package/dist/openapi_client/models/UpdateSurfaceRequest.d.ts +17 -5
- package/dist/openapi_client/models/WhatsAppCredentialsInput.d.ts +8 -0
- package/dist/openapi_client/models/WhatsAppCredentialsInput.js +1 -0
- package/dist/openapi_client/models/WhatsAppSurfaceConfig.d.ts +6 -0
- package/dist/openapi_client/models/WhatsAppSurfaceConfig.js +1 -0
- package/dist/openapi_client/models/WhatsAppSurfaceConfigInput.d.ts +6 -0
- package/dist/openapi_client/models/WhatsAppSurfaceConfigInput.js +1 -0
- package/dist/openapi_client/models/WorkflowCreateRequest.d.ts +5 -2
- package/dist/openapi_client/models/WorkflowGraphUpdateRequest.d.ts +5 -2
- package/dist/openapi_client/models/WorkflowUpdateRequest.d.ts +5 -2
- package/dist/openapi_client/services/AssistantSurfacesIngressService.d.ts +51 -0
- package/dist/openapi_client/services/AssistantSurfacesIngressService.js +111 -0
- package/dist/openapi_client/services/AssistantSurfacesService.d.ts +27 -6
- package/dist/openapi_client/services/AssistantSurfacesService.js +62 -7
- package/dist/openapi_client/services/AuthorizationService.d.ts +47 -0
- package/dist/openapi_client/services/AuthorizationService.js +100 -0
- package/dist/openapi_client/services/DesksService.d.ts +4 -4
- package/dist/openapi_client/services/DesksService.js +6 -6
- package/dist/openapi_client/services/WorkflowsService.d.ts +3 -3
- package/dist/openapi_client/services/WorkflowsService.js +1 -1
- package/dist/react/index.d.ts +6 -0
- package/dist/react/index.js +3 -0
- package/dist/react/useAddPodMember.d.ts +22 -0
- package/dist/react/useAddPodMember.js +51 -0
- package/dist/react/useRemovePodMember.d.ts +19 -0
- package/dist/react/useRemovePodMember.js +50 -0
- package/dist/react/useUpdatePodMemberRole.d.ts +20 -0
- package/dist/react/useUpdatePodMemberRole.js +50 -0
- package/dist/react/useWorkflowStart.d.ts +2 -2
- package/dist/record-display.d.ts +20 -0
- package/dist/record-display.js +78 -0
- package/dist/record-form.d.ts +4 -0
- package/dist/record-form.js +16 -0
- package/dist/types.d.ts +2 -0
- package/package.json +1 -1
- package/dist/openapi_client/models/EmailSurfaceConfigCreate.d.ts +0 -5
- package/dist/openapi_client/models/FlowInstallEntity.d.ts +0 -16
- package/dist/openapi_client/models/FlowStartType.d.ts +0 -6
- package/dist/openapi_client/models/FlowStartType.js +0 -11
- package/dist/openapi_client/models/FlowStart_Input.d.ts +0 -14
- package/dist/openapi_client/models/FlowStart_Output.d.ts +0 -14
- package/dist/openapi_client/models/WhatsAppSurfaceConfigCreate.d.ts +0 -5
- package/dist/openapi_client/services/PublicDesksService.d.ts +0 -10
- package/dist/openapi_client/services/PublicDesksService.js +0 -22
- /package/dist/openapi_client/models/{DataStoreFlowStart.js → AdminConsentInfoResponse.js} +0 -0
- /package/dist/openapi_client/models/{EmailSurfaceConfigCreate.js → DataStoreFlowStartInput.js} +0 -0
- /package/dist/openapi_client/models/{EventFlowStart.js → DataStoreFlowStartOutput.js} +0 -0
- /package/dist/openapi_client/models/{FlowInstallEntity.js → DataStoreWorkflowStartInput.js} +0 -0
- /package/dist/openapi_client/models/{FlowStart_Input.js → DataStoreWorkflowStartOutput.js} +0 -0
- /package/dist/openapi_client/models/{FlowStart_Output.js → EventFlowStartInput.js} +0 -0
- /package/dist/openapi_client/models/{ScheduledFlowStart.js → EventFlowStartOutput.js} +0 -0
- /package/dist/openapi_client/models/{SlackSurfaceConfigCreate.js → EventWorkflowStartInput.js} +0 -0
- /package/dist/openapi_client/models/{TeamsSurfaceConfigCreate.js → EventWorkflowStartOutput.js} +0 -0
- /package/dist/openapi_client/models/{WhatsAppSurfaceConfigCreate.js → FlowInstallResponse.js} +0 -0
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
export function detectRecordTitleColumn(columns) {
|
|
2
|
+
return columns.find((column) => !column.system && !column.auto && !column.computed && /title|name|subject|label/i.test(column.name));
|
|
3
|
+
}
|
|
4
|
+
export function detectRecordDescriptionColumn(columns) {
|
|
5
|
+
return columns.find((column) => !column.system
|
|
6
|
+
&& !column.auto
|
|
7
|
+
&& !column.computed
|
|
8
|
+
&& column.type === "TEXT"
|
|
9
|
+
&& /description|summary|body|content|notes|reason/i.test(column.name));
|
|
10
|
+
}
|
|
11
|
+
export function detectRecordStatusColumn(columns) {
|
|
12
|
+
return columns.find((column) => /status|state|stage/i.test(column.name));
|
|
13
|
+
}
|
|
14
|
+
export function isDefaultRecordDetailHiddenField(name) {
|
|
15
|
+
return name === "id" || name === "created_at" || name === "updated_at";
|
|
16
|
+
}
|
|
17
|
+
export function buildDefaultRecordDetailFieldGroups(columns, options = {}) {
|
|
18
|
+
const excluded = new Set([
|
|
19
|
+
...(options.hiddenFields ?? []),
|
|
20
|
+
options.titleField,
|
|
21
|
+
options.descriptionField,
|
|
22
|
+
options.statusField,
|
|
23
|
+
options.identifierField,
|
|
24
|
+
].filter((value) => Boolean(value)));
|
|
25
|
+
const displayable = columns.filter((column) => !column.system
|
|
26
|
+
&& !column.auto
|
|
27
|
+
&& !column.computed
|
|
28
|
+
&& !isDefaultRecordDetailHiddenField(column.name)
|
|
29
|
+
&& !excluded.has(column.name));
|
|
30
|
+
if (displayable.length === 0)
|
|
31
|
+
return [];
|
|
32
|
+
return [
|
|
33
|
+
{
|
|
34
|
+
label: "Details",
|
|
35
|
+
fields: displayable.map((column) => column.name),
|
|
36
|
+
},
|
|
37
|
+
];
|
|
38
|
+
}
|
|
39
|
+
export function humanizeRecordFieldName(value) {
|
|
40
|
+
return value
|
|
41
|
+
.replace(/[_\.]/g, " ")
|
|
42
|
+
.replace(/\s+/g, " ")
|
|
43
|
+
.trim()
|
|
44
|
+
.replace(/\b\w/g, (match) => match.toUpperCase());
|
|
45
|
+
}
|
|
46
|
+
export function formatRecordPlainValue(value) {
|
|
47
|
+
if (value == null || value === "")
|
|
48
|
+
return "";
|
|
49
|
+
if (value instanceof Date)
|
|
50
|
+
return formatRecordDateDisplayValue(value);
|
|
51
|
+
if (typeof value === "boolean")
|
|
52
|
+
return value ? "Yes" : "No";
|
|
53
|
+
if (typeof value === "number")
|
|
54
|
+
return value.toLocaleString();
|
|
55
|
+
if (Array.isArray(value))
|
|
56
|
+
return value.map(formatRecordPlainValue).filter(Boolean).join(", ");
|
|
57
|
+
if (typeof value === "object")
|
|
58
|
+
return JSON.stringify(value);
|
|
59
|
+
return String(value);
|
|
60
|
+
}
|
|
61
|
+
export function formatRecordDisplayValue(value) {
|
|
62
|
+
return formatRecordPlainValue(value) || "Not set";
|
|
63
|
+
}
|
|
64
|
+
export function formatRecordDateDisplayValue(value, options) {
|
|
65
|
+
if (value == null || value === "")
|
|
66
|
+
return "Not set";
|
|
67
|
+
const date = value instanceof Date ? value : new Date(String(value));
|
|
68
|
+
if (Number.isNaN(date.getTime()))
|
|
69
|
+
return String(value);
|
|
70
|
+
return new Intl.DateTimeFormat(undefined, {
|
|
71
|
+
month: "short",
|
|
72
|
+
day: "numeric",
|
|
73
|
+
year: "numeric",
|
|
74
|
+
hour: "numeric",
|
|
75
|
+
minute: "2-digit",
|
|
76
|
+
...options,
|
|
77
|
+
}).format(date);
|
|
78
|
+
}
|
package/dist/record-form.d.ts
CHANGED
|
@@ -22,9 +22,13 @@ export interface BuildRecordPayloadResult {
|
|
|
22
22
|
errors: Record<string, string>;
|
|
23
23
|
isValid: boolean;
|
|
24
24
|
}
|
|
25
|
+
export declare const DEFAULT_RECORD_FORM_HIDDEN_FIELDS: readonly ["id", "created_at", "updated_at", "creator_user_id", "sort_order"];
|
|
25
26
|
export declare function getRecordFieldKind(column: ColumnSchema): RecordSchemaFieldKind;
|
|
26
27
|
export declare function buildRecordSchemaFields(table: Table): RecordSchemaField[];
|
|
27
28
|
export declare function getEditableRecordFields(table: Table): RecordSchemaField[];
|
|
29
|
+
export declare function orderRecordSchemaFields<T extends {
|
|
30
|
+
name: string;
|
|
31
|
+
}>(fields: T[], fieldOrder?: string[]): T[];
|
|
28
32
|
export declare function formatRecordValueForForm(column: ColumnSchema, value: unknown): unknown;
|
|
29
33
|
export declare function buildRecordFormValues(table: Table, values?: Record<string, unknown>): Record<string, unknown>;
|
|
30
34
|
export declare function buildRecordPayload(table: Table, values: Record<string, unknown>, options?: BuildRecordPayloadOptions): BuildRecordPayloadResult;
|
package/dist/record-form.js
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import { parseForeignKeyReference } from "./datastore-query.js";
|
|
2
2
|
import { DatastoreDataType } from "./types.js";
|
|
3
|
+
export const DEFAULT_RECORD_FORM_HIDDEN_FIELDS = [
|
|
4
|
+
"id",
|
|
5
|
+
"created_at",
|
|
6
|
+
"updated_at",
|
|
7
|
+
"creator_user_id",
|
|
8
|
+
"sort_order",
|
|
9
|
+
];
|
|
3
10
|
function sentenceCase(value) {
|
|
4
11
|
return value
|
|
5
12
|
.replace(/_/g, " ")
|
|
@@ -101,6 +108,15 @@ export function buildRecordSchemaFields(table) {
|
|
|
101
108
|
export function getEditableRecordFields(table) {
|
|
102
109
|
return buildRecordSchemaFields(table).filter((field) => !field.readOnly);
|
|
103
110
|
}
|
|
111
|
+
export function orderRecordSchemaFields(fields, fieldOrder) {
|
|
112
|
+
if (!fieldOrder?.length)
|
|
113
|
+
return fields;
|
|
114
|
+
const ordered = fieldOrder
|
|
115
|
+
.map((name) => fields.find((field) => field.name === name))
|
|
116
|
+
.filter((field) => field !== undefined);
|
|
117
|
+
const remaining = fields.filter((field) => !fieldOrder.includes(field.name));
|
|
118
|
+
return [...ordered, ...remaining];
|
|
119
|
+
}
|
|
104
120
|
export function formatRecordValueForForm(column, value) {
|
|
105
121
|
const kind = getRecordFieldKind(column);
|
|
106
122
|
if (value === null || typeof value === "undefined") {
|
package/dist/types.d.ts
CHANGED
|
@@ -52,6 +52,8 @@ export type TaskMessage = TaskMessageResponse;
|
|
|
52
52
|
export type FunctionRun = FunctionRunResponse;
|
|
53
53
|
export type FlowRun = FlowRunEntity;
|
|
54
54
|
export type Workflow = FlowResponse;
|
|
55
|
+
export type WorkflowStart = Workflow["start"];
|
|
56
|
+
export type WorkflowStartType = NonNullable<WorkflowStart>["type"];
|
|
55
57
|
export type Table = TableResponse;
|
|
56
58
|
export type TableColumn = ColumnSchema;
|
|
57
59
|
export type DatastoreQueryResult = DatastoreQueryResponse;
|
package/package.json
CHANGED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { FlowStart_Output } from './FlowStart_Output.js';
|
|
2
|
-
/**
|
|
3
|
-
* Represents an installed flow instance.
|
|
4
|
-
* Associate a Flow definition with a specific Trigger (Schedule or Event).
|
|
5
|
-
*/
|
|
6
|
-
export type FlowInstallEntity = {
|
|
7
|
-
created_at?: string;
|
|
8
|
-
flow_id: string;
|
|
9
|
-
flow_start: FlowStart_Output;
|
|
10
|
-
id?: string;
|
|
11
|
-
is_active?: boolean;
|
|
12
|
-
pod_id: string;
|
|
13
|
-
trigger_id?: (string | null);
|
|
14
|
-
updated_at?: string;
|
|
15
|
-
user_id: string;
|
|
16
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
export var FlowStartType;
|
|
6
|
-
(function (FlowStartType) {
|
|
7
|
-
FlowStartType["MANUAL"] = "MANUAL";
|
|
8
|
-
FlowStartType["SCHEDULED"] = "SCHEDULED";
|
|
9
|
-
FlowStartType["EVENT"] = "EVENT";
|
|
10
|
-
FlowStartType["DATASTORE_EVENT"] = "DATASTORE_EVENT";
|
|
11
|
-
})(FlowStartType || (FlowStartType = {}));
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { DataStoreFlowStart } from './DataStoreFlowStart.js';
|
|
2
|
-
import type { EventFlowStart } from './EventFlowStart.js';
|
|
3
|
-
import type { FlowStartType } from './FlowStartType.js';
|
|
4
|
-
import type { ScheduledFlowStart } from './ScheduledFlowStart.js';
|
|
5
|
-
export type FlowStart_Input = {
|
|
6
|
-
/**
|
|
7
|
-
* Start mode configuration payload. Required for non-manual start types.
|
|
8
|
-
*/
|
|
9
|
-
config?: (ScheduledFlowStart | EventFlowStart | DataStoreFlowStart | null);
|
|
10
|
-
/**
|
|
11
|
-
* Flow start mode: MANUAL, SCHEDULED, EVENT, or DATASTORE_EVENT.
|
|
12
|
-
*/
|
|
13
|
-
type: FlowStartType;
|
|
14
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { DataStoreFlowStart } from './DataStoreFlowStart.js';
|
|
2
|
-
import type { EventFlowStart } from './EventFlowStart.js';
|
|
3
|
-
import type { FlowStartType } from './FlowStartType.js';
|
|
4
|
-
import type { ScheduledFlowStart } from './ScheduledFlowStart.js';
|
|
5
|
-
export type FlowStart_Output = {
|
|
6
|
-
/**
|
|
7
|
-
* Start mode configuration payload. Required for non-manual start types.
|
|
8
|
-
*/
|
|
9
|
-
config?: (ScheduledFlowStart | EventFlowStart | DataStoreFlowStart | null);
|
|
10
|
-
/**
|
|
11
|
-
* Flow start mode: MANUAL, SCHEDULED, EVENT, or DATASTORE_EVENT.
|
|
12
|
-
*/
|
|
13
|
-
type: FlowStartType;
|
|
14
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
2
|
-
export declare class PublicDesksService {
|
|
3
|
-
/**
|
|
4
|
-
* Get public desk asset by slug host
|
|
5
|
-
* @param xDeskPublicSlug
|
|
6
|
-
* @returns any Successful Response
|
|
7
|
-
* @throws ApiError
|
|
8
|
-
*/
|
|
9
|
-
static deskAssetPublicSlugGet(xDeskPublicSlug?: (string | null)): CancelablePromise<any>;
|
|
10
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
|
-
import { request as __request } from '../core/request.js';
|
|
3
|
-
export class PublicDesksService {
|
|
4
|
-
/**
|
|
5
|
-
* Get public desk asset by slug host
|
|
6
|
-
* @param xDeskPublicSlug
|
|
7
|
-
* @returns any Successful Response
|
|
8
|
-
* @throws ApiError
|
|
9
|
-
*/
|
|
10
|
-
static deskAssetPublicSlugGet(xDeskPublicSlug) {
|
|
11
|
-
return __request(OpenAPI, {
|
|
12
|
-
method: 'GET',
|
|
13
|
-
url: '/public/desks',
|
|
14
|
-
headers: {
|
|
15
|
-
'x-desk-public-slug': xDeskPublicSlug,
|
|
16
|
-
},
|
|
17
|
-
errors: {
|
|
18
|
-
422: `Validation Error`,
|
|
19
|
-
},
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
}
|
|
File without changes
|
/package/dist/openapi_client/models/{EmailSurfaceConfigCreate.js → DataStoreFlowStartInput.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/openapi_client/models/{SlackSurfaceConfigCreate.js → EventWorkflowStartInput.js}
RENAMED
|
File without changes
|
/package/dist/openapi_client/models/{TeamsSurfaceConfigCreate.js → EventWorkflowStartOutput.js}
RENAMED
|
File without changes
|
/package/dist/openapi_client/models/{WhatsAppSurfaceConfigCreate.js → FlowInstallResponse.js}
RENAMED
|
File without changes
|