@zapier/zapier-sdk 0.106.0 → 0.107.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 +29 -0
- package/README.md +187 -0
- package/dist/{chunk-ABXNGDBT.cjs → chunk-I2QKGDAX.cjs} +11 -1
- package/dist/{chunk-LQLWI2QK.mjs → chunk-XGSFXI2W.mjs} +11 -1
- package/dist/experimental.cjs +678 -359
- package/dist/experimental.d.mts +389 -60
- package/dist/experimental.d.ts +389 -60
- package/dist/experimental.mjs +323 -4
- package/dist/index.cjs +279 -279
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/experimental.d.ts
CHANGED
|
@@ -9296,7 +9296,184 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
9296
9296
|
};
|
|
9297
9297
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
9298
9298
|
}>>;
|
|
9299
|
-
}
|
|
9299
|
+
} & {
|
|
9300
|
+
enableAgenticManagement: _zapier_kitcore.MethodPlugin<"enableAgenticManagement", {
|
|
9301
|
+
workflow: string;
|
|
9302
|
+
modes?: ("heal" | "expand" | "harden")[] | undefined;
|
|
9303
|
+
autoApprove?: boolean | undefined;
|
|
9304
|
+
} & {
|
|
9305
|
+
skipOutputDataValidation?: boolean;
|
|
9306
|
+
}, Promise<{
|
|
9307
|
+
data: {
|
|
9308
|
+
manager_id: string;
|
|
9309
|
+
};
|
|
9310
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
9311
|
+
}>, readonly [], {
|
|
9312
|
+
workflow: string;
|
|
9313
|
+
modes?: ("heal" | "expand" | "harden")[] | undefined;
|
|
9314
|
+
autoApprove?: boolean | undefined;
|
|
9315
|
+
}> & _zapier_kitcore.LeafSummary<"", "enableAgenticManagement", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
9316
|
+
workflow: string;
|
|
9317
|
+
modes?: ("heal" | "expand" | "harden")[] | undefined;
|
|
9318
|
+
autoApprove?: boolean | undefined;
|
|
9319
|
+
} & {
|
|
9320
|
+
skipOutputDataValidation?: boolean;
|
|
9321
|
+
}) => Promise<{
|
|
9322
|
+
data: {
|
|
9323
|
+
manager_id: string;
|
|
9324
|
+
};
|
|
9325
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
9326
|
+
}>>;
|
|
9327
|
+
} & {
|
|
9328
|
+
disableAgenticManagement: _zapier_kitcore.MethodPlugin<"disableAgenticManagement", {
|
|
9329
|
+
workflow: string;
|
|
9330
|
+
} & {
|
|
9331
|
+
skipOutputDataValidation?: boolean;
|
|
9332
|
+
}, Promise<{
|
|
9333
|
+
data: {
|
|
9334
|
+
ok: boolean;
|
|
9335
|
+
};
|
|
9336
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
9337
|
+
}>, readonly [], {
|
|
9338
|
+
workflow: string;
|
|
9339
|
+
}> & _zapier_kitcore.LeafSummary<"", "disableAgenticManagement", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
9340
|
+
workflow: string;
|
|
9341
|
+
} & {
|
|
9342
|
+
skipOutputDataValidation?: boolean;
|
|
9343
|
+
}) => Promise<{
|
|
9344
|
+
data: {
|
|
9345
|
+
ok: boolean;
|
|
9346
|
+
};
|
|
9347
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
9348
|
+
}>>;
|
|
9349
|
+
} & {
|
|
9350
|
+
getAgenticManagementConfig: _zapier_kitcore.MethodPlugin<"getAgenticManagementConfig", {
|
|
9351
|
+
workflow: string;
|
|
9352
|
+
} & {
|
|
9353
|
+
skipOutputDataValidation?: boolean;
|
|
9354
|
+
}, Promise<{
|
|
9355
|
+
data: {
|
|
9356
|
+
workflow_id: string;
|
|
9357
|
+
enabled: boolean;
|
|
9358
|
+
auto_approve: boolean;
|
|
9359
|
+
modes: ("heal" | "expand" | "harden" | "migrate" | "optimize")[];
|
|
9360
|
+
manager_id?: string | null | undefined;
|
|
9361
|
+
};
|
|
9362
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
9363
|
+
}>, readonly [], {
|
|
9364
|
+
workflow: string;
|
|
9365
|
+
}> & _zapier_kitcore.LeafSummary<"", "getAgenticManagementConfig", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
9366
|
+
workflow: string;
|
|
9367
|
+
} & {
|
|
9368
|
+
skipOutputDataValidation?: boolean;
|
|
9369
|
+
}) => Promise<{
|
|
9370
|
+
data: {
|
|
9371
|
+
workflow_id: string;
|
|
9372
|
+
enabled: boolean;
|
|
9373
|
+
auto_approve: boolean;
|
|
9374
|
+
modes: ("heal" | "expand" | "harden" | "migrate" | "optimize")[];
|
|
9375
|
+
manager_id?: string | null | undefined;
|
|
9376
|
+
};
|
|
9377
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
9378
|
+
}>>;
|
|
9379
|
+
} & {
|
|
9380
|
+
updateAgenticManagementConfig: _zapier_kitcore.MethodPlugin<"updateAgenticManagementConfig", {
|
|
9381
|
+
workflow: string;
|
|
9382
|
+
modes?: ("heal" | "expand" | "harden")[] | undefined;
|
|
9383
|
+
autoApprove?: boolean | undefined;
|
|
9384
|
+
} & {
|
|
9385
|
+
skipOutputDataValidation?: boolean;
|
|
9386
|
+
}, Promise<{
|
|
9387
|
+
data: {
|
|
9388
|
+
workflow_id: string;
|
|
9389
|
+
modes: ("heal" | "expand" | "harden" | "migrate" | "optimize")[];
|
|
9390
|
+
auto_approve: boolean;
|
|
9391
|
+
};
|
|
9392
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
9393
|
+
}>, readonly [], {
|
|
9394
|
+
workflow: string;
|
|
9395
|
+
modes?: ("heal" | "expand" | "harden")[] | undefined;
|
|
9396
|
+
autoApprove?: boolean | undefined;
|
|
9397
|
+
}> & _zapier_kitcore.LeafSummary<"", "updateAgenticManagementConfig", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
9398
|
+
workflow: string;
|
|
9399
|
+
modes?: ("heal" | "expand" | "harden")[] | undefined;
|
|
9400
|
+
autoApprove?: boolean | undefined;
|
|
9401
|
+
} & {
|
|
9402
|
+
skipOutputDataValidation?: boolean;
|
|
9403
|
+
}) => Promise<{
|
|
9404
|
+
data: {
|
|
9405
|
+
workflow_id: string;
|
|
9406
|
+
modes: ("heal" | "expand" | "harden" | "migrate" | "optimize")[];
|
|
9407
|
+
auto_approve: boolean;
|
|
9408
|
+
};
|
|
9409
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
9410
|
+
}>>;
|
|
9411
|
+
} & {
|
|
9412
|
+
getAgenticManagementIntent: _zapier_kitcore.MethodPlugin<"getAgenticManagementIntent", {
|
|
9413
|
+
workflow: string;
|
|
9414
|
+
version?: string | undefined;
|
|
9415
|
+
} & {
|
|
9416
|
+
skipOutputDataValidation?: boolean;
|
|
9417
|
+
}, Promise<{
|
|
9418
|
+
data: {
|
|
9419
|
+
workflow_id: string;
|
|
9420
|
+
workflow_version_id: string | null;
|
|
9421
|
+
intent: string | null;
|
|
9422
|
+
updated_at?: string | null | undefined;
|
|
9423
|
+
};
|
|
9424
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
9425
|
+
}>, readonly [], {
|
|
9426
|
+
version?: string | undefined;
|
|
9427
|
+
workflow: string;
|
|
9428
|
+
}> & _zapier_kitcore.LeafSummary<"", "getAgenticManagementIntent", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
9429
|
+
workflow: string;
|
|
9430
|
+
version?: string | undefined;
|
|
9431
|
+
} & {
|
|
9432
|
+
skipOutputDataValidation?: boolean;
|
|
9433
|
+
}) => Promise<{
|
|
9434
|
+
data: {
|
|
9435
|
+
workflow_id: string;
|
|
9436
|
+
workflow_version_id: string | null;
|
|
9437
|
+
intent: string | null;
|
|
9438
|
+
updated_at?: string | null | undefined;
|
|
9439
|
+
};
|
|
9440
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
9441
|
+
}>>;
|
|
9442
|
+
} & {
|
|
9443
|
+
updateAgenticManagementIntent: _zapier_kitcore.MethodPlugin<"updateAgenticManagementIntent", {
|
|
9444
|
+
workflow: string;
|
|
9445
|
+
intent: string;
|
|
9446
|
+
version?: string | undefined;
|
|
9447
|
+
} & {
|
|
9448
|
+
skipOutputDataValidation?: boolean;
|
|
9449
|
+
}, Promise<{
|
|
9450
|
+
data: {
|
|
9451
|
+
workflow_id: string;
|
|
9452
|
+
workflow_version_id: string | null;
|
|
9453
|
+
intent: string | null;
|
|
9454
|
+
updated_at?: string | null | undefined;
|
|
9455
|
+
};
|
|
9456
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
9457
|
+
}>, readonly [], {
|
|
9458
|
+
version?: string | undefined;
|
|
9459
|
+
workflow: string;
|
|
9460
|
+
intent: string;
|
|
9461
|
+
}> & _zapier_kitcore.LeafSummary<"", "updateAgenticManagementIntent", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
9462
|
+
workflow: string;
|
|
9463
|
+
intent: string;
|
|
9464
|
+
version?: string | undefined;
|
|
9465
|
+
} & {
|
|
9466
|
+
skipOutputDataValidation?: boolean;
|
|
9467
|
+
}) => Promise<{
|
|
9468
|
+
data: {
|
|
9469
|
+
workflow_id: string;
|
|
9470
|
+
workflow_version_id: string | null;
|
|
9471
|
+
intent: string | null;
|
|
9472
|
+
updated_at?: string | null | undefined;
|
|
9473
|
+
};
|
|
9474
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
9475
|
+
}>>;
|
|
9476
|
+
}> & _zapier_kitcore.PluginSummary<never, "fetch" | "kitcore/initializeHttpRequest" | "kitcore/prepareHttpRequest" | "kitcore/authorizeHttpRequest" | "kitcore/httpFetch" | "kitcore/dispatchHttpRequest" | "kitcore/receiveHttpResponse" | "kitcore/attemptHttpRequest" | "kitcore/sendHttpRequest" | "kitcore/retryHttpRequestOptions" | "zapier/httpTransport" | "zapier/api" | "zapier/resolveCredentials" | "zapier/manifest" | "zapier/connections" | "zapier/capabilities" | "zapier/eventEmission" | "kitcore/getRegistry" | "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" | "zapier/sdk" | "listWorkflows" | "getWorkflow" | "createWorkflow" | "importWorkflow" | "updateWorkflow" | "enableWorkflow" | "disableWorkflow" | "deleteWorkflow" | "listWorkflowVersions" | "getWorkflowVersion" | "publishWorkflowVersion" | "listWorkflowDrafts" | "getWorkflowDraft" | "createWorkflowDraft" | "updateWorkflowDraft" | "discardWorkflowDraft" | "publishWorkflowDraft" | "listWorkflowRuns" | "getWorkflowRun" | "listDurableRuns" | "getDurableRun" | "runDurable" | "cancelDurableRun" | "triggerWorkflow" | "getTriggerRun" | "validateWorkflow" | "createForm" | "enableAgenticManagement" | "disableAgenticManagement" | "getAgenticManagementConfig" | "updateAgenticManagementConfig" | "getAgenticManagementIntent" | "updateAgenticManagementIntent" | "zapier/experimental-sdk", _zapier_kitcore.ContractEntry<"kitcore/httpFetch", typeof fetch | undefined> | _zapier_kitcore.ContractEntry<"zapier/sdkOptions", {
|
|
9300
9477
|
credentials?: string | {
|
|
9301
9478
|
clientId: string;
|
|
9302
9479
|
clientSecret: string;
|
|
@@ -11039,69 +11216,18 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
11039
11216
|
recordIds: string[];
|
|
11040
11217
|
}) => Promise<{
|
|
11041
11218
|
success: boolean;
|
|
11042
|
-
}>> | _zapier_kitcore.ContractEntry<"
|
|
11043
|
-
|
|
11044
|
-
|
|
11045
|
-
|
|
11046
|
-
label: string;
|
|
11047
|
-
type: "number" | "url" | "date" | "email" | "currency" | "phone_number" | "short_text" | "long_text" | "yes_no" | "date_range" | "dropdown" | "integration_backed";
|
|
11048
|
-
required?: boolean | undefined;
|
|
11049
|
-
disabled?: boolean | undefined;
|
|
11050
|
-
variant?: "checkbox" | "radio" | undefined;
|
|
11051
|
-
multiUrl?: boolean | undefined;
|
|
11052
|
-
includeTime?: boolean | undefined;
|
|
11053
|
-
currencyFormat?: string | undefined;
|
|
11054
|
-
decimals?: 0 | 2 | undefined;
|
|
11055
|
-
defaultCountry?: string | undefined;
|
|
11056
|
-
phoneNumberFormat?: "national" | "international" | undefined;
|
|
11057
|
-
acceptedCountries?: string[] | undefined;
|
|
11058
|
-
options?: {
|
|
11059
|
-
value: string;
|
|
11060
|
-
label: string;
|
|
11061
|
-
}[] | undefined;
|
|
11062
|
-
multiSelect?: boolean | undefined;
|
|
11063
|
-
dataSource?: {
|
|
11064
|
-
app: string;
|
|
11065
|
-
actionType: "read" | "read_bulk";
|
|
11066
|
-
resource: string;
|
|
11067
|
-
valueKey?: string | undefined;
|
|
11068
|
-
labelKey?: string | undefined;
|
|
11069
|
-
} | undefined;
|
|
11070
|
-
}[] | undefined;
|
|
11071
|
-
draft?: boolean | undefined;
|
|
11072
|
-
confirmationTitle?: string | undefined;
|
|
11073
|
-
confirmationMessage?: string | undefined;
|
|
11074
|
-
callbackUrl?: string | undefined;
|
|
11075
|
-
consumerAuth?: "zapier" | "none" | undefined;
|
|
11076
|
-
document?: {
|
|
11077
|
-
[x: string]: unknown;
|
|
11078
|
-
id: string;
|
|
11079
|
-
type: "root";
|
|
11080
|
-
attrs: {
|
|
11081
|
-
[x: string]: unknown;
|
|
11082
|
-
schema_version: number;
|
|
11083
|
-
title: string;
|
|
11084
|
-
};
|
|
11085
|
-
children?: unknown[] | undefined;
|
|
11086
|
-
} | undefined;
|
|
11219
|
+
}>> | _zapier_kitcore.ContractEntry<"updateAgenticManagementIntent", (input: {
|
|
11220
|
+
workflow: string;
|
|
11221
|
+
intent: string;
|
|
11222
|
+
version?: string | undefined;
|
|
11087
11223
|
} & {
|
|
11088
11224
|
skipOutputDataValidation?: boolean;
|
|
11089
11225
|
}) => Promise<{
|
|
11090
11226
|
data: {
|
|
11091
|
-
|
|
11092
|
-
|
|
11093
|
-
|
|
11094
|
-
|
|
11095
|
-
submission_count: number;
|
|
11096
|
-
account_id: number;
|
|
11097
|
-
owner_id: string;
|
|
11098
|
-
created_at: string;
|
|
11099
|
-
updated_at: string;
|
|
11100
|
-
document: unknown;
|
|
11101
|
-
last_published_at: string | null;
|
|
11102
|
-
consumer_auth: unknown;
|
|
11103
|
-
callback_url: unknown;
|
|
11104
|
-
description?: string | null | undefined;
|
|
11227
|
+
workflow_id: string;
|
|
11228
|
+
workflow_version_id: string | null;
|
|
11229
|
+
intent: string | null;
|
|
11230
|
+
updated_at?: string | null | undefined;
|
|
11105
11231
|
};
|
|
11106
11232
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
11107
11233
|
}>> | _zapier_kitcore.ContractEntry<"listWorkflows", (input?: ({
|
|
@@ -11990,6 +12116,130 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
11990
12116
|
}[];
|
|
11991
12117
|
};
|
|
11992
12118
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
12119
|
+
}>> | _zapier_kitcore.ContractEntry<"createForm", (input: {
|
|
12120
|
+
title: string;
|
|
12121
|
+
description?: string | undefined;
|
|
12122
|
+
fields?: {
|
|
12123
|
+
label: string;
|
|
12124
|
+
type: "number" | "url" | "date" | "email" | "currency" | "phone_number" | "short_text" | "long_text" | "yes_no" | "date_range" | "dropdown" | "integration_backed";
|
|
12125
|
+
required?: boolean | undefined;
|
|
12126
|
+
disabled?: boolean | undefined;
|
|
12127
|
+
variant?: "checkbox" | "radio" | undefined;
|
|
12128
|
+
multiUrl?: boolean | undefined;
|
|
12129
|
+
includeTime?: boolean | undefined;
|
|
12130
|
+
currencyFormat?: string | undefined;
|
|
12131
|
+
decimals?: 0 | 2 | undefined;
|
|
12132
|
+
defaultCountry?: string | undefined;
|
|
12133
|
+
phoneNumberFormat?: "national" | "international" | undefined;
|
|
12134
|
+
acceptedCountries?: string[] | undefined;
|
|
12135
|
+
options?: {
|
|
12136
|
+
value: string;
|
|
12137
|
+
label: string;
|
|
12138
|
+
}[] | undefined;
|
|
12139
|
+
multiSelect?: boolean | undefined;
|
|
12140
|
+
dataSource?: {
|
|
12141
|
+
app: string;
|
|
12142
|
+
actionType: "read" | "read_bulk";
|
|
12143
|
+
resource: string;
|
|
12144
|
+
valueKey?: string | undefined;
|
|
12145
|
+
labelKey?: string | undefined;
|
|
12146
|
+
} | undefined;
|
|
12147
|
+
}[] | undefined;
|
|
12148
|
+
draft?: boolean | undefined;
|
|
12149
|
+
confirmationTitle?: string | undefined;
|
|
12150
|
+
confirmationMessage?: string | undefined;
|
|
12151
|
+
callbackUrl?: string | undefined;
|
|
12152
|
+
consumerAuth?: "zapier" | "none" | undefined;
|
|
12153
|
+
document?: {
|
|
12154
|
+
[x: string]: unknown;
|
|
12155
|
+
id: string;
|
|
12156
|
+
type: "root";
|
|
12157
|
+
attrs: {
|
|
12158
|
+
[x: string]: unknown;
|
|
12159
|
+
schema_version: number;
|
|
12160
|
+
title: string;
|
|
12161
|
+
};
|
|
12162
|
+
children?: unknown[] | undefined;
|
|
12163
|
+
} | undefined;
|
|
12164
|
+
} & {
|
|
12165
|
+
skipOutputDataValidation?: boolean;
|
|
12166
|
+
}) => Promise<{
|
|
12167
|
+
data: {
|
|
12168
|
+
[x: string]: unknown;
|
|
12169
|
+
id: string;
|
|
12170
|
+
title: string;
|
|
12171
|
+
hosted_url: string;
|
|
12172
|
+
submission_count: number;
|
|
12173
|
+
account_id: number;
|
|
12174
|
+
owner_id: string;
|
|
12175
|
+
created_at: string;
|
|
12176
|
+
updated_at: string;
|
|
12177
|
+
document: unknown;
|
|
12178
|
+
last_published_at: string | null;
|
|
12179
|
+
consumer_auth: unknown;
|
|
12180
|
+
callback_url: unknown;
|
|
12181
|
+
description?: string | null | undefined;
|
|
12182
|
+
};
|
|
12183
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
12184
|
+
}>> | _zapier_kitcore.ContractEntry<"enableAgenticManagement", (input: {
|
|
12185
|
+
workflow: string;
|
|
12186
|
+
modes?: ("heal" | "expand" | "harden")[] | undefined;
|
|
12187
|
+
autoApprove?: boolean | undefined;
|
|
12188
|
+
} & {
|
|
12189
|
+
skipOutputDataValidation?: boolean;
|
|
12190
|
+
}) => Promise<{
|
|
12191
|
+
data: {
|
|
12192
|
+
manager_id: string;
|
|
12193
|
+
};
|
|
12194
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
12195
|
+
}>> | _zapier_kitcore.ContractEntry<"disableAgenticManagement", (input: {
|
|
12196
|
+
workflow: string;
|
|
12197
|
+
} & {
|
|
12198
|
+
skipOutputDataValidation?: boolean;
|
|
12199
|
+
}) => Promise<{
|
|
12200
|
+
data: {
|
|
12201
|
+
ok: boolean;
|
|
12202
|
+
};
|
|
12203
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
12204
|
+
}>> | _zapier_kitcore.ContractEntry<"getAgenticManagementConfig", (input: {
|
|
12205
|
+
workflow: string;
|
|
12206
|
+
} & {
|
|
12207
|
+
skipOutputDataValidation?: boolean;
|
|
12208
|
+
}) => Promise<{
|
|
12209
|
+
data: {
|
|
12210
|
+
workflow_id: string;
|
|
12211
|
+
enabled: boolean;
|
|
12212
|
+
auto_approve: boolean;
|
|
12213
|
+
modes: ("heal" | "expand" | "harden" | "migrate" | "optimize")[];
|
|
12214
|
+
manager_id?: string | null | undefined;
|
|
12215
|
+
};
|
|
12216
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
12217
|
+
}>> | _zapier_kitcore.ContractEntry<"updateAgenticManagementConfig", (input: {
|
|
12218
|
+
workflow: string;
|
|
12219
|
+
modes?: ("heal" | "expand" | "harden")[] | undefined;
|
|
12220
|
+
autoApprove?: boolean | undefined;
|
|
12221
|
+
} & {
|
|
12222
|
+
skipOutputDataValidation?: boolean;
|
|
12223
|
+
}) => Promise<{
|
|
12224
|
+
data: {
|
|
12225
|
+
workflow_id: string;
|
|
12226
|
+
modes: ("heal" | "expand" | "harden" | "migrate" | "optimize")[];
|
|
12227
|
+
auto_approve: boolean;
|
|
12228
|
+
};
|
|
12229
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
12230
|
+
}>> | _zapier_kitcore.ContractEntry<"getAgenticManagementIntent", (input: {
|
|
12231
|
+
workflow: string;
|
|
12232
|
+
version?: string | undefined;
|
|
12233
|
+
} & {
|
|
12234
|
+
skipOutputDataValidation?: boolean;
|
|
12235
|
+
}) => Promise<{
|
|
12236
|
+
data: {
|
|
12237
|
+
workflow_id: string;
|
|
12238
|
+
workflow_version_id: string | null;
|
|
12239
|
+
intent: string | null;
|
|
12240
|
+
updated_at?: string | null | undefined;
|
|
12241
|
+
};
|
|
12242
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
11993
12243
|
}>>>;
|
|
11994
12244
|
declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
11995
12245
|
getRegistry: (input?: {
|
|
@@ -14643,6 +14893,85 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
14643
14893
|
};
|
|
14644
14894
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
14645
14895
|
}>;
|
|
14896
|
+
enableAgenticManagement: (input: {
|
|
14897
|
+
workflow: string;
|
|
14898
|
+
modes?: ("heal" | "expand" | "harden")[] | undefined;
|
|
14899
|
+
autoApprove?: boolean | undefined;
|
|
14900
|
+
} & {
|
|
14901
|
+
skipOutputDataValidation?: boolean;
|
|
14902
|
+
}) => Promise<{
|
|
14903
|
+
data: {
|
|
14904
|
+
manager_id: string;
|
|
14905
|
+
};
|
|
14906
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
14907
|
+
}>;
|
|
14908
|
+
disableAgenticManagement: (input: {
|
|
14909
|
+
workflow: string;
|
|
14910
|
+
} & {
|
|
14911
|
+
skipOutputDataValidation?: boolean;
|
|
14912
|
+
}) => Promise<{
|
|
14913
|
+
data: {
|
|
14914
|
+
ok: boolean;
|
|
14915
|
+
};
|
|
14916
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
14917
|
+
}>;
|
|
14918
|
+
getAgenticManagementConfig: (input: {
|
|
14919
|
+
workflow: string;
|
|
14920
|
+
} & {
|
|
14921
|
+
skipOutputDataValidation?: boolean;
|
|
14922
|
+
}) => Promise<{
|
|
14923
|
+
data: {
|
|
14924
|
+
workflow_id: string;
|
|
14925
|
+
enabled: boolean;
|
|
14926
|
+
auto_approve: boolean;
|
|
14927
|
+
modes: ("heal" | "expand" | "harden" | "migrate" | "optimize")[];
|
|
14928
|
+
manager_id?: string | null | undefined;
|
|
14929
|
+
};
|
|
14930
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
14931
|
+
}>;
|
|
14932
|
+
updateAgenticManagementConfig: (input: {
|
|
14933
|
+
workflow: string;
|
|
14934
|
+
modes?: ("heal" | "expand" | "harden")[] | undefined;
|
|
14935
|
+
autoApprove?: boolean | undefined;
|
|
14936
|
+
} & {
|
|
14937
|
+
skipOutputDataValidation?: boolean;
|
|
14938
|
+
}) => Promise<{
|
|
14939
|
+
data: {
|
|
14940
|
+
workflow_id: string;
|
|
14941
|
+
modes: ("heal" | "expand" | "harden" | "migrate" | "optimize")[];
|
|
14942
|
+
auto_approve: boolean;
|
|
14943
|
+
};
|
|
14944
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
14945
|
+
}>;
|
|
14946
|
+
getAgenticManagementIntent: (input: {
|
|
14947
|
+
workflow: string;
|
|
14948
|
+
version?: string | undefined;
|
|
14949
|
+
} & {
|
|
14950
|
+
skipOutputDataValidation?: boolean;
|
|
14951
|
+
}) => Promise<{
|
|
14952
|
+
data: {
|
|
14953
|
+
workflow_id: string;
|
|
14954
|
+
workflow_version_id: string | null;
|
|
14955
|
+
intent: string | null;
|
|
14956
|
+
updated_at?: string | null | undefined;
|
|
14957
|
+
};
|
|
14958
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
14959
|
+
}>;
|
|
14960
|
+
updateAgenticManagementIntent: (input: {
|
|
14961
|
+
workflow: string;
|
|
14962
|
+
intent: string;
|
|
14963
|
+
version?: string | undefined;
|
|
14964
|
+
} & {
|
|
14965
|
+
skipOutputDataValidation?: boolean;
|
|
14966
|
+
}) => Promise<{
|
|
14967
|
+
data: {
|
|
14968
|
+
workflow_id: string;
|
|
14969
|
+
workflow_version_id: string | null;
|
|
14970
|
+
intent: string | null;
|
|
14971
|
+
updated_at?: string | null | undefined;
|
|
14972
|
+
};
|
|
14973
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
14974
|
+
}>;
|
|
14646
14975
|
} & {
|
|
14647
14976
|
context: _zapier_kitcore.SdkContext;
|
|
14648
14977
|
} & _zapier_kitcore.SdkContextCarrier;
|