@stripe/extensibility-sdk 1.0.1 → 1.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.
Files changed (97) hide show
  1. package/README.md +17 -15
  2. package/dist/config-values/generate.cjs +1 -1
  3. package/dist/config-values/generate.d.ts +1 -1
  4. package/dist/config-values/generate.d.ts.map +1 -1
  5. package/dist/config-values/generate.js +1 -1
  6. package/dist/extensibility-sdk-alpha.d.ts +29 -157
  7. package/dist/extensibility-sdk-beta.d.ts +29 -157
  8. package/dist/extensibility-sdk-config-values-internal.d.ts +1 -1
  9. package/dist/extensibility-sdk-extensions-alpha.d.ts +7 -157
  10. package/dist/extensibility-sdk-extensions-beta.d.ts +7 -157
  11. package/dist/extensibility-sdk-extensions-billing-bill-discount_calculation-alpha.d.ts +631 -0
  12. package/dist/extensibility-sdk-extensions-billing-bill-discount_calculation-beta.d.ts +631 -0
  13. package/dist/extensibility-sdk-extensions-billing-bill-discount_calculation-internal.d.ts +666 -0
  14. package/dist/extensibility-sdk-extensions-billing-bill-discount_calculation-public.d.ts +631 -0
  15. package/dist/extensibility-sdk-extensions-billing-customer_balance_application-alpha.d.ts +475 -0
  16. package/dist/extensibility-sdk-extensions-billing-customer_balance_application-beta.d.ts +475 -0
  17. package/dist/extensibility-sdk-extensions-billing-customer_balance_application-internal.d.ts +510 -0
  18. package/dist/extensibility-sdk-extensions-billing-customer_balance_application-public.d.ts +475 -0
  19. package/dist/extensibility-sdk-extensions-billing-invoice_collection_options-alpha.d.ts +110 -0
  20. package/dist/extensibility-sdk-extensions-billing-invoice_collection_options-beta.d.ts +110 -0
  21. package/dist/extensibility-sdk-extensions-billing-invoice_collection_options-internal.d.ts +123 -0
  22. package/dist/extensibility-sdk-extensions-billing-invoice_collection_options-public.d.ts +110 -0
  23. package/dist/extensibility-sdk-extensions-billing-prorations-alpha.d.ts +607 -0
  24. package/dist/extensibility-sdk-extensions-billing-prorations-beta.d.ts +607 -0
  25. package/dist/extensibility-sdk-extensions-billing-prorations-internal.d.ts +642 -0
  26. package/dist/extensibility-sdk-extensions-billing-prorations-public.d.ts +607 -0
  27. package/dist/extensibility-sdk-extensions-billing-recurring_billing_item_handling-alpha.d.ts +735 -0
  28. package/dist/extensibility-sdk-extensions-billing-recurring_billing_item_handling-beta.d.ts +735 -0
  29. package/dist/extensibility-sdk-extensions-billing-recurring_billing_item_handling-internal.d.ts +772 -0
  30. package/dist/extensibility-sdk-extensions-billing-recurring_billing_item_handling-public.d.ts +735 -0
  31. package/dist/extensibility-sdk-extensions-core-workflows-custom_action-alpha.d.ts +126 -0
  32. package/dist/extensibility-sdk-extensions-core-workflows-custom_action-beta.d.ts +126 -0
  33. package/dist/extensibility-sdk-extensions-core-workflows-custom_action-internal.d.ts +140 -0
  34. package/dist/extensibility-sdk-extensions-core-workflows-custom_action-public.d.ts +126 -0
  35. package/dist/extensibility-sdk-extensions-extend-workflows-custom_action-alpha.d.ts +126 -0
  36. package/dist/extensibility-sdk-extensions-extend-workflows-custom_action-beta.d.ts +126 -0
  37. package/dist/extensibility-sdk-extensions-extend-workflows-custom_action-internal.d.ts +140 -0
  38. package/dist/extensibility-sdk-extensions-extend-workflows-custom_action-public.d.ts +126 -0
  39. package/dist/extensibility-sdk-extensions-internal.d.ts +7 -157
  40. package/dist/extensibility-sdk-extensions-public.d.ts +7 -157
  41. package/dist/extensibility-sdk-internal-internal.d.ts +2 -2
  42. package/dist/extensibility-sdk-internal.d.ts +145 -162
  43. package/dist/extensibility-sdk-public.d.ts +29 -157
  44. package/dist/extensibility-sdk-stdlib-alpha.d.ts +593 -0
  45. package/dist/extensibility-sdk-stdlib-beta.d.ts +593 -0
  46. package/dist/extensibility-sdk-stdlib-internal.d.ts +1096 -0
  47. package/dist/extensibility-sdk-stdlib-public.d.ts +593 -0
  48. package/dist/extensions/billing/bill/discount_calculation.cjs +437 -0
  49. package/dist/extensions/billing/bill/discount_calculation.d.ts +0 -20
  50. package/dist/extensions/billing/bill/discount_calculation.d.ts.map +1 -1
  51. package/dist/extensions/billing/bill/discount_calculation.js +430 -0
  52. package/dist/extensions/billing/customer_balance_application.cjs +297 -0
  53. package/dist/extensions/billing/customer_balance_application.d.ts +0 -20
  54. package/dist/extensions/billing/customer_balance_application.d.ts.map +1 -1
  55. package/dist/extensions/billing/customer_balance_application.js +284 -0
  56. package/dist/extensions/billing/invoice_collection_options.cjs +166 -0
  57. package/dist/extensions/billing/invoice_collection_options.d.ts +4 -24
  58. package/dist/extensions/billing/invoice_collection_options.d.ts.map +1 -1
  59. package/dist/extensions/billing/invoice_collection_options.js +155 -0
  60. package/dist/extensions/billing/prorations.cjs +501 -0
  61. package/dist/extensions/billing/prorations.d.ts +0 -20
  62. package/dist/extensions/billing/prorations.d.ts.map +1 -1
  63. package/dist/extensions/billing/prorations.js +492 -0
  64. package/dist/extensions/billing/recurring_billing_item_handling.cjs +639 -0
  65. package/dist/extensions/billing/recurring_billing_item_handling.d.ts +0 -30
  66. package/dist/extensions/billing/recurring_billing_item_handling.d.ts.map +1 -1
  67. package/dist/extensions/billing/recurring_billing_item_handling.js +632 -0
  68. package/dist/extensions/core/workflows/custom_action.cjs +124 -0
  69. package/dist/extensions/core/workflows/custom_action.d.ts +1 -21
  70. package/dist/extensions/core/workflows/custom_action.d.ts.map +1 -1
  71. package/dist/extensions/core/workflows/custom_action.js +111 -0
  72. package/dist/extensions/extend/workflows/custom_action.cjs +124 -0
  73. package/dist/extensions/extend/workflows/custom_action.d.ts +1 -21
  74. package/dist/extensions/extend/workflows/custom_action.d.ts.map +1 -1
  75. package/dist/extensions/extend/workflows/custom_action.js +111 -0
  76. package/dist/extensions/index.cjs +27 -265
  77. package/dist/extensions/index.js +27 -265
  78. package/dist/extensions/registry.d.ts +2 -2
  79. package/dist/extensions/registry.d.ts.map +1 -1
  80. package/dist/index.cjs +452 -2390
  81. package/dist/index.js +479 -2286
  82. package/dist/internal.cjs +22 -54
  83. package/dist/internal.js +22 -54
  84. package/dist/stdlib/generated.d.ts +1 -1
  85. package/dist/stdlib/generated.d.ts.map +1 -1
  86. package/dist/stdlib/index.cjs +2003 -0
  87. package/dist/stdlib/index.d.ts +2 -2
  88. package/dist/stdlib/index.d.ts.map +1 -1
  89. package/dist/stdlib/index.js +1943 -0
  90. package/dist/stdlib/transform-strategies.d.ts +46 -6
  91. package/dist/stdlib/transform-strategies.d.ts.map +1 -1
  92. package/dist/stdlib/types.d.ts +82 -0
  93. package/dist/stdlib/types.d.ts.map +1 -1
  94. package/dist/tsconfig.build.tsbuildinfo +1 -1
  95. package/package.json +65 -1
  96. package/dist/stdlib/extension-method.d.ts +0 -27
  97. package/dist/stdlib/extension-method.d.ts.map +0 -1
