@stackone/connect-sdk 3.11.0 → 3.13.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/dist/index.cjs +2 -2
- package/dist/index.d.cts +13 -0
- package/dist/index.d.mts +13 -0
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -456,6 +456,7 @@ declare const ACTION_SCHEMA: z.ZodObject<{
|
|
|
456
456
|
body: "body";
|
|
457
457
|
query: "query";
|
|
458
458
|
}>;
|
|
459
|
+
startOffset: z.ZodOptional<z.ZodNumber>;
|
|
459
460
|
defaultLimit: z.ZodOptional<z.ZodNumber>;
|
|
460
461
|
}, z.core.$strict>;
|
|
461
462
|
stopCondition: z.ZodOptional<z.ZodString>;
|
|
@@ -1043,6 +1044,7 @@ declare const CONNECTOR_YAML_SCHEMA: z.ZodObject<{
|
|
|
1043
1044
|
body: "body";
|
|
1044
1045
|
query: "query";
|
|
1045
1046
|
}>;
|
|
1047
|
+
startOffset: z.ZodOptional<z.ZodNumber>;
|
|
1046
1048
|
defaultLimit: z.ZodOptional<z.ZodNumber>;
|
|
1047
1049
|
}, z.core.$strict>;
|
|
1048
1050
|
stopCondition: z.ZodOptional<z.ZodString>;
|
|
@@ -1358,6 +1360,7 @@ declare const CONNECTOR_YAML_SCHEMA: z.ZodObject<{
|
|
|
1358
1360
|
body: "body";
|
|
1359
1361
|
query: "query";
|
|
1360
1362
|
}>;
|
|
1363
|
+
startOffset: z.ZodOptional<z.ZodNumber>;
|
|
1361
1364
|
defaultLimit: z.ZodOptional<z.ZodNumber>;
|
|
1362
1365
|
}, z.core.$strict>;
|
|
1363
1366
|
stopCondition: z.ZodOptional<z.ZodString>;
|
|
@@ -1924,6 +1927,7 @@ declare const CONNECTOR_YAML_SCHEMA: z.ZodObject<{
|
|
|
1924
1927
|
body: "body";
|
|
1925
1928
|
query: "query";
|
|
1926
1929
|
}>;
|
|
1930
|
+
startOffset: z.ZodOptional<z.ZodNumber>;
|
|
1927
1931
|
defaultLimit: z.ZodOptional<z.ZodNumber>;
|
|
1928
1932
|
}, z.core.$strict>;
|
|
1929
1933
|
stopCondition: z.ZodOptional<z.ZodString>;
|
|
@@ -2239,6 +2243,7 @@ declare const CONNECTOR_YAML_SCHEMA: z.ZodObject<{
|
|
|
2239
2243
|
body: "body";
|
|
2240
2244
|
query: "query";
|
|
2241
2245
|
}>;
|
|
2246
|
+
startOffset: z.ZodOptional<z.ZodNumber>;
|
|
2242
2247
|
defaultLimit: z.ZodOptional<z.ZodNumber>;
|
|
2243
2248
|
}, z.core.$strict>;
|
|
2244
2249
|
stopCondition: z.ZodOptional<z.ZodString>;
|
|
@@ -2801,6 +2806,7 @@ declare const CONNECTOR_YAML_SCHEMA: z.ZodObject<{
|
|
|
2801
2806
|
body: "body";
|
|
2802
2807
|
query: "query";
|
|
2803
2808
|
}>;
|
|
2809
|
+
startOffset: z.ZodOptional<z.ZodNumber>;
|
|
2804
2810
|
defaultLimit: z.ZodOptional<z.ZodNumber>;
|
|
2805
2811
|
}, z.core.$strict>;
|
|
2806
2812
|
stopCondition: z.ZodOptional<z.ZodString>;
|
|
@@ -3116,6 +3122,7 @@ declare const CONNECTOR_YAML_SCHEMA: z.ZodObject<{
|
|
|
3116
3122
|
body: "body";
|
|
3117
3123
|
query: "query";
|
|
3118
3124
|
}>;
|
|
3125
|
+
startOffset: z.ZodOptional<z.ZodNumber>;
|
|
3119
3126
|
defaultLimit: z.ZodOptional<z.ZodNumber>;
|
|
3120
3127
|
}, z.core.$strict>;
|
|
3121
3128
|
stopCondition: z.ZodOptional<z.ZodString>;
|
|
@@ -3678,6 +3685,7 @@ declare const CONNECTOR_YAML_SCHEMA: z.ZodObject<{
|
|
|
3678
3685
|
body: "body";
|
|
3679
3686
|
query: "query";
|
|
3680
3687
|
}>;
|
|
3688
|
+
startOffset: z.ZodOptional<z.ZodNumber>;
|
|
3681
3689
|
defaultLimit: z.ZodOptional<z.ZodNumber>;
|
|
3682
3690
|
}, z.core.$strict>;
|
|
3683
3691
|
stopCondition: z.ZodOptional<z.ZodString>;
|
|
@@ -3993,6 +4001,7 @@ declare const CONNECTOR_YAML_SCHEMA: z.ZodObject<{
|
|
|
3993
4001
|
body: "body";
|
|
3994
4002
|
query: "query";
|
|
3995
4003
|
}>;
|
|
4004
|
+
startOffset: z.ZodOptional<z.ZodNumber>;
|
|
3996
4005
|
defaultLimit: z.ZodOptional<z.ZodNumber>;
|
|
3997
4006
|
}, z.core.$strict>;
|
|
3998
4007
|
stopCondition: z.ZodOptional<z.ZodString>;
|
|
@@ -4319,6 +4328,7 @@ declare const CONNECTOR_YAML_SCHEMA: z.ZodObject<{
|
|
|
4319
4328
|
body: "body";
|
|
4320
4329
|
query: "query";
|
|
4321
4330
|
}>;
|
|
4331
|
+
startOffset: z.ZodOptional<z.ZodNumber>;
|
|
4322
4332
|
defaultLimit: z.ZodOptional<z.ZodNumber>;
|
|
4323
4333
|
}, z.core.$strict>;
|
|
4324
4334
|
stopCondition: z.ZodOptional<z.ZodString>;
|
|
@@ -4746,6 +4756,7 @@ declare const CONNECTOR_YAML_SCHEMA: z.ZodObject<{
|
|
|
4746
4756
|
body: "body";
|
|
4747
4757
|
query: "query";
|
|
4748
4758
|
}>;
|
|
4759
|
+
startOffset: z.ZodOptional<z.ZodNumber>;
|
|
4749
4760
|
defaultLimit: z.ZodOptional<z.ZodNumber>;
|
|
4750
4761
|
}, z.core.$strict>;
|
|
4751
4762
|
stopCondition: z.ZodOptional<z.ZodString>;
|
|
@@ -5065,6 +5076,7 @@ declare const CONNECTOR_YAML_SCHEMA: z.ZodObject<{
|
|
|
5065
5076
|
body: "body";
|
|
5066
5077
|
query: "query";
|
|
5067
5078
|
}>;
|
|
5079
|
+
startOffset: z.ZodOptional<z.ZodNumber>;
|
|
5068
5080
|
defaultLimit: z.ZodOptional<z.ZodNumber>;
|
|
5069
5081
|
}, z.core.$strict>;
|
|
5070
5082
|
stopCondition: z.ZodOptional<z.ZodString>;
|
|
@@ -5195,6 +5207,7 @@ interface Paginator {
|
|
|
5195
5207
|
computeNextInputs(args: {
|
|
5196
5208
|
previousResponse: Block | undefined;
|
|
5197
5209
|
currentIteration: number;
|
|
5210
|
+
recordsRetrieved?: number;
|
|
5198
5211
|
}): Record<string, unknown>;
|
|
5199
5212
|
extractData(response: Block): unknown[];
|
|
5200
5213
|
isExhausted(response: Block, currentIteration: number): boolean;
|
package/dist/index.d.mts
CHANGED
|
@@ -455,6 +455,7 @@ declare const ACTION_SCHEMA: z.ZodObject<{
|
|
|
455
455
|
body: "body";
|
|
456
456
|
query: "query";
|
|
457
457
|
}>;
|
|
458
|
+
startOffset: z.ZodOptional<z.ZodNumber>;
|
|
458
459
|
defaultLimit: z.ZodOptional<z.ZodNumber>;
|
|
459
460
|
}, z.core.$strict>;
|
|
460
461
|
stopCondition: z.ZodOptional<z.ZodString>;
|
|
@@ -1042,6 +1043,7 @@ declare const CONNECTOR_YAML_SCHEMA: z.ZodObject<{
|
|
|
1042
1043
|
body: "body";
|
|
1043
1044
|
query: "query";
|
|
1044
1045
|
}>;
|
|
1046
|
+
startOffset: z.ZodOptional<z.ZodNumber>;
|
|
1045
1047
|
defaultLimit: z.ZodOptional<z.ZodNumber>;
|
|
1046
1048
|
}, z.core.$strict>;
|
|
1047
1049
|
stopCondition: z.ZodOptional<z.ZodString>;
|
|
@@ -1357,6 +1359,7 @@ declare const CONNECTOR_YAML_SCHEMA: z.ZodObject<{
|
|
|
1357
1359
|
body: "body";
|
|
1358
1360
|
query: "query";
|
|
1359
1361
|
}>;
|
|
1362
|
+
startOffset: z.ZodOptional<z.ZodNumber>;
|
|
1360
1363
|
defaultLimit: z.ZodOptional<z.ZodNumber>;
|
|
1361
1364
|
}, z.core.$strict>;
|
|
1362
1365
|
stopCondition: z.ZodOptional<z.ZodString>;
|
|
@@ -1923,6 +1926,7 @@ declare const CONNECTOR_YAML_SCHEMA: z.ZodObject<{
|
|
|
1923
1926
|
body: "body";
|
|
1924
1927
|
query: "query";
|
|
1925
1928
|
}>;
|
|
1929
|
+
startOffset: z.ZodOptional<z.ZodNumber>;
|
|
1926
1930
|
defaultLimit: z.ZodOptional<z.ZodNumber>;
|
|
1927
1931
|
}, z.core.$strict>;
|
|
1928
1932
|
stopCondition: z.ZodOptional<z.ZodString>;
|
|
@@ -2238,6 +2242,7 @@ declare const CONNECTOR_YAML_SCHEMA: z.ZodObject<{
|
|
|
2238
2242
|
body: "body";
|
|
2239
2243
|
query: "query";
|
|
2240
2244
|
}>;
|
|
2245
|
+
startOffset: z.ZodOptional<z.ZodNumber>;
|
|
2241
2246
|
defaultLimit: z.ZodOptional<z.ZodNumber>;
|
|
2242
2247
|
}, z.core.$strict>;
|
|
2243
2248
|
stopCondition: z.ZodOptional<z.ZodString>;
|
|
@@ -2800,6 +2805,7 @@ declare const CONNECTOR_YAML_SCHEMA: z.ZodObject<{
|
|
|
2800
2805
|
body: "body";
|
|
2801
2806
|
query: "query";
|
|
2802
2807
|
}>;
|
|
2808
|
+
startOffset: z.ZodOptional<z.ZodNumber>;
|
|
2803
2809
|
defaultLimit: z.ZodOptional<z.ZodNumber>;
|
|
2804
2810
|
}, z.core.$strict>;
|
|
2805
2811
|
stopCondition: z.ZodOptional<z.ZodString>;
|
|
@@ -3115,6 +3121,7 @@ declare const CONNECTOR_YAML_SCHEMA: z.ZodObject<{
|
|
|
3115
3121
|
body: "body";
|
|
3116
3122
|
query: "query";
|
|
3117
3123
|
}>;
|
|
3124
|
+
startOffset: z.ZodOptional<z.ZodNumber>;
|
|
3118
3125
|
defaultLimit: z.ZodOptional<z.ZodNumber>;
|
|
3119
3126
|
}, z.core.$strict>;
|
|
3120
3127
|
stopCondition: z.ZodOptional<z.ZodString>;
|
|
@@ -3677,6 +3684,7 @@ declare const CONNECTOR_YAML_SCHEMA: z.ZodObject<{
|
|
|
3677
3684
|
body: "body";
|
|
3678
3685
|
query: "query";
|
|
3679
3686
|
}>;
|
|
3687
|
+
startOffset: z.ZodOptional<z.ZodNumber>;
|
|
3680
3688
|
defaultLimit: z.ZodOptional<z.ZodNumber>;
|
|
3681
3689
|
}, z.core.$strict>;
|
|
3682
3690
|
stopCondition: z.ZodOptional<z.ZodString>;
|
|
@@ -3992,6 +4000,7 @@ declare const CONNECTOR_YAML_SCHEMA: z.ZodObject<{
|
|
|
3992
4000
|
body: "body";
|
|
3993
4001
|
query: "query";
|
|
3994
4002
|
}>;
|
|
4003
|
+
startOffset: z.ZodOptional<z.ZodNumber>;
|
|
3995
4004
|
defaultLimit: z.ZodOptional<z.ZodNumber>;
|
|
3996
4005
|
}, z.core.$strict>;
|
|
3997
4006
|
stopCondition: z.ZodOptional<z.ZodString>;
|
|
@@ -4318,6 +4327,7 @@ declare const CONNECTOR_YAML_SCHEMA: z.ZodObject<{
|
|
|
4318
4327
|
body: "body";
|
|
4319
4328
|
query: "query";
|
|
4320
4329
|
}>;
|
|
4330
|
+
startOffset: z.ZodOptional<z.ZodNumber>;
|
|
4321
4331
|
defaultLimit: z.ZodOptional<z.ZodNumber>;
|
|
4322
4332
|
}, z.core.$strict>;
|
|
4323
4333
|
stopCondition: z.ZodOptional<z.ZodString>;
|
|
@@ -4745,6 +4755,7 @@ declare const CONNECTOR_YAML_SCHEMA: z.ZodObject<{
|
|
|
4745
4755
|
body: "body";
|
|
4746
4756
|
query: "query";
|
|
4747
4757
|
}>;
|
|
4758
|
+
startOffset: z.ZodOptional<z.ZodNumber>;
|
|
4748
4759
|
defaultLimit: z.ZodOptional<z.ZodNumber>;
|
|
4749
4760
|
}, z.core.$strict>;
|
|
4750
4761
|
stopCondition: z.ZodOptional<z.ZodString>;
|
|
@@ -5064,6 +5075,7 @@ declare const CONNECTOR_YAML_SCHEMA: z.ZodObject<{
|
|
|
5064
5075
|
body: "body";
|
|
5065
5076
|
query: "query";
|
|
5066
5077
|
}>;
|
|
5078
|
+
startOffset: z.ZodOptional<z.ZodNumber>;
|
|
5067
5079
|
defaultLimit: z.ZodOptional<z.ZodNumber>;
|
|
5068
5080
|
}, z.core.$strict>;
|
|
5069
5081
|
stopCondition: z.ZodOptional<z.ZodString>;
|
|
@@ -5194,6 +5206,7 @@ interface Paginator {
|
|
|
5194
5206
|
computeNextInputs(args: {
|
|
5195
5207
|
previousResponse: Block | undefined;
|
|
5196
5208
|
currentIteration: number;
|
|
5209
|
+
recordsRetrieved?: number;
|
|
5197
5210
|
}): Record<string, unknown>;
|
|
5198
5211
|
extractData(response: Block): unknown[];
|
|
5199
5212
|
isExhausted(response: Block, currentIteration: number): boolean;
|