@livechat/developer-studio-api 3.4.9 → 3.4.11
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/index.d.mts +554 -703
- package/dist/index.d.ts +554 -703
- package/dist/index.js +101 -101
- package/dist/index.mjs +100 -100
- package/package.json +5 -4
package/dist/index.d.mts
CHANGED
|
@@ -55,7 +55,7 @@ interface GitHubInstallation {
|
|
|
55
55
|
app_id: number;
|
|
56
56
|
app_slug: string;
|
|
57
57
|
repository_selection: string;
|
|
58
|
-
target_type:
|
|
58
|
+
target_type: 'User' | 'Organization';
|
|
59
59
|
account: {
|
|
60
60
|
login: string;
|
|
61
61
|
};
|
|
@@ -140,8 +140,8 @@ interface GitHubRepositoryIssue {
|
|
|
140
140
|
number: number;
|
|
141
141
|
performed_via_github_app: object | null;
|
|
142
142
|
reactions: {
|
|
143
|
-
|
|
144
|
-
|
|
143
|
+
'+1': number;
|
|
144
|
+
'-1': number;
|
|
145
145
|
confused: number;
|
|
146
146
|
eyes: number;
|
|
147
147
|
heart: number;
|
|
@@ -321,7 +321,7 @@ type AppMonitoringEventsReportDto = Record<string, Record<string, Record<string,
|
|
|
321
321
|
interface AppMonitoringReportParams {
|
|
322
322
|
from: string;
|
|
323
323
|
to: string;
|
|
324
|
-
resolution:
|
|
324
|
+
resolution: 'hourly' | 'daily' | 'monthly';
|
|
325
325
|
}
|
|
326
326
|
|
|
327
327
|
type GetAppMonitoringCustomReportDataPayload = AppMonitoringReportParams;
|
|
@@ -364,7 +364,7 @@ interface TextPlatformDashboardPaymentDto {
|
|
|
364
364
|
interface TextPlatformDashboardReportItemDto {
|
|
365
365
|
usage: number;
|
|
366
366
|
amount: number;
|
|
367
|
-
service?:
|
|
367
|
+
service?: 'agent-api' | 'customer-api' | 'configuration-api' | 'lc-webhooks' | 'reports-api' | 'lang-id-api' | 'chat-api';
|
|
368
368
|
action?: string;
|
|
369
369
|
source?: string;
|
|
370
370
|
}
|
|
@@ -380,11 +380,11 @@ interface TextPlatformDashboardCreditsDto {
|
|
|
380
380
|
interface GetTextPlatformDashboardReportParams {
|
|
381
381
|
from: string;
|
|
382
382
|
to: string;
|
|
383
|
-
service?:
|
|
383
|
+
service?: 'agent-api' | 'customer-api' | 'configuration-api' | 'lc-webhooks' | 'reports-api' | 'lang-id-api' | 'chat-api';
|
|
384
384
|
action?: string;
|
|
385
385
|
source?: string;
|
|
386
|
-
time_distribution:
|
|
387
|
-
group_by?: (
|
|
386
|
+
time_distribution: 'hour' | 'day';
|
|
387
|
+
group_by?: ('source' | 'service' | 'action')[];
|
|
388
388
|
is_source_private?: boolean;
|
|
389
389
|
}
|
|
390
390
|
|
|
@@ -434,17 +434,17 @@ interface WorkflowDto {
|
|
|
434
434
|
definition: WorkflowDefinitionDto;
|
|
435
435
|
trigger: WorkflowTriggerDto;
|
|
436
436
|
}
|
|
437
|
-
type WorkflowTriggerType =
|
|
437
|
+
type WorkflowTriggerType = 'manual_only' | 'recurring' | 'one_time' | 'webhook';
|
|
438
438
|
type WorkflowTriggerDto = Record<string, never> | {
|
|
439
|
-
type?:
|
|
439
|
+
type?: 'manual_only';
|
|
440
440
|
} | {
|
|
441
|
-
type:
|
|
441
|
+
type: 'recurring';
|
|
442
442
|
schedule: string;
|
|
443
443
|
} | {
|
|
444
|
-
type:
|
|
444
|
+
type: 'one_time';
|
|
445
445
|
at: string;
|
|
446
446
|
} | {
|
|
447
|
-
type:
|
|
447
|
+
type: 'webhook';
|
|
448
448
|
webhook: {
|
|
449
449
|
source: IntegrationEventProviderName;
|
|
450
450
|
event: IntegrationEvent;
|
|
@@ -498,7 +498,7 @@ type WorkflowDefinitionTaskCore<TType extends (typeof WorkflowDefinitionTaskType
|
|
|
498
498
|
} & {
|
|
499
499
|
[key in TInputKey]: TInput;
|
|
500
500
|
};
|
|
501
|
-
type WorkflowDefinitionHttpTask = WorkflowDefinitionTaskCore<
|
|
501
|
+
type WorkflowDefinitionHttpTask = WorkflowDefinitionTaskCore<'HTTP', 'inputParameters', {
|
|
502
502
|
asyncComplete: boolean;
|
|
503
503
|
http_request: {
|
|
504
504
|
method: string;
|
|
@@ -508,24 +508,24 @@ type WorkflowDefinitionHttpTask = WorkflowDefinitionTaskCore<"HTTP", "inputParam
|
|
|
508
508
|
};
|
|
509
509
|
}>;
|
|
510
510
|
type WorkflowDefinitionForkJoinTask = WorkflowDefinitionTaskBase & {
|
|
511
|
-
type:
|
|
511
|
+
type: 'FORK_JOIN';
|
|
512
512
|
forkTasks: WorkflowDefinitionTask[][];
|
|
513
513
|
};
|
|
514
514
|
type WorkflowDefinitionJoinTask = WorkflowDefinitionTaskBase & {
|
|
515
|
-
type:
|
|
515
|
+
type: 'JOIN';
|
|
516
516
|
joinOn: string[];
|
|
517
517
|
};
|
|
518
518
|
type WorkflowDefinitionSwitchTask = WorkflowDefinitionTaskBase & {
|
|
519
|
-
type:
|
|
519
|
+
type: 'SWITCH';
|
|
520
520
|
inputParameters: {
|
|
521
521
|
switchCaseValue: string;
|
|
522
522
|
};
|
|
523
|
-
evaluatorType:
|
|
523
|
+
evaluatorType: 'value-param' | 'javascript';
|
|
524
524
|
expression?: string;
|
|
525
525
|
defaultCase?: WorkflowDefinitionTask[];
|
|
526
526
|
decisionCases: Record<string, WorkflowDefinitionTask[]>;
|
|
527
527
|
};
|
|
528
|
-
type WorkflowDefinitionTerminateTask = WorkflowDefinitionTaskCore<
|
|
528
|
+
type WorkflowDefinitionTerminateTask = WorkflowDefinitionTaskCore<'TERMINATE', 'inputParameters', {
|
|
529
529
|
terminationStatus: string;
|
|
530
530
|
terminationReason: string;
|
|
531
531
|
}>;
|
|
@@ -564,18 +564,18 @@ type Credential = {
|
|
|
564
564
|
description: string;
|
|
565
565
|
provider: string;
|
|
566
566
|
} & ({
|
|
567
|
-
type:
|
|
567
|
+
type: 'api_key';
|
|
568
568
|
data: {
|
|
569
569
|
api_key: string;
|
|
570
570
|
};
|
|
571
571
|
} | {
|
|
572
|
-
type:
|
|
572
|
+
type: 'basic_auth';
|
|
573
573
|
data: {
|
|
574
574
|
username: string;
|
|
575
575
|
password: string;
|
|
576
576
|
};
|
|
577
577
|
} | {
|
|
578
|
-
type:
|
|
578
|
+
type: 'oauth2';
|
|
579
579
|
data: {
|
|
580
580
|
redirect_url: string;
|
|
581
581
|
authorization_url: string;
|
|
@@ -586,7 +586,7 @@ type Credential = {
|
|
|
586
586
|
connected?: boolean;
|
|
587
587
|
};
|
|
588
588
|
} | {
|
|
589
|
-
type:
|
|
589
|
+
type: 'text_auth';
|
|
590
590
|
data: Record<string, never>;
|
|
591
591
|
});
|
|
592
592
|
type CredentialDto = Credential & {
|
|
@@ -594,7 +594,7 @@ type CredentialDto = Credential & {
|
|
|
594
594
|
updated_at: string;
|
|
595
595
|
};
|
|
596
596
|
type OAuthCredential<TProviderFields extends Record<string, string> = Record<string, string>, TOptional extends boolean = true> = Extract<Credential, {
|
|
597
|
-
type:
|
|
597
|
+
type: 'oauth2';
|
|
598
598
|
}> & {
|
|
599
599
|
data: TOptional extends true ? {
|
|
600
600
|
provider_fields?: TProviderFields;
|
|
@@ -634,10 +634,10 @@ type HubSpotOauthCredential = OAuthCredential<{
|
|
|
634
634
|
appId: string;
|
|
635
635
|
}, false>;
|
|
636
636
|
type OpenaiCredential = Extract<Credential, {
|
|
637
|
-
type:
|
|
637
|
+
type: 'api_key';
|
|
638
638
|
}>;
|
|
639
639
|
type TextAuthCredential = Extract<Credential, {
|
|
640
|
-
type:
|
|
640
|
+
type: 'text_auth';
|
|
641
641
|
}>;
|
|
642
642
|
type TextOAuthCredential = OAuthCredential<{
|
|
643
643
|
appId: string;
|
|
@@ -670,7 +670,7 @@ interface GenerateResponsePayload {
|
|
|
670
670
|
account_id: string;
|
|
671
671
|
organization: string;
|
|
672
672
|
token: string;
|
|
673
|
-
executor:
|
|
673
|
+
executor: 'single-chain';
|
|
674
674
|
messages: {
|
|
675
675
|
value: string;
|
|
676
676
|
}[];
|
|
@@ -680,17 +680,17 @@ interface GenerateResponseResponse {
|
|
|
680
680
|
response: string;
|
|
681
681
|
}
|
|
682
682
|
|
|
683
|
-
type ApiErrorName =
|
|
684
|
-
type ApiErrorSource =
|
|
685
|
-
type ApiErrorKind =
|
|
683
|
+
type ApiErrorName = 'adapter' | 'accounts' | 'livechat' | 'helpdesk' | 'dps' | 'github' | 'vercel' | 'netlify' | 'planetscale' | 'neon' | 'mailchimp' | 'shopify' | 'hubspot' | 'bigcommerce' | 'text';
|
|
684
|
+
type ApiErrorSource = 'accounts' | 'github' | 'vercel' | 'netlify' | 'planetscale' | 'neon' | 'mailchimp' | 'shopify' | 'hubspot' | 'bigcommerce' | 'text';
|
|
685
|
+
type ApiErrorKind = 'unauthorized' | 'error';
|
|
686
686
|
type ApiError<TData = unknown> = {
|
|
687
687
|
code: number;
|
|
688
688
|
message: string;
|
|
689
689
|
} & ({
|
|
690
|
-
kind:
|
|
690
|
+
kind: 'error';
|
|
691
691
|
data?: TData;
|
|
692
692
|
} | {
|
|
693
|
-
kind:
|
|
693
|
+
kind: 'unauthorized';
|
|
694
694
|
source: ApiErrorSource;
|
|
695
695
|
});
|
|
696
696
|
declare abstract class ApiErrorBase<TErrorData> extends Error {
|
|
@@ -699,7 +699,7 @@ declare abstract class ApiErrorBase<TErrorData> extends Error {
|
|
|
699
699
|
code: number;
|
|
700
700
|
readonly kind: ApiErrorKind;
|
|
701
701
|
abstract name: ApiErrorName;
|
|
702
|
-
[
|
|
702
|
+
['constructor']: new (...args: ConstructorParameters<typeof ApiErrorBase>) => this;
|
|
703
703
|
constructor(message: string, data: TErrorData, code: number);
|
|
704
704
|
withCustomMessage(message: string): this;
|
|
705
705
|
}
|
|
@@ -719,7 +719,7 @@ interface ApiClientAuthorization {
|
|
|
719
719
|
token?: string;
|
|
720
720
|
tokenType?: string;
|
|
721
721
|
}
|
|
722
|
-
declare abstract class ApiClient<TError extends ApiErrorBase<TErrorData>, TErrorData = TError[
|
|
722
|
+
declare abstract class ApiClient<TError extends ApiErrorBase<TErrorData>, TErrorData = TError['data']> {
|
|
723
723
|
private config;
|
|
724
724
|
private authorization?;
|
|
725
725
|
protected options?: RequestInit;
|
|
@@ -738,31 +738,31 @@ declare abstract class ApiClient<TError extends ApiErrorBase<TErrorData>, TError
|
|
|
738
738
|
get<TResponseData>(url: string, config?: {
|
|
739
739
|
authorization?: ApiClientAuthorization;
|
|
740
740
|
customErrorMessage?: string;
|
|
741
|
-
}, options?: Omit<RequestInit,
|
|
741
|
+
}, options?: Omit<RequestInit, 'method' | 'body'>): Promise<Response & {
|
|
742
742
|
data: TResponseData;
|
|
743
743
|
}>;
|
|
744
744
|
post<TResponseData, TBody = unknown>(url: string, body: TBody, customConfig?: {
|
|
745
745
|
authorization?: ApiClientAuthorization;
|
|
746
746
|
customErrorMessage?: string;
|
|
747
|
-
}, customOptions?: Omit<RequestInit,
|
|
747
|
+
}, customOptions?: Omit<RequestInit, 'method' | 'body'>): Promise<Response & {
|
|
748
748
|
data: TResponseData;
|
|
749
749
|
}>;
|
|
750
750
|
patch<TResponseData, TBody = unknown>(url: string, body: TBody, customConfig?: {
|
|
751
751
|
authorization?: ApiClientAuthorization;
|
|
752
752
|
customErrorMessage?: string;
|
|
753
|
-
}, customOptions?: Omit<RequestInit,
|
|
753
|
+
}, customOptions?: Omit<RequestInit, 'method' | 'body'>): Promise<Response & {
|
|
754
754
|
data: TResponseData;
|
|
755
755
|
}>;
|
|
756
756
|
put<TResponseData, TBody = unknown>(url: string, body: TBody, customConfig?: {
|
|
757
757
|
authorization?: ApiClientAuthorization;
|
|
758
758
|
customErrorMessage?: string;
|
|
759
|
-
}, customOptions?: Omit<RequestInit,
|
|
759
|
+
}, customOptions?: Omit<RequestInit, 'method' | 'body'>): Promise<Response & {
|
|
760
760
|
data: TResponseData;
|
|
761
761
|
}>;
|
|
762
762
|
delete<TResponseData, TBody = unknown>(url: string, body: TBody, config?: {
|
|
763
763
|
authorization?: ApiClientAuthorization;
|
|
764
764
|
customErrorMessage?: string;
|
|
765
|
-
}, options?: Omit<RequestInit,
|
|
765
|
+
}, options?: Omit<RequestInit, 'method' | 'body'>): Promise<Response & {
|
|
766
766
|
data: TResponseData;
|
|
767
767
|
}>;
|
|
768
768
|
}
|
|
@@ -790,21 +790,21 @@ type SagaStepStatus<TData = NonNullable<unknown>> = {
|
|
|
790
790
|
} & TData;
|
|
791
791
|
interface Saga<TStepSchema extends SagaStepsSchema> {
|
|
792
792
|
data: {
|
|
793
|
-
[name in keyof TStepSchema]: TStepSchema[name] extends undefined ? undefined : NonNullable<TStepSchema[name]>[
|
|
793
|
+
[name in keyof TStepSchema]: TStepSchema[name] extends undefined ? undefined : NonNullable<TStepSchema[name]>['data'];
|
|
794
794
|
};
|
|
795
795
|
output: {
|
|
796
796
|
sagaId: string;
|
|
797
797
|
steps: {
|
|
798
|
-
[name in keyof TStepSchema]: TStepSchema[name] extends undefined ? undefined : NonNullable<TStepSchema[name]>[
|
|
798
|
+
[name in keyof TStepSchema]: TStepSchema[name] extends undefined ? undefined : NonNullable<TStepSchema[name]>['output'];
|
|
799
799
|
};
|
|
800
800
|
isDone?: boolean;
|
|
801
801
|
};
|
|
802
802
|
status: {
|
|
803
|
-
[name in keyof TStepSchema]: TStepSchema[name] extends undefined ? undefined : SagaStepStatus & NonNullable<TStepSchema[name]>[
|
|
803
|
+
[name in keyof TStepSchema]: TStepSchema[name] extends undefined ? undefined : SagaStepStatus & NonNullable<TStepSchema[name]>['status'];
|
|
804
804
|
};
|
|
805
805
|
}
|
|
806
|
-
type SagaInput<TSaga> = Omit<TSaga,
|
|
807
|
-
type SagaOutput<TSaga> = Omit<TSaga,
|
|
806
|
+
type SagaInput<TSaga> = Omit<TSaga, 'status'>;
|
|
807
|
+
type SagaOutput<TSaga> = Omit<TSaga, 'data'>;
|
|
808
808
|
|
|
809
809
|
type SagaStepPropertyCompareResult<T> = {
|
|
810
810
|
isChanged: false;
|
|
@@ -868,7 +868,7 @@ interface VercelNamespace {
|
|
|
868
868
|
provider: string;
|
|
869
869
|
installationId: number;
|
|
870
870
|
isAccessRestricted: boolean;
|
|
871
|
-
ownerType:
|
|
871
|
+
ownerType: 'user' | 'team';
|
|
872
872
|
}
|
|
873
873
|
|
|
874
874
|
interface VercelSearchRepositoryResponse {
|
|
@@ -893,8 +893,8 @@ interface VercelProjectEnv {
|
|
|
893
893
|
key: string;
|
|
894
894
|
value: string;
|
|
895
895
|
decrypted: boolean;
|
|
896
|
-
type:
|
|
897
|
-
target: [
|
|
896
|
+
type: 'encrypted' | 'plain';
|
|
897
|
+
target: ['production' | 'preview' | 'development'];
|
|
898
898
|
}
|
|
899
899
|
|
|
900
900
|
interface VercelProject {
|
|
@@ -914,7 +914,7 @@ interface VercelProject {
|
|
|
914
914
|
alias: string[];
|
|
915
915
|
url: string;
|
|
916
916
|
id?: string;
|
|
917
|
-
readyState?:
|
|
917
|
+
readyState?: 'READY' | 'BUILDING' | 'ERROR';
|
|
918
918
|
};
|
|
919
919
|
};
|
|
920
920
|
env: VercelProjectEnv[];
|
|
@@ -934,12 +934,12 @@ interface NeonProjectDto {
|
|
|
934
934
|
owner: {
|
|
935
935
|
email: string;
|
|
936
936
|
branches_limit: number;
|
|
937
|
-
subscription:
|
|
937
|
+
subscription: 'UNKNOWN' | 'free' | 'pro' | 'direct_sales' | 'aws_marketplace';
|
|
938
938
|
};
|
|
939
939
|
};
|
|
940
940
|
}
|
|
941
941
|
interface NeonProjectsDto {
|
|
942
|
-
projects: NeonProjectDto[
|
|
942
|
+
projects: NeonProjectDto['project'][];
|
|
943
943
|
}
|
|
944
944
|
interface NeonProjectWithConnectionUriDto extends NeonProjectDto {
|
|
945
945
|
connection_uris: {
|
|
@@ -953,7 +953,7 @@ interface NeonProjectBranchDto {
|
|
|
953
953
|
id: string;
|
|
954
954
|
project_id: string;
|
|
955
955
|
name: string;
|
|
956
|
-
current_state:
|
|
956
|
+
current_state: 'init' | 'ready';
|
|
957
957
|
creation_source: string;
|
|
958
958
|
primary: boolean;
|
|
959
959
|
created_at: string;
|
|
@@ -1024,7 +1024,7 @@ interface MailchimpListWebhook {
|
|
|
1024
1024
|
api: boolean;
|
|
1025
1025
|
};
|
|
1026
1026
|
}
|
|
1027
|
-
type MailchimpWebhookEvents = keyof MailchimpListWebhook[
|
|
1027
|
+
type MailchimpWebhookEvents = keyof MailchimpListWebhook['events'];
|
|
1028
1028
|
|
|
1029
1029
|
interface MailchimpWebhookDataBase<TPayload = unknown> {
|
|
1030
1030
|
type: MailchimpWebhookEvents;
|
|
@@ -1039,8 +1039,8 @@ interface MailchimpWebhookDataBase<TPayload = unknown> {
|
|
|
1039
1039
|
type MailchimpWebhookConcreteData<TEvent extends MailchimpWebhookEvents, TPayload> = MailchimpWebhookDataBase<TPayload> & {
|
|
1040
1040
|
type: TEvent;
|
|
1041
1041
|
};
|
|
1042
|
-
type MailchimpSubscribeWebhookData = MailchimpWebhookConcreteData<
|
|
1043
|
-
type MailchimpUnsubscribeWebhookData = MailchimpWebhookConcreteData<
|
|
1042
|
+
type MailchimpSubscribeWebhookData = MailchimpWebhookConcreteData<'subscribe', Record<string, never>>;
|
|
1043
|
+
type MailchimpUnsubscribeWebhookData = MailchimpWebhookConcreteData<'unsubscribe', {
|
|
1044
1044
|
reason: string;
|
|
1045
1045
|
}>;
|
|
1046
1046
|
type MailchimpWebhookData = MailchimpSubscribeWebhookData | MailchimpUnsubscribeWebhookData;
|
|
@@ -1073,7 +1073,7 @@ interface ShopifyWebhookDataBase<TPayload = unknown> {
|
|
|
1073
1073
|
type ShopifyWebhookConcreteData<TTopic extends ShopifyWebhookTopics, TPayload> = ShopifyWebhookDataBase<TPayload> & {
|
|
1074
1074
|
topic: TTopic;
|
|
1075
1075
|
};
|
|
1076
|
-
type ShopifyOrderCreatedWebhookData = ShopifyWebhookConcreteData<
|
|
1076
|
+
type ShopifyOrderCreatedWebhookData = ShopifyWebhookConcreteData<'orders/create', IOrder>;
|
|
1077
1077
|
type ShopifyWebhookData = ShopifyOrderCreatedWebhookData;
|
|
1078
1078
|
|
|
1079
1079
|
interface ShopifyClientAuthorization {
|
|
@@ -1113,7 +1113,7 @@ interface HubSpotWebhookSubscription {
|
|
|
1113
1113
|
|
|
1114
1114
|
interface UpsertHubSpotWebhookSettingsPayload {
|
|
1115
1115
|
webhookUrl: string;
|
|
1116
|
-
period:
|
|
1116
|
+
period: 'SECONDLY' | 'ROLLING_MINUTE';
|
|
1117
1117
|
maxConcurrentRequests: number;
|
|
1118
1118
|
}
|
|
1119
1119
|
interface CreateHubSpotWebhookSubscriptionPayload {
|
|
@@ -1186,27 +1186,27 @@ type BigCommerceWebhookConcreteData<TScope extends BigCommerceWebhookScopes, TPa
|
|
|
1186
1186
|
scope: TScope;
|
|
1187
1187
|
};
|
|
1188
1188
|
type BigCommerceCartCreatedWebhookData = BigCommerceWebhookConcreteData<BigCommerceWebhookScopes.CartCreated, {
|
|
1189
|
-
type:
|
|
1189
|
+
type: 'cart';
|
|
1190
1190
|
id: string;
|
|
1191
1191
|
}>;
|
|
1192
1192
|
type BigCommerceCartUpdatedWebhookData = BigCommerceWebhookConcreteData<BigCommerceWebhookScopes.CartUpdated, {
|
|
1193
|
-
type:
|
|
1193
|
+
type: 'cart';
|
|
1194
1194
|
id: string;
|
|
1195
1195
|
}>;
|
|
1196
1196
|
type BigCommerceOrderCreatedWebhookData = BigCommerceWebhookConcreteData<BigCommerceWebhookScopes.OrderCreated, {
|
|
1197
|
-
type:
|
|
1197
|
+
type: 'order';
|
|
1198
1198
|
id: string;
|
|
1199
1199
|
}>;
|
|
1200
1200
|
type BigCommerceOrderUpdatedWebhookData = BigCommerceWebhookConcreteData<BigCommerceWebhookScopes.OrderUpdated, {
|
|
1201
|
-
type:
|
|
1201
|
+
type: 'order';
|
|
1202
1202
|
id: string;
|
|
1203
1203
|
}>;
|
|
1204
1204
|
type BigCommerceProductCreatedWebhookData = BigCommerceWebhookConcreteData<BigCommerceWebhookScopes.ProductCreated, {
|
|
1205
|
-
type:
|
|
1205
|
+
type: 'product';
|
|
1206
1206
|
id: string;
|
|
1207
1207
|
}>;
|
|
1208
1208
|
type BigCommerceProductUpdatedWebhookData = BigCommerceWebhookConcreteData<BigCommerceWebhookScopes.ProductUpdated, {
|
|
1209
|
-
type:
|
|
1209
|
+
type: 'product';
|
|
1210
1210
|
id: string;
|
|
1211
1211
|
}>;
|
|
1212
1212
|
type BigCommerceWebhookData = BigCommerceCartCreatedWebhookData | BigCommerceOrderCreatedWebhookData | BigCommerceOrderUpdatedWebhookData | BigCommerceProductCreatedWebhookData | BigCommerceProductUpdatedWebhookData;
|
|
@@ -1256,7 +1256,7 @@ interface AuthorizeData {
|
|
|
1256
1256
|
expires_in: number;
|
|
1257
1257
|
organization_id: string;
|
|
1258
1258
|
scope: string;
|
|
1259
|
-
token_type:
|
|
1259
|
+
token_type: 'Bearer';
|
|
1260
1260
|
refresh_token: string;
|
|
1261
1261
|
}
|
|
1262
1262
|
|
|
@@ -1301,13 +1301,13 @@ interface CreateClientPayload {
|
|
|
1301
1301
|
visibility: string;
|
|
1302
1302
|
redirect_uri: string;
|
|
1303
1303
|
scopes: string[];
|
|
1304
|
-
type:
|
|
1304
|
+
type: 'server_side_app' | 'javascript_app';
|
|
1305
1305
|
}
|
|
1306
1306
|
|
|
1307
1307
|
interface UpdateClientPayload {
|
|
1308
1308
|
redirect_uri: string;
|
|
1309
1309
|
secret?: string;
|
|
1310
|
-
type:
|
|
1310
|
+
type: 'server_side_app' | 'javascript_app';
|
|
1311
1311
|
}
|
|
1312
1312
|
|
|
1313
1313
|
interface PatScopeDto {
|
|
@@ -1335,7 +1335,7 @@ interface ScopeDto {
|
|
|
1335
1335
|
interface OrganizationDto {
|
|
1336
1336
|
organization_id: string;
|
|
1337
1337
|
name?: string;
|
|
1338
|
-
invitation_mode?:
|
|
1338
|
+
invitation_mode?: 'lax' | 'strict';
|
|
1339
1339
|
company?: {
|
|
1340
1340
|
phone: string;
|
|
1341
1341
|
website: string;
|
|
@@ -1348,7 +1348,7 @@ interface OrganizationDto {
|
|
|
1348
1348
|
|
|
1349
1349
|
interface GlobalAccountsClientAuthorization {
|
|
1350
1350
|
token?: string;
|
|
1351
|
-
tokenType?:
|
|
1351
|
+
tokenType?: 'Basic' | 'Bearer';
|
|
1352
1352
|
}
|
|
1353
1353
|
|
|
1354
1354
|
type AccountsClientAuthorization = GlobalAccountsClientAuthorization;
|
|
@@ -1417,7 +1417,7 @@ interface BillingAccountInfoDto {
|
|
|
1417
1417
|
last_four: string;
|
|
1418
1418
|
}
|
|
1419
1419
|
|
|
1420
|
-
type BillingProduct =
|
|
1420
|
+
type BillingProduct = 'livechat' | 'platform';
|
|
1421
1421
|
|
|
1422
1422
|
interface BillingInvoiceDto {
|
|
1423
1423
|
number: number;
|
|
@@ -1458,14 +1458,14 @@ type AppManifest = AppBaseData & {
|
|
|
1458
1458
|
widgets?: AppWidgetsData;
|
|
1459
1459
|
};
|
|
1460
1460
|
display?: AppDisplayData;
|
|
1461
|
-
stage?:
|
|
1461
|
+
stage?: 'labs';
|
|
1462
1462
|
};
|
|
1463
1463
|
|
|
1464
1464
|
type PushAppSagaBaseStep = SagaStep<{
|
|
1465
|
-
action:
|
|
1465
|
+
action: 'create';
|
|
1466
1466
|
data: AppBaseData;
|
|
1467
1467
|
} | {
|
|
1468
|
-
action:
|
|
1468
|
+
action: 'update';
|
|
1469
1469
|
data: AppBaseData;
|
|
1470
1470
|
changes: SagaStepChanges<AppBaseData>;
|
|
1471
1471
|
meta: {
|
|
@@ -1478,52 +1478,52 @@ type PushAppSagaBaseStep = SagaStep<{
|
|
|
1478
1478
|
}>;
|
|
1479
1479
|
|
|
1480
1480
|
type PushAppSagaAuthorizationStep = SagaStep<{
|
|
1481
|
-
action:
|
|
1481
|
+
action: 'add' | 'update';
|
|
1482
1482
|
data: AppAuthorizationData;
|
|
1483
1483
|
} | {
|
|
1484
|
-
action:
|
|
1484
|
+
action: 'remove';
|
|
1485
1485
|
}>;
|
|
1486
1486
|
|
|
1487
1487
|
type PushAppSagaMonetizationStep = SagaStep<{
|
|
1488
|
-
action:
|
|
1488
|
+
action: 'upsert';
|
|
1489
1489
|
data: AppMonetizationData;
|
|
1490
1490
|
} | {
|
|
1491
|
-
action:
|
|
1491
|
+
action: 'remove';
|
|
1492
1492
|
}>;
|
|
1493
1493
|
|
|
1494
1494
|
type PushAppSagaRepositoryStep = SagaStep<{
|
|
1495
|
-
action:
|
|
1495
|
+
action: 'link';
|
|
1496
1496
|
data: LinkAppRepositoryData;
|
|
1497
1497
|
} | {
|
|
1498
|
-
action:
|
|
1498
|
+
action: 'upsert';
|
|
1499
1499
|
data: AppRepositoryData;
|
|
1500
1500
|
} | {
|
|
1501
|
-
action:
|
|
1501
|
+
action: 'remove';
|
|
1502
1502
|
}, AppRepositoryData, {
|
|
1503
1503
|
needToBeInstalled?: boolean;
|
|
1504
1504
|
needToBeSeeded?: boolean;
|
|
1505
1505
|
}>;
|
|
1506
1506
|
|
|
1507
1507
|
type PushAppSagaDeploymentStep = SagaStep<{
|
|
1508
|
-
action:
|
|
1508
|
+
action: 'link';
|
|
1509
1509
|
data: LinkAppDeploymentData;
|
|
1510
1510
|
} | {
|
|
1511
|
-
action:
|
|
1511
|
+
action: 'upsert';
|
|
1512
1512
|
data: AppDeploymentData;
|
|
1513
1513
|
} | {
|
|
1514
|
-
action:
|
|
1514
|
+
action: 'remove';
|
|
1515
1515
|
}, AppDeploymentData, {
|
|
1516
1516
|
needToBeInstalled?: boolean;
|
|
1517
1517
|
}>;
|
|
1518
1518
|
|
|
1519
1519
|
type PushAppSagaStorageStep = SagaStep<{
|
|
1520
|
-
action:
|
|
1520
|
+
action: 'link';
|
|
1521
1521
|
data: LinkAppStorageData;
|
|
1522
1522
|
} | {
|
|
1523
|
-
action:
|
|
1523
|
+
action: 'upsert';
|
|
1524
1524
|
data: AppStorageData;
|
|
1525
1525
|
} | {
|
|
1526
|
-
action:
|
|
1526
|
+
action: 'remove';
|
|
1527
1527
|
}, AppStorageData>;
|
|
1528
1528
|
|
|
1529
1529
|
type PushAppSagaPropertiesStep = SagaStep<{
|
|
@@ -1551,14 +1551,14 @@ type PushAppSagaWidgetsStep = SagaStep<{
|
|
|
1551
1551
|
}>;
|
|
1552
1552
|
|
|
1553
1553
|
type PushAppSagaDisplayStep = SagaStep<{
|
|
1554
|
-
action:
|
|
1554
|
+
action: 'add';
|
|
1555
1555
|
data: AppDisplayData;
|
|
1556
1556
|
} | {
|
|
1557
|
-
action:
|
|
1557
|
+
action: 'update';
|
|
1558
1558
|
data: AppDisplayData;
|
|
1559
1559
|
changes: SagaStepChanges<AppDisplayData>;
|
|
1560
1560
|
} | {
|
|
1561
|
-
action:
|
|
1561
|
+
action: 'remove';
|
|
1562
1562
|
}>;
|
|
1563
1563
|
|
|
1564
1564
|
type PushAppSaga = Saga<{
|
|
@@ -1586,11 +1586,11 @@ interface VerifyAppPayload {
|
|
|
1586
1586
|
manifest: AppManifest;
|
|
1587
1587
|
}
|
|
1588
1588
|
interface VerifyAppResult {
|
|
1589
|
-
status:
|
|
1589
|
+
status: 'ok' | 'nok';
|
|
1590
1590
|
}
|
|
1591
1591
|
|
|
1592
1592
|
interface AppAuthorizationData {
|
|
1593
|
-
type:
|
|
1593
|
+
type: 'server_side_app' | 'javascript_app';
|
|
1594
1594
|
redirectUri: string;
|
|
1595
1595
|
scopes?: {
|
|
1596
1596
|
scope: string;
|
|
@@ -1602,7 +1602,7 @@ interface AppAuthorizationData {
|
|
|
1602
1602
|
type AddAppAuthorizationPayload = {
|
|
1603
1603
|
appId: string;
|
|
1604
1604
|
appName: string;
|
|
1605
|
-
} & Omit<AppAuthorizationData,
|
|
1605
|
+
} & Omit<AppAuthorizationData, 'clientId'>;
|
|
1606
1606
|
interface AddAppAuthorizationResult {
|
|
1607
1607
|
clientId: string;
|
|
1608
1608
|
clientSecret: string;
|
|
@@ -1617,31 +1617,31 @@ interface RemoveAppAuthorizationPayload {
|
|
|
1617
1617
|
}
|
|
1618
1618
|
|
|
1619
1619
|
type LinkAppDeploymentNetlifySiteData = {
|
|
1620
|
-
type:
|
|
1620
|
+
type: 'new';
|
|
1621
1621
|
siteName?: string;
|
|
1622
1622
|
} | {
|
|
1623
|
-
type:
|
|
1623
|
+
type: 'existing';
|
|
1624
1624
|
siteId: string;
|
|
1625
1625
|
};
|
|
1626
1626
|
type LinkAppDeploymentNetlifyData = {
|
|
1627
1627
|
installationId?: string;
|
|
1628
1628
|
} & LinkAppDeploymentNetlifySiteData;
|
|
1629
1629
|
type LinkAppDeploymentVercelProjectData = {
|
|
1630
|
-
type:
|
|
1630
|
+
type: 'new';
|
|
1631
1631
|
projectName?: string;
|
|
1632
1632
|
} | {
|
|
1633
|
-
type:
|
|
1633
|
+
type: 'existing';
|
|
1634
1634
|
projectId: string;
|
|
1635
1635
|
};
|
|
1636
1636
|
type LinkAppDeploymentVercelData = {
|
|
1637
1637
|
installationId?: string;
|
|
1638
1638
|
} & LinkAppDeploymentVercelProjectData;
|
|
1639
1639
|
type LinkAppDeploymentData = (({
|
|
1640
|
-
provider:
|
|
1640
|
+
provider: 'netlify';
|
|
1641
1641
|
} & LinkAppDeploymentNetlifyData) | ({
|
|
1642
|
-
provider:
|
|
1642
|
+
provider: 'vercel';
|
|
1643
1643
|
} & LinkAppDeploymentVercelData) | {
|
|
1644
|
-
provider:
|
|
1644
|
+
provider: 'custom';
|
|
1645
1645
|
url: string;
|
|
1646
1646
|
}) & {
|
|
1647
1647
|
force?: boolean;
|
|
@@ -1664,11 +1664,11 @@ type UnlinkAppDeploymentPayload = {
|
|
|
1664
1664
|
type AppDeploymentData = {
|
|
1665
1665
|
provider: AppDeploymentProvider;
|
|
1666
1666
|
} & AppDeploymentBlockConfig & (({
|
|
1667
|
-
provider:
|
|
1667
|
+
provider: 'netlify';
|
|
1668
1668
|
} & Partial<AppNetlifyDeploymentConfig>) | ({
|
|
1669
|
-
provider:
|
|
1669
|
+
provider: 'vercel';
|
|
1670
1670
|
} & Partial<AppVercelDeploymentConfig>) | {
|
|
1671
|
-
provider:
|
|
1671
|
+
provider: 'custom';
|
|
1672
1672
|
});
|
|
1673
1673
|
|
|
1674
1674
|
interface AppVercelDeployment {
|
|
@@ -1680,7 +1680,7 @@ interface AppVercelDeployment {
|
|
|
1680
1680
|
};
|
|
1681
1681
|
deploy: {
|
|
1682
1682
|
id?: string;
|
|
1683
|
-
state?:
|
|
1683
|
+
state?: 'ERROR' | 'READY' | 'BUILDING';
|
|
1684
1684
|
};
|
|
1685
1685
|
repository: {
|
|
1686
1686
|
isAccessible: boolean;
|
|
@@ -1718,9 +1718,9 @@ interface AppNetlifyDeployment {
|
|
|
1718
1718
|
}[];
|
|
1719
1719
|
}
|
|
1720
1720
|
type AppDeployment = ({
|
|
1721
|
-
provider:
|
|
1721
|
+
provider: 'netlify';
|
|
1722
1722
|
} & AppNetlifyDeployment) | ({
|
|
1723
|
-
provider:
|
|
1723
|
+
provider: 'vercel';
|
|
1724
1724
|
} & AppVercelDeployment);
|
|
1725
1725
|
|
|
1726
1726
|
type UpsertAppDeploymentPayload = {
|
|
@@ -1739,7 +1739,7 @@ interface AppGitHubRepository {
|
|
|
1739
1739
|
description?: string;
|
|
1740
1740
|
}
|
|
1741
1741
|
type AppRepository = {
|
|
1742
|
-
provider:
|
|
1742
|
+
provider: 'github';
|
|
1743
1743
|
} & AppGitHubRepository;
|
|
1744
1744
|
|
|
1745
1745
|
type UpsertAppRepositoryPayload = {
|
|
@@ -1747,11 +1747,11 @@ type UpsertAppRepositoryPayload = {
|
|
|
1747
1747
|
} & AppRepositoryData;
|
|
1748
1748
|
|
|
1749
1749
|
type LinkAppRepositoryGitHubData = {
|
|
1750
|
-
type:
|
|
1750
|
+
type: 'new';
|
|
1751
1751
|
name?: string;
|
|
1752
1752
|
template?: string;
|
|
1753
1753
|
} | {
|
|
1754
|
-
type:
|
|
1754
|
+
type: 'existing';
|
|
1755
1755
|
fullName: string;
|
|
1756
1756
|
branch: string;
|
|
1757
1757
|
};
|
|
@@ -1759,7 +1759,7 @@ type LinkAppRepositoryData = {
|
|
|
1759
1759
|
target: AppRepositoryTarget | undefined;
|
|
1760
1760
|
force?: boolean;
|
|
1761
1761
|
} & ({
|
|
1762
|
-
provider:
|
|
1762
|
+
provider: 'github';
|
|
1763
1763
|
} & LinkAppRepositoryGitHubData);
|
|
1764
1764
|
type LinkAppRepositoryPayload = {
|
|
1765
1765
|
appId: string;
|
|
@@ -1788,9 +1788,9 @@ interface SeedAppRepositoryResult {
|
|
|
1788
1788
|
type AppStorageData = {
|
|
1789
1789
|
provider: AppStorageProvider;
|
|
1790
1790
|
} & AppStorageBlockConfig & (({
|
|
1791
|
-
provider:
|
|
1791
|
+
provider: 'planetscale';
|
|
1792
1792
|
} & Partial<AppPlanetScaleStorageConfig>) | ({
|
|
1793
|
-
provider:
|
|
1793
|
+
provider: 'neon';
|
|
1794
1794
|
} & Partial<AppNeonStorageConfig>));
|
|
1795
1795
|
|
|
1796
1796
|
interface AppPlanetScaleStorage {
|
|
@@ -1807,43 +1807,43 @@ interface AppNeonStorage {
|
|
|
1807
1807
|
databaseName: string;
|
|
1808
1808
|
}
|
|
1809
1809
|
type AppStorage = ({
|
|
1810
|
-
provider:
|
|
1810
|
+
provider: 'planetscale';
|
|
1811
1811
|
} & AppPlanetScaleStorage) | ({
|
|
1812
|
-
provider:
|
|
1812
|
+
provider: 'neon';
|
|
1813
1813
|
} & AppNeonStorage);
|
|
1814
1814
|
|
|
1815
1815
|
type LinkAppStoragePlanetScaleDatabaseData = {
|
|
1816
|
-
type:
|
|
1816
|
+
type: 'new';
|
|
1817
1817
|
databaseName?: string;
|
|
1818
1818
|
} | {
|
|
1819
|
-
type:
|
|
1819
|
+
type: 'existing';
|
|
1820
1820
|
databaseId: string;
|
|
1821
1821
|
};
|
|
1822
1822
|
type LinkAppStoragePlanetScaleData = {
|
|
1823
1823
|
organization: string;
|
|
1824
1824
|
} & LinkAppStoragePlanetScaleDatabaseData;
|
|
1825
1825
|
type LinkAppStorageNeonData = {
|
|
1826
|
-
type:
|
|
1826
|
+
type: 'new';
|
|
1827
1827
|
projectName?: string;
|
|
1828
1828
|
databaseName?: string;
|
|
1829
1829
|
} | ({
|
|
1830
|
-
type:
|
|
1830
|
+
type: 'existing';
|
|
1831
1831
|
projectId: string;
|
|
1832
1832
|
branchId: string;
|
|
1833
1833
|
} & ({
|
|
1834
|
-
databaseType:
|
|
1834
|
+
databaseType: 'new';
|
|
1835
1835
|
databaseName?: string;
|
|
1836
1836
|
} | {
|
|
1837
|
-
databaseType:
|
|
1837
|
+
databaseType: 'existing';
|
|
1838
1838
|
databaseName: string;
|
|
1839
1839
|
}));
|
|
1840
1840
|
type LinkAppStorageData = {
|
|
1841
1841
|
seedRepository: boolean;
|
|
1842
1842
|
force?: boolean;
|
|
1843
1843
|
} & (({
|
|
1844
|
-
provider:
|
|
1844
|
+
provider: 'planetscale';
|
|
1845
1845
|
} & LinkAppStoragePlanetScaleData) | ({
|
|
1846
|
-
provider:
|
|
1846
|
+
provider: 'neon';
|
|
1847
1847
|
} & LinkAppStorageNeonData));
|
|
1848
1848
|
type LinkAppStoragePayload = {
|
|
1849
1849
|
appId: string;
|
|
@@ -1863,16 +1863,16 @@ type UpsertAppStoragePayload = {
|
|
|
1863
1863
|
|
|
1864
1864
|
type AppMonetizationData = {
|
|
1865
1865
|
price: number;
|
|
1866
|
-
frequency:
|
|
1866
|
+
frequency: 'monthly' | 'once';
|
|
1867
1867
|
trialDays: number;
|
|
1868
1868
|
} & ({
|
|
1869
|
-
charge:
|
|
1869
|
+
charge: 'account';
|
|
1870
1870
|
tiers?: {
|
|
1871
1871
|
accountsFrom: number;
|
|
1872
1872
|
discount: number;
|
|
1873
1873
|
}[];
|
|
1874
1874
|
} | {
|
|
1875
|
-
charge:
|
|
1875
|
+
charge: 'organization';
|
|
1876
1876
|
});
|
|
1877
1877
|
|
|
1878
1878
|
type UpsertAppMonetizationPayload = {
|
|
@@ -1894,7 +1894,7 @@ type UpsertAppPropertiesPayload = {
|
|
|
1894
1894
|
} & AppPropertiesData;
|
|
1895
1895
|
|
|
1896
1896
|
interface AppPropertyData {
|
|
1897
|
-
type: PropertyDto[
|
|
1897
|
+
type: PropertyDto['type'];
|
|
1898
1898
|
description: string;
|
|
1899
1899
|
default_value: string;
|
|
1900
1900
|
access: PropertyAccessDto;
|
|
@@ -1936,10 +1936,10 @@ type UpsertAppWidgetPayload = {
|
|
|
1936
1936
|
widgetId: string;
|
|
1937
1937
|
} & AppWidgetData;
|
|
1938
1938
|
|
|
1939
|
-
type AppVariableType =
|
|
1940
|
-
type AppVariableStatus =
|
|
1941
|
-
type AppVariableLocalProvider =
|
|
1942
|
-
type AppVariableExternalProvider =
|
|
1939
|
+
type AppVariableType = 'custom' | 'auth' | 'storage';
|
|
1940
|
+
type AppVariableStatus = 'valid' | 'invalid' | 'warning' | 'unknown';
|
|
1941
|
+
type AppVariableLocalProvider = 'console';
|
|
1942
|
+
type AppVariableExternalProvider = 'vercel' | 'netlify';
|
|
1943
1943
|
type AppVariableProvider = AppVariableLocalProvider | AppVariableExternalProvider;
|
|
1944
1944
|
interface AppVariable {
|
|
1945
1945
|
key: string;
|
|
@@ -2037,13 +2037,13 @@ type IntegrationFlowContext = {
|
|
|
2037
2037
|
redirectUrl: string;
|
|
2038
2038
|
});
|
|
2039
2039
|
type IntegrationFlowOutput<TFlowResult> = {
|
|
2040
|
-
status:
|
|
2040
|
+
status: 'success';
|
|
2041
2041
|
result: TFlowResult;
|
|
2042
2042
|
} | {
|
|
2043
|
-
status:
|
|
2043
|
+
status: 'error';
|
|
2044
2044
|
message: string;
|
|
2045
2045
|
} | {
|
|
2046
|
-
status:
|
|
2046
|
+
status: 'cancel';
|
|
2047
2047
|
};
|
|
2048
2048
|
|
|
2049
2049
|
declare enum IntegrationNames {
|
|
@@ -2097,9 +2097,9 @@ interface BigCommerceAuthorizeFlowResult {
|
|
|
2097
2097
|
token: string;
|
|
2098
2098
|
}
|
|
2099
2099
|
|
|
2100
|
-
type BigCommerceFlows =
|
|
2101
|
-
type BigCommerceFlowContext<TAction extends BigCommerceFlows> = TAction extends
|
|
2102
|
-
type BigCommerceFlowResult<TAction extends BigCommerceFlows> = TAction extends
|
|
2100
|
+
type BigCommerceFlows = 'authorize';
|
|
2101
|
+
type BigCommerceFlowContext<TAction extends BigCommerceFlows> = TAction extends 'authorize' ? BigCommerceAuthorizeFlowCustomContext : never;
|
|
2102
|
+
type BigCommerceFlowResult<TAction extends BigCommerceFlows> = TAction extends 'authorize' ? BigCommerceAuthorizeFlowResult : never;
|
|
2103
2103
|
|
|
2104
2104
|
declare enum BigCommerceEventNames {
|
|
2105
2105
|
CartCreated = "cart_created",
|
|
@@ -2517,9 +2517,9 @@ interface HubspotAuthorizeFlowResult {
|
|
|
2517
2517
|
token: string;
|
|
2518
2518
|
}
|
|
2519
2519
|
|
|
2520
|
-
type HubSpotFlows =
|
|
2521
|
-
type HubSpotFlowContext<TAction extends HubSpotFlows> = TAction extends
|
|
2522
|
-
type HubSpotFlowResult<TAction extends HubSpotFlows> = TAction extends
|
|
2520
|
+
type HubSpotFlows = 'authorize';
|
|
2521
|
+
type HubSpotFlowContext<TAction extends HubSpotFlows> = TAction extends 'authorize' ? HubspotAuthorizeFlowCustomContext : never;
|
|
2522
|
+
type HubSpotFlowResult<TAction extends HubSpotFlows> = TAction extends 'authorize' ? HubspotAuthorizeFlowResult : never;
|
|
2523
2523
|
|
|
2524
2524
|
declare enum HubspotEventNames {
|
|
2525
2525
|
ContactCreated = "contact_created",
|
|
@@ -2723,9 +2723,9 @@ interface MailchimpAuthorizeFlowResult {
|
|
|
2723
2723
|
token: string;
|
|
2724
2724
|
}
|
|
2725
2725
|
|
|
2726
|
-
type MailchimpFlows =
|
|
2727
|
-
type MailchimpFlowContext<TAction extends MailchimpFlows> = TAction extends
|
|
2728
|
-
type MailchimpFlowResult<TAction extends MailchimpFlows> = TAction extends
|
|
2726
|
+
type MailchimpFlows = 'authorize';
|
|
2727
|
+
type MailchimpFlowContext<TAction extends MailchimpFlows> = TAction extends 'authorize' ? MailchimpAuthorizeFlowCustomContext : never;
|
|
2728
|
+
type MailchimpFlowResult<TAction extends MailchimpFlows> = TAction extends 'authorize' ? MailchimpAuthorizeFlowResult : never;
|
|
2729
2729
|
|
|
2730
2730
|
declare enum MailchimpEventNames {
|
|
2731
2731
|
Subscribed = "subscribed",
|
|
@@ -2986,9 +2986,9 @@ interface ShopifyAuthorizeFlowResult {
|
|
|
2986
2986
|
token: string;
|
|
2987
2987
|
}
|
|
2988
2988
|
|
|
2989
|
-
type ShopifyFlows =
|
|
2990
|
-
type ShopifyFlowContext<TAction extends ShopifyFlows> = TAction extends
|
|
2991
|
-
type ShopifyFlowResult<TAction extends ShopifyFlows> = TAction extends
|
|
2989
|
+
type ShopifyFlows = 'authorize';
|
|
2990
|
+
type ShopifyFlowContext<TAction extends ShopifyFlows> = TAction extends 'authorize' ? ShopifyAuthorizeFlowCustomContext : never;
|
|
2991
|
+
type ShopifyFlowResult<TAction extends ShopifyFlows> = TAction extends 'authorize' ? ShopifyAuthorizeFlowResult : never;
|
|
2992
2992
|
|
|
2993
2993
|
declare enum ShopifyEventNames {
|
|
2994
2994
|
OrderCreated = "order_created"
|
|
@@ -3136,9 +3136,9 @@ interface TextAuthorizeFlowResult {
|
|
|
3136
3136
|
token: string;
|
|
3137
3137
|
}
|
|
3138
3138
|
|
|
3139
|
-
type TextFlows =
|
|
3140
|
-
type TextFlowContext<TAction extends TextFlows> = TAction extends
|
|
3141
|
-
type TextFlowResult<TAction extends TextFlows> = TAction extends
|
|
3139
|
+
type TextFlows = 'authorize';
|
|
3140
|
+
type TextFlowContext<TAction extends TextFlows> = TAction extends 'authorize' ? TextAuthorizeFlowCustomContext : never;
|
|
3141
|
+
type TextFlowResult<TAction extends TextFlows> = TAction extends 'authorize' ? TextAuthorizeFlowResult : never;
|
|
3142
3142
|
|
|
3143
3143
|
declare enum TextLivechatEventNames {
|
|
3144
3144
|
ChatStarted = "chat_started",
|
|
@@ -5368,9 +5368,9 @@ type GitHubInstallFlowCustomContext = GitHubInstallActionContext & {
|
|
|
5368
5368
|
type GitHubInstallFlowContext = GitHubInstallFlowCustomContext & IntegrationFlowContext;
|
|
5369
5369
|
type GitHubInstallFlowResult = GitHubInstallActionResult;
|
|
5370
5370
|
|
|
5371
|
-
type GitHubFlows =
|
|
5372
|
-
type GitHubFlowContext<TAction extends GitHubFlows> = TAction extends
|
|
5373
|
-
type GitHubFlowResult<TAction extends GitHubFlows> = TAction extends
|
|
5371
|
+
type GitHubFlows = 'authorize' | 'install';
|
|
5372
|
+
type GitHubFlowContext<TAction extends GitHubFlows> = TAction extends 'authorize' ? GitHubAuthorizeFlowCustomContext : TAction extends 'install' ? GitHubInstallFlowCustomContext : never;
|
|
5373
|
+
type GitHubFlowResult<TAction extends GitHubFlows> = TAction extends 'authorize' ? GitHubAuthorizeFlowResult : TAction extends 'install' ? GitHubInstallFlowResult : never;
|
|
5374
5374
|
|
|
5375
5375
|
interface NetlifyAuthorizeActionResult {
|
|
5376
5376
|
token: string;
|
|
@@ -5398,9 +5398,9 @@ type NetlifyInstallFlowCustomContext = NetlifyInstallActionContext & {
|
|
|
5398
5398
|
type NetlifyInstallFlowContext = NetlifyInstallFlowCustomContext & IntegrationFlowContext;
|
|
5399
5399
|
type NetlifyInstallFlowResult = NetlifyInstallActionResult;
|
|
5400
5400
|
|
|
5401
|
-
type NetlifyFlows =
|
|
5402
|
-
type NetlifyFlowContext<TAction extends NetlifyFlows> = TAction extends
|
|
5403
|
-
type NetlifyFlowResult<TAction extends NetlifyFlows> = TAction extends
|
|
5401
|
+
type NetlifyFlows = 'authorize' | 'install';
|
|
5402
|
+
type NetlifyFlowContext<TAction extends NetlifyFlows> = TAction extends 'authorize' ? NetlifyAuthorizeFlowCustomContext : TAction extends 'install' ? NetlifyInstallFlowCustomContext : never;
|
|
5403
|
+
type NetlifyFlowResult<TAction extends NetlifyFlows> = TAction extends 'authorize' ? NetlifyAuthorizeFlowResult : TAction extends 'install' ? NetlifyInstallFlowResult : never;
|
|
5404
5404
|
|
|
5405
5405
|
interface VercelConnectActionContext {
|
|
5406
5406
|
token: string;
|
|
@@ -5436,9 +5436,9 @@ type VercelInstallFlowCustomContext = VercelInstallActionContext & {
|
|
|
5436
5436
|
type VercelInstallFlowContext = VercelInstallFlowCustomContext & IntegrationFlowContext;
|
|
5437
5437
|
type VercelInstallFlowResult = VercelInstallActionResult;
|
|
5438
5438
|
|
|
5439
|
-
type VercelFlows =
|
|
5440
|
-
type VercelFlowContext<TAction extends VercelFlows> = TAction extends
|
|
5441
|
-
type VercelFlowResult<TAction extends VercelFlows> = TAction extends
|
|
5439
|
+
type VercelFlows = 'authorize' | 'install';
|
|
5440
|
+
type VercelFlowContext<TAction extends VercelFlows> = TAction extends 'authorize' ? VercelAuthorizeFlowCustomContext : TAction extends 'install' ? VercelInstallFlowCustomContext : never;
|
|
5441
|
+
type VercelFlowResult<TAction extends VercelFlows> = TAction extends 'authorize' ? VercelAuthorizeFlowResult : TAction extends 'install' ? VercelInstallFlowResult : never;
|
|
5442
5442
|
|
|
5443
5443
|
interface AdapterClientAuthorization {
|
|
5444
5444
|
platform?: GlobalAccountsClientAuthorization;
|
|
@@ -5507,7 +5507,7 @@ declare function updateAdapterClient(tokens?: {
|
|
|
5507
5507
|
|
|
5508
5508
|
interface ApplicationPaymentDto {
|
|
5509
5509
|
creditCardRequired: boolean;
|
|
5510
|
-
frequency:
|
|
5510
|
+
frequency: 'monthly' | 'once';
|
|
5511
5511
|
perAccount: boolean;
|
|
5512
5512
|
price: number;
|
|
5513
5513
|
tiersPricingConfig: {
|
|
@@ -5844,10 +5844,10 @@ interface UpdateApplicationIconPayload {
|
|
|
5844
5844
|
dark?: string;
|
|
5845
5845
|
}
|
|
5846
5846
|
|
|
5847
|
-
type AppRepositoryProvider =
|
|
5848
|
-
type AppRepositoryTarget =
|
|
5849
|
-
type AppDeploymentProvider =
|
|
5850
|
-
type AppStorageProvider =
|
|
5847
|
+
type AppRepositoryProvider = 'github';
|
|
5848
|
+
type AppRepositoryTarget = 'browser' | 'nextjs';
|
|
5849
|
+
type AppDeploymentProvider = 'netlify' | 'vercel' | 'custom';
|
|
5850
|
+
type AppStorageProvider = 'planetscale' | 'neon';
|
|
5851
5851
|
interface AppRepositoryBlockConfig {
|
|
5852
5852
|
name: string;
|
|
5853
5853
|
branch: string;
|
|
@@ -6067,7 +6067,7 @@ declare function getDpsClientConfig(options?: DpsClientOptions): AxiosRequestCon
|
|
|
6067
6067
|
declare function initDpsClient(baseUrl?: string, token?: string): void;
|
|
6068
6068
|
|
|
6069
6069
|
interface ShortcutDto {
|
|
6070
|
-
type:
|
|
6070
|
+
type: 'link' | 'app';
|
|
6071
6071
|
url: string;
|
|
6072
6072
|
}
|
|
6073
6073
|
|
|
@@ -6164,7 +6164,7 @@ interface UserIntegrationsDto {
|
|
|
6164
6164
|
}
|
|
6165
6165
|
|
|
6166
6166
|
interface RegisterDeveloperPayload {
|
|
6167
|
-
origin?:
|
|
6167
|
+
origin?: 'workflows-ext';
|
|
6168
6168
|
}
|
|
6169
6169
|
|
|
6170
6170
|
type UpdateUserFeatures = Partial<UserFeaturesDto>;
|
|
@@ -6192,7 +6192,7 @@ interface WebhookDto {
|
|
|
6192
6192
|
licenseID: number;
|
|
6193
6193
|
createdAt: string;
|
|
6194
6194
|
createdBy: string;
|
|
6195
|
-
createdByType:
|
|
6195
|
+
createdByType: 'agent' | 'client' | 'system';
|
|
6196
6196
|
updatedAt: string;
|
|
6197
6197
|
updatedBy: string;
|
|
6198
6198
|
name: string;
|
|
@@ -6208,7 +6208,7 @@ interface CreateWebhookPayload {
|
|
|
6208
6208
|
url: string;
|
|
6209
6209
|
eventType: HelpDeskWebhookEventType;
|
|
6210
6210
|
}
|
|
6211
|
-
type UpdateWebhookPayload = Omit<CreateWebhookPayload,
|
|
6211
|
+
type UpdateWebhookPayload = Omit<CreateWebhookPayload, 'name'>;
|
|
6212
6212
|
interface HelpDeskWebhookBaseData<TEvent extends HelpDeskWebhookEventType, TPayload> {
|
|
6213
6213
|
eventType: TEvent;
|
|
6214
6214
|
createdAt: string;
|
|
@@ -6294,10 +6294,10 @@ interface AgentDto {
|
|
|
6294
6294
|
onboarding_completed: number;
|
|
6295
6295
|
timezone: string;
|
|
6296
6296
|
last_chat_start_timestamp: string;
|
|
6297
|
-
|
|
6297
|
+
'integration.botengine.inapp_status': string;
|
|
6298
6298
|
suspended: number;
|
|
6299
6299
|
avatar: string | null;
|
|
6300
|
-
|
|
6300
|
+
'email.bounce': number;
|
|
6301
6301
|
awaiting_approval: number;
|
|
6302
6302
|
ticket_notifications: number;
|
|
6303
6303
|
daily_summary: number;
|
|
@@ -6311,10 +6311,10 @@ interface AgentDto {
|
|
|
6311
6311
|
weekly_summary: number;
|
|
6312
6312
|
state: string;
|
|
6313
6313
|
mobile: string;
|
|
6314
|
-
|
|
6314
|
+
'email.bounce.type': number;
|
|
6315
6315
|
customers_enabled: number;
|
|
6316
6316
|
permission: string;
|
|
6317
|
-
|
|
6317
|
+
'email.bounce.date': number;
|
|
6318
6318
|
repeat_sound_notifications: number;
|
|
6319
6319
|
design_version: number;
|
|
6320
6320
|
status: string;
|
|
@@ -6335,7 +6335,7 @@ interface AgentConfigurationDto {
|
|
|
6335
6335
|
login_status: string;
|
|
6336
6336
|
}
|
|
6337
6337
|
|
|
6338
|
-
type AccessLevel =
|
|
6338
|
+
type AccessLevel = 'read' | 'write';
|
|
6339
6339
|
interface PropertyAccessItemDto {
|
|
6340
6340
|
agent?: [AccessLevel];
|
|
6341
6341
|
customer?: [AccessLevel];
|
|
@@ -6348,7 +6348,7 @@ interface PropertyAccessDto {
|
|
|
6348
6348
|
group?: PropertyAccessItemDto;
|
|
6349
6349
|
}
|
|
6350
6350
|
interface PropertyDto {
|
|
6351
|
-
type:
|
|
6351
|
+
type: 'int' | 'bool' | 'string' | 'tokenized_string';
|
|
6352
6352
|
description: string;
|
|
6353
6353
|
domain?: string[];
|
|
6354
6354
|
range?: {
|
|
@@ -6372,9 +6372,9 @@ interface LivechatWebhookDto {
|
|
|
6372
6372
|
action: string;
|
|
6373
6373
|
description: string;
|
|
6374
6374
|
owner_client_id: string;
|
|
6375
|
-
type:
|
|
6375
|
+
type: 'bot' | 'license';
|
|
6376
6376
|
filters?: {
|
|
6377
|
-
author_type?:
|
|
6377
|
+
author_type?: 'agent' | 'customer';
|
|
6378
6378
|
only_my_chats?: boolean;
|
|
6379
6379
|
chat_presence: {
|
|
6380
6380
|
user_ids?: {
|
|
@@ -6395,9 +6395,9 @@ interface LivechatWebhook {
|
|
|
6395
6395
|
description?: string;
|
|
6396
6396
|
secret_key: string;
|
|
6397
6397
|
owner_client_id?: string;
|
|
6398
|
-
type:
|
|
6398
|
+
type: 'bot' | 'license';
|
|
6399
6399
|
filters?: {
|
|
6400
|
-
author_type?:
|
|
6400
|
+
author_type?: 'agent' | 'customer';
|
|
6401
6401
|
only_my_chats?: boolean;
|
|
6402
6402
|
chat_presence: {
|
|
6403
6403
|
user_ids?: {
|
|
@@ -6425,29 +6425,29 @@ declare enum LivechatWebhookActions {
|
|
|
6425
6425
|
type LivechatWebhookUser = {
|
|
6426
6426
|
id: string;
|
|
6427
6427
|
name: string;
|
|
6428
|
-
events_seen_up_to:
|
|
6429
|
-
type:
|
|
6428
|
+
events_seen_up_to: '2020-05-12T12:31:46.463000Z';
|
|
6429
|
+
type: 'customer';
|
|
6430
6430
|
present: boolean;
|
|
6431
6431
|
created_at: string;
|
|
6432
6432
|
last_visit: {
|
|
6433
|
-
started_at:
|
|
6434
|
-
ended_at:
|
|
6435
|
-
ip:
|
|
6436
|
-
user_agent:
|
|
6433
|
+
started_at: '2020-05-12T11:32:03.497479Z';
|
|
6434
|
+
ended_at: '2020-05-12T11:33:33.497000Z';
|
|
6435
|
+
ip: '<customer_ip>';
|
|
6436
|
+
user_agent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36';
|
|
6437
6437
|
geolocation: {
|
|
6438
|
-
country:
|
|
6439
|
-
country_code:
|
|
6440
|
-
region:
|
|
6441
|
-
city:
|
|
6442
|
-
timezone:
|
|
6443
|
-
latitude:
|
|
6444
|
-
longitude:
|
|
6438
|
+
country: 'Poland';
|
|
6439
|
+
country_code: 'PL';
|
|
6440
|
+
region: 'Dolnoslaskie';
|
|
6441
|
+
city: 'Wroclaw';
|
|
6442
|
+
timezone: 'Europe/Warsaw';
|
|
6443
|
+
latitude: '51.1043015';
|
|
6444
|
+
longitude: '17.0335007';
|
|
6445
6445
|
};
|
|
6446
6446
|
last_pages: [
|
|
6447
6447
|
{
|
|
6448
|
-
opened_at:
|
|
6449
|
-
url:
|
|
6450
|
-
title:
|
|
6448
|
+
opened_at: '2020-05-12T11:32:03.497479Z';
|
|
6449
|
+
url: 'https://cdn.livechatinc.com/preview/11442778';
|
|
6450
|
+
title: 'Sample Page | Preview your chat window';
|
|
6451
6451
|
}
|
|
6452
6452
|
];
|
|
6453
6453
|
};
|
|
@@ -6459,17 +6459,17 @@ type LivechatWebhookUser = {
|
|
|
6459
6459
|
greetings_shown_count: 2;
|
|
6460
6460
|
greetings_accepted_count: 1;
|
|
6461
6461
|
};
|
|
6462
|
-
agent_last_event_created_at:
|
|
6463
|
-
customer_last_event_created_at:
|
|
6462
|
+
agent_last_event_created_at: '2020-05-12T11:42:47.393002Z';
|
|
6463
|
+
customer_last_event_created_at: '2020-05-12T12:31:46.463000Z';
|
|
6464
6464
|
} | {
|
|
6465
6465
|
id: string;
|
|
6466
6466
|
name: string;
|
|
6467
6467
|
email: string;
|
|
6468
6468
|
events_seen_up_to: string;
|
|
6469
|
-
type:
|
|
6469
|
+
type: 'agent';
|
|
6470
6470
|
present: boolean;
|
|
6471
6471
|
avatar: string;
|
|
6472
|
-
visibility:
|
|
6472
|
+
visibility: 'all';
|
|
6473
6473
|
};
|
|
6474
6474
|
interface LivechatWebhookChat {
|
|
6475
6475
|
id: string;
|
|
@@ -6521,13 +6521,13 @@ interface LivechatWebhookSystemMessageEvent {
|
|
|
6521
6521
|
custom_id: string;
|
|
6522
6522
|
text: string;
|
|
6523
6523
|
system_message_type: LivechatWebhookSystemMessages;
|
|
6524
|
-
visibility:
|
|
6524
|
+
visibility: 'all' | 'agents';
|
|
6525
6525
|
text_vars: Record<string, string>;
|
|
6526
6526
|
}
|
|
6527
6527
|
interface LivechatWebhookMessageEvent {
|
|
6528
6528
|
custom_id: string;
|
|
6529
6529
|
text: string;
|
|
6530
|
-
visibility:
|
|
6530
|
+
visibility: 'all' | 'agents';
|
|
6531
6531
|
properties: Record<string, Record<string, string>>;
|
|
6532
6532
|
postback: {
|
|
6533
6533
|
id: string;
|
|
@@ -6608,7 +6608,7 @@ type ThreadUntaggedLivechatWebhookData = LivechatWebhookDataBase<LivechatWebhook
|
|
|
6608
6608
|
}>;
|
|
6609
6609
|
type LivechatWebhookData = IncomingChatLivechatWebhookData | ChatDeactivatedLivechatWebhookData | ThreadTaggedLivechatWebhookData | ThreadUntaggedLivechatWebhookData | ChatTransferredLivechatWebhookData | UserAddedToChatLivechatWebhookData | UserRemovedFromChatWebhookData | IncomingEventLivechatWebhookData;
|
|
6610
6610
|
|
|
6611
|
-
type LivechatBotDefaultGroupPriority =
|
|
6611
|
+
type LivechatBotDefaultGroupPriority = 'first' | 'normal' | 'last' | 'supervisor';
|
|
6612
6612
|
interface CreateLivechatBotTemplateDto {
|
|
6613
6613
|
name: string;
|
|
6614
6614
|
avatar?: string;
|
|
@@ -6679,78 +6679,78 @@ declare const api: {
|
|
|
6679
6679
|
platform: {
|
|
6680
6680
|
accounts: {
|
|
6681
6681
|
account: {
|
|
6682
|
-
readonly getAccounts: (authorization?:
|
|
6682
|
+
readonly getAccounts: (authorization?: AccountsClientAuthorization) => Promise<Response & {
|
|
6683
6683
|
data: AccountDto[];
|
|
6684
6684
|
}>;
|
|
6685
|
-
readonly getAccount: (accountId: string, authorization?:
|
|
6685
|
+
readonly getAccount: (accountId: string, authorization?: AccountsClientAuthorization) => Promise<Response & {
|
|
6686
6686
|
data: AccountDto;
|
|
6687
6687
|
}>;
|
|
6688
|
-
readonly getMeAccount: (authorization?:
|
|
6688
|
+
readonly getMeAccount: (authorization?: AccountsClientAuthorization) => Promise<Response & {
|
|
6689
6689
|
data: MyAccountDto;
|
|
6690
6690
|
}>;
|
|
6691
6691
|
};
|
|
6692
6692
|
client: {
|
|
6693
|
-
readonly getClients: (authorization?:
|
|
6693
|
+
readonly getClients: (authorization?: AccountsClientAuthorization) => Promise<Response & {
|
|
6694
6694
|
data: ClientDto[];
|
|
6695
6695
|
}>;
|
|
6696
|
-
readonly getClient: (clientId: string, authorization?:
|
|
6696
|
+
readonly getClient: (clientId: string, authorization?: AccountsClientAuthorization) => Promise<Response & {
|
|
6697
6697
|
data: ClientDto;
|
|
6698
6698
|
}>;
|
|
6699
|
-
readonly createClient: (payload: CreateClientPayload, authorization?:
|
|
6699
|
+
readonly createClient: (payload: CreateClientPayload, authorization?: AccountsClientAuthorization) => Promise<Response & {
|
|
6700
6700
|
data: ClientWithSecretDto;
|
|
6701
6701
|
}>;
|
|
6702
|
-
readonly updateClient: (clientId: string, payload: UpdateClientPayload, authorization?:
|
|
6702
|
+
readonly updateClient: (clientId: string, payload: UpdateClientPayload, authorization?: AccountsClientAuthorization) => Promise<Response & {
|
|
6703
6703
|
data: void;
|
|
6704
6704
|
}>;
|
|
6705
|
-
readonly deleteClient: (clientId: string, authorization?:
|
|
6705
|
+
readonly deleteClient: (clientId: string, authorization?: AccountsClientAuthorization) => Promise<Response & {
|
|
6706
6706
|
data: void;
|
|
6707
6707
|
}>;
|
|
6708
|
-
readonly updateClientScopes: (clientId: string, scopes: ClientScopeDto[], authorization?:
|
|
6708
|
+
readonly updateClientScopes: (clientId: string, scopes: ClientScopeDto[], authorization?: AccountsClientAuthorization) => Promise<Response & {
|
|
6709
6709
|
data: void;
|
|
6710
6710
|
}>;
|
|
6711
|
-
readonly deleteClientScopes: (clientId: string, scopes: ClientScopeDto[], authorization?:
|
|
6711
|
+
readonly deleteClientScopes: (clientId: string, scopes: ClientScopeDto[], authorization?: AccountsClientAuthorization) => Promise<Response & {
|
|
6712
6712
|
data: void;
|
|
6713
6713
|
}>;
|
|
6714
|
-
readonly getInfo: (authorization?:
|
|
6714
|
+
readonly getInfo: (authorization?: AccountsClientAuthorization) => Promise<Response & {
|
|
6715
6715
|
data: ClientInfoDto;
|
|
6716
6716
|
}>;
|
|
6717
6717
|
};
|
|
6718
6718
|
pat: {
|
|
6719
|
-
readonly getPersonalAccessTokens: (authorization?:
|
|
6719
|
+
readonly getPersonalAccessTokens: (authorization?: AccountsClientAuthorization) => Promise<Response & {
|
|
6720
6720
|
data: PatDto[];
|
|
6721
6721
|
}>;
|
|
6722
|
-
readonly createPersonalAccessToken: (name: string, scopes: PatScopeDto[], authorization?:
|
|
6722
|
+
readonly createPersonalAccessToken: (name: string, scopes: PatScopeDto[], authorization?: AccountsClientAuthorization) => Promise<Response & {
|
|
6723
6723
|
data: PatWithSecretDto;
|
|
6724
6724
|
}>;
|
|
6725
|
-
readonly deletePersonalAccessToken: (id: string, authorization?:
|
|
6725
|
+
readonly deletePersonalAccessToken: (id: string, authorization?: AccountsClientAuthorization) => Promise<Response & {
|
|
6726
6726
|
data: void;
|
|
6727
6727
|
}>;
|
|
6728
6728
|
};
|
|
6729
6729
|
organization: {
|
|
6730
|
-
readonly getOrganizations: (authorization?:
|
|
6730
|
+
readonly getOrganizations: (authorization?: AccountsClientAuthorization) => Promise<Response & {
|
|
6731
6731
|
data: OrganizationDto[] | undefined;
|
|
6732
6732
|
}>;
|
|
6733
|
-
readonly getMyOrganization: (authorization?:
|
|
6733
|
+
readonly getMyOrganization: (authorization?: AccountsClientAuthorization) => Promise<Response & {
|
|
6734
6734
|
data: OrganizationDto;
|
|
6735
6735
|
}>;
|
|
6736
6736
|
};
|
|
6737
6737
|
products: {
|
|
6738
|
-
readonly getOrganizationProducts: (authorization?:
|
|
6738
|
+
readonly getOrganizationProducts: (authorization?: AccountsClientAuthorization) => Promise<Response & {
|
|
6739
6739
|
data: ProductDto[];
|
|
6740
6740
|
}>;
|
|
6741
6741
|
readonly updateOrganizationProducts: (payload: {
|
|
6742
6742
|
product: string;
|
|
6743
|
-
}, authorization?:
|
|
6743
|
+
}, authorization?: AccountsClientAuthorization) => Promise<Response & {
|
|
6744
6744
|
data: void;
|
|
6745
6745
|
}>;
|
|
6746
6746
|
};
|
|
6747
6747
|
scopes: {
|
|
6748
|
-
readonly getScopes: (authorization?:
|
|
6748
|
+
readonly getScopes: (authorization?: AccountsClientAuthorization) => Promise<Response & {
|
|
6749
6749
|
data: ScopeDto[];
|
|
6750
6750
|
}>;
|
|
6751
6751
|
};
|
|
6752
6752
|
sessions: {
|
|
6753
|
-
readonly deleteSessions: (authorization?:
|
|
6753
|
+
readonly deleteSessions: (authorization?: AccountsClientAuthorization) => Promise<Response & {
|
|
6754
6754
|
data: void;
|
|
6755
6755
|
}>;
|
|
6756
6756
|
};
|
|
@@ -6762,270 +6762,121 @@ declare const api: {
|
|
|
6762
6762
|
};
|
|
6763
6763
|
billing: {
|
|
6764
6764
|
account: {
|
|
6765
|
-
readonly getAccount: (authorization?:
|
|
6766
|
-
readonly getAccountInfo: (product: BillingProduct, authorization?:
|
|
6765
|
+
readonly getAccount: (authorization?: BillingClientAuthorization) => Promise<axios.AxiosResponse<BillingAccountDto, any>>;
|
|
6766
|
+
readonly getAccountInfo: (product: BillingProduct, authorization?: BillingClientAuthorization) => Promise<axios.AxiosResponse<BillingAccountInfoDto, any>>;
|
|
6767
6767
|
};
|
|
6768
6768
|
invoices: {
|
|
6769
|
-
readonly getInvoices: (product: BillingProduct, authorization?:
|
|
6769
|
+
readonly getInvoices: (product: BillingProduct, authorization?: BillingClientAuthorization) => Promise<axios.AxiosResponse<{
|
|
6770
6770
|
result: BillingInvoiceDto[];
|
|
6771
6771
|
}, any>>;
|
|
6772
|
-
readonly downloadInvoices: (number: number, authorization?:
|
|
6772
|
+
readonly downloadInvoices: (number: number, authorization?: BillingClientAuthorization) => Promise<void>;
|
|
6773
6773
|
};
|
|
6774
6774
|
};
|
|
6775
6775
|
adapter: {
|
|
6776
6776
|
app: {
|
|
6777
6777
|
blocks: {
|
|
6778
6778
|
authorization: {
|
|
6779
|
-
get(appId: string, authorization?: AdapterClientAuthorization
|
|
6780
|
-
add(payload: AddAppAuthorizationPayload, authorization?: AdapterClientAuthorization
|
|
6781
|
-
update(payload: UpdateAppAuthorizationPayload, authorization?: AdapterClientAuthorization
|
|
6782
|
-
remove(payload: RemoveAppAuthorizationPayload, authorization?: AdapterClientAuthorization
|
|
6779
|
+
get(appId: string, authorization?: AdapterClientAuthorization): Promise<axios.AxiosResponse<AppAuthorizationData, any>>;
|
|
6780
|
+
add(payload: AddAppAuthorizationPayload, authorization?: AdapterClientAuthorization): Promise<axios.AxiosResponse<AddAppAuthorizationResult, any>>;
|
|
6781
|
+
update(payload: UpdateAppAuthorizationPayload, authorization?: AdapterClientAuthorization): Promise<axios.AxiosResponse<void, any>>;
|
|
6782
|
+
remove(payload: RemoveAppAuthorizationPayload, authorization?: AdapterClientAuthorization): Promise<axios.AxiosResponse<void, any>>;
|
|
6783
6783
|
};
|
|
6784
6784
|
monetization: {
|
|
6785
|
-
get(appId: string, authorization?: AdapterClientAuthorization
|
|
6786
|
-
upsert(payload: UpsertAppMonetizationPayload, authorization?: AdapterClientAuthorization
|
|
6787
|
-
remove(payload: RemoveAppMonetizationPayload, authorization?: AdapterClientAuthorization
|
|
6785
|
+
get(appId: string, authorization?: AdapterClientAuthorization): Promise<axios.AxiosResponse<AppMonetizationData, any>>;
|
|
6786
|
+
upsert(payload: UpsertAppMonetizationPayload, authorization?: AdapterClientAuthorization): Promise<axios.AxiosResponse<void, any>>;
|
|
6787
|
+
remove(payload: RemoveAppMonetizationPayload, authorization?: AdapterClientAuthorization): Promise<axios.AxiosResponse<void, any>>;
|
|
6788
6788
|
};
|
|
6789
6789
|
repository: {
|
|
6790
|
-
getAggregate(appId: string, authorization?: AdapterClientAuthorization
|
|
6790
|
+
getAggregate(appId: string, authorization?: AdapterClientAuthorization): Promise<axios.AxiosResponse<{
|
|
6791
6791
|
provider: "github";
|
|
6792
6792
|
} & AppGitHubRepository, any>>;
|
|
6793
|
-
get(appId: string, authorization?: AdapterClientAuthorization
|
|
6794
|
-
link(payload: LinkAppRepositoryPayload, authorization?: AdapterClientAuthorization
|
|
6795
|
-
unlink(payload: UnlinkAppRepositoryPayload, authorization?: AdapterClientAuthorization
|
|
6796
|
-
upsert(payload: UpsertAppRepositoryPayload, authorization?: AdapterClientAuthorization
|
|
6797
|
-
seed(payload: SeedAppRepositoryPayload, authorization?: AdapterClientAuthorization
|
|
6793
|
+
get(appId: string, authorization?: AdapterClientAuthorization): Promise<axios.AxiosResponse<AppRepositoryData, any>>;
|
|
6794
|
+
link(payload: LinkAppRepositoryPayload, authorization?: AdapterClientAuthorization): Promise<axios.AxiosResponse<LinkAppRepositoryResult, any>>;
|
|
6795
|
+
unlink(payload: UnlinkAppRepositoryPayload, authorization?: AdapterClientAuthorization): Promise<axios.AxiosResponse<void, any>>;
|
|
6796
|
+
upsert(payload: UpsertAppRepositoryPayload, authorization?: AdapterClientAuthorization): Promise<axios.AxiosResponse<void, any>>;
|
|
6797
|
+
seed(payload: SeedAppRepositoryPayload, authorization?: AdapterClientAuthorization): Promise<axios.AxiosResponse<SeedAppRepositoryResult, any>>;
|
|
6798
6798
|
};
|
|
6799
6799
|
deployment: {
|
|
6800
|
-
getAggregate(appId: string, authorization?: AdapterClientAuthorization
|
|
6801
|
-
get(appId: string, authorization?: AdapterClientAuthorization
|
|
6802
|
-
link(payload: LinkAppDeploymentPayload, authorization?: AdapterClientAuthorization
|
|
6803
|
-
unlink(payload: UnlinkAppDeploymentPayload, authorization?: AdapterClientAuthorization
|
|
6804
|
-
upsert(payload: UpsertAppDeploymentPayload, authorization?: AdapterClientAuthorization
|
|
6800
|
+
getAggregate(appId: string, authorization?: AdapterClientAuthorization): Promise<axios.AxiosResponse<AppDeployment, any>>;
|
|
6801
|
+
get(appId: string, authorization?: AdapterClientAuthorization): Promise<axios.AxiosResponse<AppDeploymentData, any>>;
|
|
6802
|
+
link(payload: LinkAppDeploymentPayload, authorization?: AdapterClientAuthorization): Promise<axios.AxiosResponse<LinkAppDeploymentResult, any>>;
|
|
6803
|
+
unlink(payload: UnlinkAppDeploymentPayload, authorization?: AdapterClientAuthorization): Promise<axios.AxiosResponse<void, any>>;
|
|
6804
|
+
upsert(payload: UpsertAppDeploymentPayload, authorization?: AdapterClientAuthorization): Promise<axios.AxiosResponse<void, any>>;
|
|
6805
6805
|
};
|
|
6806
6806
|
storage: {
|
|
6807
|
-
getAggregate(appId: string, authorization?: AdapterClientAuthorization
|
|
6808
|
-
get(appId: string, authorization?: AdapterClientAuthorization
|
|
6809
|
-
link(payload: LinkAppStoragePayload, authorization?: AdapterClientAuthorization
|
|
6810
|
-
unlink(payload: UnlinkAppStoragePayload, authorization?: AdapterClientAuthorization
|
|
6811
|
-
upsert(payload: UpsertAppStoragePayload, authorization?: AdapterClientAuthorization
|
|
6807
|
+
getAggregate(appId: string, authorization?: AdapterClientAuthorization): Promise<axios.AxiosResponse<AppStorage, any>>;
|
|
6808
|
+
get(appId: string, authorization?: AdapterClientAuthorization): Promise<axios.AxiosResponse<AppStorageData, any>>;
|
|
6809
|
+
link(payload: LinkAppStoragePayload, authorization?: AdapterClientAuthorization): Promise<axios.AxiosResponse<void, any>>;
|
|
6810
|
+
unlink(payload: UnlinkAppStoragePayload, authorization?: AdapterClientAuthorization): Promise<axios.AxiosResponse<void, any>>;
|
|
6811
|
+
upsert(payload: UpsertAppStoragePayload, authorization?: AdapterClientAuthorization): Promise<axios.AxiosResponse<void, any>>;
|
|
6812
6812
|
};
|
|
6813
6813
|
properties: {
|
|
6814
6814
|
property: {
|
|
6815
|
-
get(appId: string, propertyId: string, authorization?: AdapterClientAuthorization
|
|
6816
|
-
upsert(payload: UpsertAppPropertyPayload, authorization?: AdapterClientAuthorization
|
|
6817
|
-
remove(payload: RemoveAppPropertyPayload, authorization?: AdapterClientAuthorization
|
|
6815
|
+
get(appId: string, propertyId: string, authorization?: AdapterClientAuthorization): Promise<axios.AxiosResponse<AppPropertyData, any>>;
|
|
6816
|
+
upsert(payload: UpsertAppPropertyPayload, authorization?: AdapterClientAuthorization): Promise<axios.AxiosResponse<void, any>>;
|
|
6817
|
+
remove(payload: RemoveAppPropertyPayload, authorization?: AdapterClientAuthorization): Promise<axios.AxiosResponse<void, any>>;
|
|
6818
6818
|
};
|
|
6819
|
-
get(appId: string, authorization?: AdapterClientAuthorization
|
|
6820
|
-
upsert(payload: UpsertAppPropertiesPayload, authorization?: AdapterClientAuthorization
|
|
6821
|
-
remove(payload: RemoveAppPropertiesPayload, authorization?: AdapterClientAuthorization
|
|
6819
|
+
get(appId: string, authorization?: AdapterClientAuthorization): Promise<axios.AxiosResponse<AppPropertiesData, any>>;
|
|
6820
|
+
upsert(payload: UpsertAppPropertiesPayload, authorization?: AdapterClientAuthorization): Promise<axios.AxiosResponse<void, any>>;
|
|
6821
|
+
remove(payload: RemoveAppPropertiesPayload, authorization?: AdapterClientAuthorization): Promise<axios.AxiosResponse<void, any>>;
|
|
6822
6822
|
};
|
|
6823
6823
|
widgets: {
|
|
6824
6824
|
widget: {
|
|
6825
|
-
get(appId: string, widgetId: string, authorization?: AdapterClientAuthorization
|
|
6826
|
-
upsert(payload: UpsertAppWidgetPayload, authorization?: AdapterClientAuthorization
|
|
6827
|
-
remove(payload: RemoveAppWidgetPayload, authorization?: AdapterClientAuthorization
|
|
6825
|
+
get(appId: string, widgetId: string, authorization?: AdapterClientAuthorization): Promise<axios.AxiosResponse<AppWidgetData, any>>;
|
|
6826
|
+
upsert(payload: UpsertAppWidgetPayload, authorization?: AdapterClientAuthorization): Promise<axios.AxiosResponse<void, any>>;
|
|
6827
|
+
remove(payload: RemoveAppWidgetPayload, authorization?: AdapterClientAuthorization): Promise<axios.AxiosResponse<void, any>>;
|
|
6828
6828
|
};
|
|
6829
|
-
get(appId: string, authorization?: AdapterClientAuthorization
|
|
6830
|
-
upsert(payload: UpsertAppWidgetsPayload, authorization?: AdapterClientAuthorization
|
|
6831
|
-
remove(payload: RemoveAppWidgetsPayload, authorization?: AdapterClientAuthorization
|
|
6829
|
+
get(appId: string, authorization?: AdapterClientAuthorization): Promise<axios.AxiosResponse<AppWidgetsData, any>>;
|
|
6830
|
+
upsert(payload: UpsertAppWidgetsPayload, authorization?: AdapterClientAuthorization): Promise<axios.AxiosResponse<void, any>>;
|
|
6831
|
+
remove(payload: RemoveAppWidgetsPayload, authorization?: AdapterClientAuthorization): Promise<axios.AxiosResponse<void, any>>;
|
|
6832
6832
|
};
|
|
6833
6833
|
};
|
|
6834
6834
|
variables: {
|
|
6835
|
-
getVariables(appId: string, decrypted?: boolean
|
|
6836
|
-
getVariable(appId: string, key: string, authorization?: AdapterClientAuthorization
|
|
6837
|
-
syncVariable(appId: string, key: string, payload: SyncAppVariablePayload, authorization?: AdapterClientAuthorization
|
|
6838
|
-
createVariable(appId: string, data: CreateAppVariablePayload, authorization?: AdapterClientAuthorization
|
|
6839
|
-
editVariable(appId: string, data: EditAppVariablePayload, authorization?: AdapterClientAuthorization
|
|
6835
|
+
getVariables(appId: string, decrypted?: boolean, authorization?: AdapterClientAuthorization): Promise<AppVariable[]>;
|
|
6836
|
+
getVariable(appId: string, key: string, authorization?: AdapterClientAuthorization): Promise<AppVariable>;
|
|
6837
|
+
syncVariable(appId: string, key: string, payload: SyncAppVariablePayload, authorization?: AdapterClientAuthorization): Promise<void>;
|
|
6838
|
+
createVariable(appId: string, data: CreateAppVariablePayload, authorization?: AdapterClientAuthorization): Promise<void>;
|
|
6839
|
+
editVariable(appId: string, data: EditAppVariablePayload, authorization?: AdapterClientAuthorization): Promise<void>;
|
|
6840
6840
|
deleteVariable(appId: string, key: string): Promise<void>;
|
|
6841
6841
|
};
|
|
6842
6842
|
templates: {
|
|
6843
|
-
getTemplates(authorization?: AdapterClientAuthorization
|
|
6844
|
-
getRepositoryTemplates(authorization?: AdapterClientAuthorization
|
|
6843
|
+
getTemplates(authorization?: AdapterClientAuthorization): Promise<axios.AxiosResponse<AppTemplates, any>>;
|
|
6844
|
+
getRepositoryTemplates(authorization?: AdapterClientAuthorization): Promise<axios.AxiosResponse<AppRepositoryTemplates, any>>;
|
|
6845
6845
|
};
|
|
6846
|
-
push(payload: PushAppPayload, authorization?: AdapterClientAuthorization
|
|
6847
|
-
pull(appId: string, authorization?: AdapterClientAuthorization
|
|
6848
|
-
verify(payload: VerifyAppPayload, authorization?: AdapterClientAuthorization
|
|
6849
|
-
status<TSaga>(sagaId: string, authorization?: AdapterClientAuthorization
|
|
6846
|
+
push(payload: PushAppPayload, authorization?: AdapterClientAuthorization): Promise<axios.AxiosResponse<PushAppResult, any>>;
|
|
6847
|
+
pull(appId: string, authorization?: AdapterClientAuthorization): Promise<axios.AxiosResponse<AppManifest, any>>;
|
|
6848
|
+
verify(payload: VerifyAppPayload, authorization?: AdapterClientAuthorization): Promise<axios.AxiosResponse<VerifyAppResult, any>>;
|
|
6849
|
+
status<TSaga>(sagaId: string, authorization?: AdapterClientAuthorization): Promise<axios.AxiosResponse<SagaOutput<TSaga> | undefined, any>>;
|
|
6850
6850
|
};
|
|
6851
6851
|
integrations: {
|
|
6852
6852
|
mailchimp: {
|
|
6853
6853
|
events: {
|
|
6854
|
-
subscribe(payload:
|
|
6855
|
-
|
|
6856
|
-
sourceKey: string;
|
|
6857
|
-
} & {
|
|
6858
|
-
event: {
|
|
6859
|
-
name: MailchimpEventNames.Subscribed;
|
|
6860
|
-
listId: string;
|
|
6861
|
-
} | {
|
|
6862
|
-
name: MailchimpEventNames.Unsubscribed;
|
|
6863
|
-
listId: string;
|
|
6864
|
-
};
|
|
6865
|
-
callback: string;
|
|
6866
|
-
}, authorization?: MailchimpClientAuthorization | undefined): Promise<void>;
|
|
6867
|
-
unsubscribe(payload: {
|
|
6868
|
-
sourceName: "apps" | "workflows";
|
|
6869
|
-
sourceKey: string;
|
|
6870
|
-
} & {
|
|
6871
|
-
event: {
|
|
6872
|
-
name: MailchimpEventNames.Subscribed;
|
|
6873
|
-
listId: string;
|
|
6874
|
-
} | {
|
|
6875
|
-
name: MailchimpEventNames.Unsubscribed;
|
|
6876
|
-
listId: string;
|
|
6877
|
-
};
|
|
6878
|
-
}, authorization?: MailchimpClientAuthorization | undefined): Promise<void>;
|
|
6854
|
+
subscribe(payload: SubscribeToMailchimpEventPayload, authorization?: MailchimpClientAuthorization): Promise<void>;
|
|
6855
|
+
unsubscribe(payload: UnsubscribeFromMailchimpEventPayload, authorization?: MailchimpClientAuthorization): Promise<void>;
|
|
6879
6856
|
};
|
|
6880
6857
|
};
|
|
6881
6858
|
shopify: {
|
|
6882
6859
|
events: {
|
|
6883
|
-
subscribe(payload:
|
|
6884
|
-
|
|
6885
|
-
sourceKey: string;
|
|
6886
|
-
} & {
|
|
6887
|
-
event: {
|
|
6888
|
-
name: ShopifyEventNames;
|
|
6889
|
-
};
|
|
6890
|
-
callback: string;
|
|
6891
|
-
}, authorization?: ShopifyClientAuthorization | undefined): Promise<void>;
|
|
6892
|
-
unsubscribe(payload: {
|
|
6893
|
-
sourceName: "apps" | "workflows";
|
|
6894
|
-
sourceKey: string;
|
|
6895
|
-
} & {
|
|
6896
|
-
event: {
|
|
6897
|
-
name: ShopifyEventNames;
|
|
6898
|
-
};
|
|
6899
|
-
}, authorization?: ShopifyClientAuthorization | undefined): Promise<void>;
|
|
6860
|
+
subscribe(payload: SubscribeToShopifyEventPayload, authorization?: ShopifyClientAuthorization): Promise<void>;
|
|
6861
|
+
unsubscribe(payload: UnsubscribeFromShopifyEventPayload, authorization?: ShopifyClientAuthorization): Promise<void>;
|
|
6900
6862
|
};
|
|
6901
6863
|
};
|
|
6902
6864
|
hubspot: {
|
|
6903
6865
|
events: {
|
|
6904
|
-
subscribe(payload:
|
|
6905
|
-
|
|
6906
|
-
sourceKey: string;
|
|
6907
|
-
} & {
|
|
6908
|
-
event: {
|
|
6909
|
-
name: HubspotEventNames.ContactCreated;
|
|
6910
|
-
} | {
|
|
6911
|
-
name: HubspotEventNames.ContactDeleted;
|
|
6912
|
-
};
|
|
6913
|
-
callback: string;
|
|
6914
|
-
}, authorization?: HubspotClientAuthorization | undefined): Promise<void>;
|
|
6915
|
-
unsubscribe(payload: {
|
|
6916
|
-
sourceName: "apps" | "workflows";
|
|
6917
|
-
sourceKey: string;
|
|
6918
|
-
} & {
|
|
6919
|
-
event: {
|
|
6920
|
-
name: HubspotEventNames.ContactCreated;
|
|
6921
|
-
} | {
|
|
6922
|
-
name: HubspotEventNames.ContactDeleted;
|
|
6923
|
-
};
|
|
6924
|
-
}, authorization?: HubspotClientAuthorization | undefined): Promise<void>;
|
|
6866
|
+
subscribe(payload: SubscribeToHubspotEventPayload, authorization?: HubspotClientAuthorization): Promise<void>;
|
|
6867
|
+
unsubscribe(payload: UnsubscribeFromHubspotEventPayload, authorization?: HubspotClientAuthorization): Promise<void>;
|
|
6925
6868
|
};
|
|
6926
6869
|
};
|
|
6927
6870
|
bigcommerce: {
|
|
6928
6871
|
events: {
|
|
6929
|
-
subscribe(payload:
|
|
6930
|
-
|
|
6931
|
-
sourceKey: string;
|
|
6932
|
-
} & {
|
|
6933
|
-
event: {
|
|
6934
|
-
name: BigCommerceEventNames.CartCreated;
|
|
6935
|
-
} | {
|
|
6936
|
-
name: BigCommerceEventNames.CartUpdated;
|
|
6937
|
-
} | {
|
|
6938
|
-
name: BigCommerceEventNames.OrderCreated;
|
|
6939
|
-
} | {
|
|
6940
|
-
name: BigCommerceEventNames.OrderUpdated;
|
|
6941
|
-
} | {
|
|
6942
|
-
name: BigCommerceEventNames.ProductCreated;
|
|
6943
|
-
} | {
|
|
6944
|
-
name: BigCommerceEventNames.ProductUpdated;
|
|
6945
|
-
};
|
|
6946
|
-
callback: string;
|
|
6947
|
-
}, authorization?: BigCommerceClientAuthorization | undefined): Promise<void>;
|
|
6948
|
-
unsubscribe(payload: {
|
|
6949
|
-
sourceName: "apps" | "workflows";
|
|
6950
|
-
sourceKey: string;
|
|
6951
|
-
} & {
|
|
6952
|
-
event: {
|
|
6953
|
-
name: BigCommerceEventNames.CartCreated;
|
|
6954
|
-
} | {
|
|
6955
|
-
name: BigCommerceEventNames.CartUpdated;
|
|
6956
|
-
} | {
|
|
6957
|
-
name: BigCommerceEventNames.OrderCreated;
|
|
6958
|
-
} | {
|
|
6959
|
-
name: BigCommerceEventNames.OrderUpdated;
|
|
6960
|
-
} | {
|
|
6961
|
-
name: BigCommerceEventNames.ProductCreated;
|
|
6962
|
-
} | {
|
|
6963
|
-
name: BigCommerceEventNames.ProductUpdated;
|
|
6964
|
-
};
|
|
6965
|
-
}, authorization?: BigCommerceClientAuthorization | undefined): Promise<void>;
|
|
6872
|
+
subscribe(payload: SubscribeToBigCommerceEventPayload, authorization?: BigCommerceClientAuthorization): Promise<void>;
|
|
6873
|
+
unsubscribe(payload: UnsubscribeFromBigCommerceEventPayload, authorization?: BigCommerceClientAuthorization): Promise<void>;
|
|
6966
6874
|
};
|
|
6967
6875
|
};
|
|
6968
6876
|
text: {
|
|
6969
6877
|
events: {
|
|
6970
|
-
subscribe(payload:
|
|
6971
|
-
|
|
6972
|
-
sourceKey: string;
|
|
6973
|
-
} & {
|
|
6974
|
-
event: {
|
|
6975
|
-
name: TextLivechatEventNames.ChatStarted;
|
|
6976
|
-
} | {
|
|
6977
|
-
name: TextLivechatEventNames.ChatEnded;
|
|
6978
|
-
} | {
|
|
6979
|
-
name: TextLivechatEventNames.ChatTransferred;
|
|
6980
|
-
} | {
|
|
6981
|
-
name: TextLivechatEventNames.ChatTagged;
|
|
6982
|
-
exact?: boolean | undefined;
|
|
6983
|
-
tag?: string | undefined;
|
|
6984
|
-
} | {
|
|
6985
|
-
name: TextLivechatEventNames.ChatRated;
|
|
6986
|
-
rating?: "good" | "bad" | "all" | undefined;
|
|
6987
|
-
} | {
|
|
6988
|
-
name: TextLivechatEventNames.ChatCommented;
|
|
6989
|
-
} | {
|
|
6990
|
-
name: TextLivechatEventNames.ChatMessage;
|
|
6991
|
-
filter?: string | undefined;
|
|
6992
|
-
} | {
|
|
6993
|
-
name: TextLivechatEventNames.UserAddedToChat;
|
|
6994
|
-
userType?: "agent" | "customer" | undefined;
|
|
6995
|
-
} | {
|
|
6996
|
-
name: TextLivechatEventNames.UserRemovedFromChat;
|
|
6997
|
-
};
|
|
6998
|
-
callback: string;
|
|
6999
|
-
}, authorization?: GlobalAccountsClientAuthorization | undefined): Promise<void>;
|
|
7000
|
-
unsubscribe(payload: {
|
|
7001
|
-
sourceName: "apps" | "workflows";
|
|
7002
|
-
sourceKey: string;
|
|
7003
|
-
} & {
|
|
7004
|
-
event: {
|
|
7005
|
-
name: TextLivechatEventNames.ChatStarted;
|
|
7006
|
-
} | {
|
|
7007
|
-
name: TextLivechatEventNames.ChatEnded;
|
|
7008
|
-
} | {
|
|
7009
|
-
name: TextLivechatEventNames.ChatTransferred;
|
|
7010
|
-
} | {
|
|
7011
|
-
name: TextLivechatEventNames.ChatTagged;
|
|
7012
|
-
exact?: boolean | undefined;
|
|
7013
|
-
tag?: string | undefined;
|
|
7014
|
-
} | {
|
|
7015
|
-
name: TextLivechatEventNames.ChatRated;
|
|
7016
|
-
rating?: "good" | "bad" | "all" | undefined;
|
|
7017
|
-
} | {
|
|
7018
|
-
name: TextLivechatEventNames.ChatCommented;
|
|
7019
|
-
} | {
|
|
7020
|
-
name: TextLivechatEventNames.ChatMessage;
|
|
7021
|
-
filter?: string | undefined;
|
|
7022
|
-
} | {
|
|
7023
|
-
name: TextLivechatEventNames.UserAddedToChat;
|
|
7024
|
-
userType?: "agent" | "customer" | undefined;
|
|
7025
|
-
} | {
|
|
7026
|
-
name: TextLivechatEventNames.UserRemovedFromChat;
|
|
7027
|
-
};
|
|
7028
|
-
}, authorization?: GlobalAccountsClientAuthorization | undefined): Promise<void>;
|
|
6878
|
+
subscribe(payload: SubscribeToTextLivechatEventPayload, authorization?: TextClientAuthorization): Promise<void>;
|
|
6879
|
+
unsubscribe(payload: UnsubscribeFromTextLivechatEventPayload, authorization?: TextClientAuthorization): Promise<void>;
|
|
7029
6880
|
};
|
|
7030
6881
|
};
|
|
7031
6882
|
};
|
|
@@ -7033,45 +6884,45 @@ declare const api: {
|
|
|
7033
6884
|
userId: string;
|
|
7034
6885
|
name: string;
|
|
7035
6886
|
payload: Record<string, unknown>;
|
|
7036
|
-
}, authorization?: AdapterClientAuthorization
|
|
6887
|
+
}, authorization?: AdapterClientAuthorization): Promise<axios.AxiosResponse<void, any>>;
|
|
7037
6888
|
};
|
|
7038
6889
|
dps: {
|
|
7039
6890
|
applications: {
|
|
7040
6891
|
application: {
|
|
7041
6892
|
authorization: {
|
|
7042
|
-
readonly createAuth: (appId: string, payload: CreateApplicationAuthorizationPayload, authorization?:
|
|
7043
|
-
readonly deleteAuth: (appId: string, authorization?:
|
|
6893
|
+
readonly createAuth: (appId: string, payload: CreateApplicationAuthorizationPayload, authorization?: DpsClientAuthorization) => Promise<void>;
|
|
6894
|
+
readonly deleteAuth: (appId: string, authorization?: DpsClientAuthorization) => Promise<void>;
|
|
7044
6895
|
};
|
|
7045
6896
|
autoReview: {
|
|
7046
|
-
getAutoReview(appId: string, authorization?:
|
|
7047
|
-
submitAutoReview(appId: string, payload: ApplicationAutoReviewPayload, authorization?:
|
|
6897
|
+
getAutoReview(appId: string, authorization?: DpsClientAuthorization): Promise<ApplicationAutoReviewDto | null>;
|
|
6898
|
+
submitAutoReview(appId: string, payload: ApplicationAutoReviewPayload, authorization?: DpsClientAuthorization): Promise<void>;
|
|
7048
6899
|
};
|
|
7049
6900
|
chatActions: {
|
|
7050
|
-
createChatAction(appId: string, payload: CreateApplicationChatActionPayload, authorization?:
|
|
7051
|
-
updateChatAction(appId: string, payload: UpdateApplicationChatActionPayload, authorization?:
|
|
7052
|
-
deleteChatAction(appId: string, chatActionId: string, authorization?:
|
|
6901
|
+
createChatAction(appId: string, payload: CreateApplicationChatActionPayload, authorization?: DpsClientAuthorization): Promise<void>;
|
|
6902
|
+
updateChatAction(appId: string, payload: UpdateApplicationChatActionPayload, authorization?: DpsClientAuthorization): Promise<void>;
|
|
6903
|
+
deleteChatAction(appId: string, chatActionId: string, authorization?: DpsClientAuthorization): Promise<void>;
|
|
7053
6904
|
};
|
|
7054
6905
|
chatBoosters: {
|
|
7055
|
-
createChatBooster(appId: string, chatBoosterId: string, payload: UpsertApplicationChatBoosterPayload, authorization?:
|
|
7056
|
-
updateChatBooster(appId: string, chatBoosterId: string, payload: UpsertApplicationChatBoosterPayload, authorization?:
|
|
7057
|
-
deleteChatBooster(appId: string, chatBoosterId: string, authorization?:
|
|
6906
|
+
createChatBooster(appId: string, chatBoosterId: string, payload: UpsertApplicationChatBoosterPayload, authorization?: DpsClientAuthorization): Promise<axios.AxiosResponse<undefined, any>>;
|
|
6907
|
+
updateChatBooster(appId: string, chatBoosterId: string, payload: UpsertApplicationChatBoosterPayload, authorization?: DpsClientAuthorization): Promise<axios.AxiosResponse<undefined, any>>;
|
|
6908
|
+
deleteChatBooster(appId: string, chatBoosterId: string, authorization?: DpsClientAuthorization): Promise<axios.AxiosResponse<undefined, any>>;
|
|
7058
6909
|
};
|
|
7059
6910
|
customProps: {
|
|
7060
|
-
createCustomProps(appId: string, property: ApplicationPropertyDto, authorization?:
|
|
7061
|
-
updateCustomProps(appId: string, property: ApplicationPropertyDto, authorization?:
|
|
7062
|
-
deleteCustomProps(appId: string, property: ApplicationPropertyDto, authorization?:
|
|
6911
|
+
createCustomProps(appId: string, property: ApplicationPropertyDto, authorization?: DpsClientAuthorization): Promise<undefined>;
|
|
6912
|
+
updateCustomProps(appId: string, property: ApplicationPropertyDto, authorization?: DpsClientAuthorization): Promise<undefined>;
|
|
6913
|
+
deleteCustomProps(appId: string, property: ApplicationPropertyDto, authorization?: DpsClientAuthorization): Promise<undefined>;
|
|
7063
6914
|
};
|
|
7064
6915
|
display: {
|
|
7065
|
-
updateVersionHistory(appId: string, payload: UpdateApplicationChangelogPayload, authorization?:
|
|
7066
|
-
updateBasicDetails(appId: string, basicDetails: ApplicationBasicDetailsDto, authorization?:
|
|
7067
|
-
patchBasicDetails(appId: string, basicDetails: Partial<ApplicationBasicDetailsDto>, authorization?:
|
|
7068
|
-
updateOverview(appId: string, data: ApplicationOverviewDto, authorization?:
|
|
7069
|
-
updateTutorialAndSupport(appId: string, data: ApplicationTutorialAndSupportDto, authorization?:
|
|
7070
|
-
updateAppIcon(appId: string, payload: UpdateApplicationIconPayload, authorization?:
|
|
7071
|
-
updateDisplayImages(appId: string, screenshots: ApplicationScreenshotDto[], authorization?:
|
|
7072
|
-
updateDisplayFeatures(appId: string, features: ApplicationFeatureDto[], authorization?:
|
|
7073
|
-
updateDisplayBenefits(appId: string, benefits: ApplicationBenefitDto[], authorization?:
|
|
7074
|
-
uploadImage(appId: string, body: unknown, authorization?:
|
|
6916
|
+
updateVersionHistory(appId: string, payload: UpdateApplicationChangelogPayload, authorization?: DpsClientAuthorization): Promise<void>;
|
|
6917
|
+
updateBasicDetails(appId: string, basicDetails: ApplicationBasicDetailsDto, authorization?: DpsClientAuthorization): Promise<void>;
|
|
6918
|
+
patchBasicDetails(appId: string, basicDetails: Partial<ApplicationBasicDetailsDto>, authorization?: DpsClientAuthorization): Promise<void>;
|
|
6919
|
+
updateOverview(appId: string, data: ApplicationOverviewDto, authorization?: DpsClientAuthorization): Promise<void>;
|
|
6920
|
+
updateTutorialAndSupport(appId: string, data: ApplicationTutorialAndSupportDto, authorization?: DpsClientAuthorization): Promise<void>;
|
|
6921
|
+
updateAppIcon(appId: string, payload: UpdateApplicationIconPayload, authorization?: DpsClientAuthorization): Promise<void>;
|
|
6922
|
+
updateDisplayImages(appId: string, screenshots: ApplicationScreenshotDto[], authorization?: DpsClientAuthorization): Promise<void>;
|
|
6923
|
+
updateDisplayFeatures(appId: string, features: ApplicationFeatureDto[], authorization?: DpsClientAuthorization): Promise<void>;
|
|
6924
|
+
updateDisplayBenefits(appId: string, benefits: ApplicationBenefitDto[], authorization?: DpsClientAuthorization): Promise<void>;
|
|
6925
|
+
uploadImage(appId: string, body: unknown, authorization?: DpsClientAuthorization): Promise<axios.AxiosResponse<{
|
|
7075
6926
|
data: {
|
|
7076
6927
|
ID: string;
|
|
7077
6928
|
Small: string;
|
|
@@ -7082,90 +6933,90 @@ declare const api: {
|
|
|
7082
6933
|
}, any>>;
|
|
7083
6934
|
};
|
|
7084
6935
|
events: {
|
|
7085
|
-
getEvents(appId: string, authorization?:
|
|
6936
|
+
getEvents(appId: string, authorization?: DpsClientAuthorization): Promise<AppEventDto[]>;
|
|
7086
6937
|
};
|
|
7087
6938
|
install: {
|
|
7088
|
-
getInstallationsCount(appId: string, authorization?:
|
|
6939
|
+
getInstallationsCount(appId: string, authorization?: DpsClientAuthorization): Promise<axios.AxiosResponse<{
|
|
7089
6940
|
installations: number;
|
|
7090
6941
|
}, any>>;
|
|
7091
|
-
install(appId: string, authorization?:
|
|
7092
|
-
uninstall(appId: string, authorization?:
|
|
7093
|
-
updateDirectInstallationUrl(appId: string, payload: UpdateApplicationDirectInstallUrlPayload, authorization?:
|
|
7094
|
-
getInstalledApplication(appId: string, license: string, authorization?:
|
|
6942
|
+
install(appId: string, authorization?: DpsClientAuthorization): Promise<void>;
|
|
6943
|
+
uninstall(appId: string, authorization?: DpsClientAuthorization): Promise<void>;
|
|
6944
|
+
updateDirectInstallationUrl(appId: string, payload: UpdateApplicationDirectInstallUrlPayload, authorization?: DpsClientAuthorization): Promise<void>;
|
|
6945
|
+
getInstalledApplication(appId: string, license: string, authorization?: DpsClientAuthorization): Promise<axios.AxiosResponse<ApplicationDto, any>>;
|
|
7095
6946
|
};
|
|
7096
6947
|
infrastructure: {
|
|
7097
6948
|
blocks: {
|
|
7098
|
-
getBlocks(appId: string, authorization?:
|
|
7099
|
-
appId?: string
|
|
6949
|
+
getBlocks(appId: string, authorization?: DpsClientAuthorization): Promise<AppInfrastructureBlocks & {
|
|
6950
|
+
appId?: string;
|
|
7100
6951
|
}>;
|
|
7101
|
-
updateBlocks(appId: string, payload: UpdateAppInfrastructureBlocksPayload, authorization?:
|
|
7102
|
-
deleteBlock(appId: string, block: keyof UpdateAppInfrastructureBlocksPayload, authorization?:
|
|
6952
|
+
updateBlocks(appId: string, payload: UpdateAppInfrastructureBlocksPayload, authorization?: DpsClientAuthorization): Promise<void>;
|
|
6953
|
+
deleteBlock(appId: string, block: keyof UpdateAppInfrastructureBlocksPayload, authorization?: DpsClientAuthorization): Promise<void>;
|
|
7103
6954
|
updateRepository(appId: string, payload: {
|
|
7104
|
-
provider:
|
|
7105
|
-
}, authorization?:
|
|
6955
|
+
provider: AppRepositoryProvider;
|
|
6956
|
+
}, authorization?: DpsClientAuthorization): Promise<void>;
|
|
7106
6957
|
updateDeployment(appId: string, payload: {
|
|
7107
6958
|
provider: AppDeploymentProvider;
|
|
7108
6959
|
customUrl: string;
|
|
7109
|
-
}, authorization?:
|
|
6960
|
+
}, authorization?: DpsClientAuthorization): Promise<void>;
|
|
7110
6961
|
updateStorage(appId: string, payload: {
|
|
7111
6962
|
provider: AppStorageProvider;
|
|
7112
|
-
}, authorization?:
|
|
6963
|
+
}, authorization?: DpsClientAuthorization): Promise<void>;
|
|
7113
6964
|
};
|
|
7114
6965
|
};
|
|
7115
6966
|
onboarding: {
|
|
7116
|
-
updateOnboarding(appId: string, payload: UpdateApplicationOnboardingPayload, authorization?:
|
|
7117
|
-
deleteOnboarding(appId: string, authorization?:
|
|
6967
|
+
updateOnboarding(appId: string, payload: UpdateApplicationOnboardingPayload, authorization?: DpsClientAuthorization): Promise<void>;
|
|
6968
|
+
deleteOnboarding(appId: string, authorization?: DpsClientAuthorization): Promise<void>;
|
|
7118
6969
|
};
|
|
7119
6970
|
payment: {
|
|
7120
6971
|
updatePaymentBlock(appId: string, payment: Omit<ApplicationPaymentDto, "creditCardRequired"> & {
|
|
7121
|
-
creditCardRequired?: boolean
|
|
7122
|
-
}, authorization?:
|
|
7123
|
-
deletePaymentBlock(appId: string, authorization?:
|
|
6972
|
+
creditCardRequired?: boolean;
|
|
6973
|
+
}, authorization?: DpsClientAuthorization): Promise<void>;
|
|
6974
|
+
deletePaymentBlock(appId: string, authorization?: DpsClientAuthorization): Promise<void>;
|
|
7124
6975
|
};
|
|
7125
6976
|
product: {
|
|
7126
|
-
updateProduct(appId: string, payload: UpdateApplicationProductPayload, authorization?:
|
|
6977
|
+
updateProduct(appId: string, payload: UpdateApplicationProductPayload, authorization?: DpsClientAuthorization): Promise<void>;
|
|
7127
6978
|
};
|
|
7128
6979
|
resource: {
|
|
7129
|
-
getAppUpgrades(appId: string, authorization?:
|
|
7130
|
-
createAppUpgrade(appId: string, body: UpsertAppResourcePayload, authorization?:
|
|
7131
|
-
updateAppUpgrade(appId: string, body: UpsertAppResourcePayload, authorization?:
|
|
7132
|
-
deleteAppUpgrade(appId: string, resourceId: string, authorization?:
|
|
7133
|
-
copyUpgrade(sourceAppId: string, destinationAppId: string, authorization?:
|
|
6980
|
+
getAppUpgrades(appId: string, authorization?: DpsClientAuthorization): Promise<axios.AxiosResponse<AppResourceDto | null, any>>;
|
|
6981
|
+
createAppUpgrade(appId: string, body: UpsertAppResourcePayload, authorization?: DpsClientAuthorization): Promise<axios.AxiosResponse<undefined, any>>;
|
|
6982
|
+
updateAppUpgrade(appId: string, body: UpsertAppResourcePayload, authorization?: DpsClientAuthorization): Promise<axios.AxiosResponse<undefined, any>>;
|
|
6983
|
+
deleteAppUpgrade(appId: string, resourceId: string, authorization?: DpsClientAuthorization): Promise<axios.AxiosResponse<any, any>>;
|
|
6984
|
+
copyUpgrade(sourceAppId: string, destinationAppId: string, authorization?: DpsClientAuthorization): Promise<axios.AxiosResponse<undefined, any>>;
|
|
7134
6985
|
};
|
|
7135
6986
|
review: {
|
|
7136
|
-
createSubmission(appId: string, payload: CreateApplicationSubmissionPayload, authorization?:
|
|
7137
|
-
cancelSubmission(appId: string, authorization?:
|
|
6987
|
+
createSubmission(appId: string, payload: CreateApplicationSubmissionPayload, authorization?: DpsClientAuthorization): Promise<undefined>;
|
|
6988
|
+
cancelSubmission(appId: string, authorization?: DpsClientAuthorization): Promise<undefined>;
|
|
7138
6989
|
};
|
|
7139
6990
|
stats: {
|
|
7140
|
-
getStats(appId: string, authorization?:
|
|
6991
|
+
getStats(appId: string, authorization?: DpsClientAuthorization): Promise<axios.AxiosResponse<AppStatsDto, any>>;
|
|
7141
6992
|
};
|
|
7142
6993
|
webhooks: {
|
|
7143
|
-
updateAppWebhooks(appId: string, payload: UpdateApplicationWebhookPayload, authorization?:
|
|
7144
|
-
deleteAppWebhooks(appId: string, authorization?:
|
|
7145
|
-
getChatWebhook(appId: string, authorization?:
|
|
7146
|
-
updateChatWebhook(appId: string, payload: UpdateChatWebhookPayload, authorization?:
|
|
7147
|
-
deleteChatWebhook(appId: string, authorization?:
|
|
6994
|
+
updateAppWebhooks(appId: string, payload: UpdateApplicationWebhookPayload, authorization?: DpsClientAuthorization): Promise<void>;
|
|
6995
|
+
deleteAppWebhooks(appId: string, authorization?: DpsClientAuthorization): Promise<void>;
|
|
6996
|
+
getChatWebhook(appId: string, authorization?: DpsClientAuthorization): Promise<axios.AxiosResponse<any, any>>;
|
|
6997
|
+
updateChatWebhook(appId: string, payload: UpdateChatWebhookPayload, authorization?: DpsClientAuthorization): Promise<void>;
|
|
6998
|
+
deleteChatWebhook(appId: string, authorization?: DpsClientAuthorization): Promise<void>;
|
|
7148
6999
|
};
|
|
7149
7000
|
widgets: {
|
|
7150
|
-
createWidget(appId: string, widgetId: string, widget: UpdateApplicationWidgetDto, authorization?:
|
|
7151
|
-
updateWidget(appId: string, widgetId: string, widget: UpdateApplicationWidgetDto, authorization?:
|
|
7152
|
-
deleteWidget(appId: string, widgetId: string, authorization?:
|
|
7001
|
+
createWidget(appId: string, widgetId: string, widget: UpdateApplicationWidgetDto, authorization?: DpsClientAuthorization): Promise<void>;
|
|
7002
|
+
updateWidget(appId: string, widgetId: string, widget: UpdateApplicationWidgetDto, authorization?: DpsClientAuthorization): Promise<void>;
|
|
7003
|
+
deleteWidget(appId: string, widgetId: string, authorization?: DpsClientAuthorization): Promise<void>;
|
|
7153
7004
|
};
|
|
7154
|
-
getApp(appId: string, authorization?:
|
|
7155
|
-
createApp(payload: CreateApplicationPayload, authorization?:
|
|
7156
|
-
fork(appId: string, authorization?:
|
|
7005
|
+
getApp(appId: string, authorization?: DpsClientAuthorization): Promise<ApplicationDto>;
|
|
7006
|
+
createApp(payload: CreateApplicationPayload, authorization?: DpsClientAuthorization): Promise<CreateApplicationResponse>;
|
|
7007
|
+
fork(appId: string, authorization?: DpsClientAuthorization): Promise<axios.AxiosResponse<{
|
|
7157
7008
|
id: string;
|
|
7158
7009
|
data: {
|
|
7159
7010
|
id: string;
|
|
7160
7011
|
};
|
|
7161
7012
|
}, any>>;
|
|
7162
|
-
publish(appId: string, authorization?:
|
|
7013
|
+
publish(appId: string, authorization?: DpsClientAuthorization): Promise<axios.AxiosResponse<any, any>>;
|
|
7163
7014
|
updateQL(appId: string): Promise<void>;
|
|
7164
|
-
deleteApp(appId: string, authorization?:
|
|
7015
|
+
deleteApp(appId: string, authorization?: DpsClientAuthorization): Promise<void>;
|
|
7165
7016
|
createAiContent(appId: string, appName: string, appSummary: string): Promise<axios.AxiosResponse<any, any>>;
|
|
7166
7017
|
};
|
|
7167
7018
|
usage: {
|
|
7168
|
-
getUsage(appId: string, options: ApplicationUsageOptionsDto, authorization?:
|
|
7019
|
+
getUsage(appId: string, options: ApplicationUsageOptionsDto, authorization?: DpsClientAuthorization): Promise<unknown[]>;
|
|
7169
7020
|
};
|
|
7170
7021
|
purchases: {
|
|
7171
7022
|
getPurchases(apps: {
|
|
@@ -7175,7 +7026,7 @@ declare const api: {
|
|
|
7175
7026
|
from: string;
|
|
7176
7027
|
to: string;
|
|
7177
7028
|
duration: string;
|
|
7178
|
-
}, authorization?:
|
|
7029
|
+
}, authorization?: DpsClientAuthorization): Promise<{
|
|
7179
7030
|
appId: string;
|
|
7180
7031
|
data: unknown;
|
|
7181
7032
|
}[]>;
|
|
@@ -7185,7 +7036,7 @@ declare const api: {
|
|
|
7185
7036
|
from: string;
|
|
7186
7037
|
to: string;
|
|
7187
7038
|
duration: string;
|
|
7188
|
-
}, authorization?:
|
|
7039
|
+
}, authorization?: DpsClientAuthorization): Promise<{
|
|
7189
7040
|
data: unknown;
|
|
7190
7041
|
appId: string;
|
|
7191
7042
|
}[]>;
|
|
@@ -7195,7 +7046,7 @@ declare const api: {
|
|
|
7195
7046
|
from: string;
|
|
7196
7047
|
to: string;
|
|
7197
7048
|
duration: string;
|
|
7198
|
-
}, authorization?:
|
|
7049
|
+
}, authorization?: DpsClientAuthorization): Promise<{
|
|
7199
7050
|
data: unknown;
|
|
7200
7051
|
appId: string;
|
|
7201
7052
|
}[]>;
|
|
@@ -7203,59 +7054,59 @@ declare const api: {
|
|
|
7203
7054
|
getApps({ filter }?: {
|
|
7204
7055
|
filter?: string | undefined;
|
|
7205
7056
|
}): Promise<ApplicationDto[] | null>;
|
|
7206
|
-
getAppsInstallations({ filter
|
|
7207
|
-
filter?: "
|
|
7057
|
+
getAppsInstallations({ filter }?: {
|
|
7058
|
+
filter?: "my" | "organization";
|
|
7208
7059
|
}): Promise<{
|
|
7209
7060
|
id: string;
|
|
7210
7061
|
installations: number;
|
|
7211
7062
|
}[] | null>;
|
|
7212
7063
|
};
|
|
7213
7064
|
user: {
|
|
7214
|
-
getUser(authorization?:
|
|
7215
|
-
getUserIntegrations(authorization?:
|
|
7216
|
-
updateUser(user: UserDto, authorization?:
|
|
7217
|
-
updateUserIntegrations(payload: UpdateUserIntegrations, authorization?:
|
|
7218
|
-
updateUserFeatures(payload:
|
|
7219
|
-
updateUserSurvey(payload: UserSurveyDto, authorization?:
|
|
7220
|
-
removeUserGitHubIntegrationByInstallationId(installationId: string, authorization?:
|
|
7221
|
-
updateUserNetlifyIntegration(userNetlifyIntegration: UserNetlifyIntegrationDto, authorization?:
|
|
7222
|
-
register(payload: RegisterDeveloperPayload, authorization?:
|
|
7065
|
+
getUser(authorization?: DpsClientAuthorization): Promise<UserDto>;
|
|
7066
|
+
getUserIntegrations(authorization?: DpsClientAuthorization): Promise<UserIntegrationsDto>;
|
|
7067
|
+
updateUser(user: UserDto, authorization?: DpsClientAuthorization): Promise<number>;
|
|
7068
|
+
updateUserIntegrations(payload: UpdateUserIntegrations, authorization?: DpsClientAuthorization): Promise<void>;
|
|
7069
|
+
updateUserFeatures(payload: UpdateUserFeatures, authorization?: DpsClientAuthorization): Promise<void>;
|
|
7070
|
+
updateUserSurvey(payload: UserSurveyDto, authorization?: DpsClientAuthorization): Promise<void>;
|
|
7071
|
+
removeUserGitHubIntegrationByInstallationId(installationId: string, authorization?: DpsClientAuthorization): Promise<void>;
|
|
7072
|
+
updateUserNetlifyIntegration(userNetlifyIntegration: UserNetlifyIntegrationDto, authorization?: DpsClientAuthorization): Promise<number>;
|
|
7073
|
+
register(payload: RegisterDeveloperPayload, authorization?: DpsClientAuthorization): Promise<axios.AxiosResponse<{
|
|
7223
7074
|
id: string;
|
|
7224
7075
|
version: number;
|
|
7225
7076
|
}, any>>;
|
|
7226
7077
|
};
|
|
7227
7078
|
categories: {
|
|
7228
|
-
getCategories(authorization?:
|
|
7079
|
+
getCategories(authorization?: DpsClientAuthorization): Promise<Category[]>;
|
|
7229
7080
|
};
|
|
7230
7081
|
developers: {
|
|
7231
7082
|
developer: {
|
|
7232
|
-
getLedger(userId: string, options: DeveloperLedgerParams, authorization?:
|
|
7233
|
-
requestWithdrawal({ amount, note, userId
|
|
7083
|
+
getLedger(userId: string, options: DeveloperLedgerParams, authorization?: DpsClientAuthorization): Promise<unknown>;
|
|
7084
|
+
requestWithdrawal({ amount, note, userId }: {
|
|
7234
7085
|
amount: string;
|
|
7235
7086
|
note: string;
|
|
7236
7087
|
userId: string;
|
|
7237
|
-
}, authorization?:
|
|
7088
|
+
}, authorization?: DpsClientAuthorization): Promise<unknown>;
|
|
7238
7089
|
};
|
|
7239
7090
|
};
|
|
7240
7091
|
links: {
|
|
7241
|
-
updateShortcuts(links: ShortcutDto[], authorization?:
|
|
7092
|
+
updateShortcuts(links: ShortcutDto[], authorization?: DpsClientAuthorization): Promise<void>;
|
|
7242
7093
|
};
|
|
7243
7094
|
research: {
|
|
7244
7095
|
customer: {
|
|
7245
|
-
getResearchCustomersLicenses(authorization?:
|
|
7246
|
-
getResearchCustomersBusiness(authorization?:
|
|
7247
|
-
getResearchCustomersLocation(authorization?:
|
|
7096
|
+
getResearchCustomersLicenses(authorization?: DpsClientAuthorization): Promise<ResearchCustomerItemDto>;
|
|
7097
|
+
getResearchCustomersBusiness(authorization?: DpsClientAuthorization): Promise<ResearchCustomerItemDto>;
|
|
7098
|
+
getResearchCustomersLocation(authorization?: DpsClientAuthorization): Promise<ResearchCustomerLocationItemDto>;
|
|
7248
7099
|
};
|
|
7249
7100
|
traffic: {
|
|
7250
|
-
getResearchTrafficAgents(options?: ResearchTrafficParams, authorization?:
|
|
7251
|
-
getResearchTrafficChats(options?: ResearchTrafficParams, authorization?:
|
|
7101
|
+
getResearchTrafficAgents(options?: ResearchTrafficParams, authorization?: DpsClientAuthorization): Promise<ResearchTrafficItemDto[]>;
|
|
7102
|
+
getResearchTrafficChats(options?: ResearchTrafficParams, authorization?: DpsClientAuthorization): Promise<ResearchTrafficItemDto[]>;
|
|
7252
7103
|
};
|
|
7253
7104
|
marketplace: {
|
|
7254
|
-
getResearchMarketplaceApps(options?: ResearchMarketplaceParams, authorization?:
|
|
7255
|
-
getResearchMarketplaceViews(options?: ResearchMarketplaceParams, authorization?:
|
|
7105
|
+
getResearchMarketplaceApps(options?: ResearchMarketplaceParams, authorization?: DpsClientAuthorization): Promise<ResearchMarketplaceItemDto>;
|
|
7106
|
+
getResearchMarketplaceViews(options?: ResearchMarketplaceParams, authorization?: DpsClientAuthorization): Promise<ResearchMarketplaceItemDto>;
|
|
7256
7107
|
};
|
|
7257
7108
|
dictionary: {
|
|
7258
|
-
getResearchDictionary(options?: ResearchDictionaryParams, authorization?:
|
|
7109
|
+
getResearchDictionary(options?: ResearchDictionaryParams, authorization?: DpsClientAuthorization): Promise<string[]>;
|
|
7259
7110
|
};
|
|
7260
7111
|
};
|
|
7261
7112
|
};
|
|
@@ -7267,79 +7118,79 @@ declare const api: {
|
|
|
7267
7118
|
};
|
|
7268
7119
|
configuration: {
|
|
7269
7120
|
agents: {
|
|
7270
|
-
getAgents(authorization?: LiveChatClientAuthorization
|
|
7121
|
+
getAgents(authorization?: LiveChatClientAuthorization): Promise<axios.AxiosResponse<AgentConfigurationDto[], any>>;
|
|
7271
7122
|
};
|
|
7272
7123
|
bots: {
|
|
7273
|
-
createBotTemplate(bot: CreateLivechatBotTemplateDto, authorization?: LiveChatClientAuthorization
|
|
7274
|
-
getBotTemplates(clientId: string, authorization?: LiveChatClientAuthorization
|
|
7275
|
-
updateBotTemplate(bot: UpdateLivechatBotTemplateDto, authorization?: LiveChatClientAuthorization
|
|
7276
|
-
deleteBotTemplate(bot: DeleteLivechatBotTemplateDto, authorization?: LiveChatClientAuthorization
|
|
7277
|
-
resetBotTemplateSecret(bot: ResetLivechatBotTemplateSecretDto, authorization?: LiveChatClientAuthorization
|
|
7124
|
+
createBotTemplate(bot: CreateLivechatBotTemplateDto, authorization?: LiveChatClientAuthorization): Promise<axios.AxiosResponse<CreateLivechatBotTemplateResponse, any>>;
|
|
7125
|
+
getBotTemplates(clientId: string, authorization?: LiveChatClientAuthorization): Promise<axios.AxiosResponse<LivechatBotTemplate[], any>>;
|
|
7126
|
+
updateBotTemplate(bot: UpdateLivechatBotTemplateDto, authorization?: LiveChatClientAuthorization): Promise<axios.AxiosResponse<CreateLivechatBotTemplateResponse, any>>;
|
|
7127
|
+
deleteBotTemplate(bot: DeleteLivechatBotTemplateDto, authorization?: LiveChatClientAuthorization): Promise<axios.AxiosResponse<void, any>>;
|
|
7128
|
+
resetBotTemplateSecret(bot: ResetLivechatBotTemplateSecretDto, authorization?: LiveChatClientAuthorization): Promise<axios.AxiosResponse<{
|
|
7278
7129
|
secret: string;
|
|
7279
7130
|
id: string;
|
|
7280
7131
|
}, any>>;
|
|
7281
|
-
deleteBotTemplates(clientId: string, authorization?: LiveChatClientAuthorization
|
|
7132
|
+
deleteBotTemplates(clientId: string, authorization?: LiveChatClientAuthorization): Promise<void>;
|
|
7282
7133
|
};
|
|
7283
7134
|
property: {
|
|
7284
|
-
getProperties(clientId: string, isAgent?: boolean
|
|
7285
|
-
registerProperty(property: Property, authorization?: LiveChatClientAuthorization
|
|
7286
|
-
unregisterProperty(propertyId: string, clientId: string, properties?: PropertyDto[]
|
|
7287
|
-
publishProperty(propertyId: string, clientId: string, accessType: PropertyAccessItemDto, authorization?: LiveChatClientAuthorization
|
|
7288
|
-
publishProperties(properties: Property[], authorization?: LiveChatClientAuthorization
|
|
7289
|
-
registerProperties(properties: Property[], authorization?: LiveChatClientAuthorization
|
|
7290
|
-
unregisterProperties(clientId: string, authorization?: LiveChatClientAuthorization
|
|
7291
|
-
getLicenseProperties(namespace?: string
|
|
7292
|
-
updateLicenseProperties(namespace: string, property: LicenseProperty, authorization?: LiveChatClientAuthorization
|
|
7135
|
+
getProperties(clientId: string, isAgent?: boolean, authorization?: LiveChatClientAuthorization): Promise<axios.AxiosResponse<PropertiesDto, any>>;
|
|
7136
|
+
registerProperty(property: Property, authorization?: LiveChatClientAuthorization): Promise<axios.AxiosResponse<undefined, any>>;
|
|
7137
|
+
unregisterProperty(propertyId: string, clientId: string, properties?: PropertyDto[], authorization?: LiveChatClientAuthorization): Promise<axios.AxiosResponse<undefined, any>>;
|
|
7138
|
+
publishProperty(propertyId: string, clientId: string, accessType: PropertyAccessItemDto, authorization?: LiveChatClientAuthorization): Promise<axios.AxiosResponse<undefined, any>>;
|
|
7139
|
+
publishProperties(properties: Property[], authorization?: LiveChatClientAuthorization): Promise<axios.AxiosResponse<undefined, any>[]>;
|
|
7140
|
+
registerProperties(properties: Property[], authorization?: LiveChatClientAuthorization): Promise<axios.AxiosResponse<undefined, any>[]>;
|
|
7141
|
+
unregisterProperties(clientId: string, authorization?: LiveChatClientAuthorization): Promise<void>;
|
|
7142
|
+
getLicenseProperties(namespace?: string, authorization?: LiveChatClientAuthorization): Promise<axios.AxiosResponse<LicenseProperty, any>>;
|
|
7143
|
+
updateLicenseProperties(namespace: string, property: LicenseProperty, authorization?: LiveChatClientAuthorization): Promise<axios.AxiosResponse<undefined, any>>;
|
|
7293
7144
|
};
|
|
7294
7145
|
webhook: {
|
|
7295
|
-
getWebhooks(clientId?: string
|
|
7296
|
-
unregisterWebhook(clientId: string | undefined, webhookId: string, authorization?: LiveChatClientAuthorization
|
|
7297
|
-
unregisterWebhooks(clientId?: string
|
|
7298
|
-
registerWebhook(webhook: LivechatWebhook, authorization?: LiveChatClientAuthorization
|
|
7299
|
-
registerWebhooks(webhooks: LivechatWebhook[], authorization?: LiveChatClientAuthorization
|
|
7300
|
-
getLicenseWebhooksList(isAgent: boolean, authorization?: LiveChatClientAuthorization
|
|
7146
|
+
getWebhooks(clientId?: string, isAgent?: boolean, authorization?: LiveChatClientAuthorization): Promise<axios.AxiosResponse<LivechatWebhookDto[], any>>;
|
|
7147
|
+
unregisterWebhook(clientId: string | undefined, webhookId: string, authorization?: LiveChatClientAuthorization): Promise<axios.AxiosResponse<undefined, any>>;
|
|
7148
|
+
unregisterWebhooks(clientId?: string, authorization?: LiveChatClientAuthorization): Promise<void>;
|
|
7149
|
+
registerWebhook(webhook: LivechatWebhook, authorization?: LiveChatClientAuthorization): Promise<void>;
|
|
7150
|
+
registerWebhooks(webhooks: LivechatWebhook[], authorization?: LiveChatClientAuthorization): Promise<void>;
|
|
7151
|
+
getLicenseWebhooksList(isAgent: boolean, authorization?: LiveChatClientAuthorization): Promise<axios.AxiosResponse<LivechatWebhookDto[], any> | {
|
|
7301
7152
|
data: LivechatWebhookDto[];
|
|
7302
7153
|
}>;
|
|
7303
|
-
deleteLicenseWebhook(id: string, authorization?: LiveChatClientAuthorization
|
|
7304
|
-
getWebhookNamesList(version: string, authorization?: LiveChatClientAuthorization
|
|
7154
|
+
deleteLicenseWebhook(id: string, authorization?: LiveChatClientAuthorization): Promise<axios.AxiosResponse<undefined, any>>;
|
|
7155
|
+
getWebhookNamesList(version: string, authorization?: LiveChatClientAuthorization): Promise<axios.AxiosResponse<any, any>>;
|
|
7305
7156
|
};
|
|
7306
7157
|
};
|
|
7307
7158
|
};
|
|
7308
7159
|
helpdesk: {
|
|
7309
7160
|
webhooks: {
|
|
7310
|
-
list(authorization?:
|
|
7311
|
-
get(webhookId: string, authorization?:
|
|
7312
|
-
create(payload: CreateWebhookPayload, authorization?:
|
|
7313
|
-
update(webhookId: string, payload: UpdateWebhookPayload, authorization?:
|
|
7314
|
-
delete(webhookId: string, authorization?:
|
|
7161
|
+
list(authorization?: HelpDeskClientAuthorization): Promise<axios.AxiosResponse<WebhookDto[], any>>;
|
|
7162
|
+
get(webhookId: string, authorization?: HelpDeskClientAuthorization): Promise<axios.AxiosResponse<WebhookDto, any>>;
|
|
7163
|
+
create(payload: CreateWebhookPayload, authorization?: HelpDeskClientAuthorization): Promise<axios.AxiosResponse<WebhookDto, any>>;
|
|
7164
|
+
update(webhookId: string, payload: UpdateWebhookPayload, authorization?: HelpDeskClientAuthorization): Promise<axios.AxiosResponse<WebhookDto, any>>;
|
|
7165
|
+
delete(webhookId: string, authorization?: HelpDeskClientAuthorization): Promise<axios.AxiosResponse<void, any>>;
|
|
7315
7166
|
};
|
|
7316
7167
|
};
|
|
7317
7168
|
};
|
|
7318
7169
|
integrations: {
|
|
7319
7170
|
github: {
|
|
7320
7171
|
installation: {
|
|
7321
|
-
getInstallation(appId: number, account?: string
|
|
7322
|
-
getInstallations(authorization?: GithubClientAuthorization
|
|
7323
|
-
getInstallationRepositories(installationId: string, authorization?: GithubClientAuthorization
|
|
7172
|
+
getInstallation(appId: number, account?: string, authorization?: GithubClientAuthorization): Promise<GitHubInstallation | undefined>;
|
|
7173
|
+
getInstallations(authorization?: GithubClientAuthorization): Promise<GitHubInstallation[]>;
|
|
7174
|
+
getInstallationRepositories(installationId: string, authorization?: GithubClientAuthorization): Promise<GitHubRepository[]>;
|
|
7324
7175
|
};
|
|
7325
7176
|
repository: {
|
|
7326
|
-
getRepository(repositoryName: string, authorization?: GithubClientAuthorization
|
|
7327
|
-
getRepositoryBranches(repositoryName: string, authorization?: GithubClientAuthorization
|
|
7328
|
-
getRepositoryBranch(repositoryName: string, repositoryBranch: string, authorization?: GithubClientAuthorization
|
|
7329
|
-
getRepositorySeed(repositoryName: string, authorization?: GithubClientAuthorization
|
|
7330
|
-
createRepository(name: string, hasInstallation: boolean, template?: string
|
|
7331
|
-
seedRepository(repositoryName: string, manifest:
|
|
7177
|
+
getRepository(repositoryName: string, authorization?: GithubClientAuthorization): Promise<GitHubRepository>;
|
|
7178
|
+
getRepositoryBranches(repositoryName: string, authorization?: GithubClientAuthorization): Promise<GitHubRepositoryBranch[]>;
|
|
7179
|
+
getRepositoryBranch(repositoryName: string, repositoryBranch: string, authorization?: GithubClientAuthorization): Promise<GitHubRepositoryBranch>;
|
|
7180
|
+
getRepositorySeed(repositoryName: string, authorization?: GithubClientAuthorization): Promise<GitHubRepositorySeed | undefined>;
|
|
7181
|
+
createRepository(name: string, hasInstallation: boolean, template?: string, authorization?: GithubClientAuthorization): Promise<GitHubRepository>;
|
|
7182
|
+
seedRepository(repositoryName: string, manifest: {
|
|
7332
7183
|
id: string;
|
|
7333
|
-
}, isForLabs?: boolean
|
|
7334
|
-
deleteRepository(repositoryName: string, authorization?: GithubClientAuthorization
|
|
7335
|
-
createRepositoryDeployKey(repositoryName: string, deployKey: string, authorization?: GithubClientAuthorization
|
|
7184
|
+
} | AppManifest, isForLabs?: boolean, authorization?: GithubClientAuthorization): Promise<GitHubRepositorySeed>;
|
|
7185
|
+
deleteRepository(repositoryName: string, authorization?: GithubClientAuthorization): Promise<axios.AxiosResponse<any, any>>;
|
|
7186
|
+
createRepositoryDeployKey(repositoryName: string, deployKey: string, authorization?: GithubClientAuthorization): Promise<{
|
|
7336
7187
|
keys: GitHubRepositoryKey[];
|
|
7337
7188
|
}>;
|
|
7338
|
-
createRepositoryBuildHook(repositoryName: string, authorization?: GithubClientAuthorization
|
|
7189
|
+
createRepositoryBuildHook(repositoryName: string, authorization?: GithubClientAuthorization): Promise<{
|
|
7339
7190
|
keys: GitHubRepositoryHook[];
|
|
7340
7191
|
} | undefined>;
|
|
7341
|
-
getFile(path: string, repositoryName: string, authorization?: GithubClientAuthorization
|
|
7342
|
-
getCommits(repositoryName: string, authorization?: GithubClientAuthorization
|
|
7192
|
+
getFile(path: string, repositoryName: string, authorization?: GithubClientAuthorization): Promise<object>;
|
|
7193
|
+
getCommits(repositoryName: string, authorization?: GithubClientAuthorization): Promise<object[]>;
|
|
7343
7194
|
commitFiles(data: {
|
|
7344
7195
|
repositoryName: string;
|
|
7345
7196
|
repositoryBranch: string;
|
|
@@ -7348,45 +7199,45 @@ declare const api: {
|
|
|
7348
7199
|
path: string;
|
|
7349
7200
|
content: string | null;
|
|
7350
7201
|
}[];
|
|
7351
|
-
}, authorization?: GithubClientAuthorization
|
|
7352
|
-
getRepositoryIssues(repositoryName: string, state: "
|
|
7202
|
+
}, authorization?: GithubClientAuthorization): Promise<void>;
|
|
7203
|
+
getRepositoryIssues(repositoryName: string, state: "open" | "closed" | "all"): Promise<GitHubRepositoryIssue[]>;
|
|
7353
7204
|
createRepositoryIssue(repositoryName: string, title: string, body: string): Promise<void>;
|
|
7354
7205
|
};
|
|
7355
7206
|
user: {
|
|
7356
|
-
getUser(authorization?: GithubClientAuthorization
|
|
7207
|
+
getUser(authorization?: GithubClientAuthorization): Promise<GitHubUser>;
|
|
7357
7208
|
};
|
|
7358
7209
|
getToken(code: string, clientId: string, clientSecret: string, redirectUrl: string): Promise<string>;
|
|
7359
7210
|
};
|
|
7360
7211
|
netlify: {
|
|
7361
7212
|
account: {
|
|
7362
|
-
getAccount(authorization?: NetlifyClientAuthorization
|
|
7363
|
-
getAccountEnvs(accountId: string | undefined, siteId: string, authorization?: NetlifyClientAuthorization
|
|
7364
|
-
getAccountEnv(accountId: string | undefined, siteId: string, envKey: string, authorization?: NetlifyClientAuthorization
|
|
7213
|
+
getAccount(authorization?: NetlifyClientAuthorization): Promise<string>;
|
|
7214
|
+
getAccountEnvs(accountId: string | undefined, siteId: string, authorization?: NetlifyClientAuthorization): Promise<NetlifyEnv[]>;
|
|
7215
|
+
getAccountEnv(accountId: string | undefined, siteId: string, envKey: string, authorization?: NetlifyClientAuthorization): Promise<NetlifyEnv | undefined>;
|
|
7365
7216
|
createAccountEnv(accountId: string | undefined, siteId: string, envName: string, envValue: string, envs?: {
|
|
7366
7217
|
key: string;
|
|
7367
|
-
}[]
|
|
7368
|
-
removeAccountEnv(accountId: string | undefined, siteId: string, envKey: string, authorization?: NetlifyClientAuthorization
|
|
7218
|
+
}[], authorization?: NetlifyClientAuthorization): Promise<void>;
|
|
7219
|
+
removeAccountEnv(accountId: string | undefined, siteId: string, envKey: string, authorization?: NetlifyClientAuthorization): Promise<void>;
|
|
7369
7220
|
};
|
|
7370
7221
|
site: {
|
|
7371
|
-
getSites(authorization?: NetlifyClientAuthorization
|
|
7372
|
-
getSite(siteId: string, authorization?: NetlifyClientAuthorization
|
|
7373
|
-
getSiteDeploy(siteId: string, authorization?: NetlifyClientAuthorization
|
|
7374
|
-
getSiteDeploys(siteId: string, authorization?: NetlifyClientAuthorization
|
|
7375
|
-
getSiteSnippets(siteId: string, authorization?: NetlifyClientAuthorization
|
|
7222
|
+
getSites(authorization?: NetlifyClientAuthorization): Promise<NetlifySite[]>;
|
|
7223
|
+
getSite(siteId: string, authorization?: NetlifyClientAuthorization): Promise<NetlifySite>;
|
|
7224
|
+
getSiteDeploy(siteId: string, authorization?: NetlifyClientAuthorization): Promise<NetlifyDeploy>;
|
|
7225
|
+
getSiteDeploys(siteId: string, authorization?: NetlifyClientAuthorization): Promise<NetlifyDeploy[]>;
|
|
7226
|
+
getSiteSnippets(siteId: string, authorization?: NetlifyClientAuthorization): Promise<{
|
|
7376
7227
|
id: string;
|
|
7377
7228
|
title: string;
|
|
7378
7229
|
}[]>;
|
|
7379
|
-
createSiteByInstallationId(name: string, repositoryFullName: string, target: AppRepositoryTarget | undefined, installationId: string, branch?: string
|
|
7380
|
-
createSiteByDeployKey(name: string, repositoryFullName: string, target: AppRepositoryTarget | undefined, deployKeyId: string, branch?: string
|
|
7381
|
-
removeSite(siteId: string, authorization?: NetlifyClientAuthorization
|
|
7382
|
-
triggerSiteBuild(siteId: string, authorization?: NetlifyClientAuthorization
|
|
7383
|
-
addGitHubInstallationToSite(siteId: string, installationId: string, authorization?: NetlifyClientAuthorization
|
|
7230
|
+
createSiteByInstallationId(name: string, repositoryFullName: string, target: AppRepositoryTarget | undefined, installationId: string, branch?: string, adapterUrl?: string, authorization?: NetlifyClientAuthorization): Promise<NetlifySite>;
|
|
7231
|
+
createSiteByDeployKey(name: string, repositoryFullName: string, target: AppRepositoryTarget | undefined, deployKeyId: string, branch?: string, adapterUrl?: string, authorization?: NetlifyClientAuthorization): Promise<NetlifySite>;
|
|
7232
|
+
removeSite(siteId: string, authorization?: NetlifyClientAuthorization): Promise<void>;
|
|
7233
|
+
triggerSiteBuild(siteId: string, authorization?: NetlifyClientAuthorization): Promise<void>;
|
|
7234
|
+
addGitHubInstallationToSite(siteId: string, installationId: string, authorization?: NetlifyClientAuthorization): Promise<void>;
|
|
7384
7235
|
};
|
|
7385
7236
|
key: {
|
|
7386
|
-
createDeployKey(authorization?: NetlifyClientAuthorization
|
|
7237
|
+
createDeployKey(authorization?: NetlifyClientAuthorization): Promise<NetlifyDeployKey>;
|
|
7387
7238
|
};
|
|
7388
7239
|
hook: {
|
|
7389
|
-
addBuildHooks(siteId: string, adapterUrl?: string
|
|
7240
|
+
addBuildHooks(siteId: string, adapterUrl?: string, authorization?: NetlifyClientAuthorization): Promise<void>;
|
|
7390
7241
|
};
|
|
7391
7242
|
getToken(code: string, clientId: string, clientSecret: string, redirectUri: string): Promise<{
|
|
7392
7243
|
token: string;
|
|
@@ -7394,34 +7245,34 @@ declare const api: {
|
|
|
7394
7245
|
};
|
|
7395
7246
|
vercel: {
|
|
7396
7247
|
project: {
|
|
7397
|
-
getProjects(authorization?: VercelClientAuthorization
|
|
7398
|
-
getProject(projectId: string, authorization?: VercelClientAuthorization
|
|
7399
|
-
createProject(name: string, repositoryFullName: string, branch?: string
|
|
7400
|
-
removeProject(projectId: string, authorization?: VercelClientAuthorization
|
|
7401
|
-
getProjectEnvs(projectId: string, authorization?: VercelClientAuthorization
|
|
7402
|
-
getProjectEnv(projectId: string, envId: string, authorization?: VercelClientAuthorization
|
|
7403
|
-
getProjectEnvByKey(projectId: string, envKey: string, authorization?: VercelClientAuthorization
|
|
7248
|
+
getProjects(authorization?: VercelClientAuthorization): Promise<GetVercelProjectsResult>;
|
|
7249
|
+
getProject(projectId: string, authorization?: VercelClientAuthorization): Promise<VercelProject>;
|
|
7250
|
+
createProject(name: string, repositoryFullName: string, branch?: string, authorization?: VercelClientAuthorization): Promise<VercelProject>;
|
|
7251
|
+
removeProject(projectId: string, authorization?: VercelClientAuthorization): Promise<void>;
|
|
7252
|
+
getProjectEnvs(projectId: string, authorization?: VercelClientAuthorization): Promise<VercelProjectEnv[]>;
|
|
7253
|
+
getProjectEnv(projectId: string, envId: string, authorization?: VercelClientAuthorization): Promise<VercelProjectEnv | undefined>;
|
|
7254
|
+
getProjectEnvByKey(projectId: string, envKey: string, authorization?: VercelClientAuthorization): Promise<VercelProjectEnv | undefined>;
|
|
7404
7255
|
createProjectEnv(projectId: string, key: string, value: string, projectEnvs?: {
|
|
7405
7256
|
id: string;
|
|
7406
7257
|
key: string;
|
|
7407
|
-
}[]
|
|
7408
|
-
removeProjectEnv(projectId: string, envId: string, authorization?: VercelClientAuthorization
|
|
7258
|
+
}[], authorization?: VercelClientAuthorization): Promise<VercelProjectEnv>;
|
|
7259
|
+
removeProjectEnv(projectId: string, envId: string, authorization?: VercelClientAuthorization): Promise<void>;
|
|
7409
7260
|
};
|
|
7410
7261
|
deploy: {
|
|
7411
|
-
createDeploy(project: string, repoId: number, branch: string, authorization?: VercelClientAuthorization
|
|
7262
|
+
createDeploy(project: string, repoId: number, branch: string, authorization?: VercelClientAuthorization): Promise<VercelDeploy>;
|
|
7412
7263
|
};
|
|
7413
7264
|
integrations: {
|
|
7414
|
-
getGitNamespaces(authorization?: VercelClientAuthorization
|
|
7415
|
-
getGitRepos(repositoryName: string | undefined, namespaceId: string | undefined, authorization?: VercelClientAuthorization
|
|
7265
|
+
getGitNamespaces(authorization?: VercelClientAuthorization): Promise<VercelNamespace[]>;
|
|
7266
|
+
getGitRepos(repositoryName: string | undefined, namespaceId: string | undefined, authorization?: VercelClientAuthorization): Promise<{
|
|
7416
7267
|
repos: VercelRepository[];
|
|
7417
|
-
namespaceId?: number | null
|
|
7418
|
-
provider?: string
|
|
7268
|
+
namespaceId?: number | null;
|
|
7269
|
+
provider?: string;
|
|
7419
7270
|
}>;
|
|
7420
|
-
isRepositoryAccessible(repositoryName: string | undefined, authorization?: VercelClientAuthorization
|
|
7271
|
+
isRepositoryAccessible(repositoryName: string | undefined, authorization?: VercelClientAuthorization): Promise<{
|
|
7421
7272
|
isAccessible: boolean;
|
|
7422
|
-
installationId?: number | null
|
|
7273
|
+
installationId?: number | null;
|
|
7423
7274
|
}>;
|
|
7424
|
-
isUserConnectedToGitHub(authorization?: VercelClientAuthorization
|
|
7275
|
+
isUserConnectedToGitHub(authorization?: VercelClientAuthorization): Promise<boolean>;
|
|
7425
7276
|
};
|
|
7426
7277
|
getToken(code: string, clientId: string, clientSecret: string, redirectUrl: string): Promise<{
|
|
7427
7278
|
token: string;
|
|
@@ -7433,13 +7284,13 @@ declare const api: {
|
|
|
7433
7284
|
mailchimp: {
|
|
7434
7285
|
lists: {
|
|
7435
7286
|
webhooks: {
|
|
7436
|
-
list(listId: string, authorization?: MailchimpClientAuthorization
|
|
7287
|
+
list(listId: string, authorization?: MailchimpClientAuthorization): Promise<{
|
|
7437
7288
|
webhooks: MailchimpListWebhook[];
|
|
7438
7289
|
}>;
|
|
7439
|
-
add(listId: string, webhook: Omit<MailchimpListWebhook, "id" | "list_id">, authorization?: MailchimpClientAuthorization
|
|
7290
|
+
add(listId: string, webhook: Omit<MailchimpListWebhook, "id" | "list_id">, authorization?: MailchimpClientAuthorization): Promise<{
|
|
7440
7291
|
webhook: MailchimpListWebhook;
|
|
7441
7292
|
}>;
|
|
7442
|
-
delete(listId: string, webhookId: string, authorization?: MailchimpClientAuthorization
|
|
7293
|
+
delete(listId: string, webhookId: string, authorization?: MailchimpClientAuthorization): Promise<void>;
|
|
7443
7294
|
};
|
|
7444
7295
|
};
|
|
7445
7296
|
getToken(code: string, clientId: string, clientSecret: string, redirectUri: string): Promise<{
|
|
@@ -7454,15 +7305,15 @@ declare const api: {
|
|
|
7454
7305
|
shopify: {
|
|
7455
7306
|
webhooks: {
|
|
7456
7307
|
list(options?: {
|
|
7457
|
-
topic?: string
|
|
7458
|
-
address?: string
|
|
7459
|
-
}
|
|
7308
|
+
topic?: string;
|
|
7309
|
+
address?: string;
|
|
7310
|
+
}, authorization?: ShopifyClientAuthorization): Promise<{
|
|
7460
7311
|
webhooks: shopify_api_node.IWebhook[];
|
|
7461
7312
|
}>;
|
|
7462
|
-
register(webhook: shopify_api_node.ICreateWebhook, authorization?: ShopifyClientAuthorization
|
|
7313
|
+
register(webhook: shopify_api_node.ICreateWebhook, authorization?: ShopifyClientAuthorization): Promise<{
|
|
7463
7314
|
webhook: shopify_api_node.IWebhook;
|
|
7464
7315
|
}>;
|
|
7465
|
-
unregister(webhookId: number, authorization?: ShopifyClientAuthorization
|
|
7316
|
+
unregister(webhookId: number, authorization?: ShopifyClientAuthorization): Promise<void>;
|
|
7466
7317
|
};
|
|
7467
7318
|
getToken(shop: string, code: string, clientId: string, clientSecret: string, redirectUri: string): Promise<{
|
|
7468
7319
|
token: string;
|
|
@@ -7471,43 +7322,43 @@ declare const api: {
|
|
|
7471
7322
|
neon: {
|
|
7472
7323
|
project: {
|
|
7473
7324
|
branch: {
|
|
7474
|
-
getBranch(projectId: string, branchId: string, authorization?: NeonClientAuthorization
|
|
7325
|
+
getBranch(projectId: string, branchId: string, authorization?: NeonClientAuthorization): Promise<{
|
|
7475
7326
|
branch: NeonProjectBranchDto;
|
|
7476
7327
|
}>;
|
|
7477
|
-
getBranches(projectId: string, authorization?: NeonClientAuthorization
|
|
7478
|
-
createRole(projectId: string, branchId: string, roleName: string, authorization?: NeonClientAuthorization
|
|
7328
|
+
getBranches(projectId: string, authorization?: NeonClientAuthorization): Promise<NeonProjectBranchesDto>;
|
|
7329
|
+
createRole(projectId: string, branchId: string, roleName: string, authorization?: NeonClientAuthorization): Promise<{
|
|
7479
7330
|
role: NeonProjectRoleDto;
|
|
7480
7331
|
}>;
|
|
7481
|
-
getRole(projectId: string, branchId: string, roleName: string, authorization?: NeonClientAuthorization
|
|
7332
|
+
getRole(projectId: string, branchId: string, roleName: string, authorization?: NeonClientAuthorization): Promise<{
|
|
7482
7333
|
role: NeonProjectRoleDto;
|
|
7483
7334
|
}>;
|
|
7484
|
-
getRoles(projectId: string, branchId: string, authorization?: NeonClientAuthorization
|
|
7485
|
-
createDatabase(projectId: string, branchId: string, databaseName: string, ownerName: string, authorization?: NeonClientAuthorization
|
|
7335
|
+
getRoles(projectId: string, branchId: string, authorization?: NeonClientAuthorization): Promise<NeonProjectRolesDto>;
|
|
7336
|
+
createDatabase(projectId: string, branchId: string, databaseName: string, ownerName: string, authorization?: NeonClientAuthorization): Promise<{
|
|
7486
7337
|
database: NeonProjectDatabaseDto;
|
|
7487
7338
|
}>;
|
|
7488
|
-
deleteDatabase(projectId: string, branchId: string, databaseName: string, authorization?: NeonClientAuthorization
|
|
7339
|
+
deleteDatabase(projectId: string, branchId: string, databaseName: string, authorization?: NeonClientAuthorization): Promise<{
|
|
7489
7340
|
database: NeonProjectDatabaseDto;
|
|
7490
7341
|
}>;
|
|
7491
|
-
getDatabase(projectId: string, branchId: string, databaseName: string, authorization?: NeonClientAuthorization
|
|
7342
|
+
getDatabase(projectId: string, branchId: string, databaseName: string, authorization?: NeonClientAuthorization): Promise<{
|
|
7492
7343
|
database: NeonProjectDatabaseDto;
|
|
7493
7344
|
}>;
|
|
7494
|
-
getDatabases(projectId: string, branchId: string, authorization?: NeonClientAuthorization
|
|
7495
|
-
getRolePassword(projectId: string, branchId: string, roleName: string, authorization?: NeonClientAuthorization
|
|
7345
|
+
getDatabases(projectId: string, branchId: string, authorization?: NeonClientAuthorization): Promise<NeonProjectDatabasesDto>;
|
|
7346
|
+
getRolePassword(projectId: string, branchId: string, roleName: string, authorization?: NeonClientAuthorization): Promise<{
|
|
7496
7347
|
password: string;
|
|
7497
7348
|
}>;
|
|
7498
|
-
getBranchEndpoints(projectId: string, branchId: string, authorization?: NeonClientAuthorization
|
|
7349
|
+
getBranchEndpoints(projectId: string, branchId: string, authorization?: NeonClientAuthorization): Promise<{
|
|
7499
7350
|
endpoints: {
|
|
7500
7351
|
host: string;
|
|
7501
7352
|
}[];
|
|
7502
7353
|
}>;
|
|
7503
7354
|
};
|
|
7504
|
-
createProject(projectName: string, databaseName: string, authorization?: NeonClientAuthorization
|
|
7505
|
-
getProject(projectId: string, authorization?: NeonClientAuthorization
|
|
7506
|
-
getProjects(authorization?: NeonClientAuthorization
|
|
7507
|
-
deleteProject(projectId: string, authorization?: NeonClientAuthorization
|
|
7355
|
+
createProject(projectName: string, databaseName: string, authorization?: NeonClientAuthorization): Promise<NeonProjectWithConnectionUriDto>;
|
|
7356
|
+
getProject(projectId: string, authorization?: NeonClientAuthorization): Promise<NeonProjectDto>;
|
|
7357
|
+
getProjects(authorization?: NeonClientAuthorization): Promise<NeonProjectsDto>;
|
|
7358
|
+
deleteProject(projectId: string, authorization?: NeonClientAuthorization): Promise<NeonProjectDto>;
|
|
7508
7359
|
};
|
|
7509
7360
|
user: {
|
|
7510
|
-
getUser(authorization?: NeonClientAuthorization
|
|
7361
|
+
getUser(authorization?: NeonClientAuthorization): Promise<NeonUser>;
|
|
7511
7362
|
};
|
|
7512
7363
|
getToken(code: string, clientId: string, clientSecret: string, redirectUri: string): Promise<{
|
|
7513
7364
|
token: string;
|
|
@@ -7521,22 +7372,22 @@ declare const api: {
|
|
|
7521
7372
|
planetscale: {
|
|
7522
7373
|
database: {
|
|
7523
7374
|
password: {
|
|
7524
|
-
getDatabasePasswords(organization: string, databaseName: string, branchName: string, authorization?: PlanetScaleClientAuthorization
|
|
7525
|
-
getDatabasePassword(organization: string, databaseName: string, branchName: string, passwordId: string, authorization?: PlanetScaleClientAuthorization
|
|
7526
|
-
createDatabasePassword(organization: string, databaseName: string, branchName: string, passwordName: string, authorization?: PlanetScaleClientAuthorization
|
|
7527
|
-
deleteDatabasePassword(organization: string, databaseName: string, branchName: string, passwordId: string, authorization?: PlanetScaleClientAuthorization
|
|
7375
|
+
getDatabasePasswords(organization: string, databaseName: string, branchName: string, authorization?: PlanetScaleClientAuthorization): Promise<GetPlanetScaleDatabasePasswordsResult>;
|
|
7376
|
+
getDatabasePassword(organization: string, databaseName: string, branchName: string, passwordId: string, authorization?: PlanetScaleClientAuthorization): Promise<PlanetScaleDatabasePassword>;
|
|
7377
|
+
createDatabasePassword(organization: string, databaseName: string, branchName: string, passwordName: string, authorization?: PlanetScaleClientAuthorization): Promise<PlanetScaleDatabasePassword>;
|
|
7378
|
+
deleteDatabasePassword(organization: string, databaseName: string, branchName: string, passwordId: string, authorization?: PlanetScaleClientAuthorization): Promise<void>;
|
|
7528
7379
|
};
|
|
7529
|
-
getDatabases(organization: string, authorization?: PlanetScaleClientAuthorization
|
|
7530
|
-
getDatabase(organization: string, databaseName: string, authorization?: PlanetScaleClientAuthorization
|
|
7531
|
-
createDatabase(organization: string, name: string, authorization?: PlanetScaleClientAuthorization
|
|
7532
|
-
removeDatabase(organization: string, databaseName: string, authorization?: PlanetScaleClientAuthorization
|
|
7380
|
+
getDatabases(organization: string, authorization?: PlanetScaleClientAuthorization): Promise<GetPlanetScaleDatabasesResult>;
|
|
7381
|
+
getDatabase(organization: string, databaseName: string, authorization?: PlanetScaleClientAuthorization): Promise<PlanetScaleDatabase>;
|
|
7382
|
+
createDatabase(organization: string, name: string, authorization?: PlanetScaleClientAuthorization): Promise<PlanetScaleDatabase>;
|
|
7383
|
+
removeDatabase(organization: string, databaseName: string, authorization?: PlanetScaleClientAuthorization): Promise<void>;
|
|
7533
7384
|
};
|
|
7534
7385
|
organization: {
|
|
7535
|
-
getOrganizations(authorization?: PlanetScaleClientAuthorization
|
|
7536
|
-
getOrganization(organization: string, authorization?: PlanetScaleClientAuthorization
|
|
7386
|
+
getOrganizations(authorization?: PlanetScaleClientAuthorization): Promise<GetPlanetScaleOrganizationsResult>;
|
|
7387
|
+
getOrganization(organization: string, authorization?: PlanetScaleClientAuthorization): Promise<PlanetScaleOrganization>;
|
|
7537
7388
|
};
|
|
7538
7389
|
user: {
|
|
7539
|
-
getUser(authorization?: PlanetScaleClientAuthorization
|
|
7390
|
+
getUser(authorization?: PlanetScaleClientAuthorization): Promise<PlanetScaleUser>;
|
|
7540
7391
|
};
|
|
7541
7392
|
getToken(applicationId: string, organization: string, code: string, clientId: string, clientSecret: string, serviceTokenId: string, serviceToken: string, redirectUrl: string): Promise<{
|
|
7542
7393
|
tokenId: string;
|
|
@@ -7547,28 +7398,28 @@ declare const api: {
|
|
|
7547
7398
|
hubspot: {
|
|
7548
7399
|
webhooks: {
|
|
7549
7400
|
settings: {
|
|
7550
|
-
get(appId: string, authorization?:
|
|
7551
|
-
apiKey?: string
|
|
7552
|
-
})
|
|
7553
|
-
update(appId: string, payload: UpsertHubSpotWebhookSettingsPayload, authorization?:
|
|
7554
|
-
apiKey?: string
|
|
7555
|
-
})
|
|
7556
|
-
delete(appId: string, authorization?:
|
|
7557
|
-
apiKey?: string
|
|
7558
|
-
})
|
|
7401
|
+
get(appId: string, authorization?: HubspotClientAuthorization & {
|
|
7402
|
+
apiKey?: string;
|
|
7403
|
+
}): Promise<axios.AxiosResponse<HubSpotWebhookSettings, any>>;
|
|
7404
|
+
update(appId: string, payload: UpsertHubSpotWebhookSettingsPayload, authorization?: HubspotClientAuthorization & {
|
|
7405
|
+
apiKey?: string;
|
|
7406
|
+
}): Promise<axios.AxiosResponse<void, any>>;
|
|
7407
|
+
delete(appId: string, authorization?: HubspotClientAuthorization & {
|
|
7408
|
+
apiKey?: string;
|
|
7409
|
+
}): Promise<axios.AxiosResponse<void, any>>;
|
|
7559
7410
|
};
|
|
7560
7411
|
subscriptions: {
|
|
7561
|
-
list(appId: string, authorization?:
|
|
7562
|
-
apiKey?: string
|
|
7563
|
-
})
|
|
7412
|
+
list(appId: string, authorization?: HubspotClientAuthorization & {
|
|
7413
|
+
apiKey?: string;
|
|
7414
|
+
}): Promise<axios.AxiosResponse<{
|
|
7564
7415
|
results: HubSpotWebhookSubscription[];
|
|
7565
7416
|
}, any>>;
|
|
7566
|
-
register(appId: string, payload: CreateHubSpotWebhookSubscriptionPayload, authorization?:
|
|
7567
|
-
apiKey?: string
|
|
7568
|
-
})
|
|
7569
|
-
unregister(appId: string, subscriptionId: number, authorization?:
|
|
7570
|
-
apiKey?: string
|
|
7571
|
-
})
|
|
7417
|
+
register(appId: string, payload: CreateHubSpotWebhookSubscriptionPayload, authorization?: HubspotClientAuthorization & {
|
|
7418
|
+
apiKey?: string;
|
|
7419
|
+
}): Promise<axios.AxiosResponse<HubSpotWebhookSubscription, any>>;
|
|
7420
|
+
unregister(appId: string, subscriptionId: number, authorization?: HubspotClientAuthorization & {
|
|
7421
|
+
apiKey?: string;
|
|
7422
|
+
}): Promise<axios.AxiosResponse<void, any>>;
|
|
7572
7423
|
};
|
|
7573
7424
|
};
|
|
7574
7425
|
getToken(code: string, clientId: string, clientSecret: string, redirectUri: string): Promise<{
|
|
@@ -7586,13 +7437,13 @@ declare const api: {
|
|
|
7586
7437
|
};
|
|
7587
7438
|
bigcommerce: {
|
|
7588
7439
|
webhooks: {
|
|
7589
|
-
list(authorization?: BigCommerceClientAuthorization
|
|
7440
|
+
list(authorization?: BigCommerceClientAuthorization): Promise<{
|
|
7590
7441
|
data: BigCommerceWebhook[];
|
|
7591
7442
|
}>;
|
|
7592
|
-
register(webhook: BigCommerceCreateWebhookPayload, authorization?: BigCommerceClientAuthorization
|
|
7443
|
+
register(webhook: BigCommerceCreateWebhookPayload, authorization?: BigCommerceClientAuthorization): Promise<{
|
|
7593
7444
|
data: BigCommerceWebhook;
|
|
7594
7445
|
}>;
|
|
7595
|
-
unregister(webhookId: number, authorization?: BigCommerceClientAuthorization
|
|
7446
|
+
unregister(webhookId: number, authorization?: BigCommerceClientAuthorization): Promise<void>;
|
|
7596
7447
|
};
|
|
7597
7448
|
getToken(code: string, clientId: string, clientSecret: string, redirectUri: string, context: string, scope: string): Promise<{
|
|
7598
7449
|
token: string;
|
|
@@ -7605,78 +7456,78 @@ declare const api: {
|
|
|
7605
7456
|
app: {
|
|
7606
7457
|
monitoring: {
|
|
7607
7458
|
events: {
|
|
7608
|
-
getEvent(appId: string, eventKey: string, authorization?:
|
|
7609
|
-
getEvents(appId: string, authorization?:
|
|
7610
|
-
upsertEvent(appId: string, event: AppMonitoringEvent, authorization?:
|
|
7611
|
-
deleteEvent(appId: string, eventKey: string, authorization?:
|
|
7612
|
-
sendEvent(appId: string, data: AppMonitoringEventData, authorization?:
|
|
7613
|
-
getEventsLog(appId: string, payload: GetAppMonitoringEventsLogPayload, authorization?:
|
|
7459
|
+
getEvent(appId: string, eventKey: string, authorization?: TextClientAuthorization): Promise<AppMonitoringEvent>;
|
|
7460
|
+
getEvents(appId: string, authorization?: TextClientAuthorization): Promise<AppMonitoringEvent[]>;
|
|
7461
|
+
upsertEvent(appId: string, event: AppMonitoringEvent, authorization?: TextClientAuthorization): Promise<void>;
|
|
7462
|
+
deleteEvent(appId: string, eventKey: string, authorization?: TextClientAuthorization): Promise<void>;
|
|
7463
|
+
sendEvent(appId: string, data: AppMonitoringEventData, authorization?: TextClientAuthorization): Promise<void>;
|
|
7464
|
+
getEventsLog(appId: string, payload: GetAppMonitoringEventsLogPayload, authorization?: TextClientAuthorization): Promise<GetAppMonitoringEventsLogResponse>;
|
|
7614
7465
|
};
|
|
7615
7466
|
reports: {
|
|
7616
|
-
getUptimeReports(appId: string, payload:
|
|
7617
|
-
getEventReports(appId: string, payload:
|
|
7618
|
-
getCustomReport(appId: string, customReportId: string, authorization?:
|
|
7619
|
-
getCustomReportData(appId: string, customReportId: string, authorization?:
|
|
7620
|
-
getCustomReports(appId: string, authorization?:
|
|
7621
|
-
createCustomReport(appId: string, customReport: Omit<AppMonitoringCustomReport, "id">, authorization?:
|
|
7622
|
-
updateCustomReport(appId: string, customReport: AppMonitoringCustomReport, authorization?:
|
|
7623
|
-
deleteCustomReport(appId: string, customReportId: string, authorization?:
|
|
7624
|
-
getUptimeErrors(appId: string, authorization?:
|
|
7625
|
-
getUptimeDetails(appId: string, authorization?:
|
|
7467
|
+
getUptimeReports(appId: string, payload: GetAppMonitoringUptimeReportPayload, authorization?: TextClientAuthorization): Promise<AppMonitoringUptimeReportDto>;
|
|
7468
|
+
getEventReports(appId: string, payload: GetAppMonitoringEventsReportPayload, authorization?: TextClientAuthorization): Promise<AppMonitoringEventsReportDto>;
|
|
7469
|
+
getCustomReport(appId: string, customReportId: string, authorization?: TextClientAuthorization): Promise<AppMonitoringCustomReport>;
|
|
7470
|
+
getCustomReportData(appId: string, customReportId: string, authorization?: TextClientAuthorization): Promise<AppMonitoringCustomReportDataDto>;
|
|
7471
|
+
getCustomReports(appId: string, authorization?: TextClientAuthorization): Promise<AppMonitoringCustomReport[]>;
|
|
7472
|
+
createCustomReport(appId: string, customReport: Omit<AppMonitoringCustomReport, "id">, authorization?: TextClientAuthorization): Promise<void>;
|
|
7473
|
+
updateCustomReport(appId: string, customReport: AppMonitoringCustomReport, authorization?: TextClientAuthorization): Promise<void>;
|
|
7474
|
+
deleteCustomReport(appId: string, customReportId: string, authorization?: TextClientAuthorization): Promise<void>;
|
|
7475
|
+
getUptimeErrors(appId: string, authorization?: TextClientAuthorization): Promise<AppMonitoringUptimeError[]>;
|
|
7476
|
+
getUptimeDetails(appId: string, authorization?: TextClientAuthorization): Promise<AppMonitoringUptimeDetails>;
|
|
7626
7477
|
};
|
|
7627
7478
|
};
|
|
7628
7479
|
};
|
|
7629
7480
|
platform: {
|
|
7630
7481
|
dashboard: {
|
|
7631
|
-
getReport(params: GetTextPlatformDashboardReportParams, authorization?:
|
|
7632
|
-
getCredits(authorization?:
|
|
7633
|
-
getPayment(authorization?:
|
|
7634
|
-
registerDeveloper(authorization?:
|
|
7482
|
+
getReport(params: GetTextPlatformDashboardReportParams, authorization?: TextClientAuthorization): Promise<TextPlatformDashboardReportDto>;
|
|
7483
|
+
getCredits(authorization?: TextClientAuthorization): Promise<TextPlatformDashboardCreditsDto>;
|
|
7484
|
+
getPayment(authorization?: TextClientAuthorization): Promise<TextPlatformDashboardPaymentDto>;
|
|
7485
|
+
registerDeveloper(authorization?: TextClientAuthorization): Promise<void>;
|
|
7635
7486
|
};
|
|
7636
7487
|
workflow: {
|
|
7637
7488
|
workflows: {
|
|
7638
|
-
getWorkflows(authorization?:
|
|
7639
|
-
getWorkflow(workflowId: string, authorization?:
|
|
7640
|
-
createWorkflow(payload: UpsertWorkflowPayload, authorization?:
|
|
7489
|
+
getWorkflows(authorization?: TextClientAuthorization): Promise<WorkflowsDto[]>;
|
|
7490
|
+
getWorkflow(workflowId: string, authorization?: TextClientAuthorization): Promise<WorkflowDto>;
|
|
7491
|
+
createWorkflow(payload: UpsertWorkflowPayload, authorization?: TextClientAuthorization): Promise<axios.AxiosResponse<{
|
|
7641
7492
|
id: string;
|
|
7642
7493
|
}, any>>;
|
|
7643
|
-
updateWorkflow(workflowId: string, payload: UpsertWorkflowPayload, authorization?:
|
|
7494
|
+
updateWorkflow(workflowId: string, payload: UpsertWorkflowPayload, authorization?: TextClientAuthorization): Promise<axios.AxiosResponse<{
|
|
7644
7495
|
version: number;
|
|
7645
7496
|
}, any>>;
|
|
7646
|
-
deleteWorkflow(workflowId: string, authorization?:
|
|
7647
|
-
createWorkflowDraft(workflowId: string, payload: UpsertWorkflowPayload, authorization?:
|
|
7497
|
+
deleteWorkflow(workflowId: string, authorization?: TextClientAuthorization): Promise<axios.AxiosResponse<void, any>>;
|
|
7498
|
+
createWorkflowDraft(workflowId: string, payload: UpsertWorkflowPayload, authorization?: TextClientAuthorization): Promise<axios.AxiosResponse<{
|
|
7648
7499
|
id: string;
|
|
7649
7500
|
}, any>>;
|
|
7650
|
-
publishWorkflowDraft(workflowId: string, authorization?:
|
|
7501
|
+
publishWorkflowDraft(workflowId: string, authorization?: TextClientAuthorization): Promise<axios.AxiosResponse<{
|
|
7651
7502
|
id: string;
|
|
7652
7503
|
}, any>>;
|
|
7653
|
-
toggleWorkflowActivation(workflowId: string, isActive: boolean, authorization?:
|
|
7654
|
-
executeWorkflow(workflowId: string, input: unknown, authorization?:
|
|
7504
|
+
toggleWorkflowActivation(workflowId: string, isActive: boolean, authorization?: TextClientAuthorization): Promise<axios.AxiosResponse<void, any>>;
|
|
7505
|
+
executeWorkflow(workflowId: string, input: unknown, authorization?: TextClientAuthorization): Promise<{
|
|
7655
7506
|
execution_id: string;
|
|
7656
7507
|
}>;
|
|
7657
|
-
getWorkflowExecutionsList(workflowId: string, authorization?:
|
|
7658
|
-
getWorkflowExecutionDetails(workflowId: string, executionId: string, authorization?:
|
|
7508
|
+
getWorkflowExecutionsList(workflowId: string, authorization?: TextClientAuthorization): Promise<WorkflowExecution[]>;
|
|
7509
|
+
getWorkflowExecutionDetails(workflowId: string, executionId: string, authorization?: TextClientAuthorization): Promise<WorkflowExecution>;
|
|
7659
7510
|
validateWorkflowDefinition(payload: {
|
|
7660
7511
|
definition: WorkflowDefinitionDto;
|
|
7661
|
-
}, authorization?:
|
|
7512
|
+
}, authorization?: TextClientAuthorization): Promise<void>;
|
|
7662
7513
|
};
|
|
7663
7514
|
credentials: {
|
|
7664
|
-
get(id: string, authorization?:
|
|
7665
|
-
getList(authorization?:
|
|
7666
|
-
create(payload:
|
|
7667
|
-
update(id: string, payload: UpdateCredentialPayload, authorization?:
|
|
7668
|
-
delete(id: string, authorization?:
|
|
7669
|
-
connect(id: string, code: string, authorization?:
|
|
7515
|
+
get(id: string, authorization?: TextClientAuthorization): Promise<axios.AxiosResponse<CredentialDto, any>>;
|
|
7516
|
+
getList(authorization?: TextClientAuthorization): Promise<axios.AxiosResponse<CredentialDto[], any>>;
|
|
7517
|
+
create(payload: CreateCredentialPayload, authorization?: TextClientAuthorization): Promise<axios.AxiosResponse<void, any>>;
|
|
7518
|
+
update(id: string, payload: UpdateCredentialPayload, authorization?: TextClientAuthorization): Promise<axios.AxiosResponse<void, any>>;
|
|
7519
|
+
delete(id: string, authorization?: TextClientAuthorization): Promise<axios.AxiosResponse<void, any>>;
|
|
7520
|
+
connect(id: string, code: string, authorization?: TextClientAuthorization): Promise<axios.AxiosResponse<{
|
|
7670
7521
|
access_token: string;
|
|
7671
7522
|
}, any>>;
|
|
7672
7523
|
};
|
|
7673
7524
|
functions: {
|
|
7674
|
-
get(authorization?:
|
|
7525
|
+
get(authorization?: TextClientAuthorization): Promise<axios.AxiosResponse<Record<string, FunctionDto>, any>>;
|
|
7675
7526
|
};
|
|
7676
7527
|
};
|
|
7677
7528
|
};
|
|
7678
7529
|
ai: {
|
|
7679
|
-
generateResponses(payload: GenerateResponsePayload, authorization?:
|
|
7530
|
+
generateResponses(payload: GenerateResponsePayload, authorization?: TextClientAuthorization): Promise<GenerateResponseResponse>;
|
|
7680
7531
|
};
|
|
7681
7532
|
};
|
|
7682
7533
|
};
|
|
@@ -7711,17 +7562,17 @@ declare function initApi(config: {
|
|
|
7711
7562
|
}): void;
|
|
7712
7563
|
|
|
7713
7564
|
declare const appRepositoryTemplatesMap: {
|
|
7714
|
-
readonly
|
|
7715
|
-
readonly
|
|
7716
|
-
readonly
|
|
7565
|
+
readonly 'livechat/developer-app-template-nextjs': "nextjs";
|
|
7566
|
+
readonly 'livechat/developer-app-template-vite': "vite";
|
|
7567
|
+
readonly 'livechat/developer-app-template-saas': "saas";
|
|
7717
7568
|
};
|
|
7718
7569
|
declare const appRepositoryTemplates: AppRepositoryTemplates;
|
|
7719
7570
|
|
|
7720
7571
|
declare const appTemplatesMap: {
|
|
7721
|
-
readonly
|
|
7572
|
+
readonly 'livechat/developer-app-template-saas': "saas";
|
|
7722
7573
|
};
|
|
7723
7574
|
declare const appBaseTemplates: {
|
|
7724
|
-
|
|
7575
|
+
'tag-master': AppBaseTemplate;
|
|
7725
7576
|
progress: AppBaseTemplate;
|
|
7726
7577
|
supervisor: AppBaseTemplate;
|
|
7727
7578
|
popup: AppBaseTemplate;
|
|
@@ -7745,9 +7596,9 @@ declare const API_NOTIFICATIONS: {
|
|
|
7745
7596
|
};
|
|
7746
7597
|
};
|
|
7747
7598
|
|
|
7748
|
-
declare function
|
|
7599
|
+
declare function getIntegrationFlowUrlForRedirection<TContext extends Extract<IntegrationFlowContext, {
|
|
7749
7600
|
mode: IntegrationModes.Redirect;
|
|
7750
|
-
}>,
|
|
7601
|
+
}>, TState>(provider: string, flow: string, state: TState | string, context: Omit<TContext, 'state'>, config: {
|
|
7751
7602
|
adapterUrl: string;
|
|
7752
7603
|
}): string;
|
|
7753
7604
|
declare function getIntegrationFlowUrl<TFlowContext, TFlowResult, TState>(name: IntegrationNames, flow: string, trigger: {
|
|
@@ -7765,4 +7616,4 @@ declare function mergeDeep<T extends object, U extends object>(target: T, source
|
|
|
7765
7616
|
|
|
7766
7617
|
declare const debounce: (func: (...args: unknown[]) => void, wait: number) => (...args: unknown[]) => void;
|
|
7767
7618
|
|
|
7768
|
-
export { API_NOTIFICATIONS, AccountDto, AccountsApiError, AccountsClientAuthorization, AccountsClientInstanceOptions, AdapterApiError, AdapterClientAuthorization, AdapterClientOptions, AddAppAuthorizationPayload, AddAppAuthorizationResult, AgentConfigurationDto, AgentDto, ApiClient, ApiClientAuthorization, ApiClientConfig, ApiError, ApiErrorBase, ApiErrorKind, ApiErrorName, ApiErrorSource, AppAuthorizationData, AppBaseData, AppBaseTemplate, AppDeployment, AppDeploymentBlock, AppDeploymentBlockConfig, AppDeploymentData, AppDeploymentProvider, AppDisplayData, AppEventDto, AppGitHubRepository, AppGitHubRepositoryConfig, AppInfrastructureBlocks, AppManifest, AppMonetizationData, AppMonitoringCustomReport, AppMonitoringCustomReportDataDto, AppMonitoringEvent, AppMonitoringEventData, AppMonitoringEventsLog, AppMonitoringEventsLogItem, AppMonitoringEventsReportDto, AppMonitoringReportParams, AppMonitoringUptimeReportDto, AppNeonStorage, AppNeonStorageConfig, AppNetlifyDeployment, AppNetlifyDeploymentConfig, AppPlanetScaleStorage, AppPlanetScaleStorageConfig, AppPropertiesData, AppPropertyData, AppRepository, AppRepositoryBlock, AppRepositoryBlockConfig, AppRepositoryData, AppRepositoryProvider, AppRepositoryTarget, AppRepositoryTemplate, AppRepositoryTemplates, AppResourceDto, AppStatsDto, AppStorage, AppStorageBlock, AppStorageBlockConfig, AppStorageData, AppStorageProvider, AppTemplate, AppTemplates, AppVariable, AppVariableExternalProvider, AppVariableLocalProvider, AppVariableProvider, AppVariableStatus, AppVariableType, AppVercelDeployment, AppVercelDeploymentConfig, AppWidgetData, AppWidgetsData, ApplicationAutoReviewDto, ApplicationAutoReviewPayload, ApplicationBasicDetailsDto, ApplicationBenefitDto, ApplicationChatBooster, ApplicationDto, ApplicationFeatureDto, ApplicationIconDto, ApplicationOverviewDto, ApplicationPaymentDto, ApplicationPropertyDto, ApplicationScreenshotDto, ApplicationTutorialAndSupportDto, ApplicationUsageOptionsDto, ApplicationWidget, AuthorizeData, BigCommerceApiError, BigCommerceAuthorizeActionContext, BigCommerceAuthorizeActionResult, BigCommerceAuthorizeFlowContext, BigCommerceAuthorizeFlowCustomContext, BigCommerceAuthorizeFlowResult, BigCommerceCartCreatedWebhookData, BigCommerceCartUpdatedWebhookData, BigCommerceClientAuthorization, BigCommerceClientOptions, BigCommerceCreateWebhookPayload, BigCommerceEvent, BigCommerceEventNames, BigCommerceFlowContext, BigCommerceFlowResult, BigCommerceFlows, BigCommerceOauthCredential, BigCommerceOrderCreatedWebhookData, BigCommerceOrderUpdatedWebhookData, BigCommerceProductCreatedWebhookData, BigCommerceProductUpdatedWebhookData, BigCommerceWebhook, BigCommerceWebhookConcreteData, BigCommerceWebhookData, BigCommerceWebhookDataBase, BigCommerceWebhookScopes, BillingAccountDto, BillingAccountInfoDto, BillingClientAuthorization, BillingClientOptions, BillingInvoiceDto, BillingProduct, Category, ChatDeactivatedLivechatWebhookData, ChatTransferredLivechatWebhookData, ClientDto, ClientInfoDto, ClientScopeDto, ClientWithSecretDto, CreateAppVariablePayload, CreateApplicationAuthorizationPayload, CreateApplicationChatActionPayload, CreateApplicationPayload, CreateApplicationResponse, CreateApplicationSubmissionPayload, CreateClientPayload, CreateCredentialPayload, CreateHubSpotWebhookSubscriptionPayload, CreateLivechatBotTemplateDto, CreateLivechatBotTemplateResponse, CreateWebhookPayload, Credential, CredentialDto, DeepPartial, DeleteLivechatBotTemplateDto, DeveloperLedgerParams, DpsApiError, DpsClientAuthorization, DpsClientOptions, EditAppVariablePayload, FunctionDto, FunctionSchema, GenerateResponsePayload, GenerateResponseResponse, GetAppMonitoringCustomReportDataPayload, GetAppMonitoringEventsLogPayload, GetAppMonitoringEventsLogResponse, GetAppMonitoringEventsReportPayload, GetAppMonitoringUptimeReportPayload, GetPlanetScaleDatabasePasswordsResult, GetPlanetScaleDatabasesResult, GetPlanetScaleOrganizationsResult, GetTextPlatformDashboardReportParams, GetVercelProjectsResult, GitHubAppCredential, GitHubAuthorizeAppActionResult, GitHubAuthorizeFlowContext, GitHubAuthorizeFlowCustomContext, GitHubAuthorizeFlowResult, GitHubAuthorizeOauthActionResult, GitHubFlowContext, GitHubFlowResult, GitHubFlows, GitHubInstallActionContext, GitHubInstallActionResult, GitHubInstallFlowContext, GitHubInstallFlowCustomContext, GitHubInstallFlowResult, GitHubInstallation, GitHubOauthCredential, GitHubRepository, GitHubRepositoryBranch, GitHubRepositoryHook, GitHubRepositoryIssue, GitHubRepositoryKey, GitHubRepositorySeed, GithubClientAuthorization, GithubClientOptions, GlobalAccountsClientAuthorization, HelpDeskApiError, HelpDeskClientAuthorization, HelpDeskClientOptions, HelpDeskWebhookBaseData, HelpDeskWebhookData, HelpDeskWebhookEventType, HubSpotContactCreationWebhookData, HubSpotContactDeletionWebhookData, HubSpotFlowContext, HubSpotFlowResult, HubSpotFlows, HubSpotOauthCredential, HubSpotWebhookConcreteData, HubSpotWebhookData, HubSpotWebhookDataBase, HubSpotWebhookEventTypes, HubSpotWebhookSettings, HubSpotWebhookSubscription, HubspotApiError, HubspotAuthorizeActionResult, HubspotAuthorizeFlowContext, HubspotAuthorizeFlowCustomContext, HubspotAuthorizeFlowResult, HubspotClientAuthorization, HubspotClientInstanceOptions, HubspotEvent, HubspotEventNames, IncomingChatLivechatWebhookData, IncomingEventLivechatWebhookData, IntegrationDisplayNames, IntegrationEvent, IntegrationEventProviderName, IntegrationEventSource, IntegrationEventSourceName, IntegrationFlowContext, IntegrationFlowOutput, IntegrationModes, IntegrationNames, IssueLabel, LicenseProperty, LinkAppDeploymentData, LinkAppDeploymentNetlifyData, LinkAppDeploymentNetlifySiteData, LinkAppDeploymentPayload, LinkAppDeploymentResult, LinkAppDeploymentVercelData, LinkAppDeploymentVercelProjectData, LinkAppRepositoryData, LinkAppRepositoryGitHubData, LinkAppRepositoryPayload, LinkAppRepositoryResult, LinkAppStorageData, LinkAppStorageNeonData, LinkAppStoragePayload, LinkAppStoragePlanetScaleData, LinkAppStoragePlanetScaleDatabaseData, LiveChatClientAuthorization, LiveChatClientOptions, LiveChatConfigurationApiError, LivechatApiError, LivechatBotTemplate, LivechatWebhook, LivechatWebhookActions, LivechatWebhookChat, LivechatWebhookData, LivechatWebhookDataBase, LivechatWebhookDto, LivechatWebhookEvent, LivechatWebhookEvents, LivechatWebhookMessageEvent, LivechatWebhookSystemMessageEvent, LivechatWebhookSystemMessages, LivechatWebhookUser, MailchimpApiError, MailchimpAuthorizeActionResult, MailchimpAuthorizeFlowContext, MailchimpAuthorizeFlowCustomContext, MailchimpAuthorizeFlowResult, MailchimpClientAuthorization, MailchimpClientInstanceOptions, MailchimpEvent, MailchimpEventNames, MailchimpFlowContext, MailchimpFlowResult, MailchimpFlows, MailchimpListWebhook, MailchimpOauthCredential, MailchimpSubscribeWebhookData, MailchimpUnsubscribeWebhookData, MailchimpWebhookConcreteData, MailchimpWebhookData, MailchimpWebhookDataBase, MailchimpWebhookEvents, MyAccountDto, NeonClientAuthorization, NeonClientOptions, NeonOauthCredential, NeonProjectBranchDto, NeonProjectBranchesDto, NeonProjectDatabaseDto, NeonProjectDatabasesDto, NeonProjectDto, NeonProjectRoleDto, NeonProjectRolesDto, NeonProjectWithConnectionUriDto, NeonProjectsDto, NeonUser, NetlifyAccount, NetlifyAuthorizeActionResult, NetlifyAuthorizeFlowContext, NetlifyAuthorizeFlowCustomContext, NetlifyAuthorizeFlowResult, NetlifyClientAuthorization, NetlifyClientOptions, NetlifyDeploy, NetlifyDeployKey, NetlifyEnv, NetlifyFlowContext, NetlifyFlowResult, NetlifyFlows, NetlifyInstallActionContext, NetlifyInstallActionResult, NetlifyInstallFlowContext, NetlifyInstallFlowCustomContext, NetlifyInstallFlowResult, NetlifyOauthCredential, NetlifySite, OAuthCredential, OpenaiCredential, OrganizationDto, PatDto, PatScopeDto, PatWithSecretDto, PlanetScaleClientAuthorization, PlanetScaleClientOptions, PlanetScaleDatabase, PlanetScaleDatabasePassword, PlanetScaleOauthCredential, PlanetScaleOrganization, PlanetScalePaginatedResult, PlanetScalePagination, PlanetScaleUser, ProductDto, PropertiesDto, Property, PropertyAccessDto, PropertyAccessItemDto, PropertyDto, PushAppPayload, PushAppResult, PushAppSaga, PushAppSagaAuthorizationStep, PushAppSagaBaseStep, PushAppSagaDeploymentStep, PushAppSagaDisplayStep, PushAppSagaMonetizationStep, PushAppSagaPropertiesStep, PushAppSagaRepositoryStep, PushAppSagaStorageStep, PushAppSagaWidgetsStep, RegisterDeveloperPayload, RemoveAppAuthorizationPayload, RemoveAppMonetizationPayload, RemoveAppPropertiesPayload, RemoveAppPropertyPayload, RemoveAppWidgetPayload, RemoveAppWidgetsPayload, ResearchCustomerItemDto, ResearchCustomerLocationItemDto, ResearchDictionaryParams, ResearchMarketplaceItemDto, ResearchMarketplaceParams, ResearchTrafficItemDto, ResearchTrafficParams, ResetLivechatBotTemplateSecretDto, Saga, SagaInput, SagaOutput, SagaStep, SagaStepChanges, SagaStepComparer, SagaStepPropertyCompareResult, SagaStepStatus, SagaStepsSchema, ScopeDto, SeedAppRepositoryPayload, SeedAppRepositoryResult, ShopifyApiError, ShopifyAuthorizeActionContext, ShopifyAuthorizeActionResult, ShopifyAuthorizeFlowContext, ShopifyAuthorizeFlowCustomContext, ShopifyAuthorizeFlowResult, ShopifyClientAuthorization, ShopifyClientOptions, ShopifyEvent, ShopifyEventNames, ShopifyFlowContext, ShopifyFlowResult, ShopifyFlows, ShopifyOauthCredential, ShopifyOrderCreatedWebhookData, ShopifyWebhookConcreteData, ShopifyWebhookData, ShopifyWebhookDataBase, ShopifyWebhookTopics, ShortcutDto, SubscribeToBigCommerceEventPayload, SubscribeToHubspotEventPayload, SubscribeToIntegrationEventPayload, SubscribeToMailchimpEventPayload, SubscribeToShopifyEventPayload, SubscribeToTextHelpDeskEventPayload, SubscribeToTextLivechatEventPayload, SyncAppVariablePayload, TextApiError, TextAuthCredential, TextAuthorizeActionResult, TextAuthorizeFlowContext, TextAuthorizeFlowCustomContext, TextAuthorizeFlowResult, TextClientAuthorization, TextClientOptions, TextFlowContext, TextFlowResult, TextFlows, TextHelpDeskEvent, TextHelpDeskEventNames, TextLiveChatEvent, TextLivechatEventNames, TextOAuthCredential, TextPlatformDashboardCreditsDto, TextPlatformDashboardPaymentDto, TextPlatformDashboardReportDto, TextPlatformDashboardReportItemDto, ThreadTaggedLivechatWebhookData, ThreadUntaggedLivechatWebhookData, TicketAssignmentChangedHelpDeskWebhookData, TicketCreatedHelpDeskWebhookData, TicketFollowersChangedHelpDeskWebhookData, TicketMessageAddedHelpDeskWebhookData, TicketPriorityChangedHelpDeskWebhookData, TicketStatusChangedHelpDeskWebhookData, TicketTagsChangedHelpDeskWebhookData, TicketUpdatedHelpDeskWebhookData, UnauthorizeAccountsApiError, UnauthorizeApiError, UnlinkAppDeploymentData, UnlinkAppDeploymentPayload, UnlinkAppRepositoryData, UnlinkAppRepositoryPayload, UnlinkAppStorageData, UnlinkAppStoragePayload, UnsubscribeFromBigCommerceEventPayload, UnsubscribeFromHubspotEventPayload, UnsubscribeFromIntegrationEventPayload, UnsubscribeFromMailchimpEventPayload, UnsubscribeFromShopifyEventPayload, UnsubscribeFromTextHelpDeskEventPayload, UnsubscribeFromTextLivechatEventPayload, UpdateAppAuthorizationPayload, UpdateAppInfrastructureBlocksPayload, UpdateApplicationChangelogPayload, UpdateApplicationChatActionPayload, UpdateApplicationDirectInstallUrlPayload, UpdateApplicationIconPayload, UpdateApplicationOnboardingPayload, UpdateApplicationProductPayload, UpdateApplicationWebhookPayload, UpdateApplicationWidgetDto, UpdateChatWebhookPayload, UpdateClientPayload, UpdateCredentialPayload, UpdateLivechatBotTemplateDto, UpdateUserFeatures, UpdateUserIntegrations, UpdateWebhookPayload, UpsertAppDeploymentPayload, UpsertAppMonetizationPayload, UpsertAppPropertiesPayload, UpsertAppPropertyPayload, UpsertAppRepositoryPayload, UpsertAppResourcePayload, UpsertAppStoragePayload, UpsertAppWidgetPayload, UpsertAppWidgetsPayload, UpsertApplicationChatBoosterPayload, UpsertHubSpotWebhookSettingsPayload, UpsertWorkflowPayload, UserAddedToChatLivechatWebhookData, UserDto, UserFeaturesDto, UserGitHubIntegrationDto, UserIntegrationsDto, UserNeonIntegrationDto, UserNetlifyIntegrationDto, UserPlanetScaleIntegrationDto, UserRemovedFromChatWebhookData, UserSurveyDto, UserVercelIntegrationDto, VercelAuthorizeActionResult, VercelAuthorizeFlowContext, VercelAuthorizeFlowCustomContext, VercelAuthorizeFlowResult, VercelClientAuthorization, VercelClientOptions, VercelConnectActionContext, VercelConnectActionResult, VercelDeploy, VercelFlowContext, VercelFlowResult, VercelFlows, VercelInstallActionContext, VercelInstallActionResult, VercelInstallFlowContext, VercelInstallFlowCustomContext, VercelInstallFlowResult, VercelNamespace, VercelOauthCredential, VercelPaginatedResult, VercelPagination, VercelProject, VercelProjectEnv, VercelRepository, VercelSearchRepositoryResponse, VerifyAppPayload, VerifyAppResult, WebhookDto, WebhookTicketDto, WorkflowDefinitionDto, WorkflowDefinitionForkJoinTask, WorkflowDefinitionHttpTask, WorkflowDefinitionJoinTask, WorkflowDefinitionSwitchTask, WorkflowDefinitionTask, WorkflowDefinitionTaskBase, WorkflowDefinitionTaskCore, WorkflowDefinitionTaskType, WorkflowDefinitionTerminateTask, WorkflowDefinitionsQueryParams, WorkflowDto, WorkflowExecution, WorkflowExecutionDetails, WorkflowTemplate, WorkflowTemplateCategory, WorkflowTriggerDto, WorkflowTriggerType, WorkflowsDto, adapterClientInstance, allAppTemplates, api, appBaseTemplates, appRepositoryTemplates, appRepositoryTemplatesMap, appTemplates, appTemplatesMap, bigCommerceClientInstance, bigcommerceEventsZods, billingClientInstance, debounce, dpsClientInstance, getAdapterClientConfig, getAdapterClientDefaultConfig, getAppAutoReviewPayload, getBigCommerceClientConfig, getBigCommerceClientUrl, getBillingClientConfig, getDpsClientConfig, getEmptyAppAutoReview, getGithubClientConfig, getHelpDeskClientConfig, getHubspotClientConfig, getIntegrationFlowUrl, getIntegrationFlowUrlOld, getLiveChatClientConfig, getMailchimpClientConfig, getMailchimpClientUrl, getNeonClientConfig, getNetlifyClientConfig, getPlanetScaleClientConfig, getRegion, getShopifyClientConfig, getShopifyClientUrl, getTextClientConfig, getVercelClientConfig, githubClientInstance, helpdeskClientInstance, hubspotClientInstance, hubspotEventsZods, initAdapterClient, initApi, initBigCommerceClient, initBillingClient, initDpsClient, initGithubClient, initHelpDeskClient, initHubspotClient, initLiveChatClient, initMailchimpClient, initNeonClient, initNetlifyClient, initPlanetScaleClient, initPlatformAccountsClient, initShopifyClient, initTextClient, initVercelClient, integrationEventsZods, livechatClientInstance, mailchimpClientInstance, mailchimpEventsZods, mergeDeep, neonClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, shopifyClientInstance, shopifyEventsZods, textClientInstance, textHelpDeskEventsZods, textLivechatEventsZods, updateAdapterClient, updateBigCommerceClient, updateGithubClient, updateHubspotClient, updateMailchimpClient, updateNeonClient, updateNetlifyClient, updatePlanetScaleClient, updateShopifyClient, updateVercelClient, vercelClientInstance };
|
|
7619
|
+
export { API_NOTIFICATIONS, type AccountDto, AccountsApiError, type AccountsClientAuthorization, type AccountsClientInstanceOptions, AdapterApiError, type AdapterClientAuthorization, type AdapterClientOptions, type AddAppAuthorizationPayload, type AddAppAuthorizationResult, type AgentConfigurationDto, type AgentDto, ApiClient, type ApiClientAuthorization, type ApiClientConfig, type ApiError, ApiErrorBase, type ApiErrorKind, type ApiErrorName, type ApiErrorSource, type AppAuthorizationData, type AppBaseData, type AppBaseTemplate, type AppDeployment, type AppDeploymentBlock, type AppDeploymentBlockConfig, type AppDeploymentData, type AppDeploymentProvider, type AppDisplayData, type AppEventDto, type AppGitHubRepository, type AppGitHubRepositoryConfig, type AppInfrastructureBlocks, type AppManifest, type AppMonetizationData, type AppMonitoringCustomReport, type AppMonitoringCustomReportDataDto, type AppMonitoringEvent, type AppMonitoringEventData, type AppMonitoringEventsLog, type AppMonitoringEventsLogItem, type AppMonitoringEventsReportDto, type AppMonitoringReportParams, type AppMonitoringUptimeReportDto, type AppNeonStorage, type AppNeonStorageConfig, type AppNetlifyDeployment, type AppNetlifyDeploymentConfig, type AppPlanetScaleStorage, type AppPlanetScaleStorageConfig, type AppPropertiesData, type AppPropertyData, type AppRepository, type AppRepositoryBlock, type AppRepositoryBlockConfig, type AppRepositoryData, type AppRepositoryProvider, type AppRepositoryTarget, type AppRepositoryTemplate, type AppRepositoryTemplates, type AppResourceDto, type AppStatsDto, type AppStorage, type AppStorageBlock, type AppStorageBlockConfig, type AppStorageData, type AppStorageProvider, type AppTemplate, type AppTemplates, type AppVariable, type AppVariableExternalProvider, type AppVariableLocalProvider, type AppVariableProvider, type AppVariableStatus, type AppVariableType, type AppVercelDeployment, type AppVercelDeploymentConfig, type AppWidgetData, type AppWidgetsData, type ApplicationAutoReviewDto, type ApplicationAutoReviewPayload, type ApplicationBasicDetailsDto, type ApplicationBenefitDto, type ApplicationChatBooster, type ApplicationDto, type ApplicationFeatureDto, type ApplicationIconDto, type ApplicationOverviewDto, type ApplicationPaymentDto, type ApplicationPropertyDto, type ApplicationScreenshotDto, type ApplicationTutorialAndSupportDto, type ApplicationUsageOptionsDto, type ApplicationWidget, type AuthorizeData, BigCommerceApiError, type BigCommerceAuthorizeActionContext, type BigCommerceAuthorizeActionResult, type BigCommerceAuthorizeFlowContext, type BigCommerceAuthorizeFlowCustomContext, type BigCommerceAuthorizeFlowResult, type BigCommerceCartCreatedWebhookData, type BigCommerceCartUpdatedWebhookData, type BigCommerceClientAuthorization, type BigCommerceClientOptions, type BigCommerceCreateWebhookPayload, type BigCommerceEvent, BigCommerceEventNames, type BigCommerceFlowContext, type BigCommerceFlowResult, type BigCommerceFlows, type BigCommerceOauthCredential, type BigCommerceOrderCreatedWebhookData, type BigCommerceOrderUpdatedWebhookData, type BigCommerceProductCreatedWebhookData, type BigCommerceProductUpdatedWebhookData, type BigCommerceWebhook, type BigCommerceWebhookConcreteData, type BigCommerceWebhookData, type BigCommerceWebhookDataBase, BigCommerceWebhookScopes, type BillingAccountDto, type BillingAccountInfoDto, type BillingClientAuthorization, type BillingClientOptions, type BillingInvoiceDto, type BillingProduct, type Category, type ChatDeactivatedLivechatWebhookData, type ChatTransferredLivechatWebhookData, type ClientDto, type ClientInfoDto, type ClientScopeDto, type ClientWithSecretDto, type CreateAppVariablePayload, type CreateApplicationAuthorizationPayload, type CreateApplicationChatActionPayload, type CreateApplicationPayload, type CreateApplicationResponse, type CreateApplicationSubmissionPayload, type CreateClientPayload, type CreateCredentialPayload, type CreateHubSpotWebhookSubscriptionPayload, type CreateLivechatBotTemplateDto, type CreateLivechatBotTemplateResponse, type CreateWebhookPayload, type Credential, type CredentialDto, type DeepPartial, type DeleteLivechatBotTemplateDto, type DeveloperLedgerParams, DpsApiError, type DpsClientAuthorization, type DpsClientOptions, type EditAppVariablePayload, type FunctionDto, type FunctionSchema, type GenerateResponsePayload, type GenerateResponseResponse, type GetAppMonitoringCustomReportDataPayload, type GetAppMonitoringEventsLogPayload, type GetAppMonitoringEventsLogResponse, type GetAppMonitoringEventsReportPayload, type GetAppMonitoringUptimeReportPayload, type GetPlanetScaleDatabasePasswordsResult, type GetPlanetScaleDatabasesResult, type GetPlanetScaleOrganizationsResult, type GetTextPlatformDashboardReportParams, type GetVercelProjectsResult, type GitHubAppCredential, type GitHubAuthorizeAppActionResult, type GitHubAuthorizeFlowContext, type GitHubAuthorizeFlowCustomContext, type GitHubAuthorizeFlowResult, type GitHubAuthorizeOauthActionResult, type GitHubFlowContext, type GitHubFlowResult, type GitHubFlows, type GitHubInstallActionContext, type GitHubInstallActionResult, type GitHubInstallFlowContext, type GitHubInstallFlowCustomContext, type GitHubInstallFlowResult, type GitHubInstallation, type GitHubOauthCredential, type GitHubRepository, type GitHubRepositoryBranch, type GitHubRepositoryHook, type GitHubRepositoryIssue, type GitHubRepositoryKey, type GitHubRepositorySeed, type GithubClientAuthorization, type GithubClientOptions, type GlobalAccountsClientAuthorization, HelpDeskApiError, type HelpDeskClientAuthorization, type HelpDeskClientOptions, type HelpDeskWebhookBaseData, type HelpDeskWebhookData, HelpDeskWebhookEventType, type HubSpotContactCreationWebhookData, type HubSpotContactDeletionWebhookData, type HubSpotFlowContext, type HubSpotFlowResult, type HubSpotFlows, type HubSpotOauthCredential, type HubSpotWebhookConcreteData, type HubSpotWebhookData, type HubSpotWebhookDataBase, HubSpotWebhookEventTypes, type HubSpotWebhookSettings, type HubSpotWebhookSubscription, HubspotApiError, type HubspotAuthorizeActionResult, type HubspotAuthorizeFlowContext, type HubspotAuthorizeFlowCustomContext, type HubspotAuthorizeFlowResult, type HubspotClientAuthorization, type HubspotClientInstanceOptions, type HubspotEvent, HubspotEventNames, type IncomingChatLivechatWebhookData, type IncomingEventLivechatWebhookData, IntegrationDisplayNames, type IntegrationEvent, type IntegrationEventProviderName, type IntegrationEventSource, type IntegrationEventSourceName, type IntegrationFlowContext, type IntegrationFlowOutput, IntegrationModes, IntegrationNames, type IssueLabel, type LicenseProperty, type LinkAppDeploymentData, type LinkAppDeploymentNetlifyData, type LinkAppDeploymentNetlifySiteData, type LinkAppDeploymentPayload, type LinkAppDeploymentResult, type LinkAppDeploymentVercelData, type LinkAppDeploymentVercelProjectData, type LinkAppRepositoryData, type LinkAppRepositoryGitHubData, type LinkAppRepositoryPayload, type LinkAppRepositoryResult, type LinkAppStorageData, type LinkAppStorageNeonData, type LinkAppStoragePayload, type LinkAppStoragePlanetScaleData, type LinkAppStoragePlanetScaleDatabaseData, type LiveChatClientAuthorization, type LiveChatClientOptions, type LiveChatConfigurationApiError, LivechatApiError, type LivechatBotTemplate, type LivechatWebhook, LivechatWebhookActions, type LivechatWebhookChat, type LivechatWebhookData, type LivechatWebhookDataBase, type LivechatWebhookDto, type LivechatWebhookEvent, LivechatWebhookEvents, type LivechatWebhookMessageEvent, type LivechatWebhookSystemMessageEvent, LivechatWebhookSystemMessages, type LivechatWebhookUser, MailchimpApiError, type MailchimpAuthorizeActionResult, type MailchimpAuthorizeFlowContext, type MailchimpAuthorizeFlowCustomContext, type MailchimpAuthorizeFlowResult, type MailchimpClientAuthorization, type MailchimpClientInstanceOptions, type MailchimpEvent, MailchimpEventNames, type MailchimpFlowContext, type MailchimpFlowResult, type MailchimpFlows, type MailchimpListWebhook, type MailchimpOauthCredential, type MailchimpSubscribeWebhookData, type MailchimpUnsubscribeWebhookData, type MailchimpWebhookConcreteData, type MailchimpWebhookData, type MailchimpWebhookDataBase, type MailchimpWebhookEvents, type MyAccountDto, type NeonClientAuthorization, type NeonClientOptions, type NeonOauthCredential, type NeonProjectBranchDto, type NeonProjectBranchesDto, type NeonProjectDatabaseDto, type NeonProjectDatabasesDto, type NeonProjectDto, type NeonProjectRoleDto, type NeonProjectRolesDto, type NeonProjectWithConnectionUriDto, type NeonProjectsDto, type NeonUser, type NetlifyAccount, type NetlifyAuthorizeActionResult, type NetlifyAuthorizeFlowContext, type NetlifyAuthorizeFlowCustomContext, type NetlifyAuthorizeFlowResult, type NetlifyClientAuthorization, type NetlifyClientOptions, type NetlifyDeploy, type NetlifyDeployKey, type NetlifyEnv, type NetlifyFlowContext, type NetlifyFlowResult, type NetlifyFlows, type NetlifyInstallActionContext, type NetlifyInstallActionResult, type NetlifyInstallFlowContext, type NetlifyInstallFlowCustomContext, type NetlifyInstallFlowResult, type NetlifyOauthCredential, type NetlifySite, type OAuthCredential, type OpenaiCredential, type OrganizationDto, type PatDto, type PatScopeDto, type PatWithSecretDto, type PlanetScaleClientAuthorization, type PlanetScaleClientOptions, type PlanetScaleDatabase, type PlanetScaleDatabasePassword, type PlanetScaleOauthCredential, type PlanetScaleOrganization, type PlanetScalePaginatedResult, type PlanetScalePagination, type PlanetScaleUser, type ProductDto, type PropertiesDto, type Property, type PropertyAccessDto, type PropertyAccessItemDto, type PropertyDto, type PushAppPayload, type PushAppResult, type PushAppSaga, type PushAppSagaAuthorizationStep, type PushAppSagaBaseStep, type PushAppSagaDeploymentStep, type PushAppSagaDisplayStep, type PushAppSagaMonetizationStep, type PushAppSagaPropertiesStep, type PushAppSagaRepositoryStep, type PushAppSagaStorageStep, type PushAppSagaWidgetsStep, type RegisterDeveloperPayload, type RemoveAppAuthorizationPayload, type RemoveAppMonetizationPayload, type RemoveAppPropertiesPayload, type RemoveAppPropertyPayload, type RemoveAppWidgetPayload, type RemoveAppWidgetsPayload, type ResearchCustomerItemDto, type ResearchCustomerLocationItemDto, type ResearchDictionaryParams, type ResearchMarketplaceItemDto, type ResearchMarketplaceParams, type ResearchTrafficItemDto, type ResearchTrafficParams, type ResetLivechatBotTemplateSecretDto, type Saga, type SagaInput, type SagaOutput, type SagaStep, type SagaStepChanges, type SagaStepComparer, type SagaStepPropertyCompareResult, type SagaStepStatus, type SagaStepsSchema, type ScopeDto, type SeedAppRepositoryPayload, type SeedAppRepositoryResult, ShopifyApiError, type ShopifyAuthorizeActionContext, type ShopifyAuthorizeActionResult, type ShopifyAuthorizeFlowContext, type ShopifyAuthorizeFlowCustomContext, type ShopifyAuthorizeFlowResult, type ShopifyClientAuthorization, type ShopifyClientOptions, type ShopifyEvent, ShopifyEventNames, type ShopifyFlowContext, type ShopifyFlowResult, type ShopifyFlows, type ShopifyOauthCredential, type ShopifyOrderCreatedWebhookData, type ShopifyWebhookConcreteData, type ShopifyWebhookData, type ShopifyWebhookDataBase, type ShopifyWebhookTopics, type ShortcutDto, type SubscribeToBigCommerceEventPayload, type SubscribeToHubspotEventPayload, type SubscribeToIntegrationEventPayload, type SubscribeToMailchimpEventPayload, type SubscribeToShopifyEventPayload, type SubscribeToTextHelpDeskEventPayload, type SubscribeToTextLivechatEventPayload, type SyncAppVariablePayload, TextApiError, type TextAuthCredential, type TextAuthorizeActionResult, type TextAuthorizeFlowContext, type TextAuthorizeFlowCustomContext, type TextAuthorizeFlowResult, type TextClientAuthorization, type TextClientOptions, type TextFlowContext, type TextFlowResult, type TextFlows, type TextHelpDeskEvent, TextHelpDeskEventNames, type TextLiveChatEvent, TextLivechatEventNames, type TextOAuthCredential, type TextPlatformDashboardCreditsDto, type TextPlatformDashboardPaymentDto, type TextPlatformDashboardReportDto, type TextPlatformDashboardReportItemDto, type ThreadTaggedLivechatWebhookData, type ThreadUntaggedLivechatWebhookData, type TicketAssignmentChangedHelpDeskWebhookData, type TicketCreatedHelpDeskWebhookData, type TicketFollowersChangedHelpDeskWebhookData, type TicketMessageAddedHelpDeskWebhookData, type TicketPriorityChangedHelpDeskWebhookData, type TicketStatusChangedHelpDeskWebhookData, type TicketTagsChangedHelpDeskWebhookData, type TicketUpdatedHelpDeskWebhookData, UnauthorizeAccountsApiError, UnauthorizeApiError, type UnlinkAppDeploymentData, type UnlinkAppDeploymentPayload, type UnlinkAppRepositoryData, type UnlinkAppRepositoryPayload, type UnlinkAppStorageData, type UnlinkAppStoragePayload, type UnsubscribeFromBigCommerceEventPayload, type UnsubscribeFromHubspotEventPayload, type UnsubscribeFromIntegrationEventPayload, type UnsubscribeFromMailchimpEventPayload, type UnsubscribeFromShopifyEventPayload, type UnsubscribeFromTextHelpDeskEventPayload, type UnsubscribeFromTextLivechatEventPayload, type UpdateAppAuthorizationPayload, type UpdateAppInfrastructureBlocksPayload, type UpdateApplicationChangelogPayload, type UpdateApplicationChatActionPayload, type UpdateApplicationDirectInstallUrlPayload, type UpdateApplicationIconPayload, type UpdateApplicationOnboardingPayload, type UpdateApplicationProductPayload, type UpdateApplicationWebhookPayload, type UpdateApplicationWidgetDto, type UpdateChatWebhookPayload, type UpdateClientPayload, type UpdateCredentialPayload, type UpdateLivechatBotTemplateDto, type UpdateUserFeatures, type UpdateUserIntegrations, type UpdateWebhookPayload, type UpsertAppDeploymentPayload, type UpsertAppMonetizationPayload, type UpsertAppPropertiesPayload, type UpsertAppPropertyPayload, type UpsertAppRepositoryPayload, type UpsertAppResourcePayload, type UpsertAppStoragePayload, type UpsertAppWidgetPayload, type UpsertAppWidgetsPayload, type UpsertApplicationChatBoosterPayload, type UpsertHubSpotWebhookSettingsPayload, type UpsertWorkflowPayload, type UserAddedToChatLivechatWebhookData, type UserDto, type UserFeaturesDto, type UserGitHubIntegrationDto, type UserIntegrationsDto, type UserNeonIntegrationDto, type UserNetlifyIntegrationDto, type UserPlanetScaleIntegrationDto, type UserRemovedFromChatWebhookData, type UserSurveyDto, type UserVercelIntegrationDto, type VercelAuthorizeActionResult, type VercelAuthorizeFlowContext, type VercelAuthorizeFlowCustomContext, type VercelAuthorizeFlowResult, type VercelClientAuthorization, type VercelClientOptions, type VercelConnectActionContext, type VercelConnectActionResult, type VercelDeploy, type VercelFlowContext, type VercelFlowResult, type VercelFlows, type VercelInstallActionContext, type VercelInstallActionResult, type VercelInstallFlowContext, type VercelInstallFlowCustomContext, type VercelInstallFlowResult, type VercelNamespace, type VercelOauthCredential, type VercelPaginatedResult, type VercelPagination, type VercelProject, type VercelProjectEnv, type VercelRepository, type VercelSearchRepositoryResponse, type VerifyAppPayload, type VerifyAppResult, type WebhookDto, type WebhookTicketDto, type WorkflowDefinitionDto, type WorkflowDefinitionForkJoinTask, type WorkflowDefinitionHttpTask, type WorkflowDefinitionJoinTask, type WorkflowDefinitionSwitchTask, type WorkflowDefinitionTask, type WorkflowDefinitionTaskBase, type WorkflowDefinitionTaskCore, WorkflowDefinitionTaskType, type WorkflowDefinitionTerminateTask, type WorkflowDefinitionsQueryParams, type WorkflowDto, type WorkflowExecution, type WorkflowExecutionDetails, type WorkflowTemplate, WorkflowTemplateCategory, type WorkflowTriggerDto, type WorkflowTriggerType, type WorkflowsDto, adapterClientInstance, allAppTemplates, api, appBaseTemplates, appRepositoryTemplates, appRepositoryTemplatesMap, appTemplates, appTemplatesMap, bigCommerceClientInstance, bigcommerceEventsZods, billingClientInstance, debounce, dpsClientInstance, getAdapterClientConfig, getAdapterClientDefaultConfig, getAppAutoReviewPayload, getBigCommerceClientConfig, getBigCommerceClientUrl, getBillingClientConfig, getDpsClientConfig, getEmptyAppAutoReview, getGithubClientConfig, getHelpDeskClientConfig, getHubspotClientConfig, getIntegrationFlowUrl, getIntegrationFlowUrlForRedirection, getLiveChatClientConfig, getMailchimpClientConfig, getMailchimpClientUrl, getNeonClientConfig, getNetlifyClientConfig, getPlanetScaleClientConfig, getRegion, getShopifyClientConfig, getShopifyClientUrl, getTextClientConfig, getVercelClientConfig, githubClientInstance, helpdeskClientInstance, hubspotClientInstance, hubspotEventsZods, initAdapterClient, initApi, initBigCommerceClient, initBillingClient, initDpsClient, initGithubClient, initHelpDeskClient, initHubspotClient, initLiveChatClient, initMailchimpClient, initNeonClient, initNetlifyClient, initPlanetScaleClient, initPlatformAccountsClient, initShopifyClient, initTextClient, initVercelClient, integrationEventsZods, livechatClientInstance, mailchimpClientInstance, mailchimpEventsZods, mergeDeep, neonClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, shopifyClientInstance, shopifyEventsZods, textClientInstance, textHelpDeskEventsZods, textLivechatEventsZods, updateAdapterClient, updateBigCommerceClient, updateGithubClient, updateHubspotClient, updateMailchimpClient, updateNeonClient, updateNetlifyClient, updatePlanetScaleClient, updateShopifyClient, updateVercelClient, vercelClientInstance };
|