@leaflow/sdk 0.0.0-dev.236.gebd337c → 0.0.0-dev.240.gecb1b07

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.
@@ -105,10 +105,10 @@ export type CreateCancellationRequestBody = NonNullable<operations["create-cance
105
105
  export type GetCancellationRequestResult = operations["get-cancellation-request"]["responses"][200]["content"]["application/json"];
106
106
  /** The success response body of `POST /account/v1/cancellation-requests/{cancellationRequestId}/cancel`. */
107
107
  export type CancelCancellationRequestResult = operations["cancel-cancellation-request"]["responses"][200]["content"]["application/json"];
108
- /** The success response body of `POST /account/v1/cancellations/preview`. */
109
- export type CreateCancellationPreviewResult = operations["create-cancellation-preview"]["responses"][200]["content"]["application/json"];
110
- /** The request body of `POST /account/v1/cancellations/preview`. */
111
- export type CreateCancellationPreviewBody = NonNullable<operations["create-cancellation-preview"]["requestBody"]>["content"]["application/json"];
108
+ /** The success response body of `POST /account/v1/quotes`. */
109
+ export type CreateQuoteResult = operations["create-quote"]["responses"][200]["content"]["application/json"];
110
+ /** The request body of `POST /account/v1/quotes`. */
111
+ export type CreateQuoteBody = NonNullable<operations["create-quote"]["requestBody"]>["content"]["application/json"];
112
112
  /** The success response body of `POST /account/v1/cancellations`. */
113
113
  export type CreateCancellationResult = operations["create-cancellation"]["responses"][200]["content"]["application/json"];
114
114
  /** The request body of `POST /account/v1/cancellations`. */
@@ -697,7 +697,7 @@ export interface paths {
697
697
  * @deprecated
698
698
  * @description Reads confirmed terms and paid-period value without recording a request or locking a refund amount.
699
699
  *
700
- * Use create-cancellation-preview, which previews the subscriptions released together.
700
+ * Use create-quote with a `cancellation`, which quotes the subscriptions released together.
701
701
  */
702
702
  get: operations["preview-cancellation"];
703
703
  put?: never;
@@ -781,7 +781,7 @@ export interface paths {
781
781
  patch?: never;
782
782
  trace?: never;
783
783
  };
784
- "/account/v1/cancellations/preview": {
784
+ "/account/v1/quotes": {
785
785
  parameters: {
786
786
  query?: never;
787
787
  header?: never;
@@ -791,15 +791,27 @@ export interface paths {
791
791
  get?: never;
792
792
  put?: never;
793
793
  /**
794
- * Preview a cancellation
795
- * @description What canceling these subscriptions together would return, computed now under the refund terms
796
- * agreed when each was bought. This request does not create a resource: nothing is recorded or
797
- * reserved.
794
+ * Quote renewals or a cancellation
795
+ * @description Priced in the currency of the billing account that pays for the subscriptions, and at any rate
796
+ * negotiated for that account. Nothing is reserved and nothing is recorded, so this may be called
797
+ * as often as required. Prices may change between quoting and renewing, so a quote should be
798
+ * refreshed before a final confirmation is shown.
798
799
  *
799
- * It is refused with the same errors as creating the cancellation, except that the amount is not
800
- * checked. Give the returned `proration_date` and `refundable_amount` when creating it.
800
+ * A renewal is priced exactly as renewing would charge it: at the agreed amount or the price
801
+ * named, with the discounts the account holds, and with tax.
802
+ *
803
+ * A cancellation is quoted as creating it would compute the refund, as of now and under the refund
804
+ * terms agreed when each subscription was bought. It is quoted on its own: combined with renewals
805
+ * the request is refused with HTTP 400 `BILLING_PURCHASE_INVALID` and `meta.field`
806
+ * `cancellation`. It is refused with the same errors as creating the cancellation, except that the
807
+ * amount is not checked. Give the returned `cancellation.proration_date` and
808
+ * `cancellation.refundable_amount` when creating it.
809
+ *
810
+ * Every subscription must be paid for by the same one of your billing accounts; otherwise the
811
+ * request is refused with HTTP 400 `BILLING_PURCHASE_INVALID`. Returns 404 when a subscription does
812
+ * not exist, and 403 `BILLING_ACCOUNT_FORBIDDEN` when it is paid for by an account you do not own.
801
813
  */
802
- post: operations["create-cancellation-preview"];
814
+ post: operations["create-quote"];
803
815
  delete?: never;
804
816
  options?: never;
805
817
  head?: never;
@@ -853,9 +865,8 @@ export interface paths {
853
865
  * (`meta.cancellation_id`) or reclaimed (`meta.job_id`);
854
866
  * - 409 `BILLING_ORDER_PAYMENT_IN_FLIGHT` while an online payment for a renewal of one of them
855
867
  * is in progress;
856
- * - 422 `BILLING_CANCELLATION_UNSUPPORTED` when the service cannot yet be canceled here;
857
868
  * - 409 `BILLING_CANCELLATION_REFUND_CHANGED` when the refund is no longer
858
- * `expected_refundable_amount`; preview again.
869
+ * `expected_refundable_amount`; quote again.
859
870
  *
860
871
  * Sending the same request again, for the same subscriptions, mode and amount while that
861
872
  * cancellation is still open, returns it with 200 rather than creating another. Renewal orders
@@ -1196,13 +1207,91 @@ export interface components {
1196
1207
  * @enum {string}
1197
1208
  */
1198
1209
  RefundPolicy: "none" | "prorated";
1199
- CancellationPreviewRequest: {
1210
+ /** @description Specify renewals for existing subscriptions, or one cancellation on its own. */
1211
+ QuoteRequest: {
1212
+ renewals?: components["schemas"]["QuoteRenewal"][];
1213
+ cancellation?: components["schemas"]["QuoteCancellation"];
1214
+ };
1215
+ /**
1216
+ * @description Price renewing a prepaid subscription. Give `price_id`, or `interval` with
1217
+ * `interval_count`, to renew for another term at the price currently sold for it. Naming
1218
+ * the current term, or giving neither, renews at the agreed amount.
1219
+ */
1220
+ QuoteRenewal: {
1221
+ /** Format: uuid */
1222
+ subscription_id: string;
1223
+ /** Format: uuid */
1224
+ price_id?: string;
1225
+ /** @enum {string} */
1226
+ interval?: "day" | "month" | "year";
1227
+ interval_count?: number;
1228
+ /**
1229
+ * @description How many consecutive periods to renew for.
1230
+ * @default 1
1231
+ */
1232
+ periods?: number;
1233
+ };
1234
+ /**
1235
+ * @description What renewing would charge. Renewing the same subscription for the same term and number
1236
+ * of periods charges exactly `total`, unless prices or the discounts the account holds
1237
+ * change in between.
1238
+ */
1239
+ QuoteRenewalResult: {
1240
+ /** @description Which renewal of the request this answers. */
1241
+ index: number;
1242
+ /** Format: uuid */
1243
+ subscription_id: string;
1244
+ /**
1245
+ * Format: uuid
1246
+ * @description The price the renewal is charged under.
1247
+ */
1248
+ price_id: string;
1249
+ /** @enum {string} */
1250
+ interval: "day" | "month" | "year";
1251
+ interval_count: number;
1252
+ periods: number;
1253
+ /**
1254
+ * @description The price of the periods before the discounts the account holds. A discount the
1255
+ * subscription already carries is reflected here. Contains tax only where the price
1256
+ * itself includes it.
1257
+ */
1258
+ amount: components["schemas"]["Money"];
1259
+ /** @description The reduction from a discount the account holds. */
1260
+ discount_amount: components["schemas"]["Money"];
1261
+ /** @description Tax on the discounted amount. */
1262
+ tax_amount: components["schemas"]["Money"];
1263
+ /** @description The part of `tax_amount` already contained in `amount`. */
1264
+ tax_included_amount: components["schemas"]["Money"];
1265
+ /**
1266
+ * @description What renewing would charge: `amount` less `discount_amount`, plus `tax_amount`, less
1267
+ * `tax_included_amount`.
1268
+ */
1269
+ total: components["schemas"]["Money"];
1270
+ };
1271
+ Quote: {
1272
+ renewals?: components["schemas"]["QuoteRenewalResult"][];
1273
+ /** @description What the cancellation requested would return. Present only when one was requested. */
1274
+ cancellation?: components["schemas"]["CancellationRefundPreview"];
1275
+ /**
1276
+ * @description What the renewals would charge in total. Amounts to be returned are not netted off it: a
1277
+ * quote of a cancellation alone has a total of zero, and what it would return is in
1278
+ * `cancellation`.
1279
+ */
1280
+ total: components["schemas"]["Money"];
1281
+ currency: string;
1282
+ };
1283
+ /**
1284
+ * @description A cancellation to quote: what ending these subscriptions together would return. One mode per
1285
+ * request; to compare, quote `immediate` and `period_end` separately.
1286
+ */
1287
+ QuoteCancellation: {
1200
1288
  /** @description The subscriptions to end together, all of one service. Every subscription released with a resource must be included. */
1201
1289
  subscription_ids: string[];
1202
1290
  mode: components["schemas"]["TerminationPolicy"];
1203
1291
  };
1204
1292
  /**
1205
- * @description What the cancellation would return, subscription by subscription and in total, as of now.
1293
+ * @description What the cancellation would return, subscription by subscription and in total, as of now. Give
1294
+ * `proration_date` and `refundable_amount` when creating the cancellation.
1206
1295
  *
1207
1296
  * - `unused_amount`: before tax, the value of the paid service still unused, whatever the refund
1208
1297
  * terms say.
@@ -1236,7 +1325,7 @@ export interface components {
1236
1325
  forfeited_amount: components["schemas"]["Money"];
1237
1326
  items: components["schemas"]["CancellationRefundPreviewItem"][];
1238
1327
  };
1239
- /** @description One subscription of the preview. The amounts mean what they mean in the preview. */
1328
+ /** @description One subscription of the quoted cancellation. The amounts mean what they mean in the total. */
1240
1329
  CancellationRefundPreviewItem: {
1241
1330
  /** Format: uuid */
1242
1331
  subscription_id: string;
@@ -1255,16 +1344,16 @@ export interface components {
1255
1344
  forfeited_amount: components["schemas"]["Money"];
1256
1345
  };
1257
1346
  CancellationCreate: {
1258
- /** @description As in the preview. */
1347
+ /** @description As in the quote. */
1259
1348
  subscription_ids: string[];
1260
1349
  mode: components["schemas"]["TerminationPolicy"];
1261
1350
  /**
1262
1351
  * Format: date-time
1263
- * @description For `immediate`, the `proration_date` of the preview: a whole second, not in the future and
1352
+ * @description For `immediate`, the `proration_date` of the quote: a whole second, not in the future and
1264
1353
  * at most ten minutes old. The refund is computed as of it. Now when omitted.
1265
1354
  */
1266
1355
  proration_date?: string;
1267
- /** @description The `refundable_amount` of the preview. The cancellation is refused when the refund differs. */
1356
+ /** @description The `refundable_amount` of the quote. The cancellation is refused when the refund differs. */
1268
1357
  expected_refundable_amount: string;
1269
1358
  /** @description A note from the account holder. It is kept with the cancellation and not shown elsewhere. */
1270
1359
  reason?: string;
@@ -2801,9 +2890,33 @@ export interface components {
2801
2890
  */
2802
2891
  plan_name: string;
2803
2892
  quantity: string;
2893
+ /**
2894
+ * @description The unit amount of the price this line is charged under. Absent for a tiered price, which has no
2895
+ * single unit amount, and for a change that takes effect at once, which is charged the prorated
2896
+ * difference.
2897
+ */
2804
2898
  unit_amount?: components["schemas"]["Money"];
2899
+ /**
2900
+ * @description Before discounts: the price applied to the quantity, which for a per-unit price is `unit_amount`
2901
+ * times `quantity`; a minimum charge can make it higher. For a change that takes effect at once it is
2902
+ * the prorated difference. The setup fee is not part of it; see `setup_amount`.
2903
+ *
2904
+ * Under an inclusive tax rate it includes tax, as the price does, and the included part is
2905
+ * `tax_included_amount`. A renewal at the agreed terms is the exception: the agreed amount excludes
2906
+ * tax, and tax is added to it.
2907
+ */
2805
2908
  gross_amount?: components["schemas"]["Money"];
2909
+ /**
2910
+ * @description The reduction on this line: from the coupon the order uses and, for a renewal at the agreed terms,
2911
+ * from the discount the subscription carries.
2912
+ *
2913
+ * A carried discount is part of the agreed amount. It is listed here, and `gross_amount` is then
2914
+ * `unit_amount` times `quantity`, except in two cases where `gross_amount` is the agreed amount and
2915
+ * the carried discount is already reflected in it: the renewal order also uses a coupon the account
2916
+ * holds, or the account's tax rate is inclusive.
2917
+ */
2806
2918
  discount_amount?: components["schemas"]["Money"];
2919
+ /** @description `gross_amount` less `discount_amount`. */
2807
2920
  amount?: components["schemas"]["Money"];
2808
2921
  currency: string;
2809
2922
  /** Format: date-time */
@@ -3978,7 +4091,7 @@ export interface operations {
3978
4091
  default: components["responses"]["Error"];
3979
4092
  };
3980
4093
  };
3981
- "create-cancellation-preview": {
4094
+ "create-quote": {
3982
4095
  parameters: {
3983
4096
  query?: never;
3984
4097
  header?: never;
@@ -3987,7 +4100,7 @@ export interface operations {
3987
4100
  };
3988
4101
  requestBody: {
3989
4102
  content: {
3990
- "application/json": components["schemas"]["CancellationPreviewRequest"];
4103
+ "application/json": components["schemas"]["QuoteRequest"];
3991
4104
  };
3992
4105
  };
3993
4106
  responses: {
@@ -3997,7 +4110,7 @@ export interface operations {
3997
4110
  [name: string]: unknown;
3998
4111
  };
3999
4112
  content: {
4000
- "application/json": components["schemas"]["CancellationRefundPreview"];
4113
+ "application/json": components["schemas"]["Quote"];
4001
4114
  };
4002
4115
  };
4003
4116
  default: components["responses"]["Error"];
@@ -19,10 +19,6 @@ export type ListProjectSubscriptionsQuery = operations["list-project-subscriptio
19
19
  export type SetProjectAutoRenewResult = operations["set-project-auto-renew"]["responses"][200]["content"]["application/json"];
20
20
  /** The request body of `PUT /api/v1/projects/{projectId}/subscriptions/{subscriptionId}/auto-renew`. */
21
21
  export type SetProjectAutoRenewBody = NonNullable<operations["set-project-auto-renew"]["requestBody"]>["content"]["application/json"];
22
- /** The success response body of `POST /api/v1/projects/{projectId}/cancellations/preview`. */
23
- export type CreateProjectCancellationPreviewResult = operations["create-project-cancellation-preview"]["responses"][200]["content"]["application/json"];
24
- /** The request body of `POST /api/v1/projects/{projectId}/cancellations/preview`. */
25
- export type CreateProjectCancellationPreviewBody = NonNullable<operations["create-project-cancellation-preview"]["requestBody"]>["content"]["application/json"];
26
22
  /** The success response body of `POST /api/v1/projects/{projectId}/cancellations`. */
27
23
  export type CreateProjectCancellationResult = operations["create-project-cancellation"]["responses"][200]["content"]["application/json"];
28
24
  /** The request body of `POST /api/v1/projects/{projectId}/cancellations`. */
@@ -121,33 +121,6 @@ export interface paths {
121
121
  patch?: never;
122
122
  trace?: never;
123
123
  };
124
- "/api/v1/projects/{projectId}/cancellations/preview": {
125
- parameters: {
126
- query?: never;
127
- header?: never;
128
- path: {
129
- projectId: components["parameters"]["ProjectId"];
130
- };
131
- cookie?: never;
132
- };
133
- get?: never;
134
- put?: never;
135
- /**
136
- * Preview a cancellation
137
- * @description What canceling these subscriptions together would return, computed now under the refund terms
138
- * agreed when each was bought. This request does not create a resource: nothing is recorded or
139
- * reserved.
140
- *
141
- * It is refused with the same errors as creating the cancellation, except that the amount is not
142
- * checked. Give the returned `proration_date` and `refundable_amount` when creating it.
143
- */
144
- post: operations["create-project-cancellation-preview"];
145
- delete?: never;
146
- options?: never;
147
- head?: never;
148
- patch?: never;
149
- trace?: never;
150
- };
151
124
  "/api/v1/projects/{projectId}/cancellations": {
152
125
  parameters: {
153
126
  query?: never;
@@ -197,9 +170,8 @@ export interface paths {
197
170
  * (`meta.cancellation_id`) or reclaimed (`meta.job_id`);
198
171
  * - 409 `BILLING_ORDER_PAYMENT_IN_FLIGHT` while an online payment for a renewal of one of them
199
172
  * is in progress;
200
- * - 422 `BILLING_CANCELLATION_UNSUPPORTED` when the service cannot yet be canceled here;
201
173
  * - 409 `BILLING_CANCELLATION_REFUND_CHANGED` when the refund is no longer
202
- * `expected_refundable_amount`; preview again.
174
+ * `expected_refundable_amount`; quote again.
203
175
  *
204
176
  * Sending the same request again, for the same subscriptions, mode and amount while that
205
177
  * cancellation is still open, returns it with 200 rather than creating another. Renewal orders
@@ -345,8 +317,15 @@ export interface paths {
345
317
  * A renewal is priced exactly as renewing would charge it: at the agreed amount or the price
346
318
  * named, with the discounts the account holds, and with tax.
347
319
  *
348
- * Returns 404 when the project has no billing account, or when a subscription to be renewed
349
- * does not belong to this project.
320
+ * A cancellation is quoted as creating it would compute the refund, as of now and under the refund
321
+ * terms agreed when each subscription was bought. It is quoted on its own: combined with lines or
322
+ * renewals the request is refused with HTTP 400 `BILLING_PURCHASE_INVALID` and `meta.field`
323
+ * `cancellation`. It is refused with the same errors as creating the cancellation, except that the
324
+ * amount is not checked. Give the returned `cancellation.proration_date` and
325
+ * `cancellation.refundable_amount` when creating it.
326
+ *
327
+ * Returns 404 when the project has no billing account, or when a subscription to be renewed or
328
+ * canceled does not belong to this project.
350
329
  */
351
330
  post: operations["create-project-quote"];
352
331
  delete?: never;
@@ -439,13 +418,18 @@ export interface components {
439
418
  * @enum {string}
440
419
  */
441
420
  RefundPolicy: "none" | "prorated";
442
- CancellationPreviewRequest: {
421
+ /**
422
+ * @description A cancellation to quote: what ending these subscriptions together would return. One mode per
423
+ * request; to compare, quote `immediate` and `period_end` separately.
424
+ */
425
+ QuoteCancellation: {
443
426
  /** @description The subscriptions to end together, all of one service. Every subscription released with a resource must be included. */
444
427
  subscription_ids: string[];
445
428
  mode: components["schemas"]["TerminationPolicy"];
446
429
  };
447
430
  /**
448
- * @description What the cancellation would return, subscription by subscription and in total, as of now.
431
+ * @description What the cancellation would return, subscription by subscription and in total, as of now. Give
432
+ * `proration_date` and `refundable_amount` when creating the cancellation.
449
433
  *
450
434
  * - `unused_amount`: before tax, the value of the paid service still unused, whatever the refund
451
435
  * terms say.
@@ -479,7 +463,7 @@ export interface components {
479
463
  forfeited_amount: components["schemas"]["Money"];
480
464
  items: components["schemas"]["CancellationRefundPreviewItem"][];
481
465
  };
482
- /** @description One subscription of the preview. The amounts mean what they mean in the preview. */
466
+ /** @description One subscription of the quoted cancellation. The amounts mean what they mean in the total. */
483
467
  CancellationRefundPreviewItem: {
484
468
  /** Format: uuid */
485
469
  subscription_id: string;
@@ -498,16 +482,16 @@ export interface components {
498
482
  forfeited_amount: components["schemas"]["Money"];
499
483
  };
500
484
  CancellationCreate: {
501
- /** @description As in the preview. */
485
+ /** @description As in the quote. */
502
486
  subscription_ids: string[];
503
487
  mode: components["schemas"]["TerminationPolicy"];
504
488
  /**
505
489
  * Format: date-time
506
- * @description For `immediate`, the `proration_date` of the preview: a whole second, not in the future and
490
+ * @description For `immediate`, the `proration_date` of the quote: a whole second, not in the future and
507
491
  * at most ten minutes old. The refund is computed as of it. Now when omitted.
508
492
  */
509
493
  proration_date?: string;
510
- /** @description The `refundable_amount` of the preview. The cancellation is refused when the refund differs. */
494
+ /** @description The `refundable_amount` of the quote. The cancellation is refused when the refund differs. */
511
495
  expected_refundable_amount: string;
512
496
  /** @description A note from the account holder. It is kept with the cancellation and not shown elsewhere. */
513
497
  reason?: string;
@@ -712,10 +696,14 @@ export interface components {
712
696
  */
713
697
  periods?: number;
714
698
  };
715
- /** @description Specify lines for new purchases and renewals for existing subscriptions. The total includes all requested items. */
699
+ /**
700
+ * @description Specify lines for new purchases and renewals for existing subscriptions, or one cancellation on
701
+ * its own. The total includes all requested lines and renewals.
702
+ */
716
703
  QuoteRequest: {
717
704
  lines?: components["schemas"]["QuoteLine"][];
718
705
  renewals?: components["schemas"]["QuoteRenewal"][];
706
+ cancellation?: components["schemas"]["QuoteCancellation"];
719
707
  };
720
708
  QuoteLineResult: {
721
709
  /** @description Tax included in the account quote. Absent in public catalogue estimates. */
@@ -802,9 +790,12 @@ export interface components {
802
790
  Quote: {
803
791
  lines?: components["schemas"]["QuoteLineResult"][];
804
792
  renewals?: components["schemas"]["QuoteRenewalResult"][];
793
+ /** @description What the cancellation requested would return. Present only when one was requested. */
794
+ cancellation?: components["schemas"]["CancellationRefundPreview"];
805
795
  /**
806
796
  * @description What would be owed in total, renewals included. Amounts to be returned are not netted
807
- * off it.
797
+ * off it: a quote of a cancellation alone has a total of zero, and what it would return is
798
+ * in `cancellation`.
808
799
  *
809
800
  * Null when any line could not be priced. What would be owed is not knowable then, and a
810
801
  * total that silently left the unpriced lines out would read as a smaller bill rather than
@@ -1207,9 +1198,33 @@ export interface components {
1207
1198
  */
1208
1199
  plan_name: string;
1209
1200
  quantity: string;
1201
+ /**
1202
+ * @description The unit amount of the price this line is charged under. Absent for a tiered price, which has no
1203
+ * single unit amount, and for a change that takes effect at once, which is charged the prorated
1204
+ * difference.
1205
+ */
1210
1206
  unit_amount?: components["schemas"]["Money"];
1207
+ /**
1208
+ * @description Before discounts: the price applied to the quantity, which for a per-unit price is `unit_amount`
1209
+ * times `quantity`; a minimum charge can make it higher. For a change that takes effect at once it is
1210
+ * the prorated difference. The setup fee is not part of it; see `setup_amount`.
1211
+ *
1212
+ * Under an inclusive tax rate it includes tax, as the price does, and the included part is
1213
+ * `tax_included_amount`. A renewal at the agreed terms is the exception: the agreed amount excludes
1214
+ * tax, and tax is added to it.
1215
+ */
1211
1216
  gross_amount?: components["schemas"]["Money"];
1217
+ /**
1218
+ * @description The reduction on this line: from the coupon the order uses and, for a renewal at the agreed terms,
1219
+ * from the discount the subscription carries.
1220
+ *
1221
+ * A carried discount is part of the agreed amount. It is listed here, and `gross_amount` is then
1222
+ * `unit_amount` times `quantity`, except in two cases where `gross_amount` is the agreed amount and
1223
+ * the carried discount is already reflected in it: the renewal order also uses a coupon the account
1224
+ * holds, or the account's tax rate is inclusive.
1225
+ */
1212
1226
  discount_amount?: components["schemas"]["Money"];
1227
+ /** @description `gross_amount` less `discount_amount`. */
1213
1228
  amount?: components["schemas"]["Money"];
1214
1229
  currency: string;
1215
1230
  /** Format: date-time */
@@ -1531,33 +1546,6 @@ export interface operations {
1531
1546
  default: components["responses"]["Error"];
1532
1547
  };
1533
1548
  };
1534
- "create-project-cancellation-preview": {
1535
- parameters: {
1536
- query?: never;
1537
- header?: never;
1538
- path: {
1539
- projectId: components["parameters"]["ProjectId"];
1540
- };
1541
- cookie?: never;
1542
- };
1543
- requestBody: {
1544
- content: {
1545
- "application/json": components["schemas"]["CancellationPreviewRequest"];
1546
- };
1547
- };
1548
- responses: {
1549
- /** @description OK */
1550
- 200: {
1551
- headers: {
1552
- [name: string]: unknown;
1553
- };
1554
- content: {
1555
- "application/json": components["schemas"]["CancellationRefundPreview"];
1556
- };
1557
- };
1558
- default: components["responses"]["Error"];
1559
- };
1560
- };
1561
1549
  "list-project-cancellations": {
1562
1550
  parameters: {
1563
1551
  query?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leaflow/sdk",
3
- "version": "0.0.0-dev.236.gebd337c",
3
+ "version": "0.0.0-dev.240.gecb1b07",
4
4
  "description": "Leaflow 平台 API 的 TypeScript SDK",
5
5
  "license": "MIT",
6
6
  "repository": {