@peable.to/contracts 6.2.0 → 6.3.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.
@@ -1898,6 +1898,7 @@ export declare const connectRoutes: readonly [{
1898
1898
  error: import("zod").ZodNullable<import("zod").ZodString>;
1899
1899
  result: import("zod").ZodNullable<import("zod").ZodType<import("../..").Ref<"file">, import("../..").Ref<"file">, import("zod/v4/core").$ZodTypeInternals<import("../..").Ref<"file">, import("../..").Ref<"file">>>>;
1900
1900
  succeeded_at: import("zod").ZodNullable<import("zod").ZodNumber>;
1901
+ report_schedule: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"reporting.report_schedule">, string | import("../..").Ref<"reporting.report_schedule">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"reporting.report_schedule">, string | import("../..").Ref<"reporting.report_schedule">>>>;
1901
1902
  }, import("zod/v4/core").$strict>;
1902
1903
  readonly sdk: "reporting.reportRuns.create";
1903
1904
  }, {
@@ -1932,6 +1933,7 @@ export declare const connectRoutes: readonly [{
1932
1933
  "refunds.itemized.1": "refunds.itemized.1";
1933
1934
  "disputes.itemized.1": "disputes.itemized.1";
1934
1935
  }>>;
1936
+ report_schedule: import("zod").ZodOptional<import("zod").ZodString>;
1935
1937
  }, import("zod/v4/core").$strict>;
1936
1938
  readonly response: import("zod").ZodObject<{
1937
1939
  object: import("zod").ZodLiteral<"list">;
@@ -1976,6 +1978,7 @@ export declare const connectRoutes: readonly [{
1976
1978
  error: import("zod").ZodNullable<import("zod").ZodString>;
1977
1979
  result: import("zod").ZodNullable<import("zod").ZodType<import("../..").Ref<"file">, import("../..").Ref<"file">, import("zod/v4/core").$ZodTypeInternals<import("../..").Ref<"file">, import("../..").Ref<"file">>>>;
1978
1980
  succeeded_at: import("zod").ZodNullable<import("zod").ZodNumber>;
1981
+ report_schedule: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"reporting.report_schedule">, string | import("../..").Ref<"reporting.report_schedule">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"reporting.report_schedule">, string | import("../..").Ref<"reporting.report_schedule">>>>;
1979
1982
  }, import("zod/v4/core").$strict>>;
1980
1983
  has_more: import("zod").ZodBoolean;
1981
1984
  url: import("zod").ZodString;
@@ -2037,9 +2040,677 @@ export declare const connectRoutes: readonly [{
2037
2040
  error: import("zod").ZodNullable<import("zod").ZodString>;
2038
2041
  result: import("zod").ZodNullable<import("zod").ZodType<import("../..").Ref<"file">, import("../..").Ref<"file">, import("zod/v4/core").$ZodTypeInternals<import("../..").Ref<"file">, import("../..").Ref<"file">>>>;
2039
2042
  succeeded_at: import("zod").ZodNullable<import("zod").ZodNumber>;
2043
+ report_schedule: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"reporting.report_schedule">, string | import("../..").Ref<"reporting.report_schedule">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"reporting.report_schedule">, string | import("../..").Ref<"reporting.report_schedule">>>>;
2040
2044
  }, import("zod/v4/core").$strict>;
2041
2045
  readonly sdk: "reporting.reportRuns.retrieve";
2042
2046
  readonly expandable: "reporting.report_run";
2047
+ }, {
2048
+ readonly operationId: "createReportSchedule";
2049
+ readonly method: "post";
2050
+ readonly path: "/v1/reporting/report_schedules";
2051
+ readonly tag: "Reporting";
2052
+ readonly summary: "Create a report schedule";
2053
+ readonly description: "A report run at local midnight in `timezone` every day, week or month, each over the time since the previous occurrence. `next_run_at` is the first occurrence after now; nothing is backfilled.";
2054
+ readonly auth: "service";
2055
+ readonly scope: "payments:write";
2056
+ readonly idempotent: true;
2057
+ readonly body: import("zod").ZodObject<{
2058
+ report_type: import("zod").ZodEnum<{
2059
+ "payments.itemized.1": "payments.itemized.1";
2060
+ "balance.summary.1": "balance.summary.1";
2061
+ "balance_transactions.itemized.1": "balance_transactions.itemized.1";
2062
+ "payouts.itemized.1": "payouts.itemized.1";
2063
+ "refunds.itemized.1": "refunds.itemized.1";
2064
+ "disputes.itemized.1": "disputes.itemized.1";
2065
+ }>;
2066
+ parameters: import("zod").ZodOptional<import("zod").ZodObject<{
2067
+ columns: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
2068
+ currency: import("zod").ZodOptional<import("zod").ZodEnum<{
2069
+ FAIR: "FAIR";
2070
+ EUR: "EUR";
2071
+ USD: "USD";
2072
+ GBP: "GBP";
2073
+ CHF: "CHF";
2074
+ SEK: "SEK";
2075
+ NOK: "NOK";
2076
+ DKK: "DKK";
2077
+ PLN: "PLN";
2078
+ CZK: "CZK";
2079
+ CAD: "CAD";
2080
+ AUD: "AUD";
2081
+ JPY: "JPY";
2082
+ }>>;
2083
+ }, import("zod/v4/core").$strict>>;
2084
+ schedule: import("zod").ZodObject<{
2085
+ interval: import("zod").ZodEnum<{
2086
+ monthly: "monthly";
2087
+ daily: "daily";
2088
+ weekly: "weekly";
2089
+ }>;
2090
+ weekly_anchor: import("zod").ZodOptional<import("zod").ZodEnum<{
2091
+ monday: "monday";
2092
+ tuesday: "tuesday";
2093
+ wednesday: "wednesday";
2094
+ thursday: "thursday";
2095
+ friday: "friday";
2096
+ saturday: "saturday";
2097
+ sunday: "sunday";
2098
+ }>>;
2099
+ monthly_anchor: import("zod").ZodOptional<import("zod").ZodNumber>;
2100
+ }, import("zod/v4/core").$strict>;
2101
+ timezone: import("zod").ZodOptional<import("zod").ZodString>;
2102
+ recipients: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEmail>>;
2103
+ locale: import("zod").ZodOptional<import("zod").ZodEnum<{
2104
+ en: "en";
2105
+ es: "es";
2106
+ }>>;
2107
+ }, import("zod/v4/core").$strict>;
2108
+ readonly response: import("zod").ZodObject<{
2109
+ id: import("zod").ZodString;
2110
+ object: import("zod").ZodLiteral<"reporting.report_schedule">;
2111
+ livemode: import("zod").ZodBoolean;
2112
+ created: import("zod").ZodNumber;
2113
+ report_type: import("zod").ZodEnum<{
2114
+ "payments.itemized.1": "payments.itemized.1";
2115
+ "balance.summary.1": "balance.summary.1";
2116
+ "balance_transactions.itemized.1": "balance_transactions.itemized.1";
2117
+ "payouts.itemized.1": "payouts.itemized.1";
2118
+ "refunds.itemized.1": "refunds.itemized.1";
2119
+ "disputes.itemized.1": "disputes.itemized.1";
2120
+ }>;
2121
+ parameters: import("zod").ZodObject<{
2122
+ columns: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
2123
+ currency: import("zod").ZodOptional<import("zod").ZodEnum<{
2124
+ FAIR: "FAIR";
2125
+ EUR: "EUR";
2126
+ USD: "USD";
2127
+ GBP: "GBP";
2128
+ CHF: "CHF";
2129
+ SEK: "SEK";
2130
+ NOK: "NOK";
2131
+ DKK: "DKK";
2132
+ PLN: "PLN";
2133
+ CZK: "CZK";
2134
+ CAD: "CAD";
2135
+ AUD: "AUD";
2136
+ JPY: "JPY";
2137
+ }>>;
2138
+ }, import("zod/v4/core").$strict>;
2139
+ schedule: import("zod").ZodObject<{
2140
+ interval: import("zod").ZodEnum<{
2141
+ monthly: "monthly";
2142
+ daily: "daily";
2143
+ weekly: "weekly";
2144
+ }>;
2145
+ weekly_anchor: import("zod").ZodNullable<import("zod").ZodEnum<{
2146
+ monday: "monday";
2147
+ tuesday: "tuesday";
2148
+ wednesday: "wednesday";
2149
+ thursday: "thursday";
2150
+ friday: "friday";
2151
+ saturday: "saturday";
2152
+ sunday: "sunday";
2153
+ }>>;
2154
+ monthly_anchor: import("zod").ZodNullable<import("zod").ZodNumber>;
2155
+ }, import("zod/v4/core").$strict>;
2156
+ timezone: import("zod").ZodString;
2157
+ recipients: import("zod").ZodArray<import("zod").ZodString>;
2158
+ locale: import("zod").ZodEnum<{
2159
+ en: "en";
2160
+ es: "es";
2161
+ }>;
2162
+ status: import("zod").ZodEnum<{
2163
+ active: "active";
2164
+ canceled: "canceled";
2165
+ paused: "paused";
2166
+ }>;
2167
+ next_run_at: import("zod").ZodNullable<import("zod").ZodNumber>;
2168
+ last_run: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"reporting.report_run">, string | import("../..").Ref<"reporting.report_run">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"reporting.report_run">, string | import("../..").Ref<"reporting.report_run">>>>;
2169
+ canceled_at: import("zod").ZodNullable<import("zod").ZodNumber>;
2170
+ }, import("zod/v4/core").$strict>;
2171
+ readonly sdk: "reporting.reportSchedules.create";
2172
+ }, {
2173
+ readonly operationId: "listReportSchedules";
2174
+ readonly method: "get";
2175
+ readonly path: "/v1/reporting/report_schedules";
2176
+ readonly tag: "Reporting";
2177
+ readonly summary: "List report schedules";
2178
+ readonly description: "Newest first; a canceled schedule is listed too.";
2179
+ readonly auth: "service";
2180
+ readonly scope: "payments:read";
2181
+ readonly query: import("zod").ZodObject<{
2182
+ limit: import("zod").ZodPipe<import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodString]>, import("zod").ZodTransform<number, string | number>>, import("zod").ZodNumber>>, import("zod").ZodTransform<number, number | undefined>>;
2183
+ starting_after: import("zod").ZodOptional<import("zod").ZodString>;
2184
+ ending_before: import("zod").ZodOptional<import("zod").ZodString>;
2185
+ created: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodString]>, import("zod").ZodTransform<number, string | number>>, import("zod").ZodNumber>, import("zod").ZodTransform<import("../..").RangeFilter, number>>, import("zod").ZodPipe<import("zod").ZodObject<{
2186
+ gt: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodString]>, import("zod").ZodTransform<number, string | number>>, import("zod").ZodNumber>>;
2187
+ gte: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodString]>, import("zod").ZodTransform<number, string | number>>, import("zod").ZodNumber>>;
2188
+ lt: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodString]>, import("zod").ZodTransform<number, string | number>>, import("zod").ZodNumber>>;
2189
+ lte: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodString]>, import("zod").ZodTransform<number, string | number>>, import("zod").ZodNumber>>;
2190
+ }, import("zod/v4/core").$strict>, import("zod").ZodTransform<import("../..").RangeFilter, {
2191
+ gt?: number | undefined;
2192
+ gte?: number | undefined;
2193
+ lt?: number | undefined;
2194
+ lte?: number | undefined;
2195
+ }>>]>>;
2196
+ expand: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString>]>, import("zod").ZodTransform<string[], string | string[]>>, import("zod").ZodArray<import("zod").ZodString>>>;
2197
+ status: import("zod").ZodOptional<import("zod").ZodEnum<{
2198
+ active: "active";
2199
+ canceled: "canceled";
2200
+ paused: "paused";
2201
+ }>>;
2202
+ }, import("zod/v4/core").$strict>;
2203
+ readonly response: import("zod").ZodObject<{
2204
+ object: import("zod").ZodLiteral<"list">;
2205
+ data: import("zod").ZodArray<import("zod").ZodObject<{
2206
+ id: import("zod").ZodString;
2207
+ object: import("zod").ZodLiteral<"reporting.report_schedule">;
2208
+ livemode: import("zod").ZodBoolean;
2209
+ created: import("zod").ZodNumber;
2210
+ report_type: import("zod").ZodEnum<{
2211
+ "payments.itemized.1": "payments.itemized.1";
2212
+ "balance.summary.1": "balance.summary.1";
2213
+ "balance_transactions.itemized.1": "balance_transactions.itemized.1";
2214
+ "payouts.itemized.1": "payouts.itemized.1";
2215
+ "refunds.itemized.1": "refunds.itemized.1";
2216
+ "disputes.itemized.1": "disputes.itemized.1";
2217
+ }>;
2218
+ parameters: import("zod").ZodObject<{
2219
+ columns: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
2220
+ currency: import("zod").ZodOptional<import("zod").ZodEnum<{
2221
+ FAIR: "FAIR";
2222
+ EUR: "EUR";
2223
+ USD: "USD";
2224
+ GBP: "GBP";
2225
+ CHF: "CHF";
2226
+ SEK: "SEK";
2227
+ NOK: "NOK";
2228
+ DKK: "DKK";
2229
+ PLN: "PLN";
2230
+ CZK: "CZK";
2231
+ CAD: "CAD";
2232
+ AUD: "AUD";
2233
+ JPY: "JPY";
2234
+ }>>;
2235
+ }, import("zod/v4/core").$strict>;
2236
+ schedule: import("zod").ZodObject<{
2237
+ interval: import("zod").ZodEnum<{
2238
+ monthly: "monthly";
2239
+ daily: "daily";
2240
+ weekly: "weekly";
2241
+ }>;
2242
+ weekly_anchor: import("zod").ZodNullable<import("zod").ZodEnum<{
2243
+ monday: "monday";
2244
+ tuesday: "tuesday";
2245
+ wednesday: "wednesday";
2246
+ thursday: "thursday";
2247
+ friday: "friday";
2248
+ saturday: "saturday";
2249
+ sunday: "sunday";
2250
+ }>>;
2251
+ monthly_anchor: import("zod").ZodNullable<import("zod").ZodNumber>;
2252
+ }, import("zod/v4/core").$strict>;
2253
+ timezone: import("zod").ZodString;
2254
+ recipients: import("zod").ZodArray<import("zod").ZodString>;
2255
+ locale: import("zod").ZodEnum<{
2256
+ en: "en";
2257
+ es: "es";
2258
+ }>;
2259
+ status: import("zod").ZodEnum<{
2260
+ active: "active";
2261
+ canceled: "canceled";
2262
+ paused: "paused";
2263
+ }>;
2264
+ next_run_at: import("zod").ZodNullable<import("zod").ZodNumber>;
2265
+ last_run: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"reporting.report_run">, string | import("../..").Ref<"reporting.report_run">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"reporting.report_run">, string | import("../..").Ref<"reporting.report_run">>>>;
2266
+ canceled_at: import("zod").ZodNullable<import("zod").ZodNumber>;
2267
+ }, import("zod/v4/core").$strict>>;
2268
+ has_more: import("zod").ZodBoolean;
2269
+ url: import("zod").ZodString;
2270
+ }, import("zod/v4/core").$strict>;
2271
+ readonly sdk: "reporting.reportSchedules.list";
2272
+ readonly expandable: "reporting.report_schedule";
2273
+ }, {
2274
+ readonly operationId: "retrieveReportSchedule";
2275
+ readonly method: "get";
2276
+ readonly path: "/v1/reporting/report_schedules/{id}";
2277
+ readonly tag: "Reporting";
2278
+ readonly summary: "Retrieve a report schedule";
2279
+ readonly auth: "service";
2280
+ readonly scope: "payments:read";
2281
+ readonly params: {
2282
+ readonly id: "The report schedule (`frs_…`).";
2283
+ };
2284
+ readonly query: import("zod").ZodObject<{
2285
+ expand: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString>]>, import("zod").ZodTransform<string[], string | string[]>>, import("zod").ZodArray<import("zod").ZodString>>>;
2286
+ }, import("zod/v4/core").$strict>;
2287
+ readonly response: import("zod").ZodObject<{
2288
+ id: import("zod").ZodString;
2289
+ object: import("zod").ZodLiteral<"reporting.report_schedule">;
2290
+ livemode: import("zod").ZodBoolean;
2291
+ created: import("zod").ZodNumber;
2292
+ report_type: import("zod").ZodEnum<{
2293
+ "payments.itemized.1": "payments.itemized.1";
2294
+ "balance.summary.1": "balance.summary.1";
2295
+ "balance_transactions.itemized.1": "balance_transactions.itemized.1";
2296
+ "payouts.itemized.1": "payouts.itemized.1";
2297
+ "refunds.itemized.1": "refunds.itemized.1";
2298
+ "disputes.itemized.1": "disputes.itemized.1";
2299
+ }>;
2300
+ parameters: import("zod").ZodObject<{
2301
+ columns: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
2302
+ currency: import("zod").ZodOptional<import("zod").ZodEnum<{
2303
+ FAIR: "FAIR";
2304
+ EUR: "EUR";
2305
+ USD: "USD";
2306
+ GBP: "GBP";
2307
+ CHF: "CHF";
2308
+ SEK: "SEK";
2309
+ NOK: "NOK";
2310
+ DKK: "DKK";
2311
+ PLN: "PLN";
2312
+ CZK: "CZK";
2313
+ CAD: "CAD";
2314
+ AUD: "AUD";
2315
+ JPY: "JPY";
2316
+ }>>;
2317
+ }, import("zod/v4/core").$strict>;
2318
+ schedule: import("zod").ZodObject<{
2319
+ interval: import("zod").ZodEnum<{
2320
+ monthly: "monthly";
2321
+ daily: "daily";
2322
+ weekly: "weekly";
2323
+ }>;
2324
+ weekly_anchor: import("zod").ZodNullable<import("zod").ZodEnum<{
2325
+ monday: "monday";
2326
+ tuesday: "tuesday";
2327
+ wednesday: "wednesday";
2328
+ thursday: "thursday";
2329
+ friday: "friday";
2330
+ saturday: "saturday";
2331
+ sunday: "sunday";
2332
+ }>>;
2333
+ monthly_anchor: import("zod").ZodNullable<import("zod").ZodNumber>;
2334
+ }, import("zod/v4/core").$strict>;
2335
+ timezone: import("zod").ZodString;
2336
+ recipients: import("zod").ZodArray<import("zod").ZodString>;
2337
+ locale: import("zod").ZodEnum<{
2338
+ en: "en";
2339
+ es: "es";
2340
+ }>;
2341
+ status: import("zod").ZodEnum<{
2342
+ active: "active";
2343
+ canceled: "canceled";
2344
+ paused: "paused";
2345
+ }>;
2346
+ next_run_at: import("zod").ZodNullable<import("zod").ZodNumber>;
2347
+ last_run: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"reporting.report_run">, string | import("../..").Ref<"reporting.report_run">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"reporting.report_run">, string | import("../..").Ref<"reporting.report_run">>>>;
2348
+ canceled_at: import("zod").ZodNullable<import("zod").ZodNumber>;
2349
+ }, import("zod/v4/core").$strict>;
2350
+ readonly sdk: "reporting.reportSchedules.retrieve";
2351
+ readonly expandable: "reporting.report_schedule";
2352
+ }, {
2353
+ readonly operationId: "updateReportSchedule";
2354
+ readonly method: "post";
2355
+ readonly path: "/v1/reporting/report_schedules/{id}";
2356
+ readonly tag: "Reporting";
2357
+ readonly summary: "Update a report schedule";
2358
+ readonly description: "A new `schedule` or `timezone` moves an active schedule to its first occurrence after now. A canceled schedule cannot change (409 `report_schedule_unexpected_state`).";
2359
+ readonly auth: "service";
2360
+ readonly scope: "payments:write";
2361
+ readonly idempotent: true;
2362
+ readonly params: {
2363
+ readonly id: "The report schedule (`frs_…`).";
2364
+ };
2365
+ readonly body: import("zod").ZodObject<{
2366
+ report_type: import("zod").ZodOptional<import("zod").ZodEnum<{
2367
+ "payments.itemized.1": "payments.itemized.1";
2368
+ "balance.summary.1": "balance.summary.1";
2369
+ "balance_transactions.itemized.1": "balance_transactions.itemized.1";
2370
+ "payouts.itemized.1": "payouts.itemized.1";
2371
+ "refunds.itemized.1": "refunds.itemized.1";
2372
+ "disputes.itemized.1": "disputes.itemized.1";
2373
+ }>>;
2374
+ parameters: import("zod").ZodOptional<import("zod").ZodObject<{
2375
+ columns: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
2376
+ currency: import("zod").ZodOptional<import("zod").ZodEnum<{
2377
+ FAIR: "FAIR";
2378
+ EUR: "EUR";
2379
+ USD: "USD";
2380
+ GBP: "GBP";
2381
+ CHF: "CHF";
2382
+ SEK: "SEK";
2383
+ NOK: "NOK";
2384
+ DKK: "DKK";
2385
+ PLN: "PLN";
2386
+ CZK: "CZK";
2387
+ CAD: "CAD";
2388
+ AUD: "AUD";
2389
+ JPY: "JPY";
2390
+ }>>;
2391
+ }, import("zod/v4/core").$strict>>;
2392
+ schedule: import("zod").ZodOptional<import("zod").ZodObject<{
2393
+ interval: import("zod").ZodEnum<{
2394
+ monthly: "monthly";
2395
+ daily: "daily";
2396
+ weekly: "weekly";
2397
+ }>;
2398
+ weekly_anchor: import("zod").ZodOptional<import("zod").ZodEnum<{
2399
+ monday: "monday";
2400
+ tuesday: "tuesday";
2401
+ wednesday: "wednesday";
2402
+ thursday: "thursday";
2403
+ friday: "friday";
2404
+ saturday: "saturday";
2405
+ sunday: "sunday";
2406
+ }>>;
2407
+ monthly_anchor: import("zod").ZodOptional<import("zod").ZodNumber>;
2408
+ }, import("zod/v4/core").$strict>>;
2409
+ timezone: import("zod").ZodOptional<import("zod").ZodString>;
2410
+ recipients: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEmail>>;
2411
+ locale: import("zod").ZodOptional<import("zod").ZodEnum<{
2412
+ en: "en";
2413
+ es: "es";
2414
+ }>>;
2415
+ }, import("zod/v4/core").$strict>;
2416
+ readonly response: import("zod").ZodObject<{
2417
+ id: import("zod").ZodString;
2418
+ object: import("zod").ZodLiteral<"reporting.report_schedule">;
2419
+ livemode: import("zod").ZodBoolean;
2420
+ created: import("zod").ZodNumber;
2421
+ report_type: import("zod").ZodEnum<{
2422
+ "payments.itemized.1": "payments.itemized.1";
2423
+ "balance.summary.1": "balance.summary.1";
2424
+ "balance_transactions.itemized.1": "balance_transactions.itemized.1";
2425
+ "payouts.itemized.1": "payouts.itemized.1";
2426
+ "refunds.itemized.1": "refunds.itemized.1";
2427
+ "disputes.itemized.1": "disputes.itemized.1";
2428
+ }>;
2429
+ parameters: import("zod").ZodObject<{
2430
+ columns: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
2431
+ currency: import("zod").ZodOptional<import("zod").ZodEnum<{
2432
+ FAIR: "FAIR";
2433
+ EUR: "EUR";
2434
+ USD: "USD";
2435
+ GBP: "GBP";
2436
+ CHF: "CHF";
2437
+ SEK: "SEK";
2438
+ NOK: "NOK";
2439
+ DKK: "DKK";
2440
+ PLN: "PLN";
2441
+ CZK: "CZK";
2442
+ CAD: "CAD";
2443
+ AUD: "AUD";
2444
+ JPY: "JPY";
2445
+ }>>;
2446
+ }, import("zod/v4/core").$strict>;
2447
+ schedule: import("zod").ZodObject<{
2448
+ interval: import("zod").ZodEnum<{
2449
+ monthly: "monthly";
2450
+ daily: "daily";
2451
+ weekly: "weekly";
2452
+ }>;
2453
+ weekly_anchor: import("zod").ZodNullable<import("zod").ZodEnum<{
2454
+ monday: "monday";
2455
+ tuesday: "tuesday";
2456
+ wednesday: "wednesday";
2457
+ thursday: "thursday";
2458
+ friday: "friday";
2459
+ saturday: "saturday";
2460
+ sunday: "sunday";
2461
+ }>>;
2462
+ monthly_anchor: import("zod").ZodNullable<import("zod").ZodNumber>;
2463
+ }, import("zod/v4/core").$strict>;
2464
+ timezone: import("zod").ZodString;
2465
+ recipients: import("zod").ZodArray<import("zod").ZodString>;
2466
+ locale: import("zod").ZodEnum<{
2467
+ en: "en";
2468
+ es: "es";
2469
+ }>;
2470
+ status: import("zod").ZodEnum<{
2471
+ active: "active";
2472
+ canceled: "canceled";
2473
+ paused: "paused";
2474
+ }>;
2475
+ next_run_at: import("zod").ZodNullable<import("zod").ZodNumber>;
2476
+ last_run: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"reporting.report_run">, string | import("../..").Ref<"reporting.report_run">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"reporting.report_run">, string | import("../..").Ref<"reporting.report_run">>>>;
2477
+ canceled_at: import("zod").ZodNullable<import("zod").ZodNumber>;
2478
+ }, import("zod/v4/core").$strict>;
2479
+ readonly sdk: "reporting.reportSchedules.update";
2480
+ }, {
2481
+ readonly operationId: "pauseReportSchedule";
2482
+ readonly method: "post";
2483
+ readonly path: "/v1/reporting/report_schedules/{id}/pause";
2484
+ readonly tag: "Reporting";
2485
+ readonly summary: "Pause a report schedule";
2486
+ readonly description: "Nothing fires until it is resumed. Pausing a paused schedule answers it as it is.";
2487
+ readonly auth: "service";
2488
+ readonly scope: "payments:write";
2489
+ readonly idempotent: true;
2490
+ readonly params: {
2491
+ readonly id: "The report schedule (`frs_…`).";
2492
+ };
2493
+ readonly body: import("zod").ZodObject<{}, import("zod/v4/core").$strict>;
2494
+ readonly response: import("zod").ZodObject<{
2495
+ id: import("zod").ZodString;
2496
+ object: import("zod").ZodLiteral<"reporting.report_schedule">;
2497
+ livemode: import("zod").ZodBoolean;
2498
+ created: import("zod").ZodNumber;
2499
+ report_type: import("zod").ZodEnum<{
2500
+ "payments.itemized.1": "payments.itemized.1";
2501
+ "balance.summary.1": "balance.summary.1";
2502
+ "balance_transactions.itemized.1": "balance_transactions.itemized.1";
2503
+ "payouts.itemized.1": "payouts.itemized.1";
2504
+ "refunds.itemized.1": "refunds.itemized.1";
2505
+ "disputes.itemized.1": "disputes.itemized.1";
2506
+ }>;
2507
+ parameters: import("zod").ZodObject<{
2508
+ columns: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
2509
+ currency: import("zod").ZodOptional<import("zod").ZodEnum<{
2510
+ FAIR: "FAIR";
2511
+ EUR: "EUR";
2512
+ USD: "USD";
2513
+ GBP: "GBP";
2514
+ CHF: "CHF";
2515
+ SEK: "SEK";
2516
+ NOK: "NOK";
2517
+ DKK: "DKK";
2518
+ PLN: "PLN";
2519
+ CZK: "CZK";
2520
+ CAD: "CAD";
2521
+ AUD: "AUD";
2522
+ JPY: "JPY";
2523
+ }>>;
2524
+ }, import("zod/v4/core").$strict>;
2525
+ schedule: import("zod").ZodObject<{
2526
+ interval: import("zod").ZodEnum<{
2527
+ monthly: "monthly";
2528
+ daily: "daily";
2529
+ weekly: "weekly";
2530
+ }>;
2531
+ weekly_anchor: import("zod").ZodNullable<import("zod").ZodEnum<{
2532
+ monday: "monday";
2533
+ tuesday: "tuesday";
2534
+ wednesday: "wednesday";
2535
+ thursday: "thursday";
2536
+ friday: "friday";
2537
+ saturday: "saturday";
2538
+ sunday: "sunday";
2539
+ }>>;
2540
+ monthly_anchor: import("zod").ZodNullable<import("zod").ZodNumber>;
2541
+ }, import("zod/v4/core").$strict>;
2542
+ timezone: import("zod").ZodString;
2543
+ recipients: import("zod").ZodArray<import("zod").ZodString>;
2544
+ locale: import("zod").ZodEnum<{
2545
+ en: "en";
2546
+ es: "es";
2547
+ }>;
2548
+ status: import("zod").ZodEnum<{
2549
+ active: "active";
2550
+ canceled: "canceled";
2551
+ paused: "paused";
2552
+ }>;
2553
+ next_run_at: import("zod").ZodNullable<import("zod").ZodNumber>;
2554
+ last_run: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"reporting.report_run">, string | import("../..").Ref<"reporting.report_run">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"reporting.report_run">, string | import("../..").Ref<"reporting.report_run">>>>;
2555
+ canceled_at: import("zod").ZodNullable<import("zod").ZodNumber>;
2556
+ }, import("zod/v4/core").$strict>;
2557
+ readonly sdk: "reporting.reportSchedules.pause";
2558
+ }, {
2559
+ readonly operationId: "resumeReportSchedule";
2560
+ readonly method: "post";
2561
+ readonly path: "/v1/reporting/report_schedules/{id}/resume";
2562
+ readonly tag: "Reporting";
2563
+ readonly summary: "Resume a paused report schedule";
2564
+ readonly description: "It fires again from its first occurrence after now; the occurrences it missed while paused are not run.";
2565
+ readonly auth: "service";
2566
+ readonly scope: "payments:write";
2567
+ readonly idempotent: true;
2568
+ readonly params: {
2569
+ readonly id: "The report schedule (`frs_…`).";
2570
+ };
2571
+ readonly body: import("zod").ZodObject<{}, import("zod/v4/core").$strict>;
2572
+ readonly response: import("zod").ZodObject<{
2573
+ id: import("zod").ZodString;
2574
+ object: import("zod").ZodLiteral<"reporting.report_schedule">;
2575
+ livemode: import("zod").ZodBoolean;
2576
+ created: import("zod").ZodNumber;
2577
+ report_type: import("zod").ZodEnum<{
2578
+ "payments.itemized.1": "payments.itemized.1";
2579
+ "balance.summary.1": "balance.summary.1";
2580
+ "balance_transactions.itemized.1": "balance_transactions.itemized.1";
2581
+ "payouts.itemized.1": "payouts.itemized.1";
2582
+ "refunds.itemized.1": "refunds.itemized.1";
2583
+ "disputes.itemized.1": "disputes.itemized.1";
2584
+ }>;
2585
+ parameters: import("zod").ZodObject<{
2586
+ columns: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
2587
+ currency: import("zod").ZodOptional<import("zod").ZodEnum<{
2588
+ FAIR: "FAIR";
2589
+ EUR: "EUR";
2590
+ USD: "USD";
2591
+ GBP: "GBP";
2592
+ CHF: "CHF";
2593
+ SEK: "SEK";
2594
+ NOK: "NOK";
2595
+ DKK: "DKK";
2596
+ PLN: "PLN";
2597
+ CZK: "CZK";
2598
+ CAD: "CAD";
2599
+ AUD: "AUD";
2600
+ JPY: "JPY";
2601
+ }>>;
2602
+ }, import("zod/v4/core").$strict>;
2603
+ schedule: import("zod").ZodObject<{
2604
+ interval: import("zod").ZodEnum<{
2605
+ monthly: "monthly";
2606
+ daily: "daily";
2607
+ weekly: "weekly";
2608
+ }>;
2609
+ weekly_anchor: import("zod").ZodNullable<import("zod").ZodEnum<{
2610
+ monday: "monday";
2611
+ tuesday: "tuesday";
2612
+ wednesday: "wednesday";
2613
+ thursday: "thursday";
2614
+ friday: "friday";
2615
+ saturday: "saturday";
2616
+ sunday: "sunday";
2617
+ }>>;
2618
+ monthly_anchor: import("zod").ZodNullable<import("zod").ZodNumber>;
2619
+ }, import("zod/v4/core").$strict>;
2620
+ timezone: import("zod").ZodString;
2621
+ recipients: import("zod").ZodArray<import("zod").ZodString>;
2622
+ locale: import("zod").ZodEnum<{
2623
+ en: "en";
2624
+ es: "es";
2625
+ }>;
2626
+ status: import("zod").ZodEnum<{
2627
+ active: "active";
2628
+ canceled: "canceled";
2629
+ paused: "paused";
2630
+ }>;
2631
+ next_run_at: import("zod").ZodNullable<import("zod").ZodNumber>;
2632
+ last_run: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"reporting.report_run">, string | import("../..").Ref<"reporting.report_run">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"reporting.report_run">, string | import("../..").Ref<"reporting.report_run">>>>;
2633
+ canceled_at: import("zod").ZodNullable<import("zod").ZodNumber>;
2634
+ }, import("zod/v4/core").$strict>;
2635
+ readonly sdk: "reporting.reportSchedules.resume";
2636
+ }, {
2637
+ readonly operationId: "cancelReportSchedule";
2638
+ readonly method: "post";
2639
+ readonly path: "/v1/reporting/report_schedules/{id}/cancel";
2640
+ readonly tag: "Reporting";
2641
+ readonly summary: "Cancel a report schedule";
2642
+ readonly description: "For good: it never fires again, and a run it fires no longer emails anyone. Its runs and their files stay.";
2643
+ readonly auth: "service";
2644
+ readonly scope: "payments:write";
2645
+ readonly idempotent: true;
2646
+ readonly params: {
2647
+ readonly id: "The report schedule (`frs_…`).";
2648
+ };
2649
+ readonly body: import("zod").ZodObject<{}, import("zod/v4/core").$strict>;
2650
+ readonly response: import("zod").ZodObject<{
2651
+ id: import("zod").ZodString;
2652
+ object: import("zod").ZodLiteral<"reporting.report_schedule">;
2653
+ livemode: import("zod").ZodBoolean;
2654
+ created: import("zod").ZodNumber;
2655
+ report_type: import("zod").ZodEnum<{
2656
+ "payments.itemized.1": "payments.itemized.1";
2657
+ "balance.summary.1": "balance.summary.1";
2658
+ "balance_transactions.itemized.1": "balance_transactions.itemized.1";
2659
+ "payouts.itemized.1": "payouts.itemized.1";
2660
+ "refunds.itemized.1": "refunds.itemized.1";
2661
+ "disputes.itemized.1": "disputes.itemized.1";
2662
+ }>;
2663
+ parameters: import("zod").ZodObject<{
2664
+ columns: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
2665
+ currency: import("zod").ZodOptional<import("zod").ZodEnum<{
2666
+ FAIR: "FAIR";
2667
+ EUR: "EUR";
2668
+ USD: "USD";
2669
+ GBP: "GBP";
2670
+ CHF: "CHF";
2671
+ SEK: "SEK";
2672
+ NOK: "NOK";
2673
+ DKK: "DKK";
2674
+ PLN: "PLN";
2675
+ CZK: "CZK";
2676
+ CAD: "CAD";
2677
+ AUD: "AUD";
2678
+ JPY: "JPY";
2679
+ }>>;
2680
+ }, import("zod/v4/core").$strict>;
2681
+ schedule: import("zod").ZodObject<{
2682
+ interval: import("zod").ZodEnum<{
2683
+ monthly: "monthly";
2684
+ daily: "daily";
2685
+ weekly: "weekly";
2686
+ }>;
2687
+ weekly_anchor: import("zod").ZodNullable<import("zod").ZodEnum<{
2688
+ monday: "monday";
2689
+ tuesday: "tuesday";
2690
+ wednesday: "wednesday";
2691
+ thursday: "thursday";
2692
+ friday: "friday";
2693
+ saturday: "saturday";
2694
+ sunday: "sunday";
2695
+ }>>;
2696
+ monthly_anchor: import("zod").ZodNullable<import("zod").ZodNumber>;
2697
+ }, import("zod/v4/core").$strict>;
2698
+ timezone: import("zod").ZodString;
2699
+ recipients: import("zod").ZodArray<import("zod").ZodString>;
2700
+ locale: import("zod").ZodEnum<{
2701
+ en: "en";
2702
+ es: "es";
2703
+ }>;
2704
+ status: import("zod").ZodEnum<{
2705
+ active: "active";
2706
+ canceled: "canceled";
2707
+ paused: "paused";
2708
+ }>;
2709
+ next_run_at: import("zod").ZodNullable<import("zod").ZodNumber>;
2710
+ last_run: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"reporting.report_run">, string | import("../..").Ref<"reporting.report_run">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"reporting.report_run">, string | import("../..").Ref<"reporting.report_run">>>>;
2711
+ canceled_at: import("zod").ZodNullable<import("zod").ZodNumber>;
2712
+ }, import("zod/v4/core").$strict>;
2713
+ readonly sdk: "reporting.reportSchedules.cancel";
2043
2714
  }, {
2044
2715
  readonly operationId: "listRequestLogs";
2045
2716
  readonly method: "get";