@zapier/zapier-sdk 0.107.2 → 0.108.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 +8 -0
- package/README.md +319 -0
- package/dist/{chunk-Y7CGEGII.cjs → chunk-HMEY72T6.cjs} +10 -1
- package/dist/{chunk-HYFM3H36.mjs → chunk-ULZVDPAK.mjs} +10 -1
- package/dist/experimental.cjs +849 -370
- package/dist/experimental.d.mts +588 -9
- package/dist/experimental.d.ts +588 -9
- package/dist/experimental.mjs +483 -4
- package/dist/index.cjs +279 -279
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/experimental.d.mts
CHANGED
|
@@ -9473,7 +9473,317 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
9473
9473
|
};
|
|
9474
9474
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
9475
9475
|
}>>;
|
|
9476
|
-
}
|
|
9476
|
+
} & {
|
|
9477
|
+
listVfsDirectory: _zapier_kitcore.MethodPlugin<"listVfsDirectory", {
|
|
9478
|
+
path: string;
|
|
9479
|
+
pageSize?: number | undefined;
|
|
9480
|
+
maxItems?: number | undefined;
|
|
9481
|
+
cursor?: string | undefined;
|
|
9482
|
+
} & {
|
|
9483
|
+
cursor?: string;
|
|
9484
|
+
pageSize?: number;
|
|
9485
|
+
} & {
|
|
9486
|
+
maxItems?: number;
|
|
9487
|
+
} & {
|
|
9488
|
+
skipOutputDataValidation?: boolean;
|
|
9489
|
+
}, _zapier_kitcore.PaginatedSdkResult<{
|
|
9490
|
+
type: "file" | "directory" | "shortcut" | "stream";
|
|
9491
|
+
name: string;
|
|
9492
|
+
path: string;
|
|
9493
|
+
size?: number | undefined;
|
|
9494
|
+
version?: number | undefined;
|
|
9495
|
+
updated_at?: string | undefined;
|
|
9496
|
+
target_type?: "file" | "directory" | "stream" | null | undefined;
|
|
9497
|
+
target_path?: string | null | undefined;
|
|
9498
|
+
accessible?: boolean | undefined;
|
|
9499
|
+
content_type?: string | undefined;
|
|
9500
|
+
}>, readonly [], Omit<{
|
|
9501
|
+
path: string;
|
|
9502
|
+
pageSize?: number | undefined;
|
|
9503
|
+
maxItems?: number | undefined;
|
|
9504
|
+
cursor?: string | undefined;
|
|
9505
|
+
}, "skipOutputDataValidation" | "maxItems"> & {
|
|
9506
|
+
cursor?: string;
|
|
9507
|
+
pageSize?: number;
|
|
9508
|
+
}> & _zapier_kitcore.LeafSummary<"", "listVfsDirectory", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
9509
|
+
path: string;
|
|
9510
|
+
pageSize?: number | undefined;
|
|
9511
|
+
maxItems?: number | undefined;
|
|
9512
|
+
cursor?: string | undefined;
|
|
9513
|
+
} & {
|
|
9514
|
+
cursor?: string;
|
|
9515
|
+
pageSize?: number;
|
|
9516
|
+
} & {
|
|
9517
|
+
maxItems?: number;
|
|
9518
|
+
} & {
|
|
9519
|
+
skipOutputDataValidation?: boolean;
|
|
9520
|
+
}) => _zapier_kitcore.PaginatedSdkResult<{
|
|
9521
|
+
type: "file" | "directory" | "shortcut" | "stream";
|
|
9522
|
+
name: string;
|
|
9523
|
+
path: string;
|
|
9524
|
+
size?: number | undefined;
|
|
9525
|
+
version?: number | undefined;
|
|
9526
|
+
updated_at?: string | undefined;
|
|
9527
|
+
target_type?: "file" | "directory" | "stream" | null | undefined;
|
|
9528
|
+
target_path?: string | null | undefined;
|
|
9529
|
+
accessible?: boolean | undefined;
|
|
9530
|
+
content_type?: string | undefined;
|
|
9531
|
+
}>>;
|
|
9532
|
+
} & {
|
|
9533
|
+
readVfsFile: _zapier_kitcore.MethodPlugin<"readVfsFile", {
|
|
9534
|
+
path: string;
|
|
9535
|
+
maxBytes?: number | undefined;
|
|
9536
|
+
} & {
|
|
9537
|
+
skipOutputDataValidation?: boolean;
|
|
9538
|
+
}, Promise<{
|
|
9539
|
+
data: {
|
|
9540
|
+
type: "file";
|
|
9541
|
+
path: string;
|
|
9542
|
+
name: string;
|
|
9543
|
+
content: string;
|
|
9544
|
+
size: number;
|
|
9545
|
+
version: number;
|
|
9546
|
+
updated_at: string;
|
|
9547
|
+
canonical_path?: string | undefined;
|
|
9548
|
+
};
|
|
9549
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
9550
|
+
}>, readonly [], {
|
|
9551
|
+
path: string;
|
|
9552
|
+
maxBytes?: number | undefined;
|
|
9553
|
+
}> & _zapier_kitcore.LeafSummary<"", "readVfsFile", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
9554
|
+
path: string;
|
|
9555
|
+
maxBytes?: number | undefined;
|
|
9556
|
+
} & {
|
|
9557
|
+
skipOutputDataValidation?: boolean;
|
|
9558
|
+
}) => Promise<{
|
|
9559
|
+
data: {
|
|
9560
|
+
type: "file";
|
|
9561
|
+
path: string;
|
|
9562
|
+
name: string;
|
|
9563
|
+
content: string;
|
|
9564
|
+
size: number;
|
|
9565
|
+
version: number;
|
|
9566
|
+
updated_at: string;
|
|
9567
|
+
canonical_path?: string | undefined;
|
|
9568
|
+
};
|
|
9569
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
9570
|
+
}>>;
|
|
9571
|
+
} & {
|
|
9572
|
+
writeVfsFile: _zapier_kitcore.MethodPlugin<"writeVfsFile", {
|
|
9573
|
+
path: string;
|
|
9574
|
+
content: string;
|
|
9575
|
+
expectedVersion?: number | undefined;
|
|
9576
|
+
} & {
|
|
9577
|
+
skipOutputDataValidation?: boolean;
|
|
9578
|
+
}, Promise<{
|
|
9579
|
+
data: {
|
|
9580
|
+
path: string;
|
|
9581
|
+
version: number;
|
|
9582
|
+
action: "created" | "updated";
|
|
9583
|
+
warnings?: string[] | undefined;
|
|
9584
|
+
};
|
|
9585
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
9586
|
+
}>, readonly [], {
|
|
9587
|
+
path: string;
|
|
9588
|
+
content: string;
|
|
9589
|
+
expectedVersion?: number | undefined;
|
|
9590
|
+
}> & _zapier_kitcore.LeafSummary<"", "writeVfsFile", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
9591
|
+
path: string;
|
|
9592
|
+
content: string;
|
|
9593
|
+
expectedVersion?: number | undefined;
|
|
9594
|
+
} & {
|
|
9595
|
+
skipOutputDataValidation?: boolean;
|
|
9596
|
+
}) => Promise<{
|
|
9597
|
+
data: {
|
|
9598
|
+
path: string;
|
|
9599
|
+
version: number;
|
|
9600
|
+
action: "created" | "updated";
|
|
9601
|
+
warnings?: string[] | undefined;
|
|
9602
|
+
};
|
|
9603
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
9604
|
+
}>>;
|
|
9605
|
+
} & {
|
|
9606
|
+
appendVfsFile: _zapier_kitcore.MethodPlugin<"appendVfsFile", {
|
|
9607
|
+
path: string;
|
|
9608
|
+
content: string;
|
|
9609
|
+
} & {
|
|
9610
|
+
skipOutputDataValidation?: boolean;
|
|
9611
|
+
}, Promise<{
|
|
9612
|
+
data: {
|
|
9613
|
+
path: string;
|
|
9614
|
+
version: number;
|
|
9615
|
+
action: "created" | "updated";
|
|
9616
|
+
warnings?: string[] | undefined;
|
|
9617
|
+
};
|
|
9618
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
9619
|
+
}>, readonly [], {
|
|
9620
|
+
path: string;
|
|
9621
|
+
content: string;
|
|
9622
|
+
}> & _zapier_kitcore.LeafSummary<"", "appendVfsFile", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
9623
|
+
path: string;
|
|
9624
|
+
content: string;
|
|
9625
|
+
} & {
|
|
9626
|
+
skipOutputDataValidation?: boolean;
|
|
9627
|
+
}) => Promise<{
|
|
9628
|
+
data: {
|
|
9629
|
+
path: string;
|
|
9630
|
+
version: number;
|
|
9631
|
+
action: "created" | "updated";
|
|
9632
|
+
warnings?: string[] | undefined;
|
|
9633
|
+
};
|
|
9634
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
9635
|
+
}>>;
|
|
9636
|
+
} & {
|
|
9637
|
+
copyVfsFile: _zapier_kitcore.MethodPlugin<"copyVfsFile", {
|
|
9638
|
+
from: string;
|
|
9639
|
+
to: string;
|
|
9640
|
+
overwrite?: boolean | undefined;
|
|
9641
|
+
expectedVersion?: number | undefined;
|
|
9642
|
+
} & {
|
|
9643
|
+
skipOutputDataValidation?: boolean;
|
|
9644
|
+
}, Promise<{
|
|
9645
|
+
data: {
|
|
9646
|
+
path: string;
|
|
9647
|
+
version: number;
|
|
9648
|
+
action: "created" | "updated";
|
|
9649
|
+
warnings?: string[] | undefined;
|
|
9650
|
+
};
|
|
9651
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
9652
|
+
}>, readonly [], {
|
|
9653
|
+
expectedVersion?: number | undefined;
|
|
9654
|
+
from: string;
|
|
9655
|
+
to: string;
|
|
9656
|
+
overwrite?: boolean | undefined;
|
|
9657
|
+
}> & _zapier_kitcore.LeafSummary<"", "copyVfsFile", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
9658
|
+
from: string;
|
|
9659
|
+
to: string;
|
|
9660
|
+
overwrite?: boolean | undefined;
|
|
9661
|
+
expectedVersion?: number | undefined;
|
|
9662
|
+
} & {
|
|
9663
|
+
skipOutputDataValidation?: boolean;
|
|
9664
|
+
}) => Promise<{
|
|
9665
|
+
data: {
|
|
9666
|
+
path: string;
|
|
9667
|
+
version: number;
|
|
9668
|
+
action: "created" | "updated";
|
|
9669
|
+
warnings?: string[] | undefined;
|
|
9670
|
+
};
|
|
9671
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
9672
|
+
}>>;
|
|
9673
|
+
} & {
|
|
9674
|
+
createVfsDirectory: _zapier_kitcore.MethodPlugin<"createVfsDirectory", {
|
|
9675
|
+
path: string;
|
|
9676
|
+
} & {
|
|
9677
|
+
skipOutputDataValidation?: boolean;
|
|
9678
|
+
}, Promise<{
|
|
9679
|
+
data: {
|
|
9680
|
+
path: string;
|
|
9681
|
+
action: "created" | "updated";
|
|
9682
|
+
};
|
|
9683
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
9684
|
+
}>, readonly [], {
|
|
9685
|
+
path: string;
|
|
9686
|
+
}> & _zapier_kitcore.LeafSummary<"", "createVfsDirectory", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
9687
|
+
path: string;
|
|
9688
|
+
} & {
|
|
9689
|
+
skipOutputDataValidation?: boolean;
|
|
9690
|
+
}) => Promise<{
|
|
9691
|
+
data: {
|
|
9692
|
+
path: string;
|
|
9693
|
+
action: "created" | "updated";
|
|
9694
|
+
};
|
|
9695
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
9696
|
+
}>>;
|
|
9697
|
+
} & {
|
|
9698
|
+
statVfsPath: _zapier_kitcore.MethodPlugin<"statVfsPath", {
|
|
9699
|
+
path: string;
|
|
9700
|
+
} & {
|
|
9701
|
+
skipOutputDataValidation?: boolean;
|
|
9702
|
+
}, Promise<{
|
|
9703
|
+
data: {
|
|
9704
|
+
type: "file" | "directory" | "shortcut" | "stream";
|
|
9705
|
+
name: string;
|
|
9706
|
+
path: string;
|
|
9707
|
+
size?: number | undefined;
|
|
9708
|
+
version?: number | undefined;
|
|
9709
|
+
updated_at?: string | undefined;
|
|
9710
|
+
target_type?: "file" | "directory" | "stream" | null | undefined;
|
|
9711
|
+
target_path?: string | null | undefined;
|
|
9712
|
+
accessible?: boolean | undefined;
|
|
9713
|
+
content_type?: string | undefined;
|
|
9714
|
+
};
|
|
9715
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
9716
|
+
}>, readonly [], {
|
|
9717
|
+
path: string;
|
|
9718
|
+
}> & _zapier_kitcore.LeafSummary<"", "statVfsPath", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
9719
|
+
path: string;
|
|
9720
|
+
} & {
|
|
9721
|
+
skipOutputDataValidation?: boolean;
|
|
9722
|
+
}) => Promise<{
|
|
9723
|
+
data: {
|
|
9724
|
+
type: "file" | "directory" | "shortcut" | "stream";
|
|
9725
|
+
name: string;
|
|
9726
|
+
path: string;
|
|
9727
|
+
size?: number | undefined;
|
|
9728
|
+
version?: number | undefined;
|
|
9729
|
+
updated_at?: string | undefined;
|
|
9730
|
+
target_type?: "file" | "directory" | "stream" | null | undefined;
|
|
9731
|
+
target_path?: string | null | undefined;
|
|
9732
|
+
accessible?: boolean | undefined;
|
|
9733
|
+
content_type?: string | undefined;
|
|
9734
|
+
};
|
|
9735
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
9736
|
+
}>>;
|
|
9737
|
+
} & {
|
|
9738
|
+
deleteVfsPath: _zapier_kitcore.MethodPlugin<"deleteVfsPath", {
|
|
9739
|
+
path: string;
|
|
9740
|
+
} & {
|
|
9741
|
+
skipOutputDataValidation?: boolean;
|
|
9742
|
+
}, Promise<{
|
|
9743
|
+
data: {
|
|
9744
|
+
path: string;
|
|
9745
|
+
};
|
|
9746
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
9747
|
+
}>, readonly [], {
|
|
9748
|
+
path: string;
|
|
9749
|
+
}> & _zapier_kitcore.LeafSummary<"", "deleteVfsPath", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
9750
|
+
path: string;
|
|
9751
|
+
} & {
|
|
9752
|
+
skipOutputDataValidation?: boolean;
|
|
9753
|
+
}) => Promise<{
|
|
9754
|
+
data: {
|
|
9755
|
+
path: string;
|
|
9756
|
+
};
|
|
9757
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
9758
|
+
}>>;
|
|
9759
|
+
} & {
|
|
9760
|
+
moveVfsPath: _zapier_kitcore.MethodPlugin<"moveVfsPath", {
|
|
9761
|
+
from: string;
|
|
9762
|
+
to: string;
|
|
9763
|
+
} & {
|
|
9764
|
+
skipOutputDataValidation?: boolean;
|
|
9765
|
+
}, Promise<{
|
|
9766
|
+
data: {
|
|
9767
|
+
from: string;
|
|
9768
|
+
to: string;
|
|
9769
|
+
};
|
|
9770
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
9771
|
+
}>, readonly [], {
|
|
9772
|
+
from: string;
|
|
9773
|
+
to: string;
|
|
9774
|
+
}> & _zapier_kitcore.LeafSummary<"", "moveVfsPath", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
9775
|
+
from: string;
|
|
9776
|
+
to: string;
|
|
9777
|
+
} & {
|
|
9778
|
+
skipOutputDataValidation?: boolean;
|
|
9779
|
+
}) => Promise<{
|
|
9780
|
+
data: {
|
|
9781
|
+
from: string;
|
|
9782
|
+
to: string;
|
|
9783
|
+
};
|
|
9784
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
9785
|
+
}>>;
|
|
9786
|
+
}> & _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" | "listVfsDirectory" | "readVfsFile" | "writeVfsFile" | "appendVfsFile" | "copyVfsFile" | "createVfsDirectory" | "statVfsPath" | "deleteVfsPath" | "moveVfsPath" | "zapier/experimental-sdk", _zapier_kitcore.ContractEntry<"kitcore/httpFetch", typeof fetch | undefined> | _zapier_kitcore.ContractEntry<"zapier/sdkOptions", {
|
|
9477
9787
|
credentials?: string | {
|
|
9478
9788
|
clientId: string;
|
|
9479
9789
|
clientSecret: string;
|
|
@@ -11216,18 +11526,15 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
11216
11526
|
recordIds: string[];
|
|
11217
11527
|
}) => Promise<{
|
|
11218
11528
|
success: boolean;
|
|
11219
|
-
}>> | _zapier_kitcore.ContractEntry<"
|
|
11220
|
-
|
|
11221
|
-
|
|
11222
|
-
version?: string | undefined;
|
|
11529
|
+
}>> | _zapier_kitcore.ContractEntry<"moveVfsPath", (input: {
|
|
11530
|
+
from: string;
|
|
11531
|
+
to: string;
|
|
11223
11532
|
} & {
|
|
11224
11533
|
skipOutputDataValidation?: boolean;
|
|
11225
11534
|
}) => Promise<{
|
|
11226
11535
|
data: {
|
|
11227
|
-
|
|
11228
|
-
|
|
11229
|
-
intent: string | null;
|
|
11230
|
-
updated_at?: string | null | undefined;
|
|
11536
|
+
from: string;
|
|
11537
|
+
to: string;
|
|
11231
11538
|
};
|
|
11232
11539
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
11233
11540
|
}>> | _zapier_kitcore.ContractEntry<"listWorkflows", (input?: ({
|
|
@@ -12240,6 +12547,139 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
12240
12547
|
updated_at?: string | null | undefined;
|
|
12241
12548
|
};
|
|
12242
12549
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
12550
|
+
}>> | _zapier_kitcore.ContractEntry<"updateAgenticManagementIntent", (input: {
|
|
12551
|
+
workflow: string;
|
|
12552
|
+
intent: string;
|
|
12553
|
+
version?: string | undefined;
|
|
12554
|
+
} & {
|
|
12555
|
+
skipOutputDataValidation?: boolean;
|
|
12556
|
+
}) => Promise<{
|
|
12557
|
+
data: {
|
|
12558
|
+
workflow_id: string;
|
|
12559
|
+
workflow_version_id: string | null;
|
|
12560
|
+
intent: string | null;
|
|
12561
|
+
updated_at?: string | null | undefined;
|
|
12562
|
+
};
|
|
12563
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
12564
|
+
}>> | _zapier_kitcore.ContractEntry<"listVfsDirectory", (input: {
|
|
12565
|
+
path: string;
|
|
12566
|
+
pageSize?: number | undefined;
|
|
12567
|
+
maxItems?: number | undefined;
|
|
12568
|
+
cursor?: string | undefined;
|
|
12569
|
+
} & {
|
|
12570
|
+
cursor?: string;
|
|
12571
|
+
pageSize?: number;
|
|
12572
|
+
} & {
|
|
12573
|
+
maxItems?: number;
|
|
12574
|
+
} & {
|
|
12575
|
+
skipOutputDataValidation?: boolean;
|
|
12576
|
+
}) => _zapier_kitcore.PaginatedSdkResult<{
|
|
12577
|
+
type: "file" | "directory" | "shortcut" | "stream";
|
|
12578
|
+
name: string;
|
|
12579
|
+
path: string;
|
|
12580
|
+
size?: number | undefined;
|
|
12581
|
+
version?: number | undefined;
|
|
12582
|
+
updated_at?: string | undefined;
|
|
12583
|
+
target_type?: "file" | "directory" | "stream" | null | undefined;
|
|
12584
|
+
target_path?: string | null | undefined;
|
|
12585
|
+
accessible?: boolean | undefined;
|
|
12586
|
+
content_type?: string | undefined;
|
|
12587
|
+
}>> | _zapier_kitcore.ContractEntry<"readVfsFile", (input: {
|
|
12588
|
+
path: string;
|
|
12589
|
+
maxBytes?: number | undefined;
|
|
12590
|
+
} & {
|
|
12591
|
+
skipOutputDataValidation?: boolean;
|
|
12592
|
+
}) => Promise<{
|
|
12593
|
+
data: {
|
|
12594
|
+
type: "file";
|
|
12595
|
+
path: string;
|
|
12596
|
+
name: string;
|
|
12597
|
+
content: string;
|
|
12598
|
+
size: number;
|
|
12599
|
+
version: number;
|
|
12600
|
+
updated_at: string;
|
|
12601
|
+
canonical_path?: string | undefined;
|
|
12602
|
+
};
|
|
12603
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
12604
|
+
}>> | _zapier_kitcore.ContractEntry<"writeVfsFile", (input: {
|
|
12605
|
+
path: string;
|
|
12606
|
+
content: string;
|
|
12607
|
+
expectedVersion?: number | undefined;
|
|
12608
|
+
} & {
|
|
12609
|
+
skipOutputDataValidation?: boolean;
|
|
12610
|
+
}) => Promise<{
|
|
12611
|
+
data: {
|
|
12612
|
+
path: string;
|
|
12613
|
+
version: number;
|
|
12614
|
+
action: "created" | "updated";
|
|
12615
|
+
warnings?: string[] | undefined;
|
|
12616
|
+
};
|
|
12617
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
12618
|
+
}>> | _zapier_kitcore.ContractEntry<"appendVfsFile", (input: {
|
|
12619
|
+
path: string;
|
|
12620
|
+
content: string;
|
|
12621
|
+
} & {
|
|
12622
|
+
skipOutputDataValidation?: boolean;
|
|
12623
|
+
}) => Promise<{
|
|
12624
|
+
data: {
|
|
12625
|
+
path: string;
|
|
12626
|
+
version: number;
|
|
12627
|
+
action: "created" | "updated";
|
|
12628
|
+
warnings?: string[] | undefined;
|
|
12629
|
+
};
|
|
12630
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
12631
|
+
}>> | _zapier_kitcore.ContractEntry<"copyVfsFile", (input: {
|
|
12632
|
+
from: string;
|
|
12633
|
+
to: string;
|
|
12634
|
+
overwrite?: boolean | undefined;
|
|
12635
|
+
expectedVersion?: number | undefined;
|
|
12636
|
+
} & {
|
|
12637
|
+
skipOutputDataValidation?: boolean;
|
|
12638
|
+
}) => Promise<{
|
|
12639
|
+
data: {
|
|
12640
|
+
path: string;
|
|
12641
|
+
version: number;
|
|
12642
|
+
action: "created" | "updated";
|
|
12643
|
+
warnings?: string[] | undefined;
|
|
12644
|
+
};
|
|
12645
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
12646
|
+
}>> | _zapier_kitcore.ContractEntry<"createVfsDirectory", (input: {
|
|
12647
|
+
path: string;
|
|
12648
|
+
} & {
|
|
12649
|
+
skipOutputDataValidation?: boolean;
|
|
12650
|
+
}) => Promise<{
|
|
12651
|
+
data: {
|
|
12652
|
+
path: string;
|
|
12653
|
+
action: "created" | "updated";
|
|
12654
|
+
};
|
|
12655
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
12656
|
+
}>> | _zapier_kitcore.ContractEntry<"statVfsPath", (input: {
|
|
12657
|
+
path: string;
|
|
12658
|
+
} & {
|
|
12659
|
+
skipOutputDataValidation?: boolean;
|
|
12660
|
+
}) => Promise<{
|
|
12661
|
+
data: {
|
|
12662
|
+
type: "file" | "directory" | "shortcut" | "stream";
|
|
12663
|
+
name: string;
|
|
12664
|
+
path: string;
|
|
12665
|
+
size?: number | undefined;
|
|
12666
|
+
version?: number | undefined;
|
|
12667
|
+
updated_at?: string | undefined;
|
|
12668
|
+
target_type?: "file" | "directory" | "stream" | null | undefined;
|
|
12669
|
+
target_path?: string | null | undefined;
|
|
12670
|
+
accessible?: boolean | undefined;
|
|
12671
|
+
content_type?: string | undefined;
|
|
12672
|
+
};
|
|
12673
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
12674
|
+
}>> | _zapier_kitcore.ContractEntry<"deleteVfsPath", (input: {
|
|
12675
|
+
path: string;
|
|
12676
|
+
} & {
|
|
12677
|
+
skipOutputDataValidation?: boolean;
|
|
12678
|
+
}) => Promise<{
|
|
12679
|
+
data: {
|
|
12680
|
+
path: string;
|
|
12681
|
+
};
|
|
12682
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
12243
12683
|
}>>>;
|
|
12244
12684
|
declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
12245
12685
|
getRegistry: (input?: {
|
|
@@ -14972,6 +15412,145 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
14972
15412
|
};
|
|
14973
15413
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
14974
15414
|
}>;
|
|
15415
|
+
listVfsDirectory: (input: {
|
|
15416
|
+
path: string;
|
|
15417
|
+
pageSize?: number | undefined;
|
|
15418
|
+
maxItems?: number | undefined;
|
|
15419
|
+
cursor?: string | undefined;
|
|
15420
|
+
} & {
|
|
15421
|
+
cursor?: string;
|
|
15422
|
+
pageSize?: number;
|
|
15423
|
+
} & {
|
|
15424
|
+
maxItems?: number;
|
|
15425
|
+
} & {
|
|
15426
|
+
skipOutputDataValidation?: boolean;
|
|
15427
|
+
}) => _zapier_kitcore.PaginatedSdkResult<{
|
|
15428
|
+
type: "file" | "directory" | "shortcut" | "stream";
|
|
15429
|
+
name: string;
|
|
15430
|
+
path: string;
|
|
15431
|
+
size?: number | undefined;
|
|
15432
|
+
version?: number | undefined;
|
|
15433
|
+
updated_at?: string | undefined;
|
|
15434
|
+
target_type?: "file" | "directory" | "stream" | null | undefined;
|
|
15435
|
+
target_path?: string | null | undefined;
|
|
15436
|
+
accessible?: boolean | undefined;
|
|
15437
|
+
content_type?: string | undefined;
|
|
15438
|
+
}>;
|
|
15439
|
+
readVfsFile: (input: {
|
|
15440
|
+
path: string;
|
|
15441
|
+
maxBytes?: number | undefined;
|
|
15442
|
+
} & {
|
|
15443
|
+
skipOutputDataValidation?: boolean;
|
|
15444
|
+
}) => Promise<{
|
|
15445
|
+
data: {
|
|
15446
|
+
type: "file";
|
|
15447
|
+
path: string;
|
|
15448
|
+
name: string;
|
|
15449
|
+
content: string;
|
|
15450
|
+
size: number;
|
|
15451
|
+
version: number;
|
|
15452
|
+
updated_at: string;
|
|
15453
|
+
canonical_path?: string | undefined;
|
|
15454
|
+
};
|
|
15455
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
15456
|
+
}>;
|
|
15457
|
+
writeVfsFile: (input: {
|
|
15458
|
+
path: string;
|
|
15459
|
+
content: string;
|
|
15460
|
+
expectedVersion?: number | undefined;
|
|
15461
|
+
} & {
|
|
15462
|
+
skipOutputDataValidation?: boolean;
|
|
15463
|
+
}) => Promise<{
|
|
15464
|
+
data: {
|
|
15465
|
+
path: string;
|
|
15466
|
+
version: number;
|
|
15467
|
+
action: "created" | "updated";
|
|
15468
|
+
warnings?: string[] | undefined;
|
|
15469
|
+
};
|
|
15470
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
15471
|
+
}>;
|
|
15472
|
+
appendVfsFile: (input: {
|
|
15473
|
+
path: string;
|
|
15474
|
+
content: string;
|
|
15475
|
+
} & {
|
|
15476
|
+
skipOutputDataValidation?: boolean;
|
|
15477
|
+
}) => Promise<{
|
|
15478
|
+
data: {
|
|
15479
|
+
path: string;
|
|
15480
|
+
version: number;
|
|
15481
|
+
action: "created" | "updated";
|
|
15482
|
+
warnings?: string[] | undefined;
|
|
15483
|
+
};
|
|
15484
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
15485
|
+
}>;
|
|
15486
|
+
copyVfsFile: (input: {
|
|
15487
|
+
from: string;
|
|
15488
|
+
to: string;
|
|
15489
|
+
overwrite?: boolean | undefined;
|
|
15490
|
+
expectedVersion?: number | undefined;
|
|
15491
|
+
} & {
|
|
15492
|
+
skipOutputDataValidation?: boolean;
|
|
15493
|
+
}) => Promise<{
|
|
15494
|
+
data: {
|
|
15495
|
+
path: string;
|
|
15496
|
+
version: number;
|
|
15497
|
+
action: "created" | "updated";
|
|
15498
|
+
warnings?: string[] | undefined;
|
|
15499
|
+
};
|
|
15500
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
15501
|
+
}>;
|
|
15502
|
+
createVfsDirectory: (input: {
|
|
15503
|
+
path: string;
|
|
15504
|
+
} & {
|
|
15505
|
+
skipOutputDataValidation?: boolean;
|
|
15506
|
+
}) => Promise<{
|
|
15507
|
+
data: {
|
|
15508
|
+
path: string;
|
|
15509
|
+
action: "created" | "updated";
|
|
15510
|
+
};
|
|
15511
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
15512
|
+
}>;
|
|
15513
|
+
statVfsPath: (input: {
|
|
15514
|
+
path: string;
|
|
15515
|
+
} & {
|
|
15516
|
+
skipOutputDataValidation?: boolean;
|
|
15517
|
+
}) => Promise<{
|
|
15518
|
+
data: {
|
|
15519
|
+
type: "file" | "directory" | "shortcut" | "stream";
|
|
15520
|
+
name: string;
|
|
15521
|
+
path: string;
|
|
15522
|
+
size?: number | undefined;
|
|
15523
|
+
version?: number | undefined;
|
|
15524
|
+
updated_at?: string | undefined;
|
|
15525
|
+
target_type?: "file" | "directory" | "stream" | null | undefined;
|
|
15526
|
+
target_path?: string | null | undefined;
|
|
15527
|
+
accessible?: boolean | undefined;
|
|
15528
|
+
content_type?: string | undefined;
|
|
15529
|
+
};
|
|
15530
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
15531
|
+
}>;
|
|
15532
|
+
deleteVfsPath: (input: {
|
|
15533
|
+
path: string;
|
|
15534
|
+
} & {
|
|
15535
|
+
skipOutputDataValidation?: boolean;
|
|
15536
|
+
}) => Promise<{
|
|
15537
|
+
data: {
|
|
15538
|
+
path: string;
|
|
15539
|
+
};
|
|
15540
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
15541
|
+
}>;
|
|
15542
|
+
moveVfsPath: (input: {
|
|
15543
|
+
from: string;
|
|
15544
|
+
to: string;
|
|
15545
|
+
} & {
|
|
15546
|
+
skipOutputDataValidation?: boolean;
|
|
15547
|
+
}) => Promise<{
|
|
15548
|
+
data: {
|
|
15549
|
+
from: string;
|
|
15550
|
+
to: string;
|
|
15551
|
+
};
|
|
15552
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
15553
|
+
}>;
|
|
14975
15554
|
} & {
|
|
14976
15555
|
context: _zapier_kitcore.SdkContext;
|
|
14977
15556
|
} & _zapier_kitcore.SdkContextCarrier;
|