rebilly-js-sdk 62.223.2 → 62.224.1

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/CHANGELOG.md CHANGED
@@ -1,3 +1,3 @@
1
- ## 62.223.2 (2026-10-19)
1
+ ## 62.224.1 (2026-10-19)
2
2
 
3
3
  This was a version bump only for rebilly-js-sdk to align it with other projects, there were no code changes.
@@ -9998,6 +9998,17 @@ export interface coreComponents {
9998
9998
  invoiceId?: string | null;
9999
9999
  /** ID of the related quote. */
10000
10000
  quoteId?: string | null;
10001
+ /**
10002
+ * ID of the transaction associated with the credit memo.
10003
+ * Associating a transaction does not change the unused amount of the credit memo.
10004
+ * The transaction must be approved and associated with the same customer as the credit memo.
10005
+ * Approved transactions of any type are accepted, including refunds and voided sales.
10006
+ * If the transaction result changes later, the association is retained.
10007
+ * If this field is omitted in an update request and `customerId` is not changed, this field retains its current value.
10008
+ * If this field is omitted and `customerId` is changed, the transaction is removed from the credit memo.
10009
+ * To remove the transaction from the credit memo, set this field to `null`.
10010
+ */
10011
+ transactionId?: string | null;
10001
10012
  createdTime?: coreComponents["schemas"]["CreatedTime"];
10002
10013
  updatedTime?: coreComponents["schemas"]["UpdatedTime"];
10003
10014
  /** Related links. */
@@ -10013,7 +10024,7 @@ export interface coreComponents {
10013
10024
  };
10014
10025
  };
10015
10026
  /** Patch credit memo object. */
