@zapier/zapier-sdk 0.56.1 → 0.57.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 +12 -0
- package/README.md +28 -20
- package/dist/experimental.cjs +31 -11
- package/dist/experimental.d.mts +12 -2
- package/dist/experimental.d.ts +10 -0
- package/dist/experimental.d.ts.map +1 -1
- package/dist/experimental.mjs +31 -11
- package/dist/{index-CjP7lGzL.d.mts → index-4QyPPLfu.d.mts} +32 -0
- package/dist/{index-CjP7lGzL.d.ts → index-4QyPPLfu.d.ts} +32 -0
- package/dist/index.cjs +30 -10
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +30 -10
- package/dist/plugins/tables/createTableFields/index.d.ts +1 -0
- package/dist/plugins/tables/createTableFields/index.d.ts.map +1 -1
- package/dist/plugins/tables/createTableFields/schemas.d.ts +2 -0
- package/dist/plugins/tables/createTableFields/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/createTableRecords/index.d.ts +1 -0
- package/dist/plugins/tables/createTableRecords/index.d.ts.map +1 -1
- package/dist/plugins/tables/createTableRecords/schemas.d.ts +2 -0
- package/dist/plugins/tables/createTableRecords/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/getTableRecord/index.d.ts +1 -0
- package/dist/plugins/tables/getTableRecord/index.d.ts.map +1 -1
- package/dist/plugins/tables/getTableRecord/schemas.d.ts +3 -0
- package/dist/plugins/tables/getTableRecord/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/getTableRecord/schemas.js +2 -0
- package/dist/plugins/tables/listTableFields/index.d.ts +3 -0
- package/dist/plugins/tables/listTableFields/index.d.ts.map +1 -1
- package/dist/plugins/tables/listTableFields/index.js +3 -0
- package/dist/plugins/tables/listTableFields/schemas.d.ts +23 -0
- package/dist/plugins/tables/listTableFields/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/listTableFields/schemas.js +4 -0
- package/dist/plugins/tables/listTableRecords/index.d.ts +3 -0
- package/dist/plugins/tables/listTableRecords/index.d.ts.map +1 -1
- package/dist/plugins/tables/listTableRecords/index.js +7 -1
- package/dist/plugins/tables/listTableRecords/schemas.d.ts +21 -0
- package/dist/plugins/tables/listTableRecords/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/listTableRecords/schemas.js +2 -1
- package/dist/plugins/tables/updateTableRecords/index.d.ts +1 -0
- package/dist/plugins/tables/updateTableRecords/index.d.ts.map +1 -1
- package/dist/plugins/tables/updateTableRecords/schemas.d.ts +2 -0
- package/dist/plugins/tables/updateTableRecords/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/utils.d.ts +6 -0
- package/dist/plugins/tables/utils.d.ts.map +1 -1
- package/dist/plugins/tables/utils.js +6 -0
- package/dist/plugins/triggers/ensureTriggerInbox/index.js +1 -1
- package/dist/sdk.d.ts +20 -0
- package/dist/sdk.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -3165,10 +3165,12 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): Wit
|
|
|
3165
3165
|
table: string;
|
|
3166
3166
|
fields?: (string | number)[] | undefined;
|
|
3167
3167
|
fieldKeys?: (string | number)[] | undefined;
|
|
3168
|
+
trash?: "include" | "exclude" | "only" | undefined;
|
|
3168
3169
|
} | {
|
|
3169
3170
|
tableId: string;
|
|
3170
3171
|
fields?: (string | number)[] | undefined;
|
|
3171
3172
|
fieldKeys?: (string | number)[] | undefined;
|
|
3173
|
+
trash?: "include" | "exclude" | "only" | undefined;
|
|
3172
3174
|
} | undefined) => Promise<{
|
|
3173
3175
|
data: {
|
|
3174
3176
|
id: string;
|
|
@@ -3178,6 +3180,7 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): Wit
|
|
|
3178
3180
|
edited_at?: string | undefined;
|
|
3179
3181
|
options?: Record<string, unknown> | undefined;
|
|
3180
3182
|
config?: Record<string, unknown> | undefined;
|
|
3183
|
+
deleted_at?: string | null | undefined;
|
|
3181
3184
|
}[];
|
|
3182
3185
|
}>;
|
|
3183
3186
|
} & {
|
|
@@ -3212,6 +3215,7 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): Wit
|
|
|
3212
3215
|
edited_at?: string | undefined;
|
|
3213
3216
|
options?: Record<string, unknown> | undefined;
|
|
3214
3217
|
config?: Record<string, unknown> | undefined;
|
|
3218
|
+
deleted_at?: string | null | undefined;
|
|
3215
3219
|
}[];
|
|
3216
3220
|
}>;
|
|
3217
3221
|
} & {
|
|
@@ -3251,6 +3255,7 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): Wit
|
|
|
3251
3255
|
id: string;
|
|
3252
3256
|
created_at: string;
|
|
3253
3257
|
edited_at: string;
|
|
3258
|
+
deleted_at?: string | null | undefined;
|
|
3254
3259
|
};
|
|
3255
3260
|
}>;
|
|
3256
3261
|
} & {
|
|
@@ -3275,6 +3280,7 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): Wit
|
|
|
3275
3280
|
pageSize?: number | undefined;
|
|
3276
3281
|
maxItems?: number | undefined;
|
|
3277
3282
|
cursor?: string | undefined;
|
|
3283
|
+
trash?: "include" | "exclude" | "only" | undefined;
|
|
3278
3284
|
} | {
|
|
3279
3285
|
tableId: string;
|
|
3280
3286
|
keyMode: "names" | "ids";
|
|
@@ -3290,6 +3296,7 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): Wit
|
|
|
3290
3296
|
pageSize?: number | undefined;
|
|
3291
3297
|
maxItems?: number | undefined;
|
|
3292
3298
|
cursor?: string | undefined;
|
|
3299
|
+
trash?: "include" | "exclude" | "only" | undefined;
|
|
3293
3300
|
}) & {
|
|
3294
3301
|
cursor?: string;
|
|
3295
3302
|
pageSize?: number;
|
|
@@ -3299,6 +3306,7 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): Wit
|
|
|
3299
3306
|
data: Record<string, unknown>;
|
|
3300
3307
|
created_at: string;
|
|
3301
3308
|
edited_at: string;
|
|
3309
|
+
deleted_at?: string | null | undefined;
|
|
3302
3310
|
}>;
|
|
3303
3311
|
} & {
|
|
3304
3312
|
context: {
|
|
@@ -3325,6 +3333,7 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): Wit
|
|
|
3325
3333
|
id: string;
|
|
3326
3334
|
created_at: string;
|
|
3327
3335
|
edited_at: string;
|
|
3336
|
+
deleted_at?: string | null | undefined;
|
|
3328
3337
|
}[];
|
|
3329
3338
|
}>;
|
|
3330
3339
|
} & {
|
|
@@ -3370,6 +3379,7 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): Wit
|
|
|
3370
3379
|
id: string;
|
|
3371
3380
|
created_at: string;
|
|
3372
3381
|
edited_at: string;
|
|
3382
|
+
deleted_at?: string | null | undefined;
|
|
3373
3383
|
}[];
|
|
3374
3384
|
}>;
|
|
3375
3385
|
} & {
|
|
@@ -4945,10 +4955,12 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<{
|
|
|
4945
4955
|
table: string;
|
|
4946
4956
|
fields?: (string | number)[] | undefined;
|
|
4947
4957
|
fieldKeys?: (string | number)[] | undefined;
|
|
4958
|
+
trash?: "include" | "exclude" | "only" | undefined;
|
|
4948
4959
|
} | {
|
|
4949
4960
|
tableId: string;
|
|
4950
4961
|
fields?: (string | number)[] | undefined;
|
|
4951
4962
|
fieldKeys?: (string | number)[] | undefined;
|
|
4963
|
+
trash?: "include" | "exclude" | "only" | undefined;
|
|
4952
4964
|
} | undefined) => Promise<{
|
|
4953
4965
|
data: {
|
|
4954
4966
|
id: string;
|
|
@@ -4958,6 +4970,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<{
|
|
|
4958
4970
|
edited_at?: string | undefined;
|
|
4959
4971
|
options?: Record<string, unknown> | undefined;
|
|
4960
4972
|
config?: Record<string, unknown> | undefined;
|
|
4973
|
+
deleted_at?: string | null | undefined;
|
|
4961
4974
|
}[];
|
|
4962
4975
|
}>;
|
|
4963
4976
|
} & {
|
|
@@ -4992,6 +5005,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<{
|
|
|
4992
5005
|
edited_at?: string | undefined;
|
|
4993
5006
|
options?: Record<string, unknown> | undefined;
|
|
4994
5007
|
config?: Record<string, unknown> | undefined;
|
|
5008
|
+
deleted_at?: string | null | undefined;
|
|
4995
5009
|
}[];
|
|
4996
5010
|
}>;
|
|
4997
5011
|
} & {
|
|
@@ -5031,6 +5045,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<{
|
|
|
5031
5045
|
id: string;
|
|
5032
5046
|
created_at: string;
|
|
5033
5047
|
edited_at: string;
|
|
5048
|
+
deleted_at?: string | null | undefined;
|
|
5034
5049
|
};
|
|
5035
5050
|
}>;
|
|
5036
5051
|
} & {
|
|
@@ -5055,6 +5070,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<{
|
|
|
5055
5070
|
pageSize?: number | undefined;
|
|
5056
5071
|
maxItems?: number | undefined;
|
|
5057
5072
|
cursor?: string | undefined;
|
|
5073
|
+
trash?: "include" | "exclude" | "only" | undefined;
|
|
5058
5074
|
} | {
|
|
5059
5075
|
tableId: string;
|
|
5060
5076
|
keyMode: "names" | "ids";
|
|
@@ -5070,6 +5086,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<{
|
|
|
5070
5086
|
pageSize?: number | undefined;
|
|
5071
5087
|
maxItems?: number | undefined;
|
|
5072
5088
|
cursor?: string | undefined;
|
|
5089
|
+
trash?: "include" | "exclude" | "only" | undefined;
|
|
5073
5090
|
}) & {
|
|
5074
5091
|
cursor?: string;
|
|
5075
5092
|
pageSize?: number;
|
|
@@ -5079,6 +5096,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<{
|
|
|
5079
5096
|
data: Record<string, unknown>;
|
|
5080
5097
|
created_at: string;
|
|
5081
5098
|
edited_at: string;
|
|
5099
|
+
deleted_at?: string | null | undefined;
|
|
5082
5100
|
}>;
|
|
5083
5101
|
} & {
|
|
5084
5102
|
context: {
|
|
@@ -5105,6 +5123,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<{
|
|
|
5105
5123
|
id: string;
|
|
5106
5124
|
created_at: string;
|
|
5107
5125
|
edited_at: string;
|
|
5126
|
+
deleted_at?: string | null | undefined;
|
|
5108
5127
|
}[];
|
|
5109
5128
|
}>;
|
|
5110
5129
|
} & {
|
|
@@ -5150,6 +5169,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<{
|
|
|
5150
5169
|
id: string;
|
|
5151
5170
|
created_at: string;
|
|
5152
5171
|
edited_at: string;
|
|
5172
|
+
deleted_at?: string | null | undefined;
|
|
5153
5173
|
}[];
|
|
5154
5174
|
}>;
|
|
5155
5175
|
} & {
|
|
@@ -8566,6 +8586,7 @@ declare const RecordItemSchema: z.ZodObject<{
|
|
|
8566
8586
|
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8567
8587
|
created_at: z.ZodString;
|
|
8568
8588
|
edited_at: z.ZodString;
|
|
8589
|
+
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8569
8590
|
}, z.core.$strip>;
|
|
8570
8591
|
type RecordItem = z.infer<typeof RecordItemSchema>;
|
|
8571
8592
|
|
|
@@ -8615,6 +8636,7 @@ declare const FieldItemSchema: z.ZodObject<{
|
|
|
8615
8636
|
edited_at: z.ZodOptional<z.ZodString>;
|
|
8616
8637
|
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8617
8638
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8639
|
+
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8618
8640
|
}, z.core.$strip>;
|
|
8619
8641
|
type FieldItem = z.infer<typeof FieldItemSchema>;
|
|
8620
8642
|
|
|
@@ -9134,10 +9156,12 @@ declare const listTableFieldsPlugin: (sdk: {
|
|
|
9134
9156
|
table: string;
|
|
9135
9157
|
fields?: (string | number)[] | undefined;
|
|
9136
9158
|
fieldKeys?: (string | number)[] | undefined;
|
|
9159
|
+
trash?: "include" | "exclude" | "only" | undefined;
|
|
9137
9160
|
} | {
|
|
9138
9161
|
tableId: string;
|
|
9139
9162
|
fields?: (string | number)[] | undefined;
|
|
9140
9163
|
fieldKeys?: (string | number)[] | undefined;
|
|
9164
|
+
trash?: "include" | "exclude" | "only" | undefined;
|
|
9141
9165
|
} | undefined) => Promise<{
|
|
9142
9166
|
data: {
|
|
9143
9167
|
id: string;
|
|
@@ -9147,6 +9171,7 @@ declare const listTableFieldsPlugin: (sdk: {
|
|
|
9147
9171
|
edited_at?: string | undefined;
|
|
9148
9172
|
options?: Record<string, unknown> | undefined;
|
|
9149
9173
|
config?: Record<string, unknown> | undefined;
|
|
9174
|
+
deleted_at?: string | null | undefined;
|
|
9150
9175
|
}[];
|
|
9151
9176
|
}>;
|
|
9152
9177
|
} & {
|
|
@@ -9206,6 +9231,7 @@ declare const createTableFieldsPlugin: (sdk: {
|
|
|
9206
9231
|
edited_at?: string | undefined;
|
|
9207
9232
|
options?: Record<string, unknown> | undefined;
|
|
9208
9233
|
config?: Record<string, unknown> | undefined;
|
|
9234
|
+
deleted_at?: string | null | undefined;
|
|
9209
9235
|
}[];
|
|
9210
9236
|
}>;
|
|
9211
9237
|
} & {
|
|
@@ -9295,6 +9321,7 @@ declare const getTableRecordPlugin: (sdk: {
|
|
|
9295
9321
|
id: string;
|
|
9296
9322
|
created_at: string;
|
|
9297
9323
|
edited_at: string;
|
|
9324
|
+
deleted_at?: string | null | undefined;
|
|
9298
9325
|
};
|
|
9299
9326
|
}>;
|
|
9300
9327
|
} & {
|
|
@@ -9344,6 +9371,7 @@ declare const listTableRecordsPlugin: (sdk: {
|
|
|
9344
9371
|
pageSize?: number | undefined;
|
|
9345
9372
|
maxItems?: number | undefined;
|
|
9346
9373
|
cursor?: string | undefined;
|
|
9374
|
+
trash?: "include" | "exclude" | "only" | undefined;
|
|
9347
9375
|
} | {
|
|
9348
9376
|
tableId: string;
|
|
9349
9377
|
keyMode: "names" | "ids";
|
|
@@ -9359,6 +9387,7 @@ declare const listTableRecordsPlugin: (sdk: {
|
|
|
9359
9387
|
pageSize?: number | undefined;
|
|
9360
9388
|
maxItems?: number | undefined;
|
|
9361
9389
|
cursor?: string | undefined;
|
|
9390
|
+
trash?: "include" | "exclude" | "only" | undefined;
|
|
9362
9391
|
}) & {
|
|
9363
9392
|
cursor?: string;
|
|
9364
9393
|
pageSize?: number;
|
|
@@ -9368,6 +9397,7 @@ declare const listTableRecordsPlugin: (sdk: {
|
|
|
9368
9397
|
data: Record<string, unknown>;
|
|
9369
9398
|
created_at: string;
|
|
9370
9399
|
edited_at: string;
|
|
9400
|
+
deleted_at?: string | null | undefined;
|
|
9371
9401
|
}>;
|
|
9372
9402
|
} & {
|
|
9373
9403
|
context: {
|
|
@@ -9419,6 +9449,7 @@ declare const createTableRecordsPlugin: (sdk: {
|
|
|
9419
9449
|
id: string;
|
|
9420
9450
|
created_at: string;
|
|
9421
9451
|
edited_at: string;
|
|
9452
|
+
deleted_at?: string | null | undefined;
|
|
9422
9453
|
}[];
|
|
9423
9454
|
}>;
|
|
9424
9455
|
} & {
|
|
@@ -9514,6 +9545,7 @@ declare const updateTableRecordsPlugin: (sdk: {
|
|
|
9514
9545
|
id: string;
|
|
9515
9546
|
created_at: string;
|
|
9516
9547
|
edited_at: string;
|
|
9548
|
+
deleted_at?: string | null | undefined;
|
|
9517
9549
|
}[];
|
|
9518
9550
|
}>;
|
|
9519
9551
|
} & {
|
|
@@ -3165,10 +3165,12 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): Wit
|
|
|
3165
3165
|
table: string;
|
|
3166
3166
|
fields?: (string | number)[] | undefined;
|
|
3167
3167
|
fieldKeys?: (string | number)[] | undefined;
|
|
3168
|
+
trash?: "include" | "exclude" | "only" | undefined;
|
|
3168
3169
|
} | {
|
|
3169
3170
|
tableId: string;
|
|
3170
3171
|
fields?: (string | number)[] | undefined;
|
|
3171
3172
|
fieldKeys?: (string | number)[] | undefined;
|
|
3173
|
+
trash?: "include" | "exclude" | "only" | undefined;
|
|
3172
3174
|
} | undefined) => Promise<{
|
|
3173
3175
|
data: {
|
|
3174
3176
|
id: string;
|
|
@@ -3178,6 +3180,7 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): Wit
|
|
|
3178
3180
|
edited_at?: string | undefined;
|
|
3179
3181
|
options?: Record<string, unknown> | undefined;
|
|
3180
3182
|
config?: Record<string, unknown> | undefined;
|
|
3183
|
+
deleted_at?: string | null | undefined;
|
|
3181
3184
|
}[];
|
|
3182
3185
|
}>;
|
|
3183
3186
|
} & {
|
|
@@ -3212,6 +3215,7 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): Wit
|
|
|
3212
3215
|
edited_at?: string | undefined;
|
|
3213
3216
|
options?: Record<string, unknown> | undefined;
|
|
3214
3217
|
config?: Record<string, unknown> | undefined;
|
|
3218
|
+
deleted_at?: string | null | undefined;
|
|
3215
3219
|
}[];
|
|
3216
3220
|
}>;
|
|
3217
3221
|
} & {
|
|
@@ -3251,6 +3255,7 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): Wit
|
|
|
3251
3255
|
id: string;
|
|
3252
3256
|
created_at: string;
|
|
3253
3257
|
edited_at: string;
|
|
3258
|
+
deleted_at?: string | null | undefined;
|
|
3254
3259
|
};
|
|
3255
3260
|
}>;
|
|
3256
3261
|
} & {
|
|
@@ -3275,6 +3280,7 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): Wit
|
|
|
3275
3280
|
pageSize?: number | undefined;
|
|
3276
3281
|
maxItems?: number | undefined;
|
|
3277
3282
|
cursor?: string | undefined;
|
|
3283
|
+
trash?: "include" | "exclude" | "only" | undefined;
|
|
3278
3284
|
} | {
|
|
3279
3285
|
tableId: string;
|
|
3280
3286
|
keyMode: "names" | "ids";
|
|
@@ -3290,6 +3296,7 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): Wit
|
|
|
3290
3296
|
pageSize?: number | undefined;
|
|
3291
3297
|
maxItems?: number | undefined;
|
|
3292
3298
|
cursor?: string | undefined;
|
|
3299
|
+
trash?: "include" | "exclude" | "only" | undefined;
|
|
3293
3300
|
}) & {
|
|
3294
3301
|
cursor?: string;
|
|
3295
3302
|
pageSize?: number;
|
|
@@ -3299,6 +3306,7 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): Wit
|
|
|
3299
3306
|
data: Record<string, unknown>;
|
|
3300
3307
|
created_at: string;
|
|
3301
3308
|
edited_at: string;
|
|
3309
|
+
deleted_at?: string | null | undefined;
|
|
3302
3310
|
}>;
|
|
3303
3311
|
} & {
|
|
3304
3312
|
context: {
|
|
@@ -3325,6 +3333,7 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): Wit
|
|
|
3325
3333
|
id: string;
|
|
3326
3334
|
created_at: string;
|
|
3327
3335
|
edited_at: string;
|
|
3336
|
+
deleted_at?: string | null | undefined;
|
|
3328
3337
|
}[];
|
|
3329
3338
|
}>;
|
|
3330
3339
|
} & {
|
|
@@ -3370,6 +3379,7 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): Wit
|
|
|
3370
3379
|
id: string;
|
|
3371
3380
|
created_at: string;
|
|
3372
3381
|
edited_at: string;
|
|
3382
|
+
deleted_at?: string | null | undefined;
|
|
3373
3383
|
}[];
|
|
3374
3384
|
}>;
|
|
3375
3385
|
} & {
|
|
@@ -4945,10 +4955,12 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<{
|
|
|
4945
4955
|
table: string;
|
|
4946
4956
|
fields?: (string | number)[] | undefined;
|
|
4947
4957
|
fieldKeys?: (string | number)[] | undefined;
|
|
4958
|
+
trash?: "include" | "exclude" | "only" | undefined;
|
|
4948
4959
|
} | {
|
|
4949
4960
|
tableId: string;
|
|
4950
4961
|
fields?: (string | number)[] | undefined;
|
|
4951
4962
|
fieldKeys?: (string | number)[] | undefined;
|
|
4963
|
+
trash?: "include" | "exclude" | "only" | undefined;
|
|
4952
4964
|
} | undefined) => Promise<{
|
|
4953
4965
|
data: {
|
|
4954
4966
|
id: string;
|
|
@@ -4958,6 +4970,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<{
|
|
|
4958
4970
|
edited_at?: string | undefined;
|
|
4959
4971
|
options?: Record<string, unknown> | undefined;
|
|
4960
4972
|
config?: Record<string, unknown> | undefined;
|
|
4973
|
+
deleted_at?: string | null | undefined;
|
|
4961
4974
|
}[];
|
|
4962
4975
|
}>;
|
|
4963
4976
|
} & {
|
|
@@ -4992,6 +5005,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<{
|
|
|
4992
5005
|
edited_at?: string | undefined;
|
|
4993
5006
|
options?: Record<string, unknown> | undefined;
|
|
4994
5007
|
config?: Record<string, unknown> | undefined;
|
|
5008
|
+
deleted_at?: string | null | undefined;
|
|
4995
5009
|
}[];
|
|
4996
5010
|
}>;
|
|
4997
5011
|
} & {
|
|
@@ -5031,6 +5045,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<{
|
|
|
5031
5045
|
id: string;
|
|
5032
5046
|
created_at: string;
|
|
5033
5047
|
edited_at: string;
|
|
5048
|
+
deleted_at?: string | null | undefined;
|
|
5034
5049
|
};
|
|
5035
5050
|
}>;
|
|
5036
5051
|
} & {
|
|
@@ -5055,6 +5070,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<{
|
|
|
5055
5070
|
pageSize?: number | undefined;
|
|
5056
5071
|
maxItems?: number | undefined;
|
|
5057
5072
|
cursor?: string | undefined;
|
|
5073
|
+
trash?: "include" | "exclude" | "only" | undefined;
|
|
5058
5074
|
} | {
|
|
5059
5075
|
tableId: string;
|
|
5060
5076
|
keyMode: "names" | "ids";
|
|
@@ -5070,6 +5086,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<{
|
|
|
5070
5086
|
pageSize?: number | undefined;
|
|
5071
5087
|
maxItems?: number | undefined;
|
|
5072
5088
|
cursor?: string | undefined;
|
|
5089
|
+
trash?: "include" | "exclude" | "only" | undefined;
|
|
5073
5090
|
}) & {
|
|
5074
5091
|
cursor?: string;
|
|
5075
5092
|
pageSize?: number;
|
|
@@ -5079,6 +5096,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<{
|
|
|
5079
5096
|
data: Record<string, unknown>;
|
|
5080
5097
|
created_at: string;
|
|
5081
5098
|
edited_at: string;
|
|
5099
|
+
deleted_at?: string | null | undefined;
|
|
5082
5100
|
}>;
|
|
5083
5101
|
} & {
|
|
5084
5102
|
context: {
|
|
@@ -5105,6 +5123,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<{
|
|
|
5105
5123
|
id: string;
|
|
5106
5124
|
created_at: string;
|
|
5107
5125
|
edited_at: string;
|
|
5126
|
+
deleted_at?: string | null | undefined;
|
|
5108
5127
|
}[];
|
|
5109
5128
|
}>;
|
|
5110
5129
|
} & {
|
|
@@ -5150,6 +5169,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<{
|
|
|
5150
5169
|
id: string;
|
|
5151
5170
|
created_at: string;
|
|
5152
5171
|
edited_at: string;
|
|
5172
|
+
deleted_at?: string | null | undefined;
|
|
5153
5173
|
}[];
|
|
5154
5174
|
}>;
|
|
5155
5175
|
} & {
|
|
@@ -8566,6 +8586,7 @@ declare const RecordItemSchema: z.ZodObject<{
|
|
|
8566
8586
|
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8567
8587
|
created_at: z.ZodString;
|
|
8568
8588
|
edited_at: z.ZodString;
|
|
8589
|
+
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8569
8590
|
}, z.core.$strip>;
|
|
8570
8591
|
type RecordItem = z.infer<typeof RecordItemSchema>;
|
|
8571
8592
|
|
|
@@ -8615,6 +8636,7 @@ declare const FieldItemSchema: z.ZodObject<{
|
|
|
8615
8636
|
edited_at: z.ZodOptional<z.ZodString>;
|
|
8616
8637
|
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8617
8638
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8639
|
+
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8618
8640
|
}, z.core.$strip>;
|
|
8619
8641
|
type FieldItem = z.infer<typeof FieldItemSchema>;
|
|
8620
8642
|
|
|
@@ -9134,10 +9156,12 @@ declare const listTableFieldsPlugin: (sdk: {
|
|
|
9134
9156
|
table: string;
|
|
9135
9157
|
fields?: (string | number)[] | undefined;
|
|
9136
9158
|
fieldKeys?: (string | number)[] | undefined;
|
|
9159
|
+
trash?: "include" | "exclude" | "only" | undefined;
|
|
9137
9160
|
} | {
|
|
9138
9161
|
tableId: string;
|
|
9139
9162
|
fields?: (string | number)[] | undefined;
|
|
9140
9163
|
fieldKeys?: (string | number)[] | undefined;
|
|
9164
|
+
trash?: "include" | "exclude" | "only" | undefined;
|
|
9141
9165
|
} | undefined) => Promise<{
|
|
9142
9166
|
data: {
|
|
9143
9167
|
id: string;
|
|
@@ -9147,6 +9171,7 @@ declare const listTableFieldsPlugin: (sdk: {
|
|
|
9147
9171
|
edited_at?: string | undefined;
|
|
9148
9172
|
options?: Record<string, unknown> | undefined;
|
|
9149
9173
|
config?: Record<string, unknown> | undefined;
|
|
9174
|
+
deleted_at?: string | null | undefined;
|
|
9150
9175
|
}[];
|
|
9151
9176
|
}>;
|
|
9152
9177
|
} & {
|
|
@@ -9206,6 +9231,7 @@ declare const createTableFieldsPlugin: (sdk: {
|
|
|
9206
9231
|
edited_at?: string | undefined;
|
|
9207
9232
|
options?: Record<string, unknown> | undefined;
|
|
9208
9233
|
config?: Record<string, unknown> | undefined;
|
|
9234
|
+
deleted_at?: string | null | undefined;
|
|
9209
9235
|
}[];
|
|
9210
9236
|
}>;
|
|
9211
9237
|
} & {
|
|
@@ -9295,6 +9321,7 @@ declare const getTableRecordPlugin: (sdk: {
|
|
|
9295
9321
|
id: string;
|
|
9296
9322
|
created_at: string;
|
|
9297
9323
|
edited_at: string;
|
|
9324
|
+
deleted_at?: string | null | undefined;
|
|
9298
9325
|
};
|
|
9299
9326
|
}>;
|
|
9300
9327
|
} & {
|
|
@@ -9344,6 +9371,7 @@ declare const listTableRecordsPlugin: (sdk: {
|
|
|
9344
9371
|
pageSize?: number | undefined;
|
|
9345
9372
|
maxItems?: number | undefined;
|
|
9346
9373
|
cursor?: string | undefined;
|
|
9374
|
+
trash?: "include" | "exclude" | "only" | undefined;
|
|
9347
9375
|
} | {
|
|
9348
9376
|
tableId: string;
|
|
9349
9377
|
keyMode: "names" | "ids";
|
|
@@ -9359,6 +9387,7 @@ declare const listTableRecordsPlugin: (sdk: {
|
|
|
9359
9387
|
pageSize?: number | undefined;
|
|
9360
9388
|
maxItems?: number | undefined;
|
|
9361
9389
|
cursor?: string | undefined;
|
|
9390
|
+
trash?: "include" | "exclude" | "only" | undefined;
|
|
9362
9391
|
}) & {
|
|
9363
9392
|
cursor?: string;
|
|
9364
9393
|
pageSize?: number;
|
|
@@ -9368,6 +9397,7 @@ declare const listTableRecordsPlugin: (sdk: {
|
|
|
9368
9397
|
data: Record<string, unknown>;
|
|
9369
9398
|
created_at: string;
|
|
9370
9399
|
edited_at: string;
|
|
9400
|
+
deleted_at?: string | null | undefined;
|
|
9371
9401
|
}>;
|
|
9372
9402
|
} & {
|
|
9373
9403
|
context: {
|
|
@@ -9419,6 +9449,7 @@ declare const createTableRecordsPlugin: (sdk: {
|
|
|
9419
9449
|
id: string;
|
|
9420
9450
|
created_at: string;
|
|
9421
9451
|
edited_at: string;
|
|
9452
|
+
deleted_at?: string | null | undefined;
|
|
9422
9453
|
}[];
|
|
9423
9454
|
}>;
|
|
9424
9455
|
} & {
|
|
@@ -9514,6 +9545,7 @@ declare const updateTableRecordsPlugin: (sdk: {
|
|
|
9514
9545
|
id: string;
|
|
9515
9546
|
created_at: string;
|
|
9516
9547
|
edited_at: string;
|
|
9548
|
+
deleted_at?: string | null | undefined;
|
|
9517
9549
|
}[];
|
|
9518
9550
|
}>;
|
|
9519
9551
|
} & {
|
package/dist/index.cjs
CHANGED
|
@@ -2647,7 +2647,8 @@ function transformFieldItem(apiItem) {
|
|
|
2647
2647
|
created_at: apiItem.created_at,
|
|
2648
2648
|
edited_at: apiItem.edited_at,
|
|
2649
2649
|
options: apiItem.options,
|
|
2650
|
-
config: apiItem.config
|
|
2650
|
+
config: apiItem.config,
|
|
2651
|
+
deleted_at: apiItem.deleted_at
|
|
2651
2652
|
};
|
|
2652
2653
|
}
|
|
2653
2654
|
function transformRecordItem(apiItem) {
|
|
@@ -2655,7 +2656,8 @@ function transformRecordItem(apiItem) {
|
|
|
2655
2656
|
id: apiItem.id,
|
|
2656
2657
|
data: apiItem.data,
|
|
2657
2658
|
created_at: apiItem.created_at,
|
|
2658
|
-
edited_at: apiItem.edited_at
|
|
2659
|
+
edited_at: apiItem.edited_at,
|
|
2660
|
+
deleted_at: apiItem.deleted_at
|
|
2659
2661
|
};
|
|
2660
2662
|
}
|
|
2661
2663
|
function formatRecordError(fieldId, err) {
|
|
@@ -2699,6 +2701,9 @@ function throwOnResponseErrors(response) {
|
|
|
2699
2701
|
var KeyModeSchema = zod.z.enum(["names", "ids"]).optional().default("names").describe(
|
|
2700
2702
|
'How to interpret field keys in record data. "names" (default) uses human-readable field names, "ids" uses raw field IDs (f1, f2).'
|
|
2701
2703
|
);
|
|
2704
|
+
var TrashSchema = zod.z.enum(["exclude", "include", "only"]).optional().describe(
|
|
2705
|
+
'Control soft-deleted item visibility. "exclude" (default) returns active items only, "include" returns both active and soft-deleted, "only" returns soft-deleted items only.'
|
|
2706
|
+
);
|
|
2702
2707
|
var FIELD_ID_PATTERN = /^f\d+$/;
|
|
2703
2708
|
function isFieldId(key) {
|
|
2704
2709
|
return FIELD_ID_PATTERN.test(key);
|
|
@@ -2949,7 +2954,8 @@ var FieldApiItemSchema = zod.z.object({
|
|
|
2949
2954
|
config: zod.z.record(zod.z.string(), zod.z.unknown()).optional(),
|
|
2950
2955
|
is_order_field: zod.z.boolean().optional(),
|
|
2951
2956
|
is_filter_field: zod.z.boolean().optional(),
|
|
2952
|
-
is_selected_field: zod.z.boolean().optional()
|
|
2957
|
+
is_selected_field: zod.z.boolean().optional(),
|
|
2958
|
+
deleted_at: zod.z.string().nullable().optional()
|
|
2953
2959
|
});
|
|
2954
2960
|
var ListTableFieldsApiResponseSchema = zod.z.object({
|
|
2955
2961
|
data: zod.z.array(FieldApiItemSchema)
|
|
@@ -2961,7 +2967,8 @@ var FieldItemSchemaBase = zod.z.object({
|
|
|
2961
2967
|
created_at: zod.z.string().optional(),
|
|
2962
2968
|
edited_at: zod.z.string().optional(),
|
|
2963
2969
|
options: zod.z.record(zod.z.string(), zod.z.unknown()).optional(),
|
|
2964
|
-
config: zod.z.record(zod.z.string(), zod.z.unknown()).optional()
|
|
2970
|
+
config: zod.z.record(zod.z.string(), zod.z.unknown()).optional(),
|
|
2971
|
+
deleted_at: zod.z.string().nullable().optional()
|
|
2965
2972
|
});
|
|
2966
2973
|
var FieldItemSchema = withFormatter(FieldItemSchemaBase, {
|
|
2967
2974
|
format: (item) => ({
|
|
@@ -2975,7 +2982,8 @@ var ListTableFieldsOptionsBaseSchema = zod.z.object({
|
|
|
2975
2982
|
fields: FieldsPropertySchema.optional(),
|
|
2976
2983
|
fieldKeys: zod.z.array(zod.z.union([zod.z.string(), zod.z.number()])).optional().describe(
|
|
2977
2984
|
'Filter by specific fields. Accepts field names (e.g., "Email") or IDs (e.g., "f6", "6", or 6).'
|
|
2978
|
-
).meta({ deprecated: true })
|
|
2985
|
+
).meta({ deprecated: true }),
|
|
2986
|
+
trash: TrashSchema
|
|
2979
2987
|
});
|
|
2980
2988
|
var ListTableFieldsOptionsSchema = zod.z.object({
|
|
2981
2989
|
table: TablePropertySchema
|
|
@@ -6322,7 +6330,7 @@ async function invalidateCredentialsToken(options) {
|
|
|
6322
6330
|
}
|
|
6323
6331
|
|
|
6324
6332
|
// src/sdk-version.ts
|
|
6325
|
-
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.
|
|
6333
|
+
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.57.0" : void 0) || "unknown";
|
|
6326
6334
|
|
|
6327
6335
|
// src/utils/open-url.ts
|
|
6328
6336
|
var nodePrefix = "node:";
|
|
@@ -7652,6 +7660,9 @@ var listTableFieldsPlugin = definePlugin(
|
|
|
7652
7660
|
});
|
|
7653
7661
|
searchParams.field_ids = numericIds.join(",");
|
|
7654
7662
|
}
|
|
7663
|
+
if (options.trash) {
|
|
7664
|
+
searchParams.trash = options.trash;
|
|
7665
|
+
}
|
|
7655
7666
|
const rawResponse = await api.get(
|
|
7656
7667
|
`/tables/api/v1/tables/${tableId}/fields`,
|
|
7657
7668
|
{
|
|
@@ -7782,13 +7793,15 @@ var RecordApiItemSchema = zod.z.object({
|
|
|
7782
7793
|
schema_revision_id: zod.z.number(),
|
|
7783
7794
|
errors: zod.z.record(zod.z.string(), zod.z.unknown()).nullable().optional(),
|
|
7784
7795
|
orig_data: zod.z.record(zod.z.string(), zod.z.unknown()).nullable().optional(),
|
|
7785
|
-
is_source_record: zod.z.boolean().nullable().optional()
|
|
7796
|
+
is_source_record: zod.z.boolean().nullable().optional(),
|
|
7797
|
+
deleted_at: zod.z.string().nullable().optional()
|
|
7786
7798
|
});
|
|
7787
7799
|
var RecordItemSchemaBase = zod.z.object({
|
|
7788
7800
|
id: zod.z.string(),
|
|
7789
7801
|
data: zod.z.record(zod.z.string(), zod.z.unknown()),
|
|
7790
7802
|
created_at: zod.z.string(),
|
|
7791
|
-
edited_at: zod.z.string()
|
|
7803
|
+
edited_at: zod.z.string(),
|
|
7804
|
+
deleted_at: zod.z.string().nullable().optional()
|
|
7792
7805
|
});
|
|
7793
7806
|
var RecordItemSchema = withFormatter(RecordItemSchemaBase, {
|
|
7794
7807
|
format: (item) => ({
|
|
@@ -7918,7 +7931,8 @@ var ListTableRecordsBase = zod.z.object({
|
|
|
7918
7931
|
pageSize: zod.z.number().min(1).max(1e3).optional().describe("Number of records per page (max 1000)"),
|
|
7919
7932
|
maxItems: zod.z.number().min(1).optional().describe("Maximum total items to return across all pages"),
|
|
7920
7933
|
cursor: zod.z.string().optional().describe("Cursor to start from"),
|
|
7921
|
-
keyMode: KeyModeSchema
|
|
7934
|
+
keyMode: KeyModeSchema,
|
|
7935
|
+
trash: TrashSchema
|
|
7922
7936
|
});
|
|
7923
7937
|
var ListTableRecordsOptionsSchema = zod.z.object({
|
|
7924
7938
|
table: TablePropertySchema
|
|
@@ -7983,11 +7997,17 @@ var listTableRecordsPlugin = definePlugin(
|
|
|
7983
7997
|
start_cursor: options.cursor
|
|
7984
7998
|
};
|
|
7985
7999
|
}
|
|
8000
|
+
const searchParams = {
|
|
8001
|
+
allow_nested_queries: "true"
|
|
8002
|
+
};
|
|
8003
|
+
if (options.trash) {
|
|
8004
|
+
searchParams.trash = options.trash;
|
|
8005
|
+
}
|
|
7986
8006
|
const rawResponse = await api.post(
|
|
7987
8007
|
`/tables/api/v1/tables/${tableId}/records/query`,
|
|
7988
8008
|
body,
|
|
7989
8009
|
{
|
|
7990
|
-
searchParams
|
|
8010
|
+
searchParams,
|
|
7991
8011
|
authRequired: true,
|
|
7992
8012
|
resource: { type: "table", id: tableId }
|
|
7993
8013
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { u as Action, d as ActionEntry, ci as ActionExecutionOptions, y as ActionExecutionResult, z as ActionField, H as ActionFieldChoice, aW as ActionItem, bx as ActionKeyProperty, b5 as ActionKeyPropertySchema, by as ActionProperty, b6 as ActionPropertySchema, as as ActionResolverItem, bJ as ActionTimeoutMsProperty, bh as ActionTimeoutMsPropertySchema, at as ActionTypeItem, bw as ActionTypeProperty, b4 as ActionTypePropertySchema, b as AddActionEntryOptions, c as AddActionEntryResult, A as ApiClient, bW as ApiError, dE as ApiEvent, d0 as ApiPluginOptions, d2 as ApiPluginProvides, v as App, cj as AppFactoryInput, aU as AppItem, bu as AppKeyProperty, b2 as AppKeyPropertySchema, bv as AppProperty, b3 as AppPropertySchema, aD as ApplicationLifecycleEventData, cb as ApprovalStatus, ch as AppsPluginProvides, bO as AppsProperty, bm as AppsPropertySchema, a0 as ArrayResolver, dD as AuthEvent, bC as AuthenticationIdProperty, b9 as AuthenticationIdPropertySchema, az as BaseEvent, al as BaseSdkOptionsSchema, aa as BatchOptions, cP as CONTEXT_CACHE_MAX_SIZE, cO as CONTEXT_CACHE_TTL_MS, x as Choice, dK as ClientCredentialsObject, dV as ClientCredentialsObjectSchema, K as Connection, e1 as ConnectionEntry, e0 as ConnectionEntrySchema, bA as ConnectionIdProperty, b8 as ConnectionIdPropertySchema, aV as ConnectionItem, bB as ConnectionProperty, ba as ConnectionPropertySchema, e3 as ConnectionsMap, e2 as ConnectionsMapSchema, e5 as ConnectionsPluginProvides, bQ as ConnectionsProperty, bo as ConnectionsPropertySchema, O as ConnectionsResponse, cB as CreateClientCredentialsPluginProvides, ev as CreateTableFieldsPluginProvides, ep as CreateTablePluginProvides, eD as CreateTableRecordsPluginProvides, dH as Credentials, d_ as CredentialsFunction, dZ as CredentialsFunctionSchema, dJ as CredentialsObject, dX as CredentialsObjectSchema, d$ as CredentialsSchema, ea as DEFAULT_ACTION_TIMEOUT_MS, ei as DEFAULT_APPROVAL_TIMEOUT_MS, cY as DEFAULT_CONFIG_PATH, ej as DEFAULT_MAX_APPROVAL_RETRIES, e9 as DEFAULT_PAGE_SIZE, bH as DebugProperty, bf as DebugPropertySchema, cD as DeleteClientCredentialsPluginProvides, ex as DeleteTableFieldsPluginProvides, er as DeleteTablePluginProvides, eF as DeleteTableRecordsPluginProvides, o as DrainTriggerInboxCallback, p as DrainTriggerInboxErrorObserver, D as DrainTriggerInboxOptions, a3 as DynamicListResolver, i as DynamicResolver, a4 as DynamicSearchResolver, aE as EnhancedErrorEventData, bX as ErrorOptions, dG as EventCallback, aC as EventContext, E as EventEmissionContext, aB as EventEmissionProvides, cl as FetchPluginProvides, w as Field, bN as FieldsProperty, bl as FieldsPropertySchema, a5 as FieldsResolver, F as FieldsetItem, s as FindFirstAuthenticationPluginProvides, cL as FindFirstConnectionPluginProvides, t as FindUniqueAuthenticationPluginProvides, cN as FindUniqueConnectionPluginProvides, Y as FormatMetadata, X as FormattedItem, ak as FunctionDeprecation, a$ as FunctionOptions, aj as FunctionRegistryEntry, cv as GetActionInputFieldsSchemaPluginProvides, cH as GetActionPluginProvides, cF as GetAppPluginProvides, G as GetAuthenticationPluginProvides, cJ as GetConnectionPluginProvides, c$ as GetProfilePluginProvides, en as GetTablePluginProvides, ez as GetTableRecordPluginProvides, aY as InfoFieldItem, aX as InputFieldItem, bz as InputFieldProperty, b7 as InputFieldPropertySchema, bD as InputsProperty, bb as InputsPropertySchema, bV as LeaseLimitProperty, bt as LeaseLimitPropertySchema, bT as LeaseProperty, br as LeasePropertySchema, bU as LeaseSecondsProperty, bs as LeaseSecondsPropertySchema, L as LeasedTriggerMessageItem, bE as LimitProperty, bc as LimitPropertySchema, ct as ListActionInputFieldChoicesPluginProvides, cr as ListActionInputFieldsPluginProvides, cp as ListActionsPluginProvides, cn as ListAppsPluginProvides, q as ListAuthenticationsPluginProvides, cz as ListClientCredentialsPluginProvides, cx as ListConnectionsPluginProvides, et as ListTableFieldsPluginProvides, eB as ListTableRecordsPluginProvides, el as ListTablesPluginProvides, dF as LoadingEvent, ed as MAX_CONCURRENCY_LIMIT, e8 as MAX_PAGE_LIMIT, M as Manifest, cZ as ManifestEntry, cU as ManifestPluginOptions, cX as ManifestPluginProvides, aA as MethodCalledEvent, aF as MethodCalledEventData, N as Need, I as NeedsRequest, J as NeedsResponse, bF as OffsetProperty, bd as OffsetPropertySchema, _ as OutputFormatter, bG as OutputProperty, be as OutputPropertySchema, b1 as PaginatedSdkFunction, e as PaginatedSdkResult, bI as ParamsProperty, bg as ParamsPropertySchema, dL as PkceCredentialsObject, dW as PkceCredentialsObjectSchema, am as Plugin, P as PluginMeta, an as PluginProvides, aw as PollOptions, g as PositionalMetadata, c9 as RateLimitInfo, bL as RecordProperty, bj as RecordPropertySchema, bM as RecordsProperty, bk as RecordsPropertySchema, af as RelayFetchSchema, ae as RelayRequestSchema, av as RequestOptions, cT as RequestPluginProvides, dq as ResolveAuthTokenOptions, dQ as ResolveCredentialsOptions, R as ResolvedAppLocator, dI as ResolvedCredentials, dY as ResolvedCredentialsSchema, $ as Resolver, a1 as ResolverMetadata, aZ as RootFieldItem, cR as RunActionPluginProvides, dC as SdkEvent, b0 as SdkPage, a2 as StaticResolver, bK as TableProperty, bi as TablePropertySchema, bP as TablesProperty, bn as TablesPropertySchema, bS as TriggerInboxNameProperty, bq as TriggerInboxNamePropertySchema, bR as TriggerInboxProperty, bp as TriggerInboxPropertySchema, T as TriggerMessageStatus, U as UpdateManifestEntryOptions, a as UpdateManifestEntryResult, eH as UpdateTableRecordsPluginProvides, Q as UserProfile, a_ as UserProfileItem, j as WatchTriggerInboxOptions, W as WithAddPlugin, e6 as ZAPIER_BASE_URL, ef as ZAPIER_MAX_CONCURRENT_REQUESTS, eb as ZAPIER_MAX_NETWORK_RETRIES, ec as ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, m as ZapierAbortDrainSignal, c7 as ZapierActionError, bZ as ZapierApiError, b_ as ZapierAppNotFoundError, cc as ZapierApprovalError, c1 as ZapierAuthenticationError, c5 as ZapierBundleError, dy as ZapierCache, dz as ZapierCacheEntry, dA as ZapierCacheSetOptions, c4 as ZapierConfigurationError, c8 as ZapierConflictError, bY as ZapierError, h as ZapierFetchInitOptions, c2 as ZapierNotFoundError, ca as ZapierRateLimitError, cd as ZapierRelayError, n as ZapierReleaseTriggerMessageSignal, c3 as ZapierResourceNotFoundError, eJ as ZapierSdk, l as ZapierSdkApps, Z as ZapierSdkOptions, cf as ZapierSignal, c6 as ZapierTimeoutError, c0 as ZapierUnknownError, b$ as ZapierValidationError, d5 as actionKeyResolver, d4 as actionTypeResolver, d1 as apiPlugin, d3 as appKeyResolver, cg as appsPlugin, d7 as authenticationIdGenericResolver, d6 as authenticationIdResolver, a9 as batch, aP as buildApplicationLifecycleEvent, ab as buildCapabilityMessage, aR as buildErrorEvent, aQ as buildErrorEventWithContext, aT as buildMethodCalledEvent, dr as clearTokenCache, db as clientCredentialsNameResolver, dc as clientIdResolver, ar as composePlugins, d7 as connectionIdGenericResolver, d6 as connectionIdResolver, e4 as connectionsPlugin, aS as createBaseEvent, cA as createClientCredentialsPlugin, V as createFunction, dB as createMemoryCache, ai as createOptionsPlugin, aq as createPaginatedPluginMethod, ap as createPluginMethod, ah as createSdk, eu as createTableFieldsPlugin, eo as createTablePlugin, eC as createTableRecordsPlugin, ax as createZapierApi, eI as createZapierSdk, ag as createZapierSdkWithoutRegistry, ao as definePlugin, cC as deleteClientCredentialsPlugin, ew as deleteTableFieldsPlugin, eq as deleteTablePlugin, eE as deleteTableRecordsPlugin, ck as fetchPlugin, cK as findFirstConnectionPlugin, f as findManifestEntry, cM as findUniqueConnectionPlugin, ce as formatErrorMessage, aG as generateEventId, cu as getActionInputFieldsSchemaPlugin, cG as getActionPlugin, cE as getAppPlugin, dT as getBaseUrlFromCredentials, aM as getCiPlatform, dU as getClientIdFromCredentials, cI as getConnectionPlugin, aO as getCpuTime, aH as getCurrentTimestamp, aN as getMemoryUsage, ay as getOrCreateApiClient, aJ as getOsInfo, aK as getPlatformVersions, cV as getPreferredManifestEntryKey, c_ as getProfilePlugin, aI as getReleaseId, em as getTablePlugin, ey as getTableRecordPlugin, dv as getTokenFromCliLogin, eg as getZapierApprovalMode, eh as getZapierDefaultApprovalMode, e7 as getZapierSdkService, dt as injectCliLogin, da as inputFieldKeyResolver, d9 as inputsAllOptionalResolver, d8 as inputsResolver, ds as invalidateCachedToken, dx as invalidateCredentialsToken, aL as isCi, du as isCliLoginAvailable, dM as isClientCredentials, dP as isCredentialsFunction, dO as isCredentialsObject, dN as isPkceCredentials, S as isPositional, cs as listActionInputFieldChoicesPlugin, cq as listActionInputFieldsPlugin, co as listActionsPlugin, cm as listAppsPlugin, cy as listClientCredentialsPlugin, cw as listConnectionsPlugin, es as listTableFieldsPlugin, eA as listTableRecordsPlugin, ek as listTablesPlugin, ac as logDeprecation, cW as manifestPlugin, ee as parseConcurrencyEnvVar, r as readManifestFromFile, au as registryPlugin, cS as requestPlugin, ad as resetDeprecationWarnings, dw as resolveAuthToken, dS as resolveCredentials, dR as resolveCredentialsFromEnv, cQ as runActionPlugin, a6 as runWithTelemetryContext, di as tableFieldIdsResolver, dk as tableFieldsResolver, dn as tableFiltersResolver, dd as tableIdResolver, dj as tableNameResolver, dg as tableRecordIdResolver, dh as tableRecordIdsResolver, dl as tableRecordsResolver, dp as tableSortResolver, dm as tableUpdateRecordsResolver, a7 as toSnakeCase, a8 as toTitleCase, de as triggerInboxResolver, df as triggerMessagesResolver, eG as updateTableRecordsPlugin } from './index-
|
|
1
|
+
export { u as Action, d as ActionEntry, ci as ActionExecutionOptions, y as ActionExecutionResult, z as ActionField, H as ActionFieldChoice, aW as ActionItem, bx as ActionKeyProperty, b5 as ActionKeyPropertySchema, by as ActionProperty, b6 as ActionPropertySchema, as as ActionResolverItem, bJ as ActionTimeoutMsProperty, bh as ActionTimeoutMsPropertySchema, at as ActionTypeItem, bw as ActionTypeProperty, b4 as ActionTypePropertySchema, b as AddActionEntryOptions, c as AddActionEntryResult, A as ApiClient, bW as ApiError, dE as ApiEvent, d0 as ApiPluginOptions, d2 as ApiPluginProvides, v as App, cj as AppFactoryInput, aU as AppItem, bu as AppKeyProperty, b2 as AppKeyPropertySchema, bv as AppProperty, b3 as AppPropertySchema, aD as ApplicationLifecycleEventData, cb as ApprovalStatus, ch as AppsPluginProvides, bO as AppsProperty, bm as AppsPropertySchema, a0 as ArrayResolver, dD as AuthEvent, bC as AuthenticationIdProperty, b9 as AuthenticationIdPropertySchema, az as BaseEvent, al as BaseSdkOptionsSchema, aa as BatchOptions, cP as CONTEXT_CACHE_MAX_SIZE, cO as CONTEXT_CACHE_TTL_MS, x as Choice, dK as ClientCredentialsObject, dV as ClientCredentialsObjectSchema, K as Connection, e1 as ConnectionEntry, e0 as ConnectionEntrySchema, bA as ConnectionIdProperty, b8 as ConnectionIdPropertySchema, aV as ConnectionItem, bB as ConnectionProperty, ba as ConnectionPropertySchema, e3 as ConnectionsMap, e2 as ConnectionsMapSchema, e5 as ConnectionsPluginProvides, bQ as ConnectionsProperty, bo as ConnectionsPropertySchema, O as ConnectionsResponse, cB as CreateClientCredentialsPluginProvides, ev as CreateTableFieldsPluginProvides, ep as CreateTablePluginProvides, eD as CreateTableRecordsPluginProvides, dH as Credentials, d_ as CredentialsFunction, dZ as CredentialsFunctionSchema, dJ as CredentialsObject, dX as CredentialsObjectSchema, d$ as CredentialsSchema, ea as DEFAULT_ACTION_TIMEOUT_MS, ei as DEFAULT_APPROVAL_TIMEOUT_MS, cY as DEFAULT_CONFIG_PATH, ej as DEFAULT_MAX_APPROVAL_RETRIES, e9 as DEFAULT_PAGE_SIZE, bH as DebugProperty, bf as DebugPropertySchema, cD as DeleteClientCredentialsPluginProvides, ex as DeleteTableFieldsPluginProvides, er as DeleteTablePluginProvides, eF as DeleteTableRecordsPluginProvides, o as DrainTriggerInboxCallback, p as DrainTriggerInboxErrorObserver, D as DrainTriggerInboxOptions, a3 as DynamicListResolver, i as DynamicResolver, a4 as DynamicSearchResolver, aE as EnhancedErrorEventData, bX as ErrorOptions, dG as EventCallback, aC as EventContext, E as EventEmissionContext, aB as EventEmissionProvides, cl as FetchPluginProvides, w as Field, bN as FieldsProperty, bl as FieldsPropertySchema, a5 as FieldsResolver, F as FieldsetItem, s as FindFirstAuthenticationPluginProvides, cL as FindFirstConnectionPluginProvides, t as FindUniqueAuthenticationPluginProvides, cN as FindUniqueConnectionPluginProvides, Y as FormatMetadata, X as FormattedItem, ak as FunctionDeprecation, a$ as FunctionOptions, aj as FunctionRegistryEntry, cv as GetActionInputFieldsSchemaPluginProvides, cH as GetActionPluginProvides, cF as GetAppPluginProvides, G as GetAuthenticationPluginProvides, cJ as GetConnectionPluginProvides, c$ as GetProfilePluginProvides, en as GetTablePluginProvides, ez as GetTableRecordPluginProvides, aY as InfoFieldItem, aX as InputFieldItem, bz as InputFieldProperty, b7 as InputFieldPropertySchema, bD as InputsProperty, bb as InputsPropertySchema, bV as LeaseLimitProperty, bt as LeaseLimitPropertySchema, bT as LeaseProperty, br as LeasePropertySchema, bU as LeaseSecondsProperty, bs as LeaseSecondsPropertySchema, L as LeasedTriggerMessageItem, bE as LimitProperty, bc as LimitPropertySchema, ct as ListActionInputFieldChoicesPluginProvides, cr as ListActionInputFieldsPluginProvides, cp as ListActionsPluginProvides, cn as ListAppsPluginProvides, q as ListAuthenticationsPluginProvides, cz as ListClientCredentialsPluginProvides, cx as ListConnectionsPluginProvides, et as ListTableFieldsPluginProvides, eB as ListTableRecordsPluginProvides, el as ListTablesPluginProvides, dF as LoadingEvent, ed as MAX_CONCURRENCY_LIMIT, e8 as MAX_PAGE_LIMIT, M as Manifest, cZ as ManifestEntry, cU as ManifestPluginOptions, cX as ManifestPluginProvides, aA as MethodCalledEvent, aF as MethodCalledEventData, N as Need, I as NeedsRequest, J as NeedsResponse, bF as OffsetProperty, bd as OffsetPropertySchema, _ as OutputFormatter, bG as OutputProperty, be as OutputPropertySchema, b1 as PaginatedSdkFunction, e as PaginatedSdkResult, bI as ParamsProperty, bg as ParamsPropertySchema, dL as PkceCredentialsObject, dW as PkceCredentialsObjectSchema, am as Plugin, P as PluginMeta, an as PluginProvides, aw as PollOptions, g as PositionalMetadata, c9 as RateLimitInfo, bL as RecordProperty, bj as RecordPropertySchema, bM as RecordsProperty, bk as RecordsPropertySchema, af as RelayFetchSchema, ae as RelayRequestSchema, av as RequestOptions, cT as RequestPluginProvides, dq as ResolveAuthTokenOptions, dQ as ResolveCredentialsOptions, R as ResolvedAppLocator, dI as ResolvedCredentials, dY as ResolvedCredentialsSchema, $ as Resolver, a1 as ResolverMetadata, aZ as RootFieldItem, cR as RunActionPluginProvides, dC as SdkEvent, b0 as SdkPage, a2 as StaticResolver, bK as TableProperty, bi as TablePropertySchema, bP as TablesProperty, bn as TablesPropertySchema, bS as TriggerInboxNameProperty, bq as TriggerInboxNamePropertySchema, bR as TriggerInboxProperty, bp as TriggerInboxPropertySchema, T as TriggerMessageStatus, U as UpdateManifestEntryOptions, a as UpdateManifestEntryResult, eH as UpdateTableRecordsPluginProvides, Q as UserProfile, a_ as UserProfileItem, j as WatchTriggerInboxOptions, W as WithAddPlugin, e6 as ZAPIER_BASE_URL, ef as ZAPIER_MAX_CONCURRENT_REQUESTS, eb as ZAPIER_MAX_NETWORK_RETRIES, ec as ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, m as ZapierAbortDrainSignal, c7 as ZapierActionError, bZ as ZapierApiError, b_ as ZapierAppNotFoundError, cc as ZapierApprovalError, c1 as ZapierAuthenticationError, c5 as ZapierBundleError, dy as ZapierCache, dz as ZapierCacheEntry, dA as ZapierCacheSetOptions, c4 as ZapierConfigurationError, c8 as ZapierConflictError, bY as ZapierError, h as ZapierFetchInitOptions, c2 as ZapierNotFoundError, ca as ZapierRateLimitError, cd as ZapierRelayError, n as ZapierReleaseTriggerMessageSignal, c3 as ZapierResourceNotFoundError, eJ as ZapierSdk, l as ZapierSdkApps, Z as ZapierSdkOptions, cf as ZapierSignal, c6 as ZapierTimeoutError, c0 as ZapierUnknownError, b$ as ZapierValidationError, d5 as actionKeyResolver, d4 as actionTypeResolver, d1 as apiPlugin, d3 as appKeyResolver, cg as appsPlugin, d7 as authenticationIdGenericResolver, d6 as authenticationIdResolver, a9 as batch, aP as buildApplicationLifecycleEvent, ab as buildCapabilityMessage, aR as buildErrorEvent, aQ as buildErrorEventWithContext, aT as buildMethodCalledEvent, dr as clearTokenCache, db as clientCredentialsNameResolver, dc as clientIdResolver, ar as composePlugins, d7 as connectionIdGenericResolver, d6 as connectionIdResolver, e4 as connectionsPlugin, aS as createBaseEvent, cA as createClientCredentialsPlugin, V as createFunction, dB as createMemoryCache, ai as createOptionsPlugin, aq as createPaginatedPluginMethod, ap as createPluginMethod, ah as createSdk, eu as createTableFieldsPlugin, eo as createTablePlugin, eC as createTableRecordsPlugin, ax as createZapierApi, eI as createZapierSdk, ag as createZapierSdkWithoutRegistry, ao as definePlugin, cC as deleteClientCredentialsPlugin, ew as deleteTableFieldsPlugin, eq as deleteTablePlugin, eE as deleteTableRecordsPlugin, ck as fetchPlugin, cK as findFirstConnectionPlugin, f as findManifestEntry, cM as findUniqueConnectionPlugin, ce as formatErrorMessage, aG as generateEventId, cu as getActionInputFieldsSchemaPlugin, cG as getActionPlugin, cE as getAppPlugin, dT as getBaseUrlFromCredentials, aM as getCiPlatform, dU as getClientIdFromCredentials, cI as getConnectionPlugin, aO as getCpuTime, aH as getCurrentTimestamp, aN as getMemoryUsage, ay as getOrCreateApiClient, aJ as getOsInfo, aK as getPlatformVersions, cV as getPreferredManifestEntryKey, c_ as getProfilePlugin, aI as getReleaseId, em as getTablePlugin, ey as getTableRecordPlugin, dv as getTokenFromCliLogin, eg as getZapierApprovalMode, eh as getZapierDefaultApprovalMode, e7 as getZapierSdkService, dt as injectCliLogin, da as inputFieldKeyResolver, d9 as inputsAllOptionalResolver, d8 as inputsResolver, ds as invalidateCachedToken, dx as invalidateCredentialsToken, aL as isCi, du as isCliLoginAvailable, dM as isClientCredentials, dP as isCredentialsFunction, dO as isCredentialsObject, dN as isPkceCredentials, S as isPositional, cs as listActionInputFieldChoicesPlugin, cq as listActionInputFieldsPlugin, co as listActionsPlugin, cm as listAppsPlugin, cy as listClientCredentialsPlugin, cw as listConnectionsPlugin, es as listTableFieldsPlugin, eA as listTableRecordsPlugin, ek as listTablesPlugin, ac as logDeprecation, cW as manifestPlugin, ee as parseConcurrencyEnvVar, r as readManifestFromFile, au as registryPlugin, cS as requestPlugin, ad as resetDeprecationWarnings, dw as resolveAuthToken, dS as resolveCredentials, dR as resolveCredentialsFromEnv, cQ as runActionPlugin, a6 as runWithTelemetryContext, di as tableFieldIdsResolver, dk as tableFieldsResolver, dn as tableFiltersResolver, dd as tableIdResolver, dj as tableNameResolver, dg as tableRecordIdResolver, dh as tableRecordIdsResolver, dl as tableRecordsResolver, dp as tableSortResolver, dm as tableUpdateRecordsResolver, a7 as toSnakeCase, a8 as toTitleCase, de as triggerInboxResolver, df as triggerMessagesResolver, eG as updateTableRecordsPlugin } from './index-4QyPPLfu.mjs';
|
|
2
2
|
import 'zod';
|
|
3
3
|
import '@zapier/zapier-sdk-core/v0/schemas/connections';
|
|
4
4
|
import '@zapier/policy-context';
|