lemma-sdk 0.2.44 → 0.2.45
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 +1 -1
- package/dist/assistant-events.d.ts +1 -0
- package/dist/assistant-events.js +25 -0
- package/dist/browser/lemma-client.js +264 -152
- package/dist/config.d.ts +2 -2
- package/dist/config.js +2 -2
- package/dist/hey_client/client/client.gen.d.ts +2 -0
- package/dist/hey_client/client/client.gen.js +216 -0
- package/dist/hey_client/client/index.d.ts +10 -0
- package/dist/hey_client/client/index.js +6 -0
- package/dist/hey_client/client/types.gen.d.ts +120 -0
- package/dist/hey_client/client/types.gen.js +2 -0
- package/dist/hey_client/client/utils.gen.d.ts +37 -0
- package/dist/hey_client/client/utils.gen.js +228 -0
- package/dist/hey_client/client.gen.d.ts +12 -0
- package/dist/hey_client/client.gen.js +3 -0
- package/dist/hey_client/core/auth.gen.d.ts +25 -0
- package/dist/hey_client/core/auth.gen.js +14 -0
- package/dist/hey_client/core/bodySerializer.gen.d.ts +25 -0
- package/dist/hey_client/core/bodySerializer.gen.js +57 -0
- package/dist/hey_client/core/params.gen.d.ts +43 -0
- package/dist/hey_client/core/params.gen.js +100 -0
- package/dist/hey_client/core/pathSerializer.gen.d.ts +33 -0
- package/dist/hey_client/core/pathSerializer.gen.js +106 -0
- package/dist/hey_client/core/queryKeySerializer.gen.d.ts +18 -0
- package/dist/hey_client/core/queryKeySerializer.gen.js +92 -0
- package/dist/hey_client/core/serverSentEvents.gen.d.ts +71 -0
- package/dist/hey_client/core/serverSentEvents.gen.js +132 -0
- package/dist/hey_client/core/types.gen.d.ts +83 -0
- package/dist/hey_client/core/types.gen.js +2 -0
- package/dist/hey_client/core/utils.gen.d.ts +19 -0
- package/dist/hey_client/core/utils.gen.js +87 -0
- package/dist/hey_client/index.d.ts +2 -0
- package/dist/hey_client/index.js +2 -0
- package/dist/hey_client/sdk.gen.d.ts +1005 -0
- package/dist/hey_client/sdk.gen.js +1438 -0
- package/dist/hey_client/types.gen.d.ts +13004 -0
- package/dist/hey_client/types.gen.js +2 -0
- package/dist/namespaces/files.d.ts +6 -24
- package/dist/namespaces/files.js +6 -16
- package/dist/namespaces/integrations.js +4 -4
- package/dist/namespaces/pod-surfaces.d.ts +8 -3
- package/dist/namespaces/pod-surfaces.js +15 -6
- package/dist/namespaces/pods.d.ts +2 -3
- package/dist/namespaces/pods.js +1 -6
- package/dist/namespaces/records.d.ts +7 -7
- package/dist/namespaces/resource-access.d.ts +3 -3
- package/dist/namespaces/resource-access.js +6 -6
- package/dist/namespaces/schedules.d.ts +1 -0
- package/dist/namespaces/schedules.js +1 -1
- package/dist/namespaces/tables.d.ts +2 -2
- package/dist/namespaces/workflows.d.ts +12 -8
- package/dist/namespaces/workflows.js +9 -18
- package/dist/openapi_client/index.d.ts +20 -37
- package/dist/openapi_client/index.js +3 -11
- package/dist/openapi_client/models/AgentHarnessInfo.d.ts +2 -0
- package/dist/openapi_client/models/AgentNode.d.ts +1 -1
- package/dist/openapi_client/models/AgentNodeConfig.d.ts +1 -1
- package/dist/openapi_client/models/AgentResourcePermissionRequest.d.ts +1 -1
- package/dist/openapi_client/models/AgentResourcePermissionResponse.d.ts +1 -1
- package/dist/openapi_client/models/AgentRuntimeProfileResponse.d.ts +6 -0
- package/dist/openapi_client/models/AgentSurfaceResponse.d.ts +6 -17
- package/dist/openapi_client/models/AgentSurfaceStatus.d.ts +3 -1
- package/dist/openapi_client/models/AgentSurfaceStatus.js +2 -0
- package/dist/openapi_client/models/ApplicationSkillResponse.d.ts +6 -0
- package/dist/openapi_client/models/ConnectedAccountSummary.d.ts +7 -0
- package/dist/openapi_client/models/CreateFunctionRequest.d.ts +0 -1
- package/dist/openapi_client/models/CreateScheduleRequest.d.ts +4 -0
- package/dist/openapi_client/models/CreateSurfaceRequest.d.ts +3 -10
- package/dist/openapi_client/models/CreateUserDaemonRuntimeProfileRequest.d.ts +2 -0
- package/dist/openapi_client/models/DataStoreFlowStartInput.d.ts +1 -1
- package/dist/openapi_client/models/DataStoreFlowStartOutput.d.ts +1 -1
- package/dist/openapi_client/models/DatastoreCountResponse.d.ts +6 -0
- package/dist/openapi_client/models/DecisionNode.d.ts +2 -1
- package/dist/openapi_client/models/DecisionRule.d.ts +3 -0
- package/dist/openapi_client/models/EndNode.d.ts +1 -1
- package/dist/openapi_client/models/ExpressionInputBinding.d.ts +6 -2
- package/dist/openapi_client/models/FileListResponse.d.ts +1 -0
- package/dist/openapi_client/models/FileSearchResponse.d.ts +2 -2
- package/dist/openapi_client/models/FlowRunStatus.d.ts +4 -1
- package/dist/openapi_client/models/FlowRunStatus.js +4 -1
- package/dist/openapi_client/models/FormNode.d.ts +2 -1
- package/dist/openapi_client/models/FormNodeConfig.d.ts +1 -1
- package/dist/openapi_client/models/FunctionNode.d.ts +2 -1
- package/dist/openapi_client/models/FunctionResourcePermissionRequest.d.ts +1 -1
- package/dist/openapi_client/models/FunctionResourcePermissionResponse.d.ts +1 -1
- package/dist/openapi_client/models/InstalledAppSummary.d.ts +7 -0
- package/dist/openapi_client/models/IntegrationStatusResponse.d.ts +6 -0
- package/dist/openapi_client/models/LoopNode.d.ts +2 -1
- package/dist/openapi_client/models/LoopNodeConfig.d.ts +3 -3
- package/dist/openapi_client/models/PodMemberAddRequest.d.ts +1 -3
- package/dist/openapi_client/models/PodMemberDetailResponse.d.ts +0 -2
- package/dist/openapi_client/models/PodMemberResponse.d.ts +0 -2
- package/dist/openapi_client/models/PodMemberUpdateRoleRequest.d.ts +1 -3
- package/dist/openapi_client/models/PodRoleResourcePermissionRequest.d.ts +1 -1
- package/dist/openapi_client/models/PodRoleResourcePermissionResponse.d.ts +1 -1
- package/dist/openapi_client/models/ResourceAccessGrantResponse.d.ts +1 -1
- package/dist/openapi_client/models/ResourceAccessResponse.d.ts +1 -1
- package/dist/openapi_client/models/RuntimeProfileScope.d.ts +2 -1
- package/dist/openapi_client/models/RuntimeProfileScope.js +1 -0
- package/dist/openapi_client/models/ScheduleDetailResponse.d.ts +6 -0
- package/dist/openapi_client/models/ScheduleFireStatus.d.ts +8 -0
- package/dist/openapi_client/models/ScheduleFireStatus.js +13 -0
- package/dist/openapi_client/models/StepRecordResponse.d.ts +10 -0
- package/dist/openapi_client/models/StepStatus.d.ts +7 -0
- package/dist/openapi_client/models/StepStatus.js +12 -0
- package/dist/openapi_client/models/SurfaceBehaviorConfigInput.d.ts +4 -0
- package/dist/openapi_client/models/SurfaceChannelRouteInput.d.ts +6 -0
- package/dist/openapi_client/models/SurfaceChannelRouteResponse.d.ts +6 -0
- package/dist/openapi_client/models/SurfaceConfigResponse.d.ts +10 -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/SurfaceIdentityConfigInput.d.ts +4 -0
- package/dist/openapi_client/models/SurfaceIdentityConfigResponse.d.ts +4 -0
- package/dist/openapi_client/models/SurfaceSetupStatusResponse.d.ts +10 -0
- package/dist/openapi_client/models/TableListResponse.d.ts +2 -0
- package/dist/openapi_client/models/ToggleSurfaceRequest.d.ts +1 -1
- package/dist/openapi_client/models/UpdateScheduleRequest.d.ts +1 -0
- package/dist/openapi_client/models/UpdateSurfaceChannelsRequest.d.ts +4 -0
- package/dist/openapi_client/models/UpdateSurfaceRequest.d.ts +4 -11
- package/dist/openapi_client/models/UpsertSurfaceRequest.d.ts +9 -0
- package/dist/openapi_client/models/UserProfileRequest.d.ts +1 -0
- package/dist/openapi_client/models/UserResponse.d.ts +1 -0
- package/dist/openapi_client/models/WaitUntilNode.d.ts +1 -1
- package/dist/openapi_client/models/WorkflowCreateRequest.d.ts +16 -0
- package/dist/openapi_client/models/WorkflowRunFormSubmitRequest.d.ts +13 -0
- package/dist/openapi_client/models/WorkflowRunResponse.d.ts +28 -0
- package/dist/openapi_client/models/WorkflowRunSummaryResponse.d.ts +2 -3
- package/dist/openapi_client/models/WorkflowRunWaitAssignment.d.ts +4 -4
- package/dist/openapi_client/models/{WorkflowRunWaitEntity.d.ts → WorkflowRunWaitResponse.d.ts} +4 -8
- package/dist/openapi_client/models/WorkflowRunWaitType.d.ts +1 -2
- package/dist/openapi_client/models/WorkflowRunWaitType.js +0 -1
- package/dist/openapi_client/models/WorkspaceAppAccessRequest.d.ts +0 -3
- package/dist/openapi_client/models/WorkspaceMeSandbox.d.ts +1 -4
- package/dist/openapi_client/services/AgentSurfacesService.d.ts +39 -10
- package/dist/openapi_client/services/AgentSurfacesService.js +86 -20
- package/dist/openapi_client/services/ApplicationsService.d.ts +10 -0
- package/dist/openapi_client/services/ApplicationsService.js +23 -0
- package/dist/openapi_client/services/FilesService.d.ts +2 -3
- package/dist/openapi_client/services/FilesService.js +1 -1
- package/dist/openapi_client/services/FunctionsService.d.ts +1 -1
- package/dist/openapi_client/services/FunctionsService.js +1 -1
- package/dist/openapi_client/services/IntegrationsService.d.ts +12 -4
- package/dist/openapi_client/services/IntegrationsService.js +22 -4
- package/dist/openapi_client/services/PodResourceAccessService.d.ts +6 -6
- package/dist/openapi_client/services/PodResourceAccessService.js +12 -12
- package/dist/openapi_client/services/RecordsService.d.ts +21 -22
- package/dist/openapi_client/services/RecordsService.js +13 -13
- package/dist/openapi_client/services/SchedulesService.d.ts +2 -1
- package/dist/openapi_client/services/SchedulesService.js +3 -1
- package/dist/openapi_client/services/TablesService.d.ts +4 -5
- package/dist/openapi_client/services/TablesService.js +2 -2
- package/dist/openapi_client/services/WorkflowsService.d.ts +35 -26
- package/dist/openapi_client/services/WorkflowsService.js +57 -39
- package/dist/react/useAddPodMember.js +1 -1
- package/dist/react/useAssistantController.d.ts +1 -0
- package/dist/react/useAssistantController.js +5 -1
- package/dist/react/useAssistantSession.d.ts +1 -0
- package/dist/react/useAssistantSession.js +41 -0
- package/dist/react/useBulkRecords.d.ts +5 -5
- package/dist/react/useBulkRecords.js +5 -5
- package/dist/react/useCreateFolder.d.ts +2 -4
- package/dist/react/useCreateFolder.js +2 -3
- package/dist/react/useCreateRecord.d.ts +2 -2
- package/dist/react/useCreateRecord.js +1 -1
- package/dist/react/useDeleteFile.d.ts +1 -4
- package/dist/react/useDeleteFile.js +3 -3
- package/dist/react/useDeleteRecord.d.ts +1 -2
- package/dist/react/useDeleteRecord.js +3 -3
- package/dist/react/useFile.d.ts +2 -4
- package/dist/react/useFile.js +3 -3
- package/dist/react/useFilePreview.d.ts +1 -4
- package/dist/react/useFilePreview.js +4 -5
- package/dist/react/useFileSearch.d.ts +5 -1
- package/dist/react/useFileSearch.js +6 -4
- package/dist/react/useFileTree.d.ts +2 -4
- package/dist/react/useFileTree.js +2 -3
- package/dist/react/useFiles.d.ts +2 -4
- package/dist/react/useFiles.js +3 -5
- package/dist/react/useFlowSession.d.ts +3 -1
- package/dist/react/useFlowSession.js +24 -17
- package/dist/react/useGlobalSearch.js +1 -1
- package/dist/react/useRecord.d.ts +2 -2
- package/dist/react/useRecord.js +1 -1
- package/dist/react/useRecordForm.d.ts +2 -2
- package/dist/react/useRecordForm.js +2 -2
- package/dist/react/useReverseRelatedRecords.js +1 -1
- package/dist/react/useUpdateFile.d.ts +2 -4
- package/dist/react/useUpdateFile.js +2 -3
- package/dist/react/useUpdateRecord.d.ts +2 -2
- package/dist/react/useUpdateRecord.js +1 -1
- package/dist/react/useUploadFile.d.ts +2 -4
- package/dist/react/useUploadFile.js +2 -3
- package/dist/react/useWorkflowResume.d.ts +1 -0
- package/dist/react/useWorkflowResume.js +10 -1
- package/dist/react/useWorkflowRun.js +1 -3
- package/dist/react/useWorkflowStart.js +11 -26
- package/dist/react/utils.js +2 -0
- package/dist/types.d.ts +3 -3
- package/package.json +7 -2
- package/dist/openapi_client/models/BillingHistoryResponse.d.ts +0 -8
- package/dist/openapi_client/models/BillingInterval.d.ts +0 -7
- package/dist/openapi_client/models/BillingInterval.js +0 -12
- package/dist/openapi_client/models/BillingInvoiceResponse.d.ts +0 -27
- package/dist/openapi_client/models/BillingInvoiceStatus.d.ts +0 -10
- package/dist/openapi_client/models/BillingInvoiceStatus.js +0 -15
- package/dist/openapi_client/models/CancelSubscriptionResponse.d.ts +0 -10
- package/dist/openapi_client/models/CreateInvoicePaymentUrlRequest.d.ts +0 -7
- package/dist/openapi_client/models/CreateInvoicePaymentUrlResponse.d.ts +0 -8
- package/dist/openapi_client/models/DatastoreMessageResponse.d.ts +0 -6
- package/dist/openapi_client/models/DeskServingConfigResponse.d.ts +0 -11
- package/dist/openapi_client/models/DeskServingConfigResponse.js +0 -8
- package/dist/openapi_client/models/FlowRunEntity.d.ts +0 -36
- package/dist/openapi_client/models/GmailSurfaceConfig.d.ts +0 -7
- package/dist/openapi_client/models/OutlookSurfaceConfig.d.ts +0 -7
- package/dist/openapi_client/models/PlanListResponse.d.ts +0 -8
- package/dist/openapi_client/models/PlanResponse.d.ts +0 -18
- package/dist/openapi_client/models/PlanType.d.ts +0 -7
- package/dist/openapi_client/models/PlanType.js +0 -12
- package/dist/openapi_client/models/RecordResponse.d.ts +0 -9
- package/dist/openapi_client/models/SeatInfoResponse.d.ts +0 -10
- package/dist/openapi_client/models/SlackSurfaceConfig.d.ts +0 -7
- package/dist/openapi_client/models/StackFrame.d.ts +0 -11
- package/dist/openapi_client/models/StartSubscriptionRequest.d.ts +0 -14
- package/dist/openapi_client/models/StartSubscriptionResponse.d.ts +0 -9
- package/dist/openapi_client/models/StartTeamBillingRequest.d.ts +0 -6
- package/dist/openapi_client/models/StartTeamBillingRequest.js +0 -1
- package/dist/openapi_client/models/StepExecution.d.ts +0 -13
- package/dist/openapi_client/models/StepExecution.js +0 -1
- package/dist/openapi_client/models/SubscriptionResponse.d.ts +0 -22
- package/dist/openapi_client/models/SubscriptionResponse.js +0 -1
- package/dist/openapi_client/models/SubscriptionStatus.d.ts +0 -10
- package/dist/openapi_client/models/SubscriptionStatus.js +0 -15
- package/dist/openapi_client/models/SubscriptionStatusResponse.d.ts +0 -10
- package/dist/openapi_client/models/SubscriptionStatusResponse.js +0 -1
- package/dist/openapi_client/models/SubscriptionWithPlanResponse.d.ts +0 -22
- package/dist/openapi_client/models/SubscriptionWithPlanResponse.js +0 -1
- package/dist/openapi_client/models/SurfaceEventMode.d.ts +0 -6
- package/dist/openapi_client/models/SurfaceEventMode.js +0 -11
- package/dist/openapi_client/models/SurfaceMode.d.ts +0 -5
- package/dist/openapi_client/models/SurfaceMode.js +0 -10
- package/dist/openapi_client/models/SurfaceRoutingScope.d.ts +0 -4
- package/dist/openapi_client/models/SurfaceRoutingScope.js +0 -9
- package/dist/openapi_client/models/TeamsSurfaceConfig.d.ts +0 -7
- package/dist/openapi_client/models/TeamsSurfaceConfig.js +0 -1
- package/dist/openapi_client/models/TelegramSurfaceConfig.d.ts +0 -7
- package/dist/openapi_client/models/TelegramSurfaceConfig.js +0 -1
- package/dist/openapi_client/models/WhatsAppSurfaceConfig.d.ts +0 -7
- package/dist/openapi_client/models/WhatsAppSurfaceConfig.js +0 -1
- package/dist/openapi_client/models/WorkflowRunWaitEntity.js +0 -1
- package/dist/openapi_client/services/BillingSubscriptionsService.d.ts +0 -117
- package/dist/openapi_client/services/BillingSubscriptionsService.js +0 -230
- package/dist/openapi_client/services/BillingWebhooksService.d.ts +0 -12
- package/dist/openapi_client/services/BillingWebhooksService.js +0 -25
- package/dist/openapi_client/services/PublicDesksService.d.ts +0 -10
- package/dist/openapi_client/services/PublicDesksService.js +0 -15
- /package/dist/openapi_client/models/{BillingHistoryResponse.js → ApplicationSkillResponse.js} +0 -0
- /package/dist/openapi_client/models/{BillingInvoiceResponse.js → ConnectedAccountSummary.js} +0 -0
- /package/dist/openapi_client/models/{CancelSubscriptionResponse.js → DatastoreCountResponse.js} +0 -0
- /package/dist/openapi_client/models/{CreateInvoicePaymentUrlRequest.js → InstalledAppSummary.js} +0 -0
- /package/dist/openapi_client/models/{CreateInvoicePaymentUrlResponse.js → IntegrationStatusResponse.js} +0 -0
- /package/dist/openapi_client/models/{DatastoreMessageResponse.js → StepRecordResponse.js} +0 -0
- /package/dist/openapi_client/models/{FlowRunEntity.js → SurfaceChannelRouteInput.js} +0 -0
- /package/dist/openapi_client/models/{GmailSurfaceConfig.js → SurfaceChannelRouteResponse.js} +0 -0
- /package/dist/openapi_client/models/{OutlookSurfaceConfig.js → SurfaceConfigResponse.js} +0 -0
- /package/dist/openapi_client/models/{PlanListResponse.js → SurfaceIdentityConfigInput.js} +0 -0
- /package/dist/openapi_client/models/{PlanResponse.js → SurfaceIdentityConfigResponse.js} +0 -0
- /package/dist/openapi_client/models/{RecordResponse.js → SurfaceSetupStatusResponse.js} +0 -0
- /package/dist/openapi_client/models/{SeatInfoResponse.js → UpdateSurfaceChannelsRequest.js} +0 -0
- /package/dist/openapi_client/models/{SlackSurfaceConfig.js → UpsertSurfaceRequest.js} +0 -0
- /package/dist/openapi_client/models/{StackFrame.js → WorkflowRunFormSubmitRequest.js} +0 -0
- /package/dist/openapi_client/models/{StartSubscriptionRequest.js → WorkflowRunResponse.js} +0 -0
- /package/dist/openapi_client/models/{StartSubscriptionResponse.js → WorkflowRunWaitResponse.js} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
import type { BillingHistoryResponse } from '../models/BillingHistoryResponse.js';
|
|
2
|
-
import type { BillingInvoiceResponse } from '../models/BillingInvoiceResponse.js';
|
|
3
|
-
import type { CancelSubscriptionResponse } from '../models/CancelSubscriptionResponse.js';
|
|
4
|
-
import type { CreateInvoicePaymentUrlRequest } from '../models/CreateInvoicePaymentUrlRequest.js';
|
|
5
|
-
import type { CreateInvoicePaymentUrlResponse } from '../models/CreateInvoicePaymentUrlResponse.js';
|
|
6
|
-
import type { PlanListResponse } from '../models/PlanListResponse.js';
|
|
7
|
-
import type { PlanType } from '../models/PlanType.js';
|
|
8
|
-
import type { SeatInfoResponse } from '../models/SeatInfoResponse.js';
|
|
9
|
-
import type { StartSubscriptionRequest } from '../models/StartSubscriptionRequest.js';
|
|
10
|
-
import type { StartSubscriptionResponse } from '../models/StartSubscriptionResponse.js';
|
|
11
|
-
import type { StartTeamBillingRequest } from '../models/StartTeamBillingRequest.js';
|
|
12
|
-
import type { SubscriptionStatusResponse } from '../models/SubscriptionStatusResponse.js';
|
|
13
|
-
import type { SubscriptionWithPlanResponse } from '../models/SubscriptionWithPlanResponse.js';
|
|
14
|
-
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
15
|
-
export declare class BillingSubscriptionsService {
|
|
16
|
-
/**
|
|
17
|
-
* List Organization Billing History
|
|
18
|
-
* List invoices for an organization.
|
|
19
|
-
* @param organizationId
|
|
20
|
-
* @param limit
|
|
21
|
-
* @param pageToken
|
|
22
|
-
* @returns BillingHistoryResponse Successful Response
|
|
23
|
-
* @throws ApiError
|
|
24
|
-
*/
|
|
25
|
-
static billingOrganizationHistory(organizationId: string, limit?: number, pageToken?: (string | null)): CancelablePromise<BillingHistoryResponse>;
|
|
26
|
-
/**
|
|
27
|
-
* Get Current Organization Invoice
|
|
28
|
-
* Get or create the current unpaid monthly invoice.
|
|
29
|
-
* @param organizationId
|
|
30
|
-
* @returns BillingInvoiceResponse Successful Response
|
|
31
|
-
* @throws ApiError
|
|
32
|
-
*/
|
|
33
|
-
static billingOrganizationInvoicesCurrent(organizationId: string): CancelablePromise<BillingInvoiceResponse>;
|
|
34
|
-
/**
|
|
35
|
-
* Create Invoice Payment URL
|
|
36
|
-
* Create a hosted checkout URL for an unpaid invoice.
|
|
37
|
-
* @param organizationId
|
|
38
|
-
* @param invoiceId
|
|
39
|
-
* @param requestBody
|
|
40
|
-
* @returns CreateInvoicePaymentUrlResponse Successful Response
|
|
41
|
-
* @throws ApiError
|
|
42
|
-
*/
|
|
43
|
-
static billingOrganizationInvoicesPaymentUrl(organizationId: string, invoiceId: string, requestBody: CreateInvoicePaymentUrlRequest): CancelablePromise<CreateInvoicePaymentUrlResponse>;
|
|
44
|
-
/**
|
|
45
|
-
* Get Seat Info
|
|
46
|
-
* Get seat availability information.
|
|
47
|
-
* @param organizationId
|
|
48
|
-
* @returns SeatInfoResponse Successful Response
|
|
49
|
-
* @throws ApiError
|
|
50
|
-
*/
|
|
51
|
-
static billingOrganizationSeatsInfo(organizationId: string): CancelablePromise<SeatInfoResponse>;
|
|
52
|
-
/**
|
|
53
|
-
* Get Organization Subscription
|
|
54
|
-
* Get subscription for an organization.
|
|
55
|
-
* @param organizationId
|
|
56
|
-
* @returns SubscriptionWithPlanResponse Successful Response
|
|
57
|
-
* @throws ApiError
|
|
58
|
-
*/
|
|
59
|
-
static billingOrganizationSubscriptionGet(organizationId: string): CancelablePromise<SubscriptionWithPlanResponse>;
|
|
60
|
-
/**
|
|
61
|
-
* Cancel Organization Subscription
|
|
62
|
-
* Cancel an organization's team billing subscription.
|
|
63
|
-
* @param organizationId
|
|
64
|
-
* @returns CancelSubscriptionResponse Successful Response
|
|
65
|
-
* @throws ApiError
|
|
66
|
-
*/
|
|
67
|
-
static billingOrganizationSubscriptionCancel(organizationId: string): CancelablePromise<CancelSubscriptionResponse>;
|
|
68
|
-
/**
|
|
69
|
-
* Start Organization Team Billing
|
|
70
|
-
* Start monthly-invoiced team billing for an organization.
|
|
71
|
-
* @param organizationId
|
|
72
|
-
* @param requestBody
|
|
73
|
-
* @returns SubscriptionWithPlanResponse Successful Response
|
|
74
|
-
* @throws ApiError
|
|
75
|
-
*/
|
|
76
|
-
static billingOrganizationTeamBillingStart(organizationId: string, requestBody: StartTeamBillingRequest): CancelablePromise<SubscriptionWithPlanResponse>;
|
|
77
|
-
/**
|
|
78
|
-
* Get Personal Subscription
|
|
79
|
-
* Get the current user's personal subscription.
|
|
80
|
-
* @returns SubscriptionWithPlanResponse Successful Response
|
|
81
|
-
* @throws ApiError
|
|
82
|
-
*/
|
|
83
|
-
static billingPersonalSubscriptionGet(): CancelablePromise<SubscriptionWithPlanResponse>;
|
|
84
|
-
/**
|
|
85
|
-
* Start Personal Subscription
|
|
86
|
-
* Start a new subscription.
|
|
87
|
-
* @param requestBody
|
|
88
|
-
* @returns StartSubscriptionResponse Successful Response
|
|
89
|
-
* @throws ApiError
|
|
90
|
-
*/
|
|
91
|
-
static billingPersonalSubscriptionStart(requestBody: StartSubscriptionRequest): CancelablePromise<StartSubscriptionResponse>;
|
|
92
|
-
/**
|
|
93
|
-
* Cancel Personal Subscription
|
|
94
|
-
* Cancel subscription.
|
|
95
|
-
* @returns CancelSubscriptionResponse Successful Response
|
|
96
|
-
* @throws ApiError
|
|
97
|
-
*/
|
|
98
|
-
static billingPersonalSubscriptionCancel(): CancelablePromise<CancelSubscriptionResponse>;
|
|
99
|
-
/**
|
|
100
|
-
* Get Personal Subscription Status
|
|
101
|
-
* Get subscription status.
|
|
102
|
-
* @returns SubscriptionStatusResponse Successful Response
|
|
103
|
-
* @throws ApiError
|
|
104
|
-
*/
|
|
105
|
-
static billingPersonalSubscriptionStatus(): CancelablePromise<SubscriptionStatusResponse>;
|
|
106
|
-
/**
|
|
107
|
-
* List Plans
|
|
108
|
-
* List available subscription plans.
|
|
109
|
-
* @param onlyActive
|
|
110
|
-
* @param planType
|
|
111
|
-
* @param limit
|
|
112
|
-
* @param pageToken
|
|
113
|
-
* @returns PlanListResponse Successful Response
|
|
114
|
-
* @throws ApiError
|
|
115
|
-
*/
|
|
116
|
-
static billingPlansList(onlyActive?: boolean, planType?: (PlanType | null), limit?: number, pageToken?: (string | null)): CancelablePromise<PlanListResponse>;
|
|
117
|
-
}
|
|
@@ -1,230 +0,0 @@
|
|
|
1
|
-
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
|
-
import { request as __request } from '../core/request.js';
|
|
3
|
-
export class BillingSubscriptionsService {
|
|
4
|
-
/**
|
|
5
|
-
* List Organization Billing History
|
|
6
|
-
* List invoices for an organization.
|
|
7
|
-
* @param organizationId
|
|
8
|
-
* @param limit
|
|
9
|
-
* @param pageToken
|
|
10
|
-
* @returns BillingHistoryResponse Successful Response
|
|
11
|
-
* @throws ApiError
|
|
12
|
-
*/
|
|
13
|
-
static billingOrganizationHistory(organizationId, limit = 100, pageToken) {
|
|
14
|
-
return __request(OpenAPI, {
|
|
15
|
-
method: 'GET',
|
|
16
|
-
url: '/billing/organizations/{organization_id}/billing-history',
|
|
17
|
-
path: {
|
|
18
|
-
'organization_id': organizationId,
|
|
19
|
-
},
|
|
20
|
-
query: {
|
|
21
|
-
'limit': limit,
|
|
22
|
-
'page_token': pageToken,
|
|
23
|
-
},
|
|
24
|
-
errors: {
|
|
25
|
-
422: `Validation Error`,
|
|
26
|
-
},
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* Get Current Organization Invoice
|
|
31
|
-
* Get or create the current unpaid monthly invoice.
|
|
32
|
-
* @param organizationId
|
|
33
|
-
* @returns BillingInvoiceResponse Successful Response
|
|
34
|
-
* @throws ApiError
|
|
35
|
-
*/
|
|
36
|
-
static billingOrganizationInvoicesCurrent(organizationId) {
|
|
37
|
-
return __request(OpenAPI, {
|
|
38
|
-
method: 'GET',
|
|
39
|
-
url: '/billing/organizations/{organization_id}/invoices/current',
|
|
40
|
-
path: {
|
|
41
|
-
'organization_id': organizationId,
|
|
42
|
-
},
|
|
43
|
-
errors: {
|
|
44
|
-
422: `Validation Error`,
|
|
45
|
-
},
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* Create Invoice Payment URL
|
|
50
|
-
* Create a hosted checkout URL for an unpaid invoice.
|
|
51
|
-
* @param organizationId
|
|
52
|
-
* @param invoiceId
|
|
53
|
-
* @param requestBody
|
|
54
|
-
* @returns CreateInvoicePaymentUrlResponse Successful Response
|
|
55
|
-
* @throws ApiError
|
|
56
|
-
*/
|
|
57
|
-
static billingOrganizationInvoicesPaymentUrl(organizationId, invoiceId, requestBody) {
|
|
58
|
-
return __request(OpenAPI, {
|
|
59
|
-
method: 'POST',
|
|
60
|
-
url: '/billing/organizations/{organization_id}/invoices/{invoice_id}/payment-url',
|
|
61
|
-
path: {
|
|
62
|
-
'organization_id': organizationId,
|
|
63
|
-
'invoice_id': invoiceId,
|
|
64
|
-
},
|
|
65
|
-
body: requestBody,
|
|
66
|
-
mediaType: 'application/json',
|
|
67
|
-
errors: {
|
|
68
|
-
422: `Validation Error`,
|
|
69
|
-
},
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
/**
|
|
73
|
-
* Get Seat Info
|
|
74
|
-
* Get seat availability information.
|
|
75
|
-
* @param organizationId
|
|
76
|
-
* @returns SeatInfoResponse Successful Response
|
|
77
|
-
* @throws ApiError
|
|
78
|
-
*/
|
|
79
|
-
static billingOrganizationSeatsInfo(organizationId) {
|
|
80
|
-
return __request(OpenAPI, {
|
|
81
|
-
method: 'GET',
|
|
82
|
-
url: '/billing/organizations/{organization_id}/seats',
|
|
83
|
-
path: {
|
|
84
|
-
'organization_id': organizationId,
|
|
85
|
-
},
|
|
86
|
-
errors: {
|
|
87
|
-
422: `Validation Error`,
|
|
88
|
-
},
|
|
89
|
-
});
|
|
90
|
-
}
|
|
91
|
-
/**
|
|
92
|
-
* Get Organization Subscription
|
|
93
|
-
* Get subscription for an organization.
|
|
94
|
-
* @param organizationId
|
|
95
|
-
* @returns SubscriptionWithPlanResponse Successful Response
|
|
96
|
-
* @throws ApiError
|
|
97
|
-
*/
|
|
98
|
-
static billingOrganizationSubscriptionGet(organizationId) {
|
|
99
|
-
return __request(OpenAPI, {
|
|
100
|
-
method: 'GET',
|
|
101
|
-
url: '/billing/organizations/{organization_id}/subscription',
|
|
102
|
-
path: {
|
|
103
|
-
'organization_id': organizationId,
|
|
104
|
-
},
|
|
105
|
-
errors: {
|
|
106
|
-
422: `Validation Error`,
|
|
107
|
-
},
|
|
108
|
-
});
|
|
109
|
-
}
|
|
110
|
-
/**
|
|
111
|
-
* Cancel Organization Subscription
|
|
112
|
-
* Cancel an organization's team billing subscription.
|
|
113
|
-
* @param organizationId
|
|
114
|
-
* @returns CancelSubscriptionResponse Successful Response
|
|
115
|
-
* @throws ApiError
|
|
116
|
-
*/
|
|
117
|
-
static billingOrganizationSubscriptionCancel(organizationId) {
|
|
118
|
-
return __request(OpenAPI, {
|
|
119
|
-
method: 'POST',
|
|
120
|
-
url: '/billing/organizations/{organization_id}/subscription/cancel',
|
|
121
|
-
path: {
|
|
122
|
-
'organization_id': organizationId,
|
|
123
|
-
},
|
|
124
|
-
errors: {
|
|
125
|
-
422: `Validation Error`,
|
|
126
|
-
},
|
|
127
|
-
});
|
|
128
|
-
}
|
|
129
|
-
/**
|
|
130
|
-
* Start Organization Team Billing
|
|
131
|
-
* Start monthly-invoiced team billing for an organization.
|
|
132
|
-
* @param organizationId
|
|
133
|
-
* @param requestBody
|
|
134
|
-
* @returns SubscriptionWithPlanResponse Successful Response
|
|
135
|
-
* @throws ApiError
|
|
136
|
-
*/
|
|
137
|
-
static billingOrganizationTeamBillingStart(organizationId, requestBody) {
|
|
138
|
-
return __request(OpenAPI, {
|
|
139
|
-
method: 'POST',
|
|
140
|
-
url: '/billing/organizations/{organization_id}/team-billing',
|
|
141
|
-
path: {
|
|
142
|
-
'organization_id': organizationId,
|
|
143
|
-
},
|
|
144
|
-
body: requestBody,
|
|
145
|
-
mediaType: 'application/json',
|
|
146
|
-
errors: {
|
|
147
|
-
422: `Validation Error`,
|
|
148
|
-
},
|
|
149
|
-
});
|
|
150
|
-
}
|
|
151
|
-
/**
|
|
152
|
-
* Get Personal Subscription
|
|
153
|
-
* Get the current user's personal subscription.
|
|
154
|
-
* @returns SubscriptionWithPlanResponse Successful Response
|
|
155
|
-
* @throws ApiError
|
|
156
|
-
*/
|
|
157
|
-
static billingPersonalSubscriptionGet() {
|
|
158
|
-
return __request(OpenAPI, {
|
|
159
|
-
method: 'GET',
|
|
160
|
-
url: '/billing/personal/subscription',
|
|
161
|
-
});
|
|
162
|
-
}
|
|
163
|
-
/**
|
|
164
|
-
* Start Personal Subscription
|
|
165
|
-
* Start a new subscription.
|
|
166
|
-
* @param requestBody
|
|
167
|
-
* @returns StartSubscriptionResponse Successful Response
|
|
168
|
-
* @throws ApiError
|
|
169
|
-
*/
|
|
170
|
-
static billingPersonalSubscriptionStart(requestBody) {
|
|
171
|
-
return __request(OpenAPI, {
|
|
172
|
-
method: 'POST',
|
|
173
|
-
url: '/billing/personal/subscription',
|
|
174
|
-
body: requestBody,
|
|
175
|
-
mediaType: 'application/json',
|
|
176
|
-
errors: {
|
|
177
|
-
422: `Validation Error`,
|
|
178
|
-
},
|
|
179
|
-
});
|
|
180
|
-
}
|
|
181
|
-
/**
|
|
182
|
-
* Cancel Personal Subscription
|
|
183
|
-
* Cancel subscription.
|
|
184
|
-
* @returns CancelSubscriptionResponse Successful Response
|
|
185
|
-
* @throws ApiError
|
|
186
|
-
*/
|
|
187
|
-
static billingPersonalSubscriptionCancel() {
|
|
188
|
-
return __request(OpenAPI, {
|
|
189
|
-
method: 'POST',
|
|
190
|
-
url: '/billing/personal/subscription/cancel',
|
|
191
|
-
});
|
|
192
|
-
}
|
|
193
|
-
/**
|
|
194
|
-
* Get Personal Subscription Status
|
|
195
|
-
* Get subscription status.
|
|
196
|
-
* @returns SubscriptionStatusResponse Successful Response
|
|
197
|
-
* @throws ApiError
|
|
198
|
-
*/
|
|
199
|
-
static billingPersonalSubscriptionStatus() {
|
|
200
|
-
return __request(OpenAPI, {
|
|
201
|
-
method: 'GET',
|
|
202
|
-
url: '/billing/personal/subscription/status',
|
|
203
|
-
});
|
|
204
|
-
}
|
|
205
|
-
/**
|
|
206
|
-
* List Plans
|
|
207
|
-
* List available subscription plans.
|
|
208
|
-
* @param onlyActive
|
|
209
|
-
* @param planType
|
|
210
|
-
* @param limit
|
|
211
|
-
* @param pageToken
|
|
212
|
-
* @returns PlanListResponse Successful Response
|
|
213
|
-
* @throws ApiError
|
|
214
|
-
*/
|
|
215
|
-
static billingPlansList(onlyActive = true, planType, limit = 100, pageToken) {
|
|
216
|
-
return __request(OpenAPI, {
|
|
217
|
-
method: 'GET',
|
|
218
|
-
url: '/billing/plans',
|
|
219
|
-
query: {
|
|
220
|
-
'only_active': onlyActive,
|
|
221
|
-
'plan_type': planType,
|
|
222
|
-
'limit': limit,
|
|
223
|
-
'page_token': pageToken,
|
|
224
|
-
},
|
|
225
|
-
errors: {
|
|
226
|
-
422: `Validation Error`,
|
|
227
|
-
},
|
|
228
|
-
});
|
|
229
|
-
}
|
|
230
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
2
|
-
export declare class BillingWebhooksService {
|
|
3
|
-
/**
|
|
4
|
-
* DodoPayments Webhook
|
|
5
|
-
* Handle webhooks from DodoPayments.
|
|
6
|
-
* @param xDodoSignature
|
|
7
|
-
* @param xDodoEventType
|
|
8
|
-
* @returns any Successful Response
|
|
9
|
-
* @throws ApiError
|
|
10
|
-
*/
|
|
11
|
-
static billingWebhooksDodo(xDodoSignature?: (string | null), xDodoEventType?: (string | null)): CancelablePromise<any>;
|
|
12
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
|
-
import { request as __request } from '../core/request.js';
|
|
3
|
-
export class BillingWebhooksService {
|
|
4
|
-
/**
|
|
5
|
-
* DodoPayments Webhook
|
|
6
|
-
* Handle webhooks from DodoPayments.
|
|
7
|
-
* @param xDodoSignature
|
|
8
|
-
* @param xDodoEventType
|
|
9
|
-
* @returns any Successful Response
|
|
10
|
-
* @throws ApiError
|
|
11
|
-
*/
|
|
12
|
-
static billingWebhooksDodo(xDodoSignature, xDodoEventType) {
|
|
13
|
-
return __request(OpenAPI, {
|
|
14
|
-
method: 'POST',
|
|
15
|
-
url: '/billing/webhooks/dodo',
|
|
16
|
-
headers: {
|
|
17
|
-
'X-Dodo-Signature': xDodoSignature,
|
|
18
|
-
'X-Dodo-Event-Type': xDodoEventType,
|
|
19
|
-
},
|
|
20
|
-
errors: {
|
|
21
|
-
422: `Validation Error`,
|
|
22
|
-
},
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { DeskServingConfigResponse } from '../models/DeskServingConfigResponse.js';
|
|
2
|
-
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
3
|
-
export declare class PublicDesksService {
|
|
4
|
-
/**
|
|
5
|
-
* Get Desk Serving Config
|
|
6
|
-
* @returns DeskServingConfigResponse Successful Response
|
|
7
|
-
* @throws ApiError
|
|
8
|
-
*/
|
|
9
|
-
static deskServingConfig(): CancelablePromise<DeskServingConfigResponse>;
|
|
10
|
-
}
|
|
@@ -1,15 +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 Desk Serving Config
|
|
6
|
-
* @returns DeskServingConfigResponse Successful Response
|
|
7
|
-
* @throws ApiError
|
|
8
|
-
*/
|
|
9
|
-
static deskServingConfig() {
|
|
10
|
-
return __request(OpenAPI, {
|
|
11
|
-
method: 'GET',
|
|
12
|
-
url: '/public/desks/-/config',
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
}
|
/package/dist/openapi_client/models/{BillingHistoryResponse.js → ApplicationSkillResponse.js}
RENAMED
|
File without changes
|
/package/dist/openapi_client/models/{BillingInvoiceResponse.js → ConnectedAccountSummary.js}
RENAMED
|
File without changes
|
/package/dist/openapi_client/models/{CancelSubscriptionResponse.js → DatastoreCountResponse.js}
RENAMED
|
File without changes
|
/package/dist/openapi_client/models/{CreateInvoicePaymentUrlRequest.js → InstalledAppSummary.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/openapi_client/models/{GmailSurfaceConfig.js → SurfaceChannelRouteResponse.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/openapi_client/models/{StartSubscriptionResponse.js → WorkflowRunWaitResponse.js}
RENAMED
|
File without changes
|