10016
- PatchCreditMemo: {
10027
+ PatchCreditMemoRequest: {
10017
10028
  /** Allocations reduce the unused amount of a credit memo. */
10018
10029
  allocations?: {
10019
10030
  /**
@@ -13283,7 +13294,7 @@ export interface coreComponents {
13283
13294
  | coreComponents["schemas"]["ChangeQuote"]
13284
13295
  | coreComponents["schemas"]["ReactivationQuote"];
13285
13296
  /** Patch quote object. */
13286
- PatchQuote: {
13297
+ PatchQuoteRequest: {
13287
13298
  tax?: coreComponents["schemas"]["Taxes"];
13288
13299
  };
13289
13300
  QuoteReissue: {
@@ -13343,7 +13354,7 @@ export interface coreComponents {
13343
13354
  ReadyToPay:
13344
13355
  | coreComponents["schemas"]["ReadyToPayAmount"]
13345
13356
  | coreComponents["schemas"]["ReadyToPayItems"];
13346
- PostReadyToPay: {
13357
+ PostReadyToPayRequest: {
13347
13358
  customerId?: coreComponents["schemas"]["CustomerId"];
13348
13359
  } & coreComponents["schemas"]["ReadyToPay"];
13349
13360
  /**
@@ -15902,7 +15913,7 @@ export interface coreComponents {
15902
15913
  updatedTime?: coreComponents["schemas"]["UpdatedTime"];
15903
15914
  _links?: coreComponents["schemas"]["SelfLink"];
15904
15915
  };
15905
- PatchFee: {
15916
+ PatchFeeRequest: {
15906
15917
  /** Type of fee. */
15907
15918
  type?: "buy" | "sell";
15908
15919
  /** Name of the fee. */
@@ -16310,7 +16321,7 @@ export interface coreComponents {
16310
16321
  updatedTime?: coreComponents["schemas"]["UpdatedTime"];
16311
16322
  _links?: coreComponents["schemas"]["SelfLink"];
16312
16323
  };
16313
- PatchBroadcastMessage: {
16324
+ PatchBroadcastMessageRequest: {
16314
16325
  /**
16315
16326
  * Use this filter to select customers during broadcast message processing.
16316
16327
  *
@@ -16556,7 +16567,7 @@ export interface coreComponents {
16556
16567
  transactions?: any[];
16557
16568
  };
16558
16569
  };
16559
- PostDepositRequest: {
16570
+ PostDepositRequestRequest: {
16560
16571
  /** ID of the website associated with the deposit. */
16561
16572
  websiteId: string;
16562
16573
  customerId: coreComponents["schemas"]["CustomerId"];
@@ -16643,7 +16654,7 @@ export interface coreComponents {
16643
16654
  */
16644
16655
  notificationUrl?: string | null;
16645
16656
  };
16646
- PostCashier: {
16657
+ PostCashierRequest: {
16647
16658
  customerId: coreComponents["schemas"]["CustomerId"];
16648
16659
  websiteId: coreComponents["schemas"]["WebsiteId"];
16649
16660
  currency: coreComponents["schemas"]["CurrencyCode"];
@@ -17425,7 +17436,7 @@ export interface coreComponents {
17425
17436
  */
17426
17437
  type: "plaid";
17427
17438
  };
17428
- PatchServiceCredential: {
17439
+ PatchServiceCredentialRequest: {
17429
17440
  /** Status of the credential. */
17430
17441
  status: "active" | "inactive" | "deactivated";
17431
17442
  /**
@@ -17446,7 +17457,7 @@ export interface coreComponents {
17446
17457
  | "avalara";
17447
17458
  };
17448
17459
  /** Plaid credential. */
17449
- PatchPlaidCredential: {
17460
+ PatchPlaidCredentialRequest: {
17450
17461
  /** Status of the credential. */
17451
17462
  status?: "active" | "inactive" | "deactivated";
17452
17463
  /**
@@ -17472,7 +17483,7 @@ export interface coreComponents {
17472
17483
  type: "plaid";
17473
17484
  };
17474
17485
  /** TaxJar credential. */
17475
- PatchTaxJarCredential: {
17486
+ PatchTaxJarCredentialRequest: {
17476
17487
  /** Status of the credential. */
17477
17488
  status: "active" | "inactive" | "deactivated";
17478
17489
  /**
@@ -29573,9 +29584,9 @@ export interface coreComponents {
29573
29584
  PatchCredential: {
29574
29585
  content: {
29575
29586
  "application/json":
29576
- | coreComponents["schemas"]["PatchServiceCredential"]
29577
- | coreComponents["schemas"]["PatchPlaidCredential"]
29578
- | coreComponents["schemas"]["PatchTaxJarCredential"];
29587
+ | coreComponents["schemas"]["PatchServiceCredentialRequest"]
29588
+ | coreComponents["schemas"]["PatchPlaidCredentialRequest"]
29589
+ | coreComponents["schemas"]["PatchTaxJarCredentialRequest"];
29579
29590
  };
29580
29591
  };
29581
29592
  /** Ruleset resource. */
@@ -34340,7 +34351,7 @@ export interface operations {
34340
34351
  };
34341
34352
  requestBody: {
34342
34353
  content: {
34343
- "application/json": coreComponents["schemas"]["PatchCreditMemo"];
34354
+ "application/json": coreComponents["schemas"]["PatchCreditMemoRequest"];
34344
34355
  };
34345
34356
  };
34346
34357
  };
@@ -36080,7 +36091,7 @@ export interface operations {
36080
36091
  };
36081
36092
  requestBody: {
36082
36093
  content: {
36083
- "application/json": coreComponents["schemas"]["PatchQuote"];
36094
+ "application/json": coreComponents["schemas"]["PatchQuoteRequest"];
36084
36095
  };
36085
36096
  };
36086
36097
  };
@@ -36390,7 +36401,7 @@ export interface operations {
36390
36401
  };
36391
36402
  requestBody: {
36392
36403
  content: {
36393
- "application/json": coreComponents["schemas"]["PostReadyToPay"];
36404
+ "application/json": coreComponents["schemas"]["PostReadyToPayRequest"];
36394
36405
  };
36395
36406
  };
36396
36407
  };
@@ -39757,7 +39768,7 @@ export interface operations {
39757
39768
  };
39758
39769
  requestBody: {
39759
39770
  content: {
39760
- "application/json": coreComponents["schemas"]["PatchFee"];
39771
+ "application/json": coreComponents["schemas"]["PatchFeeRequest"];
39761
39772
  };
39762
39773
  };
39763
39774
  };
@@ -40205,7 +40216,7 @@ export interface operations {
40205
40216
  /** Broadcast message resource. */
40206
40217
  requestBody: {
40207
40218
  content: {
40208
- "application/json": coreComponents["schemas"]["PatchBroadcastMessage"];
40219
+ "application/json": coreComponents["schemas"]["PatchBroadcastMessageRequest"];
40209
40220
  };
40210
40221
  };
40211
40222
  };
@@ -40279,7 +40290,7 @@ export interface operations {
40279
40290
  /** Deposit request resource. */
40280
40291
  requestBody: {
40281
40292
  content: {
40282
- "application/json": coreComponents["schemas"]["PostDepositRequest"];
40293
+ "application/json": coreComponents["schemas"]["PostDepositRequestRequest"];
40283
40294
  };
40284
40295
  };
40285
40296
  };
@@ -40336,7 +40347,7 @@ export interface operations {
40336
40347
  };
40337
40348
  requestBody: {
40338
40349
  content: {
40339
- "application/json": coreComponents["schemas"]["PostCashier"];
40350
+ "application/json": coreComponents["schemas"]["PostCashierRequest"];
40340
40351
  };
40341
40352
  };
40342
40353
  };
@@ -50115,6 +50126,17 @@ export interface storefrontComponents {
50115
50126
  invoiceId?: string | null;
50116
50127
  /** ID of the related quote. */
50117
50128
  quoteId?: string | null;
50129
+ /**
50130
+ * ID of the transaction associated with the credit memo.
50131
+ * Associating a transaction does not change the unused amount of the credit memo.
50132
+ * The transaction must be approved and associated with the same customer as the credit memo.
50133
+ * Approved transactions of any type are accepted, including refunds and voided sales.
50134
+ * If the transaction result changes later, the association is retained.
50135
+ * If this field is omitted in an update request and `customerId` is not changed, this field retains its current value.
50136
+ * If this field is omitted and `customerId` is changed, the transaction is removed from the credit memo.
50137
+ * To remove the transaction from the credit memo, set this field to `null`.
50138
+ */
50139
+ transactionId?: string | null;
50118
50140
  createdTime?: storefrontComponents["schemas"]["CreatedTime"];
50119
50141
  updatedTime?: storefrontComponents["schemas"]["UpdatedTime"];
50120
50142
  /** Related links. */
@@ -50130,7 +50152,7 @@ export interface storefrontComponents {
50130
50152
  };
50131
50153
  };
50132
50154
  /** Patch credit memo object. */
50133
- PatchCreditMemo: {
50155
+ PatchCreditMemoRequest: {
50134
50156
  /** Allocations reduce the unused amount of a credit memo. */
50135
50157
  allocations?: {
50136
50158
  /**
@@ -53400,7 +53422,7 @@ export interface storefrontComponents {
53400
53422
  | storefrontComponents["schemas"]["ChangeQuote"]
53401
53423
  | storefrontComponents["schemas"]["ReactivationQuote"];
53402
53424
  /** Patch quote object. */
53403
- PatchQuote: {
53425
+ PatchQuoteRequest: {
53404
53426
  tax?: storefrontComponents["schemas"]["Taxes"];
53405
53427
  };
53406
53428
  QuoteReissue: {
@@ -53460,7 +53482,7 @@ export interface storefrontComponents {
53460
53482
  ReadyToPay:
53461
53483
  | storefrontComponents["schemas"]["ReadyToPayAmount"]
53462
53484
  | storefrontComponents["schemas"]["ReadyToPayItems"];
53463
- PostReadyToPay: {
53485
+ PostReadyToPayRequest: {
53464
53486
  customerId?: storefrontComponents["schemas"]["CustomerId"];
53465
53487
  } & storefrontComponents["schemas"]["ReadyToPay"];
53466
53488
  /**
@@ -56019,7 +56041,7 @@ export interface storefrontComponents {
56019
56041
  updatedTime?: storefrontComponents["schemas"]["UpdatedTime"];
56020
56042
  _links?: storefrontComponents["schemas"]["SelfLink"];
56021
56043
  };
56022
- PatchFee: {
56044
+ PatchFeeRequest: {
56023
56045
  /** Type of fee. */
56024
56046
  type?: "buy" | "sell";
56025
56047
  /** Name of the fee. */
@@ -56427,7 +56449,7 @@ export interface storefrontComponents {
56427
56449
  updatedTime?: storefrontComponents["schemas"]["UpdatedTime"];
56428
56450
  _links?: storefrontComponents["schemas"]["SelfLink"];
56429
56451
  };
56430
- PatchBroadcastMessage: {
56452
+ PatchBroadcastMessageRequest: {
56431
56453
  /**
56432
56454
  * Use this filter to select customers during broadcast message processing.
56433
56455
  *
@@ -56673,7 +56695,7 @@ export interface storefrontComponents {
56673
56695
  transactions?: any[];
56674
56696
  };
56675
56697
  };
56676
- PostDepositRequest: {
56698
+ PostDepositRequestRequest: {
56677
56699
  /** ID of the website associated with the deposit. */
56678
56700
  websiteId: string;
56679
56701
  customerId: storefrontComponents["schemas"]["CustomerId"];
@@ -56760,7 +56782,7 @@ export interface storefrontComponents {
56760
56782
  */
56761
56783
  notificationUrl?: string | null;
56762
56784
  };
56763
- PostCashier: {
56785
+ PostCashierRequest: {
56764
56786
  customerId: storefrontComponents["schemas"]["CustomerId"];
56765
56787
  websiteId: storefrontComponents["schemas"]["WebsiteId"];
56766
56788
  currency: storefrontComponents["schemas"]["CurrencyCode"];
@@ -57542,7 +57564,7 @@ export interface storefrontComponents {
57542
57564
  */
57543
57565
  type: "plaid";
57544
57566
  };
57545
- PatchServiceCredential: {
57567
+ PatchServiceCredentialRequest: {
57546
57568
  /** Status of the credential. */
57547
57569
  status: "active" | "inactive" | "deactivated";
57548
57570
  /**
@@ -57563,7 +57585,7 @@ export interface storefrontComponents {
57563
57585
  | "avalara";
57564
57586
  };
57565
57587
  /** Plaid credential. */
57566
- PatchPlaidCredential: {
57588
+ PatchPlaidCredentialRequest: {
57567
57589
  /** Status of the credential. */
57568
57590
  status?: "active" | "inactive" | "deactivated";
57569
57591
  /**
@@ -57589,7 +57611,7 @@ export interface storefrontComponents {
57589
57611
  type: "plaid";
57590
57612
  };
57591
57613
  /** TaxJar credential. */
57592
- PatchTaxJarCredential: {
57614
+ PatchTaxJarCredentialRequest: {
57593
57615
  /** Status of the credential. */
57594
57616
  status: "active" | "inactive" | "deactivated";
57595
57617
  /**
@@ -69690,9 +69712,9 @@ export interface storefrontComponents {
69690
69712
  PatchCredential: {
69691
69713
  content: {
69692
69714
  "application/json":
69693
- | storefrontComponents["schemas"]["PatchServiceCredential"]
69694
- | storefrontComponents["schemas"]["PatchPlaidCredential"]
69695
- | storefrontComponents["schemas"]["PatchTaxJarCredential"];
69715
+ | storefrontComponents["schemas"]["PatchServiceCredentialRequest"]
69716
+ | storefrontComponents["schemas"]["PatchPlaidCredentialRequest"]
69717
+ | storefrontComponents["schemas"]["PatchTaxJarCredentialRequest"];
69696
69718
  };
69697
69719
  };
69698
69720
  /** Ruleset resource. */
@@ -77463,6 +77485,17 @@ export interface reportsComponents {
77463
77485
  invoiceId?: string | null;
77464
77486
  /** ID of the related quote. */
77465
77487
  quoteId?: string | null;
77488
+ /**
77489
+ * ID of the transaction associated with the credit memo.
77490
+ * Associating a transaction does not change the unused amount of the credit memo.
77491
+ * The transaction must be approved and associated with the same customer as the credit memo.
77492
+ * Approved transactions of any type are accepted, including refunds and voided sales.
77493
+ * If the transaction result changes later, the association is retained.
77494
+ * If this field is omitted in an update request and `customerId` is not changed, this field retains its current value.
77495
+ * If this field is omitted and `customerId` is changed, the transaction is removed from the credit memo.
77496
+ * To remove the transaction from the credit memo, set this field to `null`.
77497
+ */
77498
+ transactionId?: string | null;
77466
77499
  createdTime?: reportsComponents["schemas"]["CreatedTime"];
77467
77500
  updatedTime?: reportsComponents["schemas"]["UpdatedTime"];
77468
77501
  /** Related links. */
@@ -77478,7 +77511,7 @@ export interface reportsComponents {
77478
77511
  };
77479
77512
  };
77480
77513
  /** Patch credit memo object. */
77481
- PatchCreditMemo: {
77514
+ PatchCreditMemoRequest: {
77482
77515
  /** Allocations reduce the unused amount of a credit memo. */
77483
77516
  allocations?: {
77484
77517
  /**
@@ -80748,7 +80781,7 @@ export interface reportsComponents {
80748
80781
  | reportsComponents["schemas"]["ChangeQuote"]
80749
80782
  | reportsComponents["schemas"]["ReactivationQuote"];
80750
80783
  /** Patch quote object. */
80751
- PatchQuote: {
80784
+ PatchQuoteRequest: {
80752
80785
  tax?: reportsComponents["schemas"]["Taxes"];
80753
80786
  };
80754
80787
  QuoteReissue: {
@@ -80808,7 +80841,7 @@ export interface reportsComponents {
80808
80841
  ReadyToPay:
80809
80842
  | reportsComponents["schemas"]["ReadyToPayAmount"]
80810
80843
  | reportsComponents["schemas"]["ReadyToPayItems"];
80811
- PostReadyToPay: {
80844
+ PostReadyToPayRequest: {
80812
80845
  customerId?: reportsComponents["schemas"]["CustomerId"];
80813
80846
  } & reportsComponents["schemas"]["ReadyToPay"];
80814
80847
  /**
@@ -83367,7 +83400,7 @@ export interface reportsComponents {
83367
83400
  updatedTime?: reportsComponents["schemas"]["UpdatedTime"];
83368
83401
  _links?: reportsComponents["schemas"]["SelfLink"];
83369
83402
  };
83370
- PatchFee: {
83403
+ PatchFeeRequest: {
83371
83404
  /** Type of fee. */
83372
83405
  type?: "buy" | "sell";
83373
83406
  /** Name of the fee. */
@@ -83775,7 +83808,7 @@ export interface reportsComponents {
83775
83808
  updatedTime?: reportsComponents["schemas"]["UpdatedTime"];
83776
83809
  _links?: reportsComponents["schemas"]["SelfLink"];
83777
83810
  };
83778
- PatchBroadcastMessage: {
83811
+ PatchBroadcastMessageRequest: {
83779
83812
  /**
83780
83813
  * Use this filter to select customers during broadcast message processing.
83781
83814
  *
@@ -84021,7 +84054,7 @@ export interface reportsComponents {
84021
84054
  transactions?: any[];
84022
84055
  };
84023
84056
  };
84024
- PostDepositRequest: {
84057
+ PostDepositRequestRequest: {
84025
84058
  /** ID of the website associated with the deposit. */
84026
84059
  websiteId: string;
84027
84060
  customerId: reportsComponents["schemas"]["CustomerId"];
@@ -84108,7 +84141,7 @@ export interface reportsComponents {
84108
84141
  */
84109
84142
  notificationUrl?: string | null;
84110
84143
  };
84111
- PostCashier: {
84144
+ PostCashierRequest: {
84112
84145
  customerId: reportsComponents["schemas"]["CustomerId"];
84113
84146
  websiteId: reportsComponents["schemas"]["WebsiteId"];
84114
84147
  currency: reportsComponents["schemas"]["CurrencyCode"];
@@ -84890,7 +84923,7 @@ export interface reportsComponents {
84890
84923
  */
84891
84924
  type: "plaid";
84892
84925
  };
84893
- PatchServiceCredential: {
84926
+ PatchServiceCredentialRequest: {
84894
84927
  /** Status of the credential. */
84895
84928
  status: "active" | "inactive" | "deactivated";
84896
84929
  /**
@@ -84911,7 +84944,7 @@ export interface reportsComponents {
84911
84944
  | "avalara";
84912
84945
  };
84913
84946
  /** Plaid credential. */
84914
- PatchPlaidCredential: {
84947
+ PatchPlaidCredentialRequest: {
84915
84948
  /** Status of the credential. */
84916
84949
  status?: "active" | "inactive" | "deactivated";
84917
84950
  /**
@@ -84937,7 +84970,7 @@ export interface reportsComponents {
84937
84970
  type: "plaid";
84938
84971
  };
84939
84972
  /** TaxJar credential. */
84940
- PatchTaxJarCredential: {
84973
+ PatchTaxJarCredentialRequest: {
84941
84974
  /** Status of the credential. */
84942
84975
  status: "active" | "inactive" | "deactivated";
84943
84976
  /**
@@ -97038,9 +97071,9 @@ export interface reportsComponents {
97038
97071
  PatchCredential: {
97039
97072
  content: {
97040
97073
  "application/json":
97041
- | reportsComponents["schemas"]["PatchServiceCredential"]
97042
- | reportsComponents["schemas"]["PatchPlaidCredential"]
97043
- | reportsComponents["schemas"]["PatchTaxJarCredential"];
97074
+ | reportsComponents["schemas"]["PatchServiceCredentialRequest"]
97075
+ | reportsComponents["schemas"]["PatchPlaidCredentialRequest"]
97076
+ | reportsComponents["schemas"]["PatchTaxJarCredentialRequest"];
97044
97077
  };
97045
97078
  };
97046
97079
  /** Ruleset resource. */