@zapier/zapier-sdk 0.94.1 → 0.96.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/README.md +82 -1
- package/dist/{chunk-7NCOFRA6.cjs → chunk-MGWFLOHA.cjs} +428 -81
- package/dist/{chunk-XETAS26U.mjs → chunk-MLSC6GO6.mjs} +428 -81
- package/dist/experimental.cjs +736 -384
- package/dist/experimental.d.mts +134 -1
- package/dist/experimental.d.ts +134 -1
- package/dist/experimental.mjs +358 -6
- package/dist/index.cjs +276 -276
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/experimental.d.mts
CHANGED
|
@@ -3208,6 +3208,7 @@ declare const zapierExperimentalSdkPlugin: AggregatePlugin<"experimental-sdk", {
|
|
|
3208
3208
|
authentication_id?: string | null | undefined;
|
|
3209
3209
|
params?: Record<string, unknown> | undefined;
|
|
3210
3210
|
} | undefined;
|
|
3211
|
+
manual?: boolean | undefined;
|
|
3211
3212
|
} | {
|
|
3212
3213
|
workflow: string;
|
|
3213
3214
|
source_files: Record<string, string>;
|
|
@@ -3238,6 +3239,7 @@ declare const zapierExperimentalSdkPlugin: AggregatePlugin<"experimental-sdk", {
|
|
|
3238
3239
|
authentication_id?: string | null | undefined;
|
|
3239
3240
|
params?: Record<string, unknown> | undefined;
|
|
3240
3241
|
} | undefined;
|
|
3242
|
+
manual?: boolean | undefined;
|
|
3241
3243
|
}, Promise<{
|
|
3242
3244
|
data: {
|
|
3243
3245
|
id: string;
|
|
@@ -3746,7 +3748,72 @@ declare const zapierExperimentalSdkPlugin: AggregatePlugin<"experimental-sdk", {
|
|
|
3746
3748
|
};
|
|
3747
3749
|
meta?: ResponseMeta;
|
|
3748
3750
|
}>, readonly []> & LeafSummary<"", "getTriggerRun", readonly [PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>;
|
|
3749
|
-
}
|
|
3751
|
+
} & {
|
|
3752
|
+
createForm: MethodPlugin<"createForm", {
|
|
3753
|
+
title: string;
|
|
3754
|
+
description?: string | undefined;
|
|
3755
|
+
fields?: {
|
|
3756
|
+
label: string;
|
|
3757
|
+
type: "number" | "url" | "date" | "email" | "currency" | "phone_number" | "short_text" | "long_text" | "yes_no" | "date_range" | "dropdown" | "integration_backed";
|
|
3758
|
+
required?: boolean | undefined;
|
|
3759
|
+
disabled?: boolean | undefined;
|
|
3760
|
+
variant?: "checkbox" | "radio" | undefined;
|
|
3761
|
+
multiUrl?: boolean | undefined;
|
|
3762
|
+
includeTime?: boolean | undefined;
|
|
3763
|
+
currencyFormat?: string | undefined;
|
|
3764
|
+
decimals?: 0 | 2 | undefined;
|
|
3765
|
+
defaultCountry?: string | undefined;
|
|
3766
|
+
phoneNumberFormat?: "national" | "international" | undefined;
|
|
3767
|
+
acceptedCountries?: string[] | undefined;
|
|
3768
|
+
options?: {
|
|
3769
|
+
value: string;
|
|
3770
|
+
label: string;
|
|
3771
|
+
}[] | undefined;
|
|
3772
|
+
multiSelect?: boolean | undefined;
|
|
3773
|
+
dataSource?: {
|
|
3774
|
+
app: string;
|
|
3775
|
+
actionType: "read" | "read_bulk";
|
|
3776
|
+
resource: string;
|
|
3777
|
+
valueKey?: string | undefined;
|
|
3778
|
+
labelKey?: string | undefined;
|
|
3779
|
+
} | undefined;
|
|
3780
|
+
}[] | undefined;
|
|
3781
|
+
draft?: boolean | undefined;
|
|
3782
|
+
confirmationTitle?: string | undefined;
|
|
3783
|
+
confirmationMessage?: string | undefined;
|
|
3784
|
+
callbackUrl?: string | undefined;
|
|
3785
|
+
consumerAuth?: "zapier" | "none" | undefined;
|
|
3786
|
+
document?: {
|
|
3787
|
+
[x: string]: unknown;
|
|
3788
|
+
id: string;
|
|
3789
|
+
type: "root";
|
|
3790
|
+
attrs: {
|
|
3791
|
+
[x: string]: unknown;
|
|
3792
|
+
schema_version: number;
|
|
3793
|
+
title: string;
|
|
3794
|
+
};
|
|
3795
|
+
children?: unknown[] | undefined;
|
|
3796
|
+
} | undefined;
|
|
3797
|
+
}, Promise<{
|
|
3798
|
+
data: {
|
|
3799
|
+
[x: string]: unknown;
|
|
3800
|
+
id: string;
|
|
3801
|
+
title: string;
|
|
3802
|
+
hosted_url: string;
|
|
3803
|
+
submission_count: number;
|
|
3804
|
+
account_id: number;
|
|
3805
|
+
owner_id: string;
|
|
3806
|
+
created_at: string;
|
|
3807
|
+
updated_at: string;
|
|
3808
|
+
document: unknown;
|
|
3809
|
+
last_published_at: string | null;
|
|
3810
|
+
consumer_auth: unknown;
|
|
3811
|
+
callback_url: unknown;
|
|
3812
|
+
description?: string | null | undefined;
|
|
3813
|
+
};
|
|
3814
|
+
meta?: ResponseMeta;
|
|
3815
|
+
}>, readonly []> & LeafSummary<"", "createForm", readonly [PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>;
|
|
3816
|
+
}> & PluginSummary<never, "fetch" | "zapier/api" | "zapier/manifest" | "zapier/eventEmission" | "zapier/resolveCredentials" | "zapier/connections" | "zapier/capabilities" | "getProfile" | "listApps" | "apps" | "getApp" | "listActions" | "getAction" | "listConnections" | "getConnection" | "findFirstConnection" | "findUniqueConnection" | "listAuthentications" | "getAuthentication" | "findFirstAuthentication" | "findUniqueAuthentication" | "listClientCredentials" | "createClientCredentials" | "deleteClientCredentials" | "getConnectionStartUrl" | "waitForNewConnection" | "createConnection" | "listActionInputFields" | "getActionInputFieldsSchema" | "listActionInputFieldChoices" | "listInputFields" | "getInputFieldsSchema" | "listInputFieldChoices" | "createActionRun" | "getActionRun" | "runAction" | "request" | "listTriggerInboxes" | "createTriggerInbox" | "ensureTriggerInbox" | "getTriggerInbox" | "updateTriggerInbox" | "deleteTriggerInbox" | "pauseTriggerInbox" | "resumeTriggerInbox" | "listTriggerInboxMessages" | "leaseTriggerInboxMessages" | "ackTriggerInboxMessages" | "releaseTriggerInboxMessages" | "drainTriggerInbox" | "watchTriggerInbox" | "listTriggers" | "listTriggerInputFields" | "listTriggerInputFieldChoices" | "getTriggerInputFieldsSchema" | "listTables" | "listTablesInternal" | "getTable" | "deleteTable" | "createTable" | "listTableFields" | "createTableFields" | "deleteTableFields" | "listTableRecords" | "getTableRecord" | "createTableRecords" | "deleteTableRecords" | "updateTableRecords" | "kitcore/getRegistry" | "listWorkflows" | "getWorkflow" | "createWorkflow" | "updateWorkflow" | "enableWorkflow" | "disableWorkflow" | "deleteWorkflow" | "listWorkflowVersions" | "getWorkflowVersion" | "publishWorkflowVersion" | "listWorkflowDrafts" | "getWorkflowDraft" | "createWorkflowDraft" | "updateWorkflowDraft" | "discardWorkflowDraft" | "publishWorkflowDraft" | "listWorkflowRuns" | "getWorkflowRun" | "listDurableRuns" | "getDurableRun" | "runDurable" | "cancelDurableRun" | "triggerWorkflow" | "getTriggerRun" | "createForm" | "zapier/sdk" | "zapier/experimental-sdk">;
|
|
3750
3817
|
declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
3751
3818
|
getRegistry: (input?: {
|
|
3752
3819
|
package?: string | undefined;
|
|
@@ -5483,6 +5550,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
5483
5550
|
authentication_id?: string | null | undefined;
|
|
5484
5551
|
params?: Record<string, unknown> | undefined;
|
|
5485
5552
|
} | undefined;
|
|
5553
|
+
manual?: boolean | undefined;
|
|
5486
5554
|
} | {
|
|
5487
5555
|
workflow: string;
|
|
5488
5556
|
source_files: Record<string, string>;
|
|
@@ -5513,6 +5581,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
5513
5581
|
authentication_id?: string | null | undefined;
|
|
5514
5582
|
params?: Record<string, unknown> | undefined;
|
|
5515
5583
|
} | undefined;
|
|
5584
|
+
manual?: boolean | undefined;
|
|
5516
5585
|
}) => Promise<{
|
|
5517
5586
|
data: {
|
|
5518
5587
|
id: string;
|
|
@@ -6007,6 +6076,70 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
6007
6076
|
};
|
|
6008
6077
|
meta?: ResponseMeta;
|
|
6009
6078
|
}>;
|
|
6079
|
+
createForm: (input: {
|
|
6080
|
+
title: string;
|
|
6081
|
+
description?: string | undefined;
|
|
6082
|
+
fields?: {
|
|
6083
|
+
label: string;
|
|
6084
|
+
type: "number" | "url" | "date" | "email" | "currency" | "phone_number" | "short_text" | "long_text" | "yes_no" | "date_range" | "dropdown" | "integration_backed";
|
|
6085
|
+
required?: boolean | undefined;
|
|
6086
|
+
disabled?: boolean | undefined;
|
|
6087
|
+
variant?: "checkbox" | "radio" | undefined;
|
|
6088
|
+
multiUrl?: boolean | undefined;
|
|
6089
|
+
includeTime?: boolean | undefined;
|
|
6090
|
+
currencyFormat?: string | undefined;
|
|
6091
|
+
decimals?: 0 | 2 | undefined;
|
|
6092
|
+
defaultCountry?: string | undefined;
|
|
6093
|
+
phoneNumberFormat?: "national" | "international" | undefined;
|
|
6094
|
+
acceptedCountries?: string[] | undefined;
|
|
6095
|
+
options?: {
|
|
6096
|
+
value: string;
|
|
6097
|
+
label: string;
|
|
6098
|
+
}[] | undefined;
|
|
6099
|
+
multiSelect?: boolean | undefined;
|
|
6100
|
+
dataSource?: {
|
|
6101
|
+
app: string;
|
|
6102
|
+
actionType: "read" | "read_bulk";
|
|
6103
|
+
resource: string;
|
|
6104
|
+
valueKey?: string | undefined;
|
|
6105
|
+
labelKey?: string | undefined;
|
|
6106
|
+
} | undefined;
|
|
6107
|
+
}[] | undefined;
|
|
6108
|
+
draft?: boolean | undefined;
|
|
6109
|
+
confirmationTitle?: string | undefined;
|
|
6110
|
+
confirmationMessage?: string | undefined;
|
|
6111
|
+
callbackUrl?: string | undefined;
|
|
6112
|
+
consumerAuth?: "zapier" | "none" | undefined;
|
|
6113
|
+
document?: {
|
|
6114
|
+
[x: string]: unknown;
|
|
6115
|
+
id: string;
|
|
6116
|
+
type: "root";
|
|
6117
|
+
attrs: {
|
|
6118
|
+
[x: string]: unknown;
|
|
6119
|
+
schema_version: number;
|
|
6120
|
+
title: string;
|
|
6121
|
+
};
|
|
6122
|
+
children?: unknown[] | undefined;
|
|
6123
|
+
} | undefined;
|
|
6124
|
+
}) => Promise<{
|
|
6125
|
+
data: {
|
|
6126
|
+
[x: string]: unknown;
|
|
6127
|
+
id: string;
|
|
6128
|
+
title: string;
|
|
6129
|
+
hosted_url: string;
|
|
6130
|
+
submission_count: number;
|
|
6131
|
+
account_id: number;
|
|
6132
|
+
owner_id: string;
|
|
6133
|
+
created_at: string;
|
|
6134
|
+
updated_at: string;
|
|
6135
|
+
document: unknown;
|
|
6136
|
+
last_published_at: string | null;
|
|
6137
|
+
consumer_auth: unknown;
|
|
6138
|
+
callback_url: unknown;
|
|
6139
|
+
description?: string | null | undefined;
|
|
6140
|
+
};
|
|
6141
|
+
meta?: ResponseMeta;
|
|
6142
|
+
}>;
|
|
6010
6143
|
} & {
|
|
6011
6144
|
context: SdkContext;
|
|
6012
6145
|
};
|
package/dist/experimental.d.ts
CHANGED
|
@@ -3208,6 +3208,7 @@ declare const zapierExperimentalSdkPlugin: AggregatePlugin<"experimental-sdk", {
|
|
|
3208
3208
|
authentication_id?: string | null | undefined;
|
|
3209
3209
|
params?: Record<string, unknown> | undefined;
|
|
3210
3210
|
} | undefined;
|
|
3211
|
+
manual?: boolean | undefined;
|
|
3211
3212
|
} | {
|
|
3212
3213
|
workflow: string;
|
|
3213
3214
|
source_files: Record<string, string>;
|
|
@@ -3238,6 +3239,7 @@ declare const zapierExperimentalSdkPlugin: AggregatePlugin<"experimental-sdk", {
|
|
|
3238
3239
|
authentication_id?: string | null | undefined;
|
|
3239
3240
|
params?: Record<string, unknown> | undefined;
|
|
3240
3241
|
} | undefined;
|
|
3242
|
+
manual?: boolean | undefined;
|
|
3241
3243
|
}, Promise<{
|
|
3242
3244
|
data: {
|
|
3243
3245
|
id: string;
|
|
@@ -3746,7 +3748,72 @@ declare const zapierExperimentalSdkPlugin: AggregatePlugin<"experimental-sdk", {
|
|
|
3746
3748
|
};
|
|
3747
3749
|
meta?: ResponseMeta;
|
|
3748
3750
|
}>, readonly []> & LeafSummary<"", "getTriggerRun", readonly [PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>;
|
|
3749
|
-
}
|
|
3751
|
+
} & {
|
|
3752
|
+
createForm: MethodPlugin<"createForm", {
|
|
3753
|
+
title: string;
|
|
3754
|
+
description?: string | undefined;
|
|
3755
|
+
fields?: {
|
|
3756
|
+
label: string;
|
|
3757
|
+
type: "number" | "url" | "date" | "email" | "currency" | "phone_number" | "short_text" | "long_text" | "yes_no" | "date_range" | "dropdown" | "integration_backed";
|
|
3758
|
+
required?: boolean | undefined;
|
|
3759
|
+
disabled?: boolean | undefined;
|
|
3760
|
+
variant?: "checkbox" | "radio" | undefined;
|
|
3761
|
+
multiUrl?: boolean | undefined;
|
|
3762
|
+
includeTime?: boolean | undefined;
|
|
3763
|
+
currencyFormat?: string | undefined;
|
|
3764
|
+
decimals?: 0 | 2 | undefined;
|
|
3765
|
+
defaultCountry?: string | undefined;
|
|
3766
|
+
phoneNumberFormat?: "national" | "international" | undefined;
|
|
3767
|
+
acceptedCountries?: string[] | undefined;
|
|
3768
|
+
options?: {
|
|
3769
|
+
value: string;
|
|
3770
|
+
label: string;
|
|
3771
|
+
}[] | undefined;
|
|
3772
|
+
multiSelect?: boolean | undefined;
|
|
3773
|
+
dataSource?: {
|
|
3774
|
+
app: string;
|
|
3775
|
+
actionType: "read" | "read_bulk";
|
|
3776
|
+
resource: string;
|
|
3777
|
+
valueKey?: string | undefined;
|
|
3778
|
+
labelKey?: string | undefined;
|
|
3779
|
+
} | undefined;
|
|
3780
|
+
}[] | undefined;
|
|
3781
|
+
draft?: boolean | undefined;
|
|
3782
|
+
confirmationTitle?: string | undefined;
|
|
3783
|
+
confirmationMessage?: string | undefined;
|
|
3784
|
+
callbackUrl?: string | undefined;
|
|
3785
|
+
consumerAuth?: "zapier" | "none" | undefined;
|
|
3786
|
+
document?: {
|
|
3787
|
+
[x: string]: unknown;
|
|
3788
|
+
id: string;
|
|
3789
|
+
type: "root";
|
|
3790
|
+
attrs: {
|
|
3791
|
+
[x: string]: unknown;
|
|
3792
|
+
schema_version: number;
|
|
3793
|
+
title: string;
|
|
3794
|
+
};
|
|
3795
|
+
children?: unknown[] | undefined;
|
|
3796
|
+
} | undefined;
|
|
3797
|
+
}, Promise<{
|
|
3798
|
+
data: {
|
|
3799
|
+
[x: string]: unknown;
|
|
3800
|
+
id: string;
|
|
3801
|
+
title: string;
|
|
3802
|
+
hosted_url: string;
|
|
3803
|
+
submission_count: number;
|
|
3804
|
+
account_id: number;
|
|
3805
|
+
owner_id: string;
|
|
3806
|
+
created_at: string;
|
|
3807
|
+
updated_at: string;
|
|
3808
|
+
document: unknown;
|
|
3809
|
+
last_published_at: string | null;
|
|
3810
|
+
consumer_auth: unknown;
|
|
3811
|
+
callback_url: unknown;
|
|
3812
|
+
description?: string | null | undefined;
|
|
3813
|
+
};
|
|
3814
|
+
meta?: ResponseMeta;
|
|
3815
|
+
}>, readonly []> & LeafSummary<"", "createForm", readonly [PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>;
|
|
3816
|
+
}> & PluginSummary<never, "fetch" | "zapier/api" | "zapier/manifest" | "zapier/eventEmission" | "zapier/resolveCredentials" | "zapier/connections" | "zapier/capabilities" | "getProfile" | "listApps" | "apps" | "getApp" | "listActions" | "getAction" | "listConnections" | "getConnection" | "findFirstConnection" | "findUniqueConnection" | "listAuthentications" | "getAuthentication" | "findFirstAuthentication" | "findUniqueAuthentication" | "listClientCredentials" | "createClientCredentials" | "deleteClientCredentials" | "getConnectionStartUrl" | "waitForNewConnection" | "createConnection" | "listActionInputFields" | "getActionInputFieldsSchema" | "listActionInputFieldChoices" | "listInputFields" | "getInputFieldsSchema" | "listInputFieldChoices" | "createActionRun" | "getActionRun" | "runAction" | "request" | "listTriggerInboxes" | "createTriggerInbox" | "ensureTriggerInbox" | "getTriggerInbox" | "updateTriggerInbox" | "deleteTriggerInbox" | "pauseTriggerInbox" | "resumeTriggerInbox" | "listTriggerInboxMessages" | "leaseTriggerInboxMessages" | "ackTriggerInboxMessages" | "releaseTriggerInboxMessages" | "drainTriggerInbox" | "watchTriggerInbox" | "listTriggers" | "listTriggerInputFields" | "listTriggerInputFieldChoices" | "getTriggerInputFieldsSchema" | "listTables" | "listTablesInternal" | "getTable" | "deleteTable" | "createTable" | "listTableFields" | "createTableFields" | "deleteTableFields" | "listTableRecords" | "getTableRecord" | "createTableRecords" | "deleteTableRecords" | "updateTableRecords" | "kitcore/getRegistry" | "listWorkflows" | "getWorkflow" | "createWorkflow" | "updateWorkflow" | "enableWorkflow" | "disableWorkflow" | "deleteWorkflow" | "listWorkflowVersions" | "getWorkflowVersion" | "publishWorkflowVersion" | "listWorkflowDrafts" | "getWorkflowDraft" | "createWorkflowDraft" | "updateWorkflowDraft" | "discardWorkflowDraft" | "publishWorkflowDraft" | "listWorkflowRuns" | "getWorkflowRun" | "listDurableRuns" | "getDurableRun" | "runDurable" | "cancelDurableRun" | "triggerWorkflow" | "getTriggerRun" | "createForm" | "zapier/sdk" | "zapier/experimental-sdk">;
|
|
3750
3817
|
declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
3751
3818
|
getRegistry: (input?: {
|
|
3752
3819
|
package?: string | undefined;
|
|
@@ -5483,6 +5550,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
5483
5550
|
authentication_id?: string | null | undefined;
|
|
5484
5551
|
params?: Record<string, unknown> | undefined;
|
|
5485
5552
|
} | undefined;
|
|
5553
|
+
manual?: boolean | undefined;
|
|
5486
5554
|
} | {
|
|
5487
5555
|
workflow: string;
|
|
5488
5556
|
source_files: Record<string, string>;
|
|
@@ -5513,6 +5581,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
5513
5581
|
authentication_id?: string | null | undefined;
|
|
5514
5582
|
params?: Record<string, unknown> | undefined;
|
|
5515
5583
|
} | undefined;
|
|
5584
|
+
manual?: boolean | undefined;
|
|
5516
5585
|
}) => Promise<{
|
|
5517
5586
|
data: {
|
|
5518
5587
|
id: string;
|
|
@@ -6007,6 +6076,70 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
6007
6076
|
};
|
|
6008
6077
|
meta?: ResponseMeta;
|
|
6009
6078
|
}>;
|
|
6079
|
+
createForm: (input: {
|
|
6080
|
+
title: string;
|
|
6081
|
+
description?: string | undefined;
|
|
6082
|
+
fields?: {
|
|
6083
|
+
label: string;
|
|
6084
|
+
type: "number" | "url" | "date" | "email" | "currency" | "phone_number" | "short_text" | "long_text" | "yes_no" | "date_range" | "dropdown" | "integration_backed";
|
|
6085
|
+
required?: boolean | undefined;
|
|
6086
|
+
disabled?: boolean | undefined;
|
|
6087
|
+
variant?: "checkbox" | "radio" | undefined;
|
|
6088
|
+
multiUrl?: boolean | undefined;
|
|
6089
|
+
includeTime?: boolean | undefined;
|
|
6090
|
+
currencyFormat?: string | undefined;
|
|
6091
|
+
decimals?: 0 | 2 | undefined;
|
|
6092
|
+
defaultCountry?: string | undefined;
|
|
6093
|
+
phoneNumberFormat?: "national" | "international" | undefined;
|
|
6094
|
+
acceptedCountries?: string[] | undefined;
|
|
6095
|
+
options?: {
|
|
6096
|
+
value: string;
|
|
6097
|
+
label: string;
|
|
6098
|
+
}[] | undefined;
|
|
6099
|
+
multiSelect?: boolean | undefined;
|
|
6100
|
+
dataSource?: {
|
|
6101
|
+
app: string;
|
|
6102
|
+
actionType: "read" | "read_bulk";
|
|
6103
|
+
resource: string;
|
|
6104
|
+
valueKey?: string | undefined;
|
|
6105
|
+
labelKey?: string | undefined;
|
|
6106
|
+
} | undefined;
|
|
6107
|
+
}[] | undefined;
|
|
6108
|
+
draft?: boolean | undefined;
|
|
6109
|
+
confirmationTitle?: string | undefined;
|
|
6110
|
+
confirmationMessage?: string | undefined;
|
|
6111
|
+
callbackUrl?: string | undefined;
|
|
6112
|
+
consumerAuth?: "zapier" | "none" | undefined;
|
|
6113
|
+
document?: {
|
|
6114
|
+
[x: string]: unknown;
|
|
6115
|
+
id: string;
|
|
6116
|
+
type: "root";
|
|
6117
|
+
attrs: {
|
|
6118
|
+
[x: string]: unknown;
|
|
6119
|
+
schema_version: number;
|
|
6120
|
+
title: string;
|
|
6121
|
+
};
|
|
6122
|
+
children?: unknown[] | undefined;
|
|
6123
|
+
} | undefined;
|
|
6124
|
+
}) => Promise<{
|
|
6125
|
+
data: {
|
|
6126
|
+
[x: string]: unknown;
|
|
6127
|
+
id: string;
|
|
6128
|
+
title: string;
|
|
6129
|
+
hosted_url: string;
|
|
6130
|
+
submission_count: number;
|
|
6131
|
+
account_id: number;
|
|
6132
|
+
owner_id: string;
|
|
6133
|
+
created_at: string;
|
|
6134
|
+
updated_at: string;
|
|
6135
|
+
document: unknown;
|
|
6136
|
+
last_published_at: string | null;
|
|
6137
|
+
consumer_auth: unknown;
|
|
6138
|
+
callback_url: unknown;
|
|
6139
|
+
description?: string | null | undefined;
|
|
6140
|
+
};
|
|
6141
|
+
meta?: ResponseMeta;
|
|
6142
|
+
}>;
|
|
6010
6143
|
} & {
|
|
6011
6144
|
context: SdkContext;
|
|
6012
6145
|
};
|