@peable.to/contracts 6.1.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.
- package/dist/cjs/resources/billingEngine/index.js +4 -1
- package/dist/cjs/resources/billingEngine/quotes.js +342 -0
- package/dist/cjs/resources/connect/reporting.js +250 -2
- package/dist/cjs/resources/events/events.js +4 -0
- package/dist/cjs/vocabulary/errors.js +4 -0
- package/dist/cjs/vocabulary/events.js +4 -0
- package/dist/cjs/vocabulary/index.js +1 -0
- package/dist/cjs/vocabulary/invoices.js +3 -0
- package/dist/cjs/vocabulary/quotes.js +31 -0
- package/dist/cjs/vocabulary/reporting.js +28 -1
- package/dist/esm/resources/billingEngine/index.js +4 -1
- package/dist/esm/resources/billingEngine/quotes.js +339 -0
- package/dist/esm/resources/connect/reporting.js +251 -3
- package/dist/esm/resources/events/events.js +4 -0
- package/dist/esm/vocabulary/errors.js +4 -0
- package/dist/esm/vocabulary/events.js +4 -0
- package/dist/esm/vocabulary/index.js +1 -0
- package/dist/esm/vocabulary/invoices.js +3 -0
- package/dist/esm/vocabulary/quotes.js +28 -0
- package/dist/esm/vocabulary/reporting.js +27 -0
- package/dist/types/resources/billingEngine/index.d.ts +839 -1
- package/dist/types/resources/billingEngine/invoices.d.ts +12 -0
- package/dist/types/resources/billingEngine/quotes.d.ts +1032 -0
- package/dist/types/resources/connect/index.d.ts +671 -0
- package/dist/types/resources/connect/reporting.d.ts +894 -0
- package/dist/types/resources/events/events.d.ts +16 -0
- package/dist/types/resources/events/index.d.ts +54 -2
- package/dist/types/resources/events/webhookDeliveries.d.ts +12 -0
- package/dist/types/resources/events/webhookEndpoints.d.ts +52 -4
- package/dist/types/resources/payments/disputes.d.ts +10 -10
- package/dist/types/resources/payments/index.d.ts +6 -6
- package/dist/types/vocabulary/errors.d.ts +4 -0
- package/dist/types/vocabulary/events.d.ts +4 -0
- package/dist/types/vocabulary/index.d.ts +1 -0
- package/dist/types/vocabulary/invoices.d.ts +1 -1
- package/dist/types/vocabulary/quotes.d.ts +27 -0
- package/dist/types/vocabulary/reporting.d.ts +23 -0
- package/package.json +1 -1
|
@@ -4,8 +4,9 @@ export * from './customerBalanceTransactions';
|
|
|
4
4
|
export * from './invoiceItems';
|
|
5
5
|
export * from './invoices';
|
|
6
6
|
export * from './public';
|
|
7
|
+
export * from './quotes';
|
|
7
8
|
export * from './subscriptions';
|
|
8
|
-
/** Orbit's native billing engine (ADR 0018): subscriptions, invoices, credit notes, the balance ledger and the customer portal. */
|
|
9
|
+
/** Orbit's native billing engine (ADR 0018): subscriptions, invoices, credit notes, quotes, the balance ledger and the customer portal. */
|
|
9
10
|
export declare const billingEngineRoutes: readonly [{
|
|
10
11
|
readonly operationId: "createSubscription";
|
|
11
12
|
readonly method: "post";
|
|
@@ -1222,6 +1223,7 @@ export declare const billingEngineRoutes: readonly [{
|
|
|
1222
1223
|
subscription_create: "subscription_create";
|
|
1223
1224
|
subscription_cycle: "subscription_cycle";
|
|
1224
1225
|
upcoming: "upcoming";
|
|
1226
|
+
quote_accept: "quote_accept";
|
|
1225
1227
|
}>;
|
|
1226
1228
|
collection_method: import("zod").ZodEnum<{
|
|
1227
1229
|
charge_automatically: "charge_automatically";
|
|
@@ -1434,6 +1436,7 @@ export declare const billingEngineRoutes: readonly [{
|
|
|
1434
1436
|
subscription_create: "subscription_create";
|
|
1435
1437
|
subscription_cycle: "subscription_cycle";
|
|
1436
1438
|
upcoming: "upcoming";
|
|
1439
|
+
quote_accept: "quote_accept";
|
|
1437
1440
|
}>;
|
|
1438
1441
|
collection_method: import("zod").ZodEnum<{
|
|
1439
1442
|
charge_automatically: "charge_automatically";
|
|
@@ -1627,6 +1630,7 @@ export declare const billingEngineRoutes: readonly [{
|
|
|
1627
1630
|
subscription_create: "subscription_create";
|
|
1628
1631
|
subscription_cycle: "subscription_cycle";
|
|
1629
1632
|
upcoming: "upcoming";
|
|
1633
|
+
quote_accept: "quote_accept";
|
|
1630
1634
|
}>;
|
|
1631
1635
|
collection_method: import("zod").ZodEnum<{
|
|
1632
1636
|
charge_automatically: "charge_automatically";
|
|
@@ -1802,6 +1806,7 @@ export declare const billingEngineRoutes: readonly [{
|
|
|
1802
1806
|
subscription_create: "subscription_create";
|
|
1803
1807
|
subscription_cycle: "subscription_cycle";
|
|
1804
1808
|
upcoming: "upcoming";
|
|
1809
|
+
quote_accept: "quote_accept";
|
|
1805
1810
|
}>;
|
|
1806
1811
|
collection_method: import("zod").ZodEnum<{
|
|
1807
1812
|
charge_automatically: "charge_automatically";
|
|
@@ -1996,6 +2001,7 @@ export declare const billingEngineRoutes: readonly [{
|
|
|
1996
2001
|
subscription_create: "subscription_create";
|
|
1997
2002
|
subscription_cycle: "subscription_cycle";
|
|
1998
2003
|
upcoming: "upcoming";
|
|
2004
|
+
quote_accept: "quote_accept";
|
|
1999
2005
|
}>;
|
|
2000
2006
|
collection_method: import("zod").ZodEnum<{
|
|
2001
2007
|
charge_automatically: "charge_automatically";
|
|
@@ -2192,6 +2198,7 @@ export declare const billingEngineRoutes: readonly [{
|
|
|
2192
2198
|
subscription_create: "subscription_create";
|
|
2193
2199
|
subscription_cycle: "subscription_cycle";
|
|
2194
2200
|
upcoming: "upcoming";
|
|
2201
|
+
quote_accept: "quote_accept";
|
|
2195
2202
|
}>;
|
|
2196
2203
|
collection_method: import("zod").ZodEnum<{
|
|
2197
2204
|
charge_automatically: "charge_automatically";
|
|
@@ -2372,6 +2379,7 @@ export declare const billingEngineRoutes: readonly [{
|
|
|
2372
2379
|
subscription_create: "subscription_create";
|
|
2373
2380
|
subscription_cycle: "subscription_cycle";
|
|
2374
2381
|
upcoming: "upcoming";
|
|
2382
|
+
quote_accept: "quote_accept";
|
|
2375
2383
|
}>;
|
|
2376
2384
|
collection_method: import("zod").ZodEnum<{
|
|
2377
2385
|
charge_automatically: "charge_automatically";
|
|
@@ -2548,6 +2556,7 @@ export declare const billingEngineRoutes: readonly [{
|
|
|
2548
2556
|
subscription_create: "subscription_create";
|
|
2549
2557
|
subscription_cycle: "subscription_cycle";
|
|
2550
2558
|
upcoming: "upcoming";
|
|
2559
|
+
quote_accept: "quote_accept";
|
|
2551
2560
|
}>;
|
|
2552
2561
|
collection_method: import("zod").ZodEnum<{
|
|
2553
2562
|
charge_automatically: "charge_automatically";
|
|
@@ -2724,6 +2733,7 @@ export declare const billingEngineRoutes: readonly [{
|
|
|
2724
2733
|
subscription_create: "subscription_create";
|
|
2725
2734
|
subscription_cycle: "subscription_cycle";
|
|
2726
2735
|
upcoming: "upcoming";
|
|
2736
|
+
quote_accept: "quote_accept";
|
|
2727
2737
|
}>;
|
|
2728
2738
|
collection_method: import("zod").ZodEnum<{
|
|
2729
2739
|
charge_automatically: "charge_automatically";
|
|
@@ -2900,6 +2910,7 @@ export declare const billingEngineRoutes: readonly [{
|
|
|
2900
2910
|
subscription_create: "subscription_create";
|
|
2901
2911
|
subscription_cycle: "subscription_cycle";
|
|
2902
2912
|
upcoming: "upcoming";
|
|
2913
|
+
quote_accept: "quote_accept";
|
|
2903
2914
|
}>;
|
|
2904
2915
|
collection_method: import("zod").ZodEnum<{
|
|
2905
2916
|
charge_automatically: "charge_automatically";
|
|
@@ -3161,6 +3172,7 @@ export declare const billingEngineRoutes: readonly [{
|
|
|
3161
3172
|
subscription_create: "subscription_create";
|
|
3162
3173
|
subscription_cycle: "subscription_cycle";
|
|
3163
3174
|
upcoming: "upcoming";
|
|
3175
|
+
quote_accept: "quote_accept";
|
|
3164
3176
|
}>;
|
|
3165
3177
|
collection_method: import("zod").ZodEnum<{
|
|
3166
3178
|
charge_automatically: "charge_automatically";
|
|
@@ -4106,6 +4118,832 @@ export declare const billingEngineRoutes: readonly [{
|
|
|
4106
4118
|
}, import("zod/v4/core").$strict>;
|
|
4107
4119
|
readonly sdk: "creditNotes.voidCreditNote";
|
|
4108
4120
|
readonly expandable: "credit_note";
|
|
4121
|
+
}, {
|
|
4122
|
+
readonly operationId: "createQuote";
|
|
4123
|
+
readonly method: "post";
|
|
4124
|
+
readonly path: "/v1/quotes";
|
|
4125
|
+
readonly tag: "Quotes";
|
|
4126
|
+
readonly summary: "Create a quote";
|
|
4127
|
+
readonly description: "A draft for one customer, priced from catalog Prices with the catalog's own pricing. Its tax is computed when it finalizes.";
|
|
4128
|
+
readonly auth: "service";
|
|
4129
|
+
readonly scope: "payments:write";
|
|
4130
|
+
readonly idempotent: true;
|
|
4131
|
+
readonly body: import("zod").ZodObject<{
|
|
4132
|
+
customer: import("zod").ZodString;
|
|
4133
|
+
line_items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
4134
|
+
price: import("zod").ZodString;
|
|
4135
|
+
quantity: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4136
|
+
}, import("zod/v4/core").$strict>>;
|
|
4137
|
+
collection_method: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
4138
|
+
charge_automatically: "charge_automatically";
|
|
4139
|
+
send_invoice: "send_invoice";
|
|
4140
|
+
}>>;
|
|
4141
|
+
invoice_settings: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
4142
|
+
days_until_due: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4143
|
+
}, import("zod/v4/core").$strict>>;
|
|
4144
|
+
subscription_data: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
4145
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4146
|
+
trial_period_days: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4147
|
+
metadata: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>, import("zod").ZodTransform<Record<string, string>, Record<string, string>>>>;
|
|
4148
|
+
}, import("zod/v4/core").$strict>>;
|
|
4149
|
+
discounts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
4150
|
+
coupon: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4151
|
+
promotion_code: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4152
|
+
}, import("zod/v4/core").$strict>>>;
|
|
4153
|
+
automatic_tax: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
4154
|
+
enabled: import("zod").ZodBoolean;
|
|
4155
|
+
}, import("zod/v4/core").$strict>>;
|
|
4156
|
+
expires_at: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4157
|
+
header: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4158
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4159
|
+
footer: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4160
|
+
metadata: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>, import("zod").ZodTransform<Record<string, string>, Record<string, string>>>>;
|
|
4161
|
+
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>>>;
|
|
4162
|
+
}, import("zod/v4/core").$strict>;
|
|
4163
|
+
readonly response: import("zod").ZodObject<{
|
|
4164
|
+
id: import("zod").ZodString;
|
|
4165
|
+
object: import("zod").ZodLiteral<"quote">;
|
|
4166
|
+
livemode: import("zod").ZodBoolean;
|
|
4167
|
+
number: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4168
|
+
status: import("zod").ZodEnum<{
|
|
4169
|
+
canceled: "canceled";
|
|
4170
|
+
draft: "draft";
|
|
4171
|
+
open: "open";
|
|
4172
|
+
accepted: "accepted";
|
|
4173
|
+
}>;
|
|
4174
|
+
customer: import("zod").ZodType<string | import("../..").Ref<"customer">, string | import("../..").Ref<"customer">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"customer">, string | import("../..").Ref<"customer">>>;
|
|
4175
|
+
currency: import("zod").ZodEnum<{
|
|
4176
|
+
FAIR: "FAIR";
|
|
4177
|
+
EUR: "EUR";
|
|
4178
|
+
USD: "USD";
|
|
4179
|
+
GBP: "GBP";
|
|
4180
|
+
CHF: "CHF";
|
|
4181
|
+
SEK: "SEK";
|
|
4182
|
+
NOK: "NOK";
|
|
4183
|
+
DKK: "DKK";
|
|
4184
|
+
PLN: "PLN";
|
|
4185
|
+
CZK: "CZK";
|
|
4186
|
+
CAD: "CAD";
|
|
4187
|
+
AUD: "AUD";
|
|
4188
|
+
JPY: "JPY";
|
|
4189
|
+
}>;
|
|
4190
|
+
collection_method: import("zod").ZodEnum<{
|
|
4191
|
+
charge_automatically: "charge_automatically";
|
|
4192
|
+
send_invoice: "send_invoice";
|
|
4193
|
+
}>;
|
|
4194
|
+
invoice_settings: import("zod").ZodObject<{
|
|
4195
|
+
days_until_due: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4196
|
+
}, import("zod/v4/core").$strict>;
|
|
4197
|
+
subscription_data: import("zod").ZodObject<{
|
|
4198
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4199
|
+
trial_period_days: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4200
|
+
metadata: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
|
4201
|
+
}, import("zod/v4/core").$strict>;
|
|
4202
|
+
discount: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
4203
|
+
object: import("zod").ZodLiteral<"discount">;
|
|
4204
|
+
coupon: import("zod").ZodString;
|
|
4205
|
+
promotion_code: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4206
|
+
start: import("zod").ZodNumber;
|
|
4207
|
+
end: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4208
|
+
}, import("zod/v4/core").$strict>>;
|
|
4209
|
+
automatic_tax: import("zod").ZodObject<{
|
|
4210
|
+
enabled: import("zod").ZodBoolean;
|
|
4211
|
+
status: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
4212
|
+
requires_location_inputs: "requires_location_inputs";
|
|
4213
|
+
failed: "failed";
|
|
4214
|
+
complete: "complete";
|
|
4215
|
+
}>>;
|
|
4216
|
+
tax_calculation: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4217
|
+
}, import("zod/v4/core").$strict>;
|
|
4218
|
+
amount_subtotal: import("zod").ZodString;
|
|
4219
|
+
amount_total: import("zod").ZodString;
|
|
4220
|
+
total_details: import("zod").ZodObject<{
|
|
4221
|
+
amount_discount: import("zod").ZodString;
|
|
4222
|
+
amount_shipping: import("zod").ZodString;
|
|
4223
|
+
amount_tax: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4224
|
+
}, import("zod/v4/core").$strict>;
|
|
4225
|
+
expires_at: import("zod").ZodNumber;
|
|
4226
|
+
header: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4227
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4228
|
+
footer: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4229
|
+
invoice: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"invoice">, string | import("../..").Ref<"invoice">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"invoice">, string | import("../..").Ref<"invoice">>>>;
|
|
4230
|
+
subscription: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"subscription">, string | import("../..").Ref<"subscription">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"subscription">, string | import("../..").Ref<"subscription">>>>;
|
|
4231
|
+
status_transitions: import("zod").ZodObject<{
|
|
4232
|
+
finalized_at: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4233
|
+
accepted_at: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4234
|
+
canceled_at: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4235
|
+
}, import("zod/v4/core").$strict>;
|
|
4236
|
+
test_clock: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4237
|
+
metadata: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
|
4238
|
+
created: import("zod").ZodNumber;
|
|
4239
|
+
}, import("zod/v4/core").$strict>;
|
|
4240
|
+
readonly sdk: "quotes.create";
|
|
4241
|
+
readonly expandable: "quote";
|
|
4242
|
+
}, {
|
|
4243
|
+
readonly operationId: "listQuotes";
|
|
4244
|
+
readonly method: "get";
|
|
4245
|
+
readonly path: "/v1/quotes";
|
|
4246
|
+
readonly tag: "Quotes";
|
|
4247
|
+
readonly summary: "List quotes";
|
|
4248
|
+
readonly auth: "service";
|
|
4249
|
+
readonly scope: "payments:read";
|
|
4250
|
+
readonly query: import("zod").ZodObject<{
|
|
4251
|
+
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>>;
|
|
4252
|
+
starting_after: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4253
|
+
ending_before: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4254
|
+
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<{
|
|
4255
|
+
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>>;
|
|
4256
|
+
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>>;
|
|
4257
|
+
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>>;
|
|
4258
|
+
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>>;
|
|
4259
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodTransform<import("../..").RangeFilter, {
|
|
4260
|
+
gt?: number | undefined;
|
|
4261
|
+
gte?: number | undefined;
|
|
4262
|
+
lt?: number | undefined;
|
|
4263
|
+
lte?: number | undefined;
|
|
4264
|
+
}>>]>>;
|
|
4265
|
+
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>>>;
|
|
4266
|
+
customer: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4267
|
+
status: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
4268
|
+
canceled: "canceled";
|
|
4269
|
+
draft: "draft";
|
|
4270
|
+
open: "open";
|
|
4271
|
+
accepted: "accepted";
|
|
4272
|
+
}>>;
|
|
4273
|
+
}, import("zod/v4/core").$strict>;
|
|
4274
|
+
readonly response: import("zod").ZodObject<{
|
|
4275
|
+
object: import("zod").ZodLiteral<"list">;
|
|
4276
|
+
data: import("zod").ZodArray<import("zod").ZodObject<{
|
|
4277
|
+
id: import("zod").ZodString;
|
|
4278
|
+
object: import("zod").ZodLiteral<"quote">;
|
|
4279
|
+
livemode: import("zod").ZodBoolean;
|
|
4280
|
+
number: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4281
|
+
status: import("zod").ZodEnum<{
|
|
4282
|
+
canceled: "canceled";
|
|
4283
|
+
draft: "draft";
|
|
4284
|
+
open: "open";
|
|
4285
|
+
accepted: "accepted";
|
|
4286
|
+
}>;
|
|
4287
|
+
customer: import("zod").ZodType<string | import("../..").Ref<"customer">, string | import("../..").Ref<"customer">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"customer">, string | import("../..").Ref<"customer">>>;
|
|
4288
|
+
currency: import("zod").ZodEnum<{
|
|
4289
|
+
FAIR: "FAIR";
|
|
4290
|
+
EUR: "EUR";
|
|
4291
|
+
USD: "USD";
|
|
4292
|
+
GBP: "GBP";
|
|
4293
|
+
CHF: "CHF";
|
|
4294
|
+
SEK: "SEK";
|
|
4295
|
+
NOK: "NOK";
|
|
4296
|
+
DKK: "DKK";
|
|
4297
|
+
PLN: "PLN";
|
|
4298
|
+
CZK: "CZK";
|
|
4299
|
+
CAD: "CAD";
|
|
4300
|
+
AUD: "AUD";
|
|
4301
|
+
JPY: "JPY";
|
|
4302
|
+
}>;
|
|
4303
|
+
collection_method: import("zod").ZodEnum<{
|
|
4304
|
+
charge_automatically: "charge_automatically";
|
|
4305
|
+
send_invoice: "send_invoice";
|
|
4306
|
+
}>;
|
|
4307
|
+
invoice_settings: import("zod").ZodObject<{
|
|
4308
|
+
days_until_due: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4309
|
+
}, import("zod/v4/core").$strict>;
|
|
4310
|
+
subscription_data: import("zod").ZodObject<{
|
|
4311
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4312
|
+
trial_period_days: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4313
|
+
metadata: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
|
4314
|
+
}, import("zod/v4/core").$strict>;
|
|
4315
|
+
discount: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
4316
|
+
object: import("zod").ZodLiteral<"discount">;
|
|
4317
|
+
coupon: import("zod").ZodString;
|
|
4318
|
+
promotion_code: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4319
|
+
start: import("zod").ZodNumber;
|
|
4320
|
+
end: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4321
|
+
}, import("zod/v4/core").$strict>>;
|
|
4322
|
+
automatic_tax: import("zod").ZodObject<{
|
|
4323
|
+
enabled: import("zod").ZodBoolean;
|
|
4324
|
+
status: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
4325
|
+
requires_location_inputs: "requires_location_inputs";
|
|
4326
|
+
failed: "failed";
|
|
4327
|
+
complete: "complete";
|
|
4328
|
+
}>>;
|
|
4329
|
+
tax_calculation: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4330
|
+
}, import("zod/v4/core").$strict>;
|
|
4331
|
+
amount_subtotal: import("zod").ZodString;
|
|
4332
|
+
amount_total: import("zod").ZodString;
|
|
4333
|
+
total_details: import("zod").ZodObject<{
|
|
4334
|
+
amount_discount: import("zod").ZodString;
|
|
4335
|
+
amount_shipping: import("zod").ZodString;
|
|
4336
|
+
amount_tax: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4337
|
+
}, import("zod/v4/core").$strict>;
|
|
4338
|
+
expires_at: import("zod").ZodNumber;
|
|
4339
|
+
header: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4340
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4341
|
+
footer: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4342
|
+
invoice: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"invoice">, string | import("../..").Ref<"invoice">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"invoice">, string | import("../..").Ref<"invoice">>>>;
|
|
4343
|
+
subscription: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"subscription">, string | import("../..").Ref<"subscription">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"subscription">, string | import("../..").Ref<"subscription">>>>;
|
|
4344
|
+
status_transitions: import("zod").ZodObject<{
|
|
4345
|
+
finalized_at: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4346
|
+
accepted_at: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4347
|
+
canceled_at: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4348
|
+
}, import("zod/v4/core").$strict>;
|
|
4349
|
+
test_clock: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4350
|
+
metadata: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
|
4351
|
+
created: import("zod").ZodNumber;
|
|
4352
|
+
}, import("zod/v4/core").$strict>>;
|
|
4353
|
+
has_more: import("zod").ZodBoolean;
|
|
4354
|
+
url: import("zod").ZodString;
|
|
4355
|
+
}, import("zod/v4/core").$strict>;
|
|
4356
|
+
readonly sdk: "quotes.list";
|
|
4357
|
+
readonly expandable: "quote";
|
|
4358
|
+
}, {
|
|
4359
|
+
readonly operationId: "retrieveQuote";
|
|
4360
|
+
readonly method: "get";
|
|
4361
|
+
readonly path: "/v1/quotes/{id}";
|
|
4362
|
+
readonly tag: "Quotes";
|
|
4363
|
+
readonly summary: "Retrieve a quote";
|
|
4364
|
+
readonly auth: "service";
|
|
4365
|
+
readonly scope: "payments:read";
|
|
4366
|
+
readonly params: {
|
|
4367
|
+
readonly id: "The quote (`qt_…`).";
|
|
4368
|
+
};
|
|
4369
|
+
readonly query: import("zod").ZodObject<{
|
|
4370
|
+
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>>>;
|
|
4371
|
+
}, import("zod/v4/core").$strict>;
|
|
4372
|
+
readonly response: import("zod").ZodObject<{
|
|
4373
|
+
id: import("zod").ZodString;
|
|
4374
|
+
object: import("zod").ZodLiteral<"quote">;
|
|
4375
|
+
livemode: import("zod").ZodBoolean;
|
|
4376
|
+
number: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4377
|
+
status: import("zod").ZodEnum<{
|
|
4378
|
+
canceled: "canceled";
|
|
4379
|
+
draft: "draft";
|
|
4380
|
+
open: "open";
|
|
4381
|
+
accepted: "accepted";
|
|
4382
|
+
}>;
|
|
4383
|
+
customer: import("zod").ZodType<string | import("../..").Ref<"customer">, string | import("../..").Ref<"customer">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"customer">, string | import("../..").Ref<"customer">>>;
|
|
4384
|
+
currency: import("zod").ZodEnum<{
|
|
4385
|
+
FAIR: "FAIR";
|
|
4386
|
+
EUR: "EUR";
|
|
4387
|
+
USD: "USD";
|
|
4388
|
+
GBP: "GBP";
|
|
4389
|
+
CHF: "CHF";
|
|
4390
|
+
SEK: "SEK";
|
|
4391
|
+
NOK: "NOK";
|
|
4392
|
+
DKK: "DKK";
|
|
4393
|
+
PLN: "PLN";
|
|
4394
|
+
CZK: "CZK";
|
|
4395
|
+
CAD: "CAD";
|
|
4396
|
+
AUD: "AUD";
|
|
4397
|
+
JPY: "JPY";
|
|
4398
|
+
}>;
|
|
4399
|
+
collection_method: import("zod").ZodEnum<{
|
|
4400
|
+
charge_automatically: "charge_automatically";
|
|
4401
|
+
send_invoice: "send_invoice";
|
|
4402
|
+
}>;
|
|
4403
|
+
invoice_settings: import("zod").ZodObject<{
|
|
4404
|
+
days_until_due: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4405
|
+
}, import("zod/v4/core").$strict>;
|
|
4406
|
+
subscription_data: import("zod").ZodObject<{
|
|
4407
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4408
|
+
trial_period_days: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4409
|
+
metadata: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
|
4410
|
+
}, import("zod/v4/core").$strict>;
|
|
4411
|
+
discount: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
4412
|
+
object: import("zod").ZodLiteral<"discount">;
|
|
4413
|
+
coupon: import("zod").ZodString;
|
|
4414
|
+
promotion_code: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4415
|
+
start: import("zod").ZodNumber;
|
|
4416
|
+
end: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4417
|
+
}, import("zod/v4/core").$strict>>;
|
|
4418
|
+
automatic_tax: import("zod").ZodObject<{
|
|
4419
|
+
enabled: import("zod").ZodBoolean;
|
|
4420
|
+
status: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
4421
|
+
requires_location_inputs: "requires_location_inputs";
|
|
4422
|
+
failed: "failed";
|
|
4423
|
+
complete: "complete";
|
|
4424
|
+
}>>;
|
|
4425
|
+
tax_calculation: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4426
|
+
}, import("zod/v4/core").$strict>;
|
|
4427
|
+
amount_subtotal: import("zod").ZodString;
|
|
4428
|
+
amount_total: import("zod").ZodString;
|
|
4429
|
+
total_details: import("zod").ZodObject<{
|
|
4430
|
+
amount_discount: import("zod").ZodString;
|
|
4431
|
+
amount_shipping: import("zod").ZodString;
|
|
4432
|
+
amount_tax: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4433
|
+
}, import("zod/v4/core").$strict>;
|
|
4434
|
+
expires_at: import("zod").ZodNumber;
|
|
4435
|
+
header: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4436
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4437
|
+
footer: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4438
|
+
invoice: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"invoice">, string | import("../..").Ref<"invoice">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"invoice">, string | import("../..").Ref<"invoice">>>>;
|
|
4439
|
+
subscription: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"subscription">, string | import("../..").Ref<"subscription">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"subscription">, string | import("../..").Ref<"subscription">>>>;
|
|
4440
|
+
status_transitions: import("zod").ZodObject<{
|
|
4441
|
+
finalized_at: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4442
|
+
accepted_at: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4443
|
+
canceled_at: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4444
|
+
}, import("zod/v4/core").$strict>;
|
|
4445
|
+
test_clock: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4446
|
+
metadata: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
|
4447
|
+
created: import("zod").ZodNumber;
|
|
4448
|
+
}, import("zod/v4/core").$strict>;
|
|
4449
|
+
readonly sdk: "quotes.retrieve";
|
|
4450
|
+
readonly expandable: "quote";
|
|
4451
|
+
}, {
|
|
4452
|
+
readonly operationId: "updateQuote";
|
|
4453
|
+
readonly method: "post";
|
|
4454
|
+
readonly path: "/v1/quotes/{id}";
|
|
4455
|
+
readonly tag: "Quotes";
|
|
4456
|
+
readonly summary: "Update a quote";
|
|
4457
|
+
readonly description: "Drafts only, except `metadata`. `line_items` replaces every line; a field sent as `\"\"` is cleared; `metadata` is a patch.";
|
|
4458
|
+
readonly auth: "service";
|
|
4459
|
+
readonly scope: "payments:write";
|
|
4460
|
+
readonly idempotent: true;
|
|
4461
|
+
readonly params: {
|
|
4462
|
+
readonly id: "The quote (`qt_…`).";
|
|
4463
|
+
};
|
|
4464
|
+
readonly body: import("zod").ZodObject<{
|
|
4465
|
+
line_items: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
4466
|
+
price: import("zod").ZodString;
|
|
4467
|
+
quantity: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4468
|
+
}, import("zod/v4/core").$strict>>>;
|
|
4469
|
+
collection_method: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
4470
|
+
charge_automatically: "charge_automatically";
|
|
4471
|
+
send_invoice: "send_invoice";
|
|
4472
|
+
}>>;
|
|
4473
|
+
invoice_settings: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
4474
|
+
days_until_due: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4475
|
+
}, import("zod/v4/core").$strict>>;
|
|
4476
|
+
subscription_data: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
4477
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4478
|
+
trial_period_days: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4479
|
+
metadata: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>, import("zod").ZodTransform<Record<string, string>, Record<string, string>>>>;
|
|
4480
|
+
}, import("zod/v4/core").$strict>>;
|
|
4481
|
+
discounts: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodArray<import("zod").ZodObject<{
|
|
4482
|
+
coupon: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4483
|
+
promotion_code: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4484
|
+
}, import("zod/v4/core").$strict>>, import("zod").ZodLiteral<"">]>>;
|
|
4485
|
+
automatic_tax: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
4486
|
+
enabled: import("zod").ZodBoolean;
|
|
4487
|
+
}, import("zod/v4/core").$strict>>;
|
|
4488
|
+
expires_at: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4489
|
+
header: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"">]>>;
|
|
4490
|
+
description: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"">]>>;
|
|
4491
|
+
footer: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"">]>>;
|
|
4492
|
+
metadata: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>, import("zod").ZodTransform<import("../..").MetadataPatch, Record<string, string>>>>;
|
|
4493
|
+
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>>>;
|
|
4494
|
+
}, import("zod/v4/core").$strict>;
|
|
4495
|
+
readonly response: import("zod").ZodObject<{
|
|
4496
|
+
id: import("zod").ZodString;
|
|
4497
|
+
object: import("zod").ZodLiteral<"quote">;
|
|
4498
|
+
livemode: import("zod").ZodBoolean;
|
|
4499
|
+
number: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4500
|
+
status: import("zod").ZodEnum<{
|
|
4501
|
+
canceled: "canceled";
|
|
4502
|
+
draft: "draft";
|
|
4503
|
+
open: "open";
|
|
4504
|
+
accepted: "accepted";
|
|
4505
|
+
}>;
|
|
4506
|
+
customer: import("zod").ZodType<string | import("../..").Ref<"customer">, string | import("../..").Ref<"customer">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"customer">, string | import("../..").Ref<"customer">>>;
|
|
4507
|
+
currency: import("zod").ZodEnum<{
|
|
4508
|
+
FAIR: "FAIR";
|
|
4509
|
+
EUR: "EUR";
|
|
4510
|
+
USD: "USD";
|
|
4511
|
+
GBP: "GBP";
|
|
4512
|
+
CHF: "CHF";
|
|
4513
|
+
SEK: "SEK";
|
|
4514
|
+
NOK: "NOK";
|
|
4515
|
+
DKK: "DKK";
|
|
4516
|
+
PLN: "PLN";
|
|
4517
|
+
CZK: "CZK";
|
|
4518
|
+
CAD: "CAD";
|
|
4519
|
+
AUD: "AUD";
|
|
4520
|
+
JPY: "JPY";
|
|
4521
|
+
}>;
|
|
4522
|
+
collection_method: import("zod").ZodEnum<{
|
|
4523
|
+
charge_automatically: "charge_automatically";
|
|
4524
|
+
send_invoice: "send_invoice";
|
|
4525
|
+
}>;
|
|
4526
|
+
invoice_settings: import("zod").ZodObject<{
|
|
4527
|
+
days_until_due: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4528
|
+
}, import("zod/v4/core").$strict>;
|
|
4529
|
+
subscription_data: import("zod").ZodObject<{
|
|
4530
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4531
|
+
trial_period_days: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4532
|
+
metadata: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
|
4533
|
+
}, import("zod/v4/core").$strict>;
|
|
4534
|
+
discount: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
4535
|
+
object: import("zod").ZodLiteral<"discount">;
|
|
4536
|
+
coupon: import("zod").ZodString;
|
|
4537
|
+
promotion_code: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4538
|
+
start: import("zod").ZodNumber;
|
|
4539
|
+
end: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4540
|
+
}, import("zod/v4/core").$strict>>;
|
|
4541
|
+
automatic_tax: import("zod").ZodObject<{
|
|
4542
|
+
enabled: import("zod").ZodBoolean;
|
|
4543
|
+
status: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
4544
|
+
requires_location_inputs: "requires_location_inputs";
|
|
4545
|
+
failed: "failed";
|
|
4546
|
+
complete: "complete";
|
|
4547
|
+
}>>;
|
|
4548
|
+
tax_calculation: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4549
|
+
}, import("zod/v4/core").$strict>;
|
|
4550
|
+
amount_subtotal: import("zod").ZodString;
|
|
4551
|
+
amount_total: import("zod").ZodString;
|
|
4552
|
+
total_details: import("zod").ZodObject<{
|
|
4553
|
+
amount_discount: import("zod").ZodString;
|
|
4554
|
+
amount_shipping: import("zod").ZodString;
|
|
4555
|
+
amount_tax: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4556
|
+
}, import("zod/v4/core").$strict>;
|
|
4557
|
+
expires_at: import("zod").ZodNumber;
|
|
4558
|
+
header: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4559
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4560
|
+
footer: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4561
|
+
invoice: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"invoice">, string | import("../..").Ref<"invoice">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"invoice">, string | import("../..").Ref<"invoice">>>>;
|
|
4562
|
+
subscription: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"subscription">, string | import("../..").Ref<"subscription">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"subscription">, string | import("../..").Ref<"subscription">>>>;
|
|
4563
|
+
status_transitions: import("zod").ZodObject<{
|
|
4564
|
+
finalized_at: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4565
|
+
accepted_at: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4566
|
+
canceled_at: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4567
|
+
}, import("zod/v4/core").$strict>;
|
|
4568
|
+
test_clock: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4569
|
+
metadata: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
|
4570
|
+
created: import("zod").ZodNumber;
|
|
4571
|
+
}, import("zod/v4/core").$strict>;
|
|
4572
|
+
readonly sdk: "quotes.update";
|
|
4573
|
+
readonly expandable: "quote";
|
|
4574
|
+
}, {
|
|
4575
|
+
readonly operationId: "finalizeQuote";
|
|
4576
|
+
readonly method: "post";
|
|
4577
|
+
readonly path: "/v1/quotes/{id}/finalize";
|
|
4578
|
+
readonly tag: "Quotes";
|
|
4579
|
+
readonly summary: "Finalize a draft quote";
|
|
4580
|
+
readonly description: "It gets its number, its discount and its Peable Tax. Tax fails closed: a quote whose tax cannot be computed stays a draft (`automatic_tax.status` says why).";
|
|
4581
|
+
readonly auth: "service";
|
|
4582
|
+
readonly scope: "payments:write";
|
|
4583
|
+
readonly idempotent: true;
|
|
4584
|
+
readonly params: {
|
|
4585
|
+
readonly id: "The quote (`qt_…`).";
|
|
4586
|
+
};
|
|
4587
|
+
readonly body: import("zod").ZodObject<{
|
|
4588
|
+
expires_at: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4589
|
+
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>>>;
|
|
4590
|
+
}, import("zod/v4/core").$strict>;
|
|
4591
|
+
readonly response: import("zod").ZodObject<{
|
|
4592
|
+
id: import("zod").ZodString;
|
|
4593
|
+
object: import("zod").ZodLiteral<"quote">;
|
|
4594
|
+
livemode: import("zod").ZodBoolean;
|
|
4595
|
+
number: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4596
|
+
status: import("zod").ZodEnum<{
|
|
4597
|
+
canceled: "canceled";
|
|
4598
|
+
draft: "draft";
|
|
4599
|
+
open: "open";
|
|
4600
|
+
accepted: "accepted";
|
|
4601
|
+
}>;
|
|
4602
|
+
customer: import("zod").ZodType<string | import("../..").Ref<"customer">, string | import("../..").Ref<"customer">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"customer">, string | import("../..").Ref<"customer">>>;
|
|
4603
|
+
currency: import("zod").ZodEnum<{
|
|
4604
|
+
FAIR: "FAIR";
|
|
4605
|
+
EUR: "EUR";
|
|
4606
|
+
USD: "USD";
|
|
4607
|
+
GBP: "GBP";
|
|
4608
|
+
CHF: "CHF";
|
|
4609
|
+
SEK: "SEK";
|
|
4610
|
+
NOK: "NOK";
|
|
4611
|
+
DKK: "DKK";
|
|
4612
|
+
PLN: "PLN";
|
|
4613
|
+
CZK: "CZK";
|
|
4614
|
+
CAD: "CAD";
|
|
4615
|
+
AUD: "AUD";
|
|
4616
|
+
JPY: "JPY";
|
|
4617
|
+
}>;
|
|
4618
|
+
collection_method: import("zod").ZodEnum<{
|
|
4619
|
+
charge_automatically: "charge_automatically";
|
|
4620
|
+
send_invoice: "send_invoice";
|
|
4621
|
+
}>;
|
|
4622
|
+
invoice_settings: import("zod").ZodObject<{
|
|
4623
|
+
days_until_due: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4624
|
+
}, import("zod/v4/core").$strict>;
|
|
4625
|
+
subscription_data: import("zod").ZodObject<{
|
|
4626
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4627
|
+
trial_period_days: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4628
|
+
metadata: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
|
4629
|
+
}, import("zod/v4/core").$strict>;
|
|
4630
|
+
discount: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
4631
|
+
object: import("zod").ZodLiteral<"discount">;
|
|
4632
|
+
coupon: import("zod").ZodString;
|
|
4633
|
+
promotion_code: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4634
|
+
start: import("zod").ZodNumber;
|
|
4635
|
+
end: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4636
|
+
}, import("zod/v4/core").$strict>>;
|
|
4637
|
+
automatic_tax: import("zod").ZodObject<{
|
|
4638
|
+
enabled: import("zod").ZodBoolean;
|
|
4639
|
+
status: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
4640
|
+
requires_location_inputs: "requires_location_inputs";
|
|
4641
|
+
failed: "failed";
|
|
4642
|
+
complete: "complete";
|
|
4643
|
+
}>>;
|
|
4644
|
+
tax_calculation: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4645
|
+
}, import("zod/v4/core").$strict>;
|
|
4646
|
+
amount_subtotal: import("zod").ZodString;
|
|
4647
|
+
amount_total: import("zod").ZodString;
|
|
4648
|
+
total_details: import("zod").ZodObject<{
|
|
4649
|
+
amount_discount: import("zod").ZodString;
|
|
4650
|
+
amount_shipping: import("zod").ZodString;
|
|
4651
|
+
amount_tax: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4652
|
+
}, import("zod/v4/core").$strict>;
|
|
4653
|
+
expires_at: import("zod").ZodNumber;
|
|
4654
|
+
header: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4655
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4656
|
+
footer: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4657
|
+
invoice: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"invoice">, string | import("../..").Ref<"invoice">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"invoice">, string | import("../..").Ref<"invoice">>>>;
|
|
4658
|
+
subscription: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"subscription">, string | import("../..").Ref<"subscription">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"subscription">, string | import("../..").Ref<"subscription">>>>;
|
|
4659
|
+
status_transitions: import("zod").ZodObject<{
|
|
4660
|
+
finalized_at: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4661
|
+
accepted_at: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4662
|
+
canceled_at: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4663
|
+
}, import("zod/v4/core").$strict>;
|
|
4664
|
+
test_clock: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4665
|
+
metadata: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
|
4666
|
+
created: import("zod").ZodNumber;
|
|
4667
|
+
}, import("zod/v4/core").$strict>;
|
|
4668
|
+
readonly sdk: "quotes.finalizeQuote";
|
|
4669
|
+
readonly expandable: "quote";
|
|
4670
|
+
}, {
|
|
4671
|
+
readonly operationId: "acceptQuote";
|
|
4672
|
+
readonly method: "post";
|
|
4673
|
+
readonly path: "/v1/quotes/{id}/accept";
|
|
4674
|
+
readonly tag: "Quotes";
|
|
4675
|
+
readonly summary: "Accept an open quote";
|
|
4676
|
+
readonly description: "The customer said yes. One-time lines become an invoice; recurring lines a subscription whose first invoice also carries the one-time lines. The invoice is finalized (tax before finalize) and collected as the engine collects any other: charged when `charge_automatically` and the customer has a card, otherwise paid on its hosted page — where FairCoin is always offered.";
|
|
4677
|
+
readonly auth: "service";
|
|
4678
|
+
readonly scope: "payments:write";
|
|
4679
|
+
readonly idempotent: true;
|
|
4680
|
+
readonly params: {
|
|
4681
|
+
readonly id: "The quote (`qt_…`).";
|
|
4682
|
+
};
|
|
4683
|
+
readonly body: import("zod").ZodObject<{
|
|
4684
|
+
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>>>;
|
|
4685
|
+
}, import("zod/v4/core").$strict>;
|
|
4686
|
+
readonly response: import("zod").ZodObject<{
|
|
4687
|
+
id: import("zod").ZodString;
|
|
4688
|
+
object: import("zod").ZodLiteral<"quote">;
|
|
4689
|
+
livemode: import("zod").ZodBoolean;
|
|
4690
|
+
number: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4691
|
+
status: import("zod").ZodEnum<{
|
|
4692
|
+
canceled: "canceled";
|
|
4693
|
+
draft: "draft";
|
|
4694
|
+
open: "open";
|
|
4695
|
+
accepted: "accepted";
|
|
4696
|
+
}>;
|
|
4697
|
+
customer: import("zod").ZodType<string | import("../..").Ref<"customer">, string | import("../..").Ref<"customer">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"customer">, string | import("../..").Ref<"customer">>>;
|
|
4698
|
+
currency: import("zod").ZodEnum<{
|
|
4699
|
+
FAIR: "FAIR";
|
|
4700
|
+
EUR: "EUR";
|
|
4701
|
+
USD: "USD";
|
|
4702
|
+
GBP: "GBP";
|
|
4703
|
+
CHF: "CHF";
|
|
4704
|
+
SEK: "SEK";
|
|
4705
|
+
NOK: "NOK";
|
|
4706
|
+
DKK: "DKK";
|
|
4707
|
+
PLN: "PLN";
|
|
4708
|
+
CZK: "CZK";
|
|
4709
|
+
CAD: "CAD";
|
|
4710
|
+
AUD: "AUD";
|
|
4711
|
+
JPY: "JPY";
|
|
4712
|
+
}>;
|
|
4713
|
+
collection_method: import("zod").ZodEnum<{
|
|
4714
|
+
charge_automatically: "charge_automatically";
|
|
4715
|
+
send_invoice: "send_invoice";
|
|
4716
|
+
}>;
|
|
4717
|
+
invoice_settings: import("zod").ZodObject<{
|
|
4718
|
+
days_until_due: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4719
|
+
}, import("zod/v4/core").$strict>;
|
|
4720
|
+
subscription_data: import("zod").ZodObject<{
|
|
4721
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4722
|
+
trial_period_days: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4723
|
+
metadata: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
|
4724
|
+
}, import("zod/v4/core").$strict>;
|
|
4725
|
+
discount: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
4726
|
+
object: import("zod").ZodLiteral<"discount">;
|
|
4727
|
+
coupon: import("zod").ZodString;
|
|
4728
|
+
promotion_code: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4729
|
+
start: import("zod").ZodNumber;
|
|
4730
|
+
end: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4731
|
+
}, import("zod/v4/core").$strict>>;
|
|
4732
|
+
automatic_tax: import("zod").ZodObject<{
|
|
4733
|
+
enabled: import("zod").ZodBoolean;
|
|
4734
|
+
status: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
4735
|
+
requires_location_inputs: "requires_location_inputs";
|
|
4736
|
+
failed: "failed";
|
|
4737
|
+
complete: "complete";
|
|
4738
|
+
}>>;
|
|
4739
|
+
tax_calculation: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4740
|
+
}, import("zod/v4/core").$strict>;
|
|
4741
|
+
amount_subtotal: import("zod").ZodString;
|
|
4742
|
+
amount_total: import("zod").ZodString;
|
|
4743
|
+
total_details: import("zod").ZodObject<{
|
|
4744
|
+
amount_discount: import("zod").ZodString;
|
|
4745
|
+
amount_shipping: import("zod").ZodString;
|
|
4746
|
+
amount_tax: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4747
|
+
}, import("zod/v4/core").$strict>;
|
|
4748
|
+
expires_at: import("zod").ZodNumber;
|
|
4749
|
+
header: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4750
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4751
|
+
footer: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4752
|
+
invoice: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"invoice">, string | import("../..").Ref<"invoice">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"invoice">, string | import("../..").Ref<"invoice">>>>;
|
|
4753
|
+
subscription: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"subscription">, string | import("../..").Ref<"subscription">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"subscription">, string | import("../..").Ref<"subscription">>>>;
|
|
4754
|
+
status_transitions: import("zod").ZodObject<{
|
|
4755
|
+
finalized_at: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4756
|
+
accepted_at: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4757
|
+
canceled_at: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4758
|
+
}, import("zod/v4/core").$strict>;
|
|
4759
|
+
test_clock: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4760
|
+
metadata: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
|
4761
|
+
created: import("zod").ZodNumber;
|
|
4762
|
+
}, import("zod/v4/core").$strict>;
|
|
4763
|
+
readonly sdk: "quotes.accept";
|
|
4764
|
+
readonly expandable: "quote";
|
|
4765
|
+
}, {
|
|
4766
|
+
readonly operationId: "cancelQuote";
|
|
4767
|
+
readonly method: "post";
|
|
4768
|
+
readonly path: "/v1/quotes/{id}/cancel";
|
|
4769
|
+
readonly tag: "Quotes";
|
|
4770
|
+
readonly summary: "Cancel a quote";
|
|
4771
|
+
readonly description: "A draft or an open quote; an accepted one cannot be cancelled.";
|
|
4772
|
+
readonly auth: "service";
|
|
4773
|
+
readonly scope: "payments:write";
|
|
4774
|
+
readonly idempotent: true;
|
|
4775
|
+
readonly params: {
|
|
4776
|
+
readonly id: "The quote (`qt_…`).";
|
|
4777
|
+
};
|
|
4778
|
+
readonly body: import("zod").ZodObject<{
|
|
4779
|
+
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>>>;
|
|
4780
|
+
}, import("zod/v4/core").$strict>;
|
|
4781
|
+
readonly response: import("zod").ZodObject<{
|
|
4782
|
+
id: import("zod").ZodString;
|
|
4783
|
+
object: import("zod").ZodLiteral<"quote">;
|
|
4784
|
+
livemode: import("zod").ZodBoolean;
|
|
4785
|
+
number: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4786
|
+
status: import("zod").ZodEnum<{
|
|
4787
|
+
canceled: "canceled";
|
|
4788
|
+
draft: "draft";
|
|
4789
|
+
open: "open";
|
|
4790
|
+
accepted: "accepted";
|
|
4791
|
+
}>;
|
|
4792
|
+
customer: import("zod").ZodType<string | import("../..").Ref<"customer">, string | import("../..").Ref<"customer">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"customer">, string | import("../..").Ref<"customer">>>;
|
|
4793
|
+
currency: import("zod").ZodEnum<{
|
|
4794
|
+
FAIR: "FAIR";
|
|
4795
|
+
EUR: "EUR";
|
|
4796
|
+
USD: "USD";
|
|
4797
|
+
GBP: "GBP";
|
|
4798
|
+
CHF: "CHF";
|
|
4799
|
+
SEK: "SEK";
|
|
4800
|
+
NOK: "NOK";
|
|
4801
|
+
DKK: "DKK";
|
|
4802
|
+
PLN: "PLN";
|
|
4803
|
+
CZK: "CZK";
|
|
4804
|
+
CAD: "CAD";
|
|
4805
|
+
AUD: "AUD";
|
|
4806
|
+
JPY: "JPY";
|
|
4807
|
+
}>;
|
|
4808
|
+
collection_method: import("zod").ZodEnum<{
|
|
4809
|
+
charge_automatically: "charge_automatically";
|
|
4810
|
+
send_invoice: "send_invoice";
|
|
4811
|
+
}>;
|
|
4812
|
+
invoice_settings: import("zod").ZodObject<{
|
|
4813
|
+
days_until_due: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4814
|
+
}, import("zod/v4/core").$strict>;
|
|
4815
|
+
subscription_data: import("zod").ZodObject<{
|
|
4816
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4817
|
+
trial_period_days: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4818
|
+
metadata: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
|
4819
|
+
}, import("zod/v4/core").$strict>;
|
|
4820
|
+
discount: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
4821
|
+
object: import("zod").ZodLiteral<"discount">;
|
|
4822
|
+
coupon: import("zod").ZodString;
|
|
4823
|
+
promotion_code: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4824
|
+
start: import("zod").ZodNumber;
|
|
4825
|
+
end: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4826
|
+
}, import("zod/v4/core").$strict>>;
|
|
4827
|
+
automatic_tax: import("zod").ZodObject<{
|
|
4828
|
+
enabled: import("zod").ZodBoolean;
|
|
4829
|
+
status: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
4830
|
+
requires_location_inputs: "requires_location_inputs";
|
|
4831
|
+
failed: "failed";
|
|
4832
|
+
complete: "complete";
|
|
4833
|
+
}>>;
|
|
4834
|
+
tax_calculation: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4835
|
+
}, import("zod/v4/core").$strict>;
|
|
4836
|
+
amount_subtotal: import("zod").ZodString;
|
|
4837
|
+
amount_total: import("zod").ZodString;
|
|
4838
|
+
total_details: import("zod").ZodObject<{
|
|
4839
|
+
amount_discount: import("zod").ZodString;
|
|
4840
|
+
amount_shipping: import("zod").ZodString;
|
|
4841
|
+
amount_tax: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4842
|
+
}, import("zod/v4/core").$strict>;
|
|
4843
|
+
expires_at: import("zod").ZodNumber;
|
|
4844
|
+
header: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4845
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4846
|
+
footer: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4847
|
+
invoice: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"invoice">, string | import("../..").Ref<"invoice">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"invoice">, string | import("../..").Ref<"invoice">>>>;
|
|
4848
|
+
subscription: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"subscription">, string | import("../..").Ref<"subscription">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"subscription">, string | import("../..").Ref<"subscription">>>>;
|
|
4849
|
+
status_transitions: import("zod").ZodObject<{
|
|
4850
|
+
finalized_at: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4851
|
+
accepted_at: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4852
|
+
canceled_at: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4853
|
+
}, import("zod/v4/core").$strict>;
|
|
4854
|
+
test_clock: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4855
|
+
metadata: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
|
4856
|
+
created: import("zod").ZodNumber;
|
|
4857
|
+
}, import("zod/v4/core").$strict>;
|
|
4858
|
+
readonly sdk: "quotes.cancel";
|
|
4859
|
+
readonly expandable: "quote";
|
|
4860
|
+
}, {
|
|
4861
|
+
readonly operationId: "listQuoteLineItems";
|
|
4862
|
+
readonly method: "get";
|
|
4863
|
+
readonly path: "/v1/quotes/{id}/line_items";
|
|
4864
|
+
readonly tag: "Quotes";
|
|
4865
|
+
readonly summary: "List a quote's line items";
|
|
4866
|
+
readonly description: "In their order (at most twenty); the cursor is a line's own `li_…`.";
|
|
4867
|
+
readonly auth: "service";
|
|
4868
|
+
readonly scope: "payments:read";
|
|
4869
|
+
readonly params: {
|
|
4870
|
+
readonly id: "The quote (`qt_…`).";
|
|
4871
|
+
};
|
|
4872
|
+
readonly query: import("zod").ZodObject<{
|
|
4873
|
+
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>>;
|
|
4874
|
+
starting_after: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4875
|
+
ending_before: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4876
|
+
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<{
|
|
4877
|
+
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>>;
|
|
4878
|
+
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>>;
|
|
4879
|
+
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>>;
|
|
4880
|
+
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>>;
|
|
4881
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodTransform<import("../..").RangeFilter, {
|
|
4882
|
+
gt?: number | undefined;
|
|
4883
|
+
gte?: number | undefined;
|
|
4884
|
+
lt?: number | undefined;
|
|
4885
|
+
lte?: number | undefined;
|
|
4886
|
+
}>>]>>;
|
|
4887
|
+
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>>>;
|
|
4888
|
+
}, import("zod/v4/core").$strict>;
|
|
4889
|
+
readonly response: import("zod").ZodObject<{
|
|
4890
|
+
object: import("zod").ZodLiteral<"list">;
|
|
4891
|
+
data: import("zod").ZodArray<import("zod").ZodObject<{
|
|
4892
|
+
id: import("zod").ZodString;
|
|
4893
|
+
object: import("zod").ZodLiteral<"item">;
|
|
4894
|
+
description: import("zod").ZodString;
|
|
4895
|
+
price: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"price">, string | import("../..").Ref<"price">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"price">, string | import("../..").Ref<"price">>>>;
|
|
4896
|
+
product: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"product">, string | import("../..").Ref<"product">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"product">, string | import("../..").Ref<"product">>>>;
|
|
4897
|
+
images: import("zod").ZodArray<import("zod").ZodString>;
|
|
4898
|
+
quantity: import("zod").ZodNumber;
|
|
4899
|
+
adjustable_quantity: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
4900
|
+
enabled: import("zod").ZodBoolean;
|
|
4901
|
+
minimum: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4902
|
+
maximum: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4903
|
+
}, import("zod/v4/core").$strict>>;
|
|
4904
|
+
currency: import("zod").ZodEnum<{
|
|
4905
|
+
FAIR: "FAIR";
|
|
4906
|
+
EUR: "EUR";
|
|
4907
|
+
USD: "USD";
|
|
4908
|
+
GBP: "GBP";
|
|
4909
|
+
CHF: "CHF";
|
|
4910
|
+
SEK: "SEK";
|
|
4911
|
+
NOK: "NOK";
|
|
4912
|
+
DKK: "DKK";
|
|
4913
|
+
PLN: "PLN";
|
|
4914
|
+
CZK: "CZK";
|
|
4915
|
+
CAD: "CAD";
|
|
4916
|
+
AUD: "AUD";
|
|
4917
|
+
JPY: "JPY";
|
|
4918
|
+
}>;
|
|
4919
|
+
unit_amount: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4920
|
+
amount_subtotal: import("zod").ZodString;
|
|
4921
|
+
amount_discount: import("zod").ZodString;
|
|
4922
|
+
amount_tax: import("zod").ZodString;
|
|
4923
|
+
amount_total: import("zod").ZodString;
|
|
4924
|
+
}, import("zod/v4/core").$strict>>;
|
|
4925
|
+
has_more: import("zod").ZodBoolean;
|
|
4926
|
+
url: import("zod").ZodString;
|
|
4927
|
+
}, import("zod/v4/core").$strict>;
|
|
4928
|
+
readonly sdk: "quotes.listLineItems";
|
|
4929
|
+
readonly expandable: "item";
|
|
4930
|
+
}, {
|
|
4931
|
+
readonly operationId: "retrieveQuotePdf";
|
|
4932
|
+
readonly method: "get";
|
|
4933
|
+
readonly path: "/v1/quotes/{id}/pdf";
|
|
4934
|
+
readonly tag: "Quotes";
|
|
4935
|
+
readonly summary: "Download a quote's PDF";
|
|
4936
|
+
readonly description: "A draft renders marked as a draft, without a number.";
|
|
4937
|
+
readonly auth: "service";
|
|
4938
|
+
readonly scope: "payments:read";
|
|
4939
|
+
readonly params: {
|
|
4940
|
+
readonly id: "The quote (`qt_…`).";
|
|
4941
|
+
};
|
|
4942
|
+
readonly response: {
|
|
4943
|
+
readonly kind: "binary";
|
|
4944
|
+
readonly contentType: "application/pdf";
|
|
4945
|
+
};
|
|
4946
|
+
readonly sdk: "quotes.pdf";
|
|
4109
4947
|
}, {
|
|
4110
4948
|
readonly operationId: "createCustomerBalanceTransaction";
|
|
4111
4949
|
readonly method: "post";
|