@@ -107,7 +107,7 @@ declare namespace Core {
107
107
  export { Core }
108
108
 
109
109
  /** @public */
110
- declare type Currency = 'aed' | 'afn' | 'all' | 'amd' | 'ang' | 'aoa' | 'apt' | 'arb' | 'ars' | 'aud' | 'avax' | 'awg' | 'azn' | 'bam' | 'bbd' | 'bdt' | 'bgn' | 'bhd' | 'bif' | 'bmd' | 'bnb' | 'bnd' | 'bob' | 'bov' | 'brl' | 'bsd' | 'btc' | 'btn' | 'buidl' | 'bwp' | 'byn' | 'byr' | 'bzd' | 'cad' | 'cdf' | 'celo' | 'che' | 'chf' | 'chw' | 'clf' | 'clp' | 'cny' | 'cop' | 'cou' | 'crc' | 'cuc' | 'cup' | 'cve' | 'czk' | 'dai' | 'djf' | 'dkk' | 'dop' | 'dzd' | 'eek' | 'egp' | 'ern' | 'etb' | 'eth' | 'eur' | 'eurc' | 'fjd' | 'fkp' | 'frxusd' | 'gbp' | 'gel' | 'ghc' | 'ghs' | 'gip' | 'gmd' | 'gnf' | 'gtq' | 'gyd' | 'hkd' | 'hnl' | 'hrk' | 'htg' | 'huf' | 'hype' | 'idr' | 'ils' | 'inr' | 'iqd' | 'irr' | 'isk' | 'jmd' | 'jod' | 'jpy' | 'kes' | 'kgs' | 'khr' | 'kmf' | 'kpw' | 'krw' | 'kwd' | 'kyd' | 'kzt' | 'lak' | 'lbp' | 'lkr' | 'lrd' | 'lsl' | 'ltl' | 'lvl' | 'lyd' | 'lzd' | 'm' | 'mad' | 'mdl' | 'mga' | 'mkd' | 'mmk' | 'mnt' | 'mop' | 'mro' | 'mru' | 'mur' | 'mvr' | 'mwk' | 'mxn' | 'mxv' | 'myr' | 'mzn' | 'nad' | 'ngn' | 'nio' | 'nok' | 'npr' | 'nzd' | 'omr' | 'pab' | 'pen' | 'pgk' | 'php' | 'pkr' | 'pln' | 'pol' | 'pyg' | 'pyusd' | 'qar' | 'rd' | 're' | 'ron' | 'rsd' | 'rub' | 'rwf' | 'sar' | 'sbd' | 'scr' | 'sdg' | 'sek' | 'sgd' | 'shp' | 'sle' | 'sll' | 'sol' | 'sos' | 'srd' | 'ssp' | 'std' | 'stn' | 'sui' | 'svc' | 'syp' | 'szl' | 'thb' | 'tjs' | 'tmt' | 'tnd' | 'top' | 'trx' | 'try' | 'ttd' | 'twd' | 'tzs' | 'uah' | 'ugx' | 'usd' | 'usdb' | 'usdc' | 'usdg' | 'usdp' | 'usdt' | 'usn' | 'ustb' | 'uyi' | 'uyu' | 'uzs' | 'vef' | 'ves' | 'vnd' | 'vuv' | 'wst' | 'xaf' | 'xcd' | 'xcg' | 'xeur' | 'xlm' | 'xof' | 'xpf' | 'xpl' | 'xusd' | 'yer' | 'zar' | 'zmk' | 'zmw' | 'zwd' | 'zwg' | 'zwl';
110
+ declare type Currency = 'aed' | 'afn' | 'all' | 'amd' | 'ang' | 'aoa' | 'apt' | 'arb' | 'ars' | 'aud' | 'avax' | 'awg' | 'azn' | 'bam' | 'bbd' | 'bdt' | 'bgn' | 'bhd' | 'bif' | 'bmd' | 'bnb' | 'bnd' | 'bob' | 'bov' | 'brl' | 'bsd' | 'btc' | 'btn' | 'buidl' | 'bwp' | 'byn' | 'byr' | 'bzd' | 'cad' | 'cdf' | 'celo' | 'che' | 'chf' | 'chw' | 'clf' | 'clp' | 'cny' | 'cop' | 'cou' | 'crc' | 'cuc' | 'cup' | 'cve' | 'czk' | 'dai' | 'djf' | 'dkk' | 'dop' | 'dzd' | 'eek' | 'egp' | 'ern' | 'etb' | 'eth' | 'eur' | 'eurc' | 'fjd' | 'fkp' | 'frxusd' | 'gbp' | 'gel' | 'ghc' | 'ghs' | 'gip' | 'gmd' | 'gnf' | 'gtq' | 'gyd' | 'hkd' | 'hnl' | 'hrk' | 'htg' | 'huf' | 'hype' | 'idr' | 'ils' | 'inr' | 'iqd' | 'irr' | 'isk' | 'jmd' | 'jod' | 'jpy' | 'kes' | 'kgs' | 'khr' | 'kmf' | 'kpw' | 'krw' | 'kwd' | 'kyd' | 'kzt' | 'lak' | 'lbp' | 'lkr' | 'lrd' | 'lsl' | 'ltl' | 'lvl' | 'lyd' | 'lzd' | 'm' | 'mad' | 'mdl' | 'mga' | 'mkd' | 'mmk' | 'mnt' | 'mon' | 'mop' | 'mro' | 'mru' | 'mur' | 'mvr' | 'mwk' | 'mxn' | 'mxv' | 'myr' | 'mzn' | 'nad' | 'ngn' | 'nio' | 'nok' | 'npr' | 'nzd' | 'omr' | 'open_usd' | 'ord' | 'pab' | 'pen' | 'pgk' | 'php' | 'pkr' | 'pln' | 'pol' | 'pyg' | 'pyusd' | 'qar' | 'rd' | 're' | 'ron' | 'rsd' | 'rub' | 'rwf' | 'sar' | 'sbd' | 'scr' | 'sdg' | 'sek' | 'sgd' | 'shp' | 'sle' | 'sll' | 'sol' | 'sos' | 'srd' | 'ssp' | 'std' | 'stn' | 'sui' | 'svc' | 'syp' | 'szl' | 'thb' | 'tjs' | 'tmt' | 'tnd' | 'top' | 'trx' | 'try' | 'ttd' | 'twd' | 'tzs' | 'uah' | 'ugx' | 'usd' | 'usdb' | 'usdc' | 'usdg' | 'usdp' | 'usdsui' | 'usdt' | 'usn' | 'ustb' | 'uyi' | 'uyu' | 'uzs' | 'vef' | 'ves' | 'vnd' | 'vuv' | 'wst' | 'xaf' | 'xcd' | 'xcg' | 'xeur' | 'xlm' | 'xof' | 'xpf' | 'xpl' | 'xusd' | 'yer' | 'zar' | 'zmk' | 'zmw' | 'zwd' | 'zwg' | 'zwl';
111
111
 
112
112
  /** @public */
113
113
  declare namespace CustomAction {
@@ -117,7 +117,7 @@ declare namespace CustomAction {
117
117
  */
118
118
  interface GetFormStateResponse {
119
119
  /** Updated form field values. Use this to set defaults, clear dependent fields when a parent changes, or preserve matching values across schema changes. Only fields included here are updated. Omitted fields keep their current values. */
120
- values: Record<string, unknown>;
120
+ values?: Record<string, unknown>;
121
121
  /** Per-field configuration keyed by field name. */
122
122
  config: Record<string, FormStateFieldConfig>;
123
123
  }
@@ -167,27 +167,7 @@ declare namespace CustomAction {
167
167
  /** Custom input data for the action, validated against the app's input_schema. Contains the field values configured by the user in the workflow builder. */
168
168
  customInput: Record<string, unknown>;
169
169
  }
170
- /**
171
- * @public
172
- * @deprecated Platform dispatch handles wire/SDK conversion.
173
- */
174
- function prepareArgsExecute(proto: unknown): ExecuteCustomActionRequest;
175
- /**
176
- * @public
177
- * @deprecated Platform dispatch handles wire/SDK conversion.
178
- */
179
- function prepareResultExecute(result: ExecuteCustomActionResponse): ExecuteCustomActionResponse;
180
170
  /* Excluded from this release type: $platformWrapExecute */
181
- /**
182
- * @public
183
- * @deprecated Platform dispatch handles wire/SDK conversion.
184
- */
185
- function prepareArgsGetFormState(proto: unknown): GetFormStateRequest;
186
- /**
187
- * @public
188
- * @deprecated Platform dispatch handles wire/SDK conversion.
189
- */
190
- function prepareResultGetFormState(result: GetFormStateResponse): GetFormStateResponse;
191
171
  /* Excluded from this release type: $platformWrapGetFormState */
192
172
  /**
193
173
  * Executes the custom action at workflow runtime. Called when a workflow triggers this action, with the configured input values.
@@ -251,7 +231,7 @@ declare namespace CustomAction_2 {
251
231
  */
252
232
  interface GetFormStateResponse {
253
233
  /** Updated form field values. Use this to set defaults, clear dependent fields when a parent changes, or preserve matching values across schema changes. Only fields included here are updated. Omitted fields keep their current values. */
254
- values: Record<string, unknown>;
234
+ values?: Record<string, unknown>;
255
235
  /** Per-field configuration keyed by field name. */
256
236
  config: Record<string, FormStateFieldConfig>;
257
237
  }
@@ -301,27 +281,7 @@ declare namespace CustomAction_2 {
301
281
  /** Custom input data for the action, validated against the app's input_schema. Contains the field values configured by the user in the workflow builder. */
302
282
  customInput: Record<string, unknown>;
303
283
  }
304
- /**
305
- * @public
306
- * @deprecated Platform dispatch handles wire/SDK conversion.
307
- */
308
- function prepareArgsExecute(proto: unknown): ExecuteCustomActionRequest;
309
- /**
310
- * @public
311
- * @deprecated Platform dispatch handles wire/SDK conversion.
312
- */
313
- function prepareResultExecute(result: ExecuteCustomActionResponse): ExecuteCustomActionResponse;
314
284
  /* Excluded from this release type: $platformWrapExecute */
315
- /**
316
- * @public
317
- * @deprecated Platform dispatch handles wire/SDK conversion.
318
- */
319
- function prepareArgsGetFormState(proto: unknown): GetFormStateRequest;
320
- /**
321
- * @public
322
- * @deprecated Platform dispatch handles wire/SDK conversion.
323
- */
324
- function prepareResultGetFormState(result: GetFormStateResponse): GetFormStateResponse;
325
285
  /* Excluded from this release type: $platformWrapGetFormState */
326
286
  /**
327
287
  * Executes the custom action at workflow runtime. Called when a workflow triggers this action, with the configured input values.
@@ -397,27 +357,7 @@ declare namespace CustomerBalanceApplication {
397
357
  /** The current customer balance available to apply. Positive values indicate debits (the customer owes money), negative values indicate credits. */
398
358
  customerBalance: MonetaryAmount;
399
359
  }
400
- /**
401
- * @public
402
- * @deprecated Platform dispatch handles wire/SDK conversion.
403
- */
404
- function prepareArgsComputeAppliedCustomerBalance(proto: unknown): CustomerBalanceApplicationInput;
405
- /**
406
- * @public
407
- * @deprecated Platform dispatch handles wire/SDK conversion.
408
- */
409
- function prepareResultComputeAppliedCustomerBalance(result: CustomerBalanceApplicationResult): CustomerBalanceApplicationResult;
410
360
  /* Excluded from this release type: $platformWrapComputeAppliedCustomerBalance */
411
- /**
412
- * @public
413
- * @deprecated Platform dispatch handles wire/SDK conversion.
414
- */
415
- const prepareArgs: typeof prepareArgsComputeAppliedCustomerBalance;
416
- /**
417
- * @public
418
- * @deprecated Platform dispatch handles wire/SDK conversion.
419
- */
420
- const prepareResult: typeof prepareResultComputeAppliedCustomerBalance;
421
361
  /**
422
362
  * Determines how much of the customer's balance to apply toward a bill total. The script receives the invoice total and current customer balance, then returns how much of that balance to apply.
423
363
  * @public
@@ -855,27 +795,7 @@ declare namespace DiscountCalculation {
855
795
  /** Custom key-value pairs attached to the product. */
856
796
  metadata: Record<string, string>;
857
797
  }
858
- /**
859
- * @public
860
- * @deprecated Platform dispatch handles wire/SDK conversion.
861
- */
862
- function prepareArgsComputeDiscounts(proto: unknown): DiscountableItem;
863
- /**
864
- * @public
865
- * @deprecated Platform dispatch handles wire/SDK conversion.
866
- */
867
- function prepareResultComputeDiscounts(result: DiscountResult): DiscountResult;
868
798
  /* Excluded from this release type: $platformWrapComputeDiscounts */
869
- /**
870
- * @public
871
- * @deprecated Platform dispatch handles wire/SDK conversion.
872
- */
873
- const prepareArgs: typeof prepareArgsComputeDiscounts;
874
- /**
875
- * @public
876
- * @deprecated Platform dispatch handles wire/SDK conversion.
877
- */
878
- const prepareResult: typeof prepareResultComputeDiscounts;
879
799
  /**
880
800
  * Computes discount amounts for a discountable item and returns a discount result.
881
801
  * @public
@@ -975,8 +895,8 @@ declare namespace InvoiceCollectionOptions {
975
895
  * @public
976
896
  */
977
897
  interface InvoiceCollectionOptionsResult {
978
- /** Override the auto-advancement setting. Set to false to keep the invoice in draft. Return null to use the default. */
979
- autoAdvance?: boolean;
898
+ /** Override the auto-advancement setting. Set to false to keep the invoice in draft. */
899
+ autoAdvance: boolean;
980
900
  }
981
901
  /** @public */
982
902
  type InvoiceCollectionOptionsInput = ({
@@ -1027,27 +947,7 @@ declare namespace InvoiceCollectionOptions {
1027
947
  /** The payment methods configured for this invoice. */
1028
948
  paymentMethods: PaymentMethodType[];
1029
949
  }
1030
- /**
1031
- * @public
1032
- * @deprecated Platform dispatch handles wire/SDK conversion.
1033
- */
1034
- function prepareArgsOverrideOptions(proto: unknown): InvoiceCollectionOptionsInput;
1035
- /**
1036
- * @public
1037
- * @deprecated Platform dispatch handles wire/SDK conversion.
1038
- */
1039
- function prepareResultOverrideOptions(result: InvoiceCollectionOptionsResult): InvoiceCollectionOptionsResult;
1040
950
  /* Excluded from this release type: $platformWrapOverrideOptions */
1041
- /**
1042
- * @public
1043
- * @deprecated Platform dispatch handles wire/SDK conversion.
1044
- */
1045
- const prepareArgs: typeof prepareArgsOverrideOptions;
1046
- /**
1047
- * @public
1048
- * @deprecated Platform dispatch handles wire/SDK conversion.
1049
- */
1050
- const prepareResult: typeof prepareResultOverrideOptions;
1051
951
  /**
1052
952
  * Overrides invoice collection options before a draft invoice is created.
1053
953
  * @public
@@ -1065,13 +965,13 @@ declare namespace InvoiceCollectionOptions {
1065
965
  *
1066
966
  * export default class MyInvoiceCollectionOptions implements Billing.InvoiceCollectionOptions<MyInvoiceCollectionOptionsConfig> {
1067
967
  * overrideOptions(
1068
- * _request: Billing.InvoiceCollectionOptions.InvoiceCollectionOptionsInput,
968
+ * request: Billing.InvoiceCollectionOptions.InvoiceCollectionOptionsInput,
1069
969
  * _config: MyInvoiceCollectionOptionsConfig,
1070
970
  * _context: Context
1071
971
  * ) {
1072
972
  * // TODO: implement your collection setting logic here
1073
973
  *
1074
- * return {};
974
+ * return { autoAdvance: request.collectionOptions.autoAdvance };
1075
975
  * }
1076
976
  * }
1077
977
  *
@@ -1302,27 +1202,7 @@ declare namespace Prorations {
1302
1202
  name: string;
1303
1203
  metadata: Record<string, string>;
1304
1204
  }
1305
- /**
1306
- * @public
1307
- * @deprecated Platform dispatch handles wire/SDK conversion.
1308
- */
1309
- function prepareArgsProrateItems(proto: unknown): ProrateItemsInput;
1310
- /**
1311
- * @public
1312
- * @deprecated Platform dispatch handles wire/SDK conversion.
1313
- */
1314
- function prepareResultProrateItems(result: ProrateItemsResult): ProrateItemsResult;
1315
1205
  /* Excluded from this release type: $platformWrapProrateItems */
1316
- /**
1317
- * @public
1318
- * @deprecated Platform dispatch handles wire/SDK conversion.
1319
- */
1320
- const prepareArgs: typeof prepareArgsProrateItems;
1321
- /**
1322
- * @public
1323
- * @deprecated Platform dispatch handles wire/SDK conversion.
1324
- */
1325
- const prepareResult: typeof prepareResultProrateItems;
1326
1206
  /**
1327
1207
  * Calculates prorated amounts for subscription items when changes occur mid-billing period. The script receives the invoice items, then returns computed proration factors for each item.
1328
1208
  * @public
@@ -1600,38 +1480,8 @@ declare namespace RecurringBillingItemHandling {
1600
1480
  /** The list of items to evaluate for creation. */
1601
1481
  items: Item[];
1602
1482
  }
1603
- /**
1604
- * @public
1605
- * @deprecated Platform dispatch handles wire/SDK conversion.
1606
- */
1607
- function prepareArgsBeforeItemCreation(proto: unknown): BeforeItemCreationInput;
1608
- /**
1609
- * @public
1610
- * @deprecated Platform dispatch handles wire/SDK conversion.
1611
- */
1612
- function prepareResultBeforeItemCreation(result: BeforeItemCreationResult): BeforeItemCreationResult;
1613
1483
  /* Excluded from this release type: $platformWrapBeforeItemCreation */
1614
- /**
1615
- * @public
1616
- * @deprecated Platform dispatch handles wire/SDK conversion.
1617
- */
1618
- function prepareArgsFilterItems(proto: unknown): FilterItemsInput;
1619
- /**
1620
- * @public
1621
- * @deprecated Platform dispatch handles wire/SDK conversion.
1622
- */
1623
- function prepareResultFilterItems(result: FilterItemsResult): FilterItemsResult;
1624
1484
  /* Excluded from this release type: $platformWrapFilterItems */
1625
- /**
1626
- * @public
1627
- * @deprecated Platform dispatch handles wire/SDK conversion.
1628
- */
1629
- function prepareArgsGroupItems(proto: unknown): GroupItemsInput;
1630
- /**
1631
- * @public
1632
- * @deprecated Platform dispatch handles wire/SDK conversion.
1633
- */
1634
- function prepareResultGroupItems(result: GroupItemsResult): GroupItemsResult;
1635
1485
  /* Excluded from this release type: $platformWrapGroupItems */
1636
1486
  /**
1637
1487
  * Runs before invoice items are created. Decides whether each item should be created or skipped.