rebilly-js-sdk 50.3.0 → 50.3.3

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,31 @@
1
+ ## [50.3.3](https://github.com/Rebilly/rebilly/compare/rebilly-js-sdk-v50.3.2...rebilly-js-sdk-v50.3.3) (2023-05-05)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **js-sdk:** use folder name as nx project name ([#219](https://github.com/Rebilly/rebilly/issues/219)) ([089887d](https://github.com/Rebilly/rebilly/commit/089887d6a4fcfe608dbfec298ea633ad0851904f))
7
+
8
+ ## [50.3.2](https://github.com/Rebilly/rebilly/compare/js-sdk-v50.3.1...js-sdk-v50.3.2) (2023-05-05)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **js-sdk:** remove dead link from readme ([#218](https://github.com/Rebilly/rebilly/issues/218)) ([49756bf](https://github.com/Rebilly/rebilly/commit/49756bfaec0eacabe5c1d3d944e5c2cbd962e909))
14
+
15
+ ## [50.3.1](https://github.com/Rebilly/rebilly/compare/js-sdk-v50.3.0...js-sdk-v50.3.1) (2023-05-05)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * **rebilly-js-sdk:** add missing parameters to fees and balance transactions, add delete fees ([#212](https://github.com/Rebilly/rebilly/issues/212)) ([e8cbb12](https://github.com/Rebilly/rebilly/commit/e8cbb1223a53ba8bfae70ac9851e9e4b2821b2f2))
21
+
22
+ ## 1.0.0 (2023-05-04)
23
+
24
+
25
+ ### Features
26
+
27
+ * Migrate kyc-document-gatherer-vue3 ([#99](https://github.com/Rebilly/rebilly/issues/99)) ([06596dc](https://github.com/Rebilly/rebilly/commit/06596dce43efda66b7945dfcd88b20da617622d4)), closes [#48](https://github.com/Rebilly/rebilly/issues/48) [#45](https://github.com/Rebilly/rebilly/issues/45)
28
+
1
29
  ## [50.3.0](https://github.com/Rebilly/rebilly/compare/js-sdk-v50.2.0...js-sdk-v50.3.0) (2023-04-28)
2
30
 
3
31
 
package/README.md CHANGED
@@ -2,7 +2,6 @@
2
2
  The Rebilly JS SDK library allows you to consume the Rebilly API using either Node or the browser.
3
3
 
4
4
  [![npm](https://img.shields.io/npm/v/rebilly-js-sdk.svg)](https://www.npmjs.com/package/rebilly-js-sdk)
5
- ![GitHub release](https://github.com/rebilly/rebilly-js-sdk/actions/workflows/publish.yaml/badge.svg)
6
5
  [![Try rebilly-js-sdk on RunKit](https://badge.runkitcdn.com/rebilly-js-sdk.svg)](https://npm.runkit.com/rebilly-js-sdk)
7
6
 
8
7
  ### PCI Compliance note
@@ -930,6 +930,8 @@ declare module rebilly {
930
930
  type PatchFeeRequest = operations['PatchFee']['requestBody']['content']['application/json']
931
931
  type PatchFeeResponse = operations['PatchFee']['responses']['200']['content']['application/json']
932
932
  type PatchFeeResponsePromise = Promise<{fields: PatchFeeResponse}>
933
+ type DeleteFeeResponse = operations['DeleteFee']['responses']['204']
934
+ type DeleteFeeResponsePromise = Promise<{fields: DeleteFeeResponse}>
933
935
 
934
936
  type GetCashierRequestCollectionRequest = operations['GetCashierRequestCollection']['parameters']["query"] & (operations['GetCashierRequestCollection']['parameters'] extends {path: {}} ? operations['GetCashierRequestCollection']['parameters']["path"] : {})
935
937
 
@@ -3723,6 +3725,12 @@ export interface corePaths {
3723
3725
  * > **Important:** This operation is experimental and may not be backward compatible.
3724
3726
  */
3725
3727
  put: operations["PutFee"];
3728
+ /**
3729
+ * Deletes a fee entry.
3730
+ *
3731
+ * > **Important:** This operation is experimental and may not be backward compatible.
3732
+ */
3733
+ delete: operations["DeleteFee"];
3726
3734
  /**
3727
3735
  * Patches a fee entry.
3728
3736
  *
@@ -4835,6 +4843,7 @@ export interface coreComponents {
4835
4843
  | "UPI"
4836
4844
  | "USD-coin"
4837
4845
  | "VCreditos"
4846
+ | "VegaWallet"
4838
4847
  | "VenusPoint"
4839
4848
  | "voucher"
4840
4849
  | "voucher-2"
@@ -5338,13 +5347,15 @@ export interface coreComponents {
5338
5347
  occurredTime?: coreComponents["schemas"]["ServerTimestamp"];
5339
5348
  _links?: coreComponents["schemas"]["SelfLink"];
5340
5349
  };
5350
+ /** ID of the transaction. */
5351
+ TransactionId: string;
5341
5352
  Dispute: {
5342
5353
  /** ID of the dispute. */
5343
5354
  id?: string;
5344
5355
  /** ID of the customer who is disputing a transaction. */
5345
5356
  customerId?: string;
5346
5357
  /** ID of the disputed transaction. */
5347
- transactionId: string;
5358
+ transactionId: coreComponents["schemas"]["TransactionId"];
5348
5359
  currency: coreComponents["schemas"]["CurrencyCode"];
5349
5360
  /** Dispute amount. */
5350
5361
  amount: number;
@@ -6073,6 +6084,7 @@ export interface coreComponents {
6073
6084
  | "VantivLitle"
6074
6085
  | "vegaaH"
6075
6086
  | "VCreditos"
6087
+ | "VegaWallet"
6076
6088
  | "Wallet88"
6077
6089
  | "Walpay"
6078
6090
  | "WesternUnion"
@@ -6086,8 +6098,7 @@ export interface coreComponents {
6086
6098
  | null;
6087
6099
  /** Transaction information. */
6088
6100
  CommonTransaction: {
6089
- /** ID of the transaction. */
6090
- id?: coreComponents["schemas"]["ResourceId"];
6101
+ id?: coreComponents["schemas"]["TransactionId"];
6091
6102
  websiteId?: coreComponents["schemas"]["WebsiteId"];
6092
6103
  customerId?: coreComponents["schemas"]["CustomerId"];
6093
6104
  /** Type of transaction. */
@@ -6136,7 +6147,7 @@ export interface coreComponents {
6136
6147
  requestAmount?: number;
6137
6148
  requestCurrency?: coreComponents["schemas"]["CurrencyCode"];
6138
6149
  /** ID of the parent transaction. */
6139
- parentTransactionId?: string | null;
6150
+ parentTransactionId?: coreComponents["schemas"]["TransactionId"];
6140
6151
  /** IDs of child transactions. */
6141
6152
  childTransactions?: coreComponents["schemas"]["ResourceId"][];
6142
6153
  /** Related invoice IDs. */
@@ -6385,6 +6396,7 @@ export interface coreComponents {
6385
6396
  | "UPayCard"
6386
6397
  | "Vantiv"
6387
6398
  | "VCreditos"
6399
+ | "VegaWallet"
6388
6400
  | "VoicePay"
6389
6401
  | "Wallet88"
6390
6402
  | "WeChat Pay"
@@ -6531,7 +6543,7 @@ export interface coreComponents {
6531
6543
  /** ID of the gateway account that processed the transaction. */
6532
6544
  gatewayAccountId?: string;
6533
6545
  /** ID of the gateway transaction. */
6534
- gatewayTransactionId?: coreComponents["schemas"]["ResourceId"];
6546
+ gatewayTransactionId?: coreComponents["schemas"]["TransactionId"];
6535
6547
  /** Related gateway information. */
6536
6548
  gateway?: {
6537
6549
  /** Gateway response. */
@@ -6921,7 +6933,7 @@ export interface coreComponents {
6921
6933
  InvoiceTransactionAllocation: {
6922
6934
  /** Unique resource ID. */
6923
6935
  invoiceId?: string;
6924
- transactionId?: coreComponents["schemas"]["ResourceId"];
6936
+ transactionId?: coreComponents["schemas"]["TransactionId"];
6925
6937
  amount?: number;
6926
6938
  currency?: coreComponents["schemas"]["CurrencyCode"];
6927
6939
  /** Related links. */
@@ -6934,7 +6946,7 @@ export interface coreComponents {
6934
6946
  };
6935
6947
  InvoiceTransaction: {
6936
6948
  /** ID of the transaction to apply to the invoice. */
6937
- transactionId: string;
6949
+ transactionId: coreComponents["schemas"]["TransactionId"];
6938
6950
  /**
6939
6951
  * Amount to be applied to the invoice. This value must not exceed the transaction amount.
6940
6952
  * If omitted, the lesser of the unused transaction amount or the invoice due amount is used.
@@ -7001,7 +7013,7 @@ export interface coreComponents {
7001
7013
  */
7002
7014
  transactions?: {
7003
7015
  /** ID of the transaction to which the credit memo is allocated. */
7004
- transactionId?: coreComponents["schemas"]["ResourceId"];
7016
+ transactionId?: coreComponents["schemas"]["TransactionId"];
7005
7017
  /**
7006
7018
  * Amount of credit that is allocated from the credit memo to the transaction.
7007
7019
  * If the `amount` value is not supplied or exceeds the unused amount of the credit memo or the transaction amount, the lesser of the following two values is used:
@@ -7442,6 +7454,8 @@ export interface coreComponents {
7442
7454
  documentSubtype?: string | null;
7443
7455
  /** Specifies if an identity document has matching face proof. */
7444
7456
  hasMatchingFaceProof?: boolean;
7457
+ /** Specifies if an identity document has been tampered with. */
7458
+ isTampered?: boolean;
7445
7459
  /** Use `expirationDate` field instead. */
7446
7460
  expiryDate?: string | null;
7447
7461
  };
@@ -7485,6 +7499,8 @@ export interface coreComponents {
7485
7499
  nationality?: number;
7486
7500
  /** Weight added if the document is not one of the recognized document subtypes. */
7487
7501
  documentSubtype?: number;
7502
+ /** Weight added if the document has been tampered with. */
7503
+ isTampered?: number;
7488
7504
  };
7489
7505
  /** Pass and fail threshold definition for the document verification process. */
7490
7506
  thresholds?: {
@@ -7568,6 +7584,8 @@ export interface coreComponents {
7568
7584
  phone?: string | null;
7569
7585
  /** Interpreted subtype of the uploaded document. */
7570
7586
  documentSubtype?: string | null;
7587
+ /** Specifies if an address proof document has been tampered with. */
7588
+ isTampered?: boolean;
7571
7589
  };
7572
7590
  /** Address proof settings. */
7573
7591
  KycSettingsAddress: {
@@ -7598,6 +7616,8 @@ export interface coreComponents {
7598
7616
  phone?: number;
7599
7617
  /** Weight added if the document is not one of the recognized document subtypes. */
7600
7618
  documentSubtype?: number;
7619
+ /** Weight added if the document has been tampered with. */
7620
+ isTampered?: number;
7601
7621
  };
7602
7622
  /** Pass and fail threshold definition for the document verification process. */
7603
7623
  thresholds?: {
@@ -9623,7 +9643,7 @@ export interface coreComponents {
9623
9643
  };
9624
9644
  SubscriptionInvoice: {
9625
9645
  /** If present, applies a payment to the invoice created. If the payment is for the invoice total, it would be marked as paid. */
9626
- transactionId?: coreComponents["schemas"]["ResourceId"];
9646
+ transactionId?: coreComponents["schemas"]["TransactionId"];
9627
9647
  };
9628
9648
  /** Subscription pause details. */
9629
9649
  SubscriptionPause: {
@@ -10287,7 +10307,7 @@ export interface coreComponents {
10287
10307
  payoutRequestId?: string;
10288
10308
  };
10289
10309
  TransactionQuery: {
10290
- transactionId?: coreComponents["schemas"]["ResourceId"];
10310
+ transactionId?: coreComponents["schemas"]["TransactionId"];
10291
10311
  /** Result of the transaction. */
10292
10312
  result?: "abandoned" | "approved" | "canceled" | "declined" | "unknown";
10293
10313
  /** Status of the transaction. */
@@ -10445,7 +10465,6 @@ export interface coreComponents {
10445
10465
  _links?: coreComponents["schemas"]["SelfLink"];
10446
10466
  };
10447
10467
  Fee: coreComponents["schemas"]["BaseFee"] & { [key: string]: any };
10448
- FeePatch: coreComponents["schemas"]["BaseFee"];
10449
10468
  /**
10450
10469
  * Custom amount restrictions.
10451
10470
  * If this value is `null`, custom amounts are prohibited.
@@ -10605,7 +10624,7 @@ export interface coreComponents {
10605
10624
  /** List of credit transactions that are allocated to reduce the available amount of a payout request. */
10606
10625
  allocations?: {
10607
10626
  /** ID of the transaction to which the payout request is allocated. */
10608
- transactionId?: coreComponents["schemas"]["ResourceId"];
10627
+ transactionId?: coreComponents["schemas"]["TransactionId"];
10609
10628
  /** Result of a transaction. */
10610
10629
  transactionResult?:
10611
10630
  | "abandoned"
@@ -11299,8 +11318,7 @@ export interface coreComponents {
11299
11318
  CustomerRedirect: {
11300
11319
  content: {
11301
11320
  "application/json": {
11302
- /** ID of the transaction. */
11303
- transactionId?: string;
11321
+ transactionId?: coreComponents["schemas"]["TransactionId"];
11304
11322
  /** URL customer redirected to. */
11305
11323
  redirectUrl?: string;
11306
11324
  /** Customer's IP address. */
@@ -11402,8 +11420,7 @@ export interface coreComponents {
11402
11420
  TransactionWebhook: {
11403
11421
  content: {
11404
11422
  "application/json": {
11405
- /** ID of the transaction. */
11406
- transactionId?: string;
11423
+ transactionId?: coreComponents["schemas"]["TransactionId"];
11407
11424
  /** Type of webhook event. */
11408
11425
  eventType?:
11409
11426
  | "gateway-account-requested"
@@ -11638,8 +11655,7 @@ export interface coreComponents {
11638
11655
  InvoiceAndTransaction: {
11639
11656
  content: {
11640
11657
  "application/json": {
11641
- /** ID of the transaction. */
11642
- transactionId?: string;
11658
+ transactionId?: coreComponents["schemas"]["TransactionId"];
11643
11659
  /** ID of the invoice. */
11644
11660
  invoiceId?: string;
11645
11661
  /** Type of webhook event. */
@@ -17842,6 +17858,19 @@ export interface operations {
17842
17858
  limit?: coreComponents["parameters"]["collectionLimit"];
17843
17859
  /** Specifies the starting point within the collection of items to be returned. */
17844
17860
  offset?: coreComponents["parameters"]["collectionOffset"];
17861
+ /**
17862
+ * Filters the collection items. This field requires
17863
+ * a special format. Use `,` for multiple allowed values. Use `;` for multiple fields.
17864
+ *
17865
+ * For more information, see
17866
+ * [Using filter with collections](https://all-rebilly.redoc.ly/#section/Using-filter-with-collections).
17867
+ */
17868
+ filter?: coreComponents["parameters"]["collectionFilter"];
17869
+ /**
17870
+ * Sorts and orders the collection of items. To sort in descending
17871
+ * order, prefix with `-`.
17872
+ */
17873
+ sort?: coreComponents["parameters"]["collectionSort"];
17845
17874
  };
17846
17875
  };
17847
17876
  responses: {
@@ -17940,6 +17969,26 @@ export interface operations {
17940
17969
  };
17941
17970
  };
17942
17971
  };
17972
+ /**
17973
+ * Deletes a fee entry.
17974
+ *
17975
+ * > **Important:** This operation is experimental and may not be backward compatible.
17976
+ */
17977
+ DeleteFee: {
17978
+ parameters: {
17979
+ path: {
17980
+ /** ID of the resource. */
17981
+ id: coreComponents["parameters"]["resourceId"];
17982
+ };
17983
+ };
17984
+ responses: {
17985
+ /** Fee deleted. */
17986
+ 204: never;
17987
+ 401: coreComponents["responses"]["Unauthorized"];
17988
+ 403: coreComponents["responses"]["Forbidden"];
17989
+ 404: coreComponents["responses"]["NotFound"];
17990
+ };
17991
+ };
17943
17992
  /**
17944
17993
  * Patches a fee entry.
17945
17994
  *
@@ -17965,7 +18014,7 @@ export interface operations {
17965
18014
  };
17966
18015
  requestBody: {
17967
18016
  content: {
17968
- "application/json": coreComponents["schemas"]["FeePatch"];
18017
+ "application/json": coreComponents["schemas"]["BaseFee"];
17969
18018
  };
17970
18019
  };
17971
18020
  };
@@ -20250,6 +20299,7 @@ export interface usersComponents {
20250
20299
  | "UPI"
20251
20300
  | "USD-coin"
20252
20301
  | "VCreditos"
20302
+ | "VegaWallet"
20253
20303
  | "VenusPoint"
20254
20304
  | "voucher"
20255
20305
  | "voucher-2"
@@ -20467,6 +20517,8 @@ export interface usersComponents {
20467
20517
  };
20468
20518
  /** Read-only timestamp in ISO 8601 date-time format. */
20469
20519
  ServerTimestamp: string;
20520
+ /** ID of the transaction. */
20521
+ TransactionId: string;
20470
20522
  /** Application instance object. */
20471
20523
  ApplicationInstance: {
20472
20524
  /** Status of the application instance. */
@@ -20997,6 +21049,7 @@ export interface usersComponents {
20997
21049
  | "VantivLitle"
20998
21050
  | "vegaaH"
20999
21051
  | "VCreditos"
21052
+ | "VegaWallet"
21000
21053
  | "Wallet88"
21001
21054
  | "Walpay"
21002
21055
  | "WesternUnion"
@@ -21010,8 +21063,7 @@ export interface usersComponents {
21010
21063
  | null;
21011
21064
  /** Transaction information. */
21012
21065
  CommonTransaction: {
21013
- /** ID of the transaction. */
21014
- id?: usersComponents["schemas"]["ResourceId"];
21066
+ id?: usersComponents["schemas"]["TransactionId"];
21015
21067
  websiteId?: usersComponents["schemas"]["WebsiteId"];
21016
21068
  customerId?: usersComponents["schemas"]["CustomerId"];
21017
21069
  /** Type of transaction. */
@@ -21060,7 +21112,7 @@ export interface usersComponents {
21060
21112
  requestAmount?: number;
21061
21113
  requestCurrency?: usersComponents["schemas"]["CurrencyCode"];
21062
21114
  /** ID of the parent transaction. */
21063
- parentTransactionId?: string | null;
21115
+ parentTransactionId?: usersComponents["schemas"]["TransactionId"];
21064
21116
  /** IDs of child transactions. */
21065
21117
  childTransactions?: usersComponents["schemas"]["ResourceId"][];
21066
21118
  /** Related invoice IDs. */
@@ -21309,6 +21361,7 @@ export interface usersComponents {
21309
21361
  | "UPayCard"
21310
21362
  | "Vantiv"
21311
21363
  | "VCreditos"
21364
+ | "VegaWallet"
21312
21365
  | "VoicePay"
21313
21366
  | "Wallet88"
21314
21367
  | "WeChat Pay"
@@ -21455,7 +21508,7 @@ export interface usersComponents {
21455
21508
  /** ID of the gateway account that processed the transaction. */
21456
21509
  gatewayAccountId?: string;
21457
21510
  /** ID of the gateway transaction. */
21458
- gatewayTransactionId?: usersComponents["schemas"]["ResourceId"];
21511
+ gatewayTransactionId?: usersComponents["schemas"]["TransactionId"];
21459
21512
  /** Related gateway information. */
21460
21513
  gateway?: {
21461
21514
  /** Gateway response. */
@@ -22088,7 +22141,7 @@ export interface usersComponents {
22088
22141
  */
22089
22142
  parentId?: usersComponents["schemas"]["ResourceId"];
22090
22143
  /** ID of the related transaction. */
22091
- transactionId?: usersComponents["schemas"]["ResourceId"];
22144
+ transactionId?: usersComponents["schemas"]["TransactionId"];
22092
22145
  settlementCurrency?: usersComponents["schemas"]["CurrencyCode"];
22093
22146
  /** Amount of the settlement. */
22094
22147
  settlementAmount?: number;
@@ -26392,6 +26445,16 @@ export interface usersComponents {
26392
26445
  merchantWebsiteLoginDescription?: string;
26393
26446
  };
26394
26447
  };
26448
+ /** VegaWallet gateway configuration. */
26449
+ VegaWallet: usersComponents["schemas"]["GatewayAccount"] & {
26450
+ /** VegaWallet credentials object. */
26451
+ credentials: {
26452
+ /** ID of the VegaWallet merchant. */
26453
+ merchantId: string;
26454
+ /** VegaWallet merchant password. */
26455
+ password: string;
26456
+ };
26457
+ };
26395
26458
  /** Wallet88 gateway configuration. */
26396
26459
  Wallet88: usersComponents["schemas"]["GatewayAccount"] & {
26397
26460
  /** Wallet88 credentials object. */
@@ -27635,7 +27698,7 @@ export interface usersComponents {
27635
27698
  /** IDs of related resources. */
27636
27699
  relatedIds?: {
27637
27700
  customerId?: usersComponents["schemas"]["CustomerId"];
27638
- transactionId?: usersComponents["schemas"]["ResourceId"];
27701
+ transactionId?: usersComponents["schemas"]["TransactionId"];
27639
27702
  tokenId?: usersComponents["schemas"]["ResourceId"];
27640
27703
  };
27641
27704
  /** Request duration in milliseconds. */
@@ -28570,6 +28633,19 @@ export interface operations {
28570
28633
  limit?: usersComponents["parameters"]["collectionLimit"];
28571
28634
  /** Specifies the starting point within the collection of items to be returned. */
28572
28635
  offset?: usersComponents["parameters"]["collectionOffset"];
28636
+ /**
28637
+ * Filters the collection items. This field requires
28638
+ * a special format. Use `,` for multiple allowed values. Use `;` for multiple fields.
28639
+ *
28640
+ * For more information, see
28641
+ * [Using filter with collections](https://all-rebilly.redoc.ly/#section/Using-filter-with-collections).
28642
+ */
28643
+ filter?: usersComponents["parameters"]["collectionFilter"];
28644
+ /**
28645
+ * Sorts and orders the collection of items. To sort in descending
28646
+ * order, prefix with `-`.
28647
+ */
28648
+ sort?: usersComponents["parameters"]["collectionSort"];
28573
28649
  };
28574
28650
  };
28575
28651
  responses: {
@@ -33065,6 +33141,7 @@ export interface storefrontComponents {
33065
33141
  | "UPI"
33066
33142
  | "USD-coin"
33067
33143
  | "VCreditos"
33144
+ | "VegaWallet"
33068
33145
  | "VenusPoint"
33069
33146
  | "voucher"
33070
33147
  | "voucher-2"
@@ -33190,6 +33267,8 @@ export interface storefrontComponents {
33190
33267
  };
33191
33268
  /** Read-only timestamp in ISO 8601 date-time format. */
33192
33269
  ServerTimestamp: string;
33270
+ /** ID of the transaction. */
33271
+ TransactionId: string;
33193
33272
  /** Manually set shipping amount. */
33194
33273
  ManualShipping: {
33195
33274
  /** Shipping amount. */
@@ -33614,6 +33693,7 @@ export interface storefrontComponents {
33614
33693
  | "VantivLitle"
33615
33694
  | "vegaaH"
33616
33695
  | "VCreditos"
33696
+ | "VegaWallet"
33617
33697
  | "Wallet88"
33618
33698
  | "Walpay"
33619
33699
  | "WesternUnion"
@@ -33627,8 +33707,7 @@ export interface storefrontComponents {
33627
33707
  | null;
33628
33708
  /** Transaction information. */
33629
33709
  CommonTransaction: {
33630
- /** ID of the transaction. */
33631
- id?: storefrontComponents["schemas"]["ResourceId"];
33710
+ id?: storefrontComponents["schemas"]["TransactionId"];
33632
33711
  websiteId?: storefrontComponents["schemas"]["WebsiteId"];
33633
33712
  customerId?: storefrontComponents["schemas"]["CustomerId"];
33634
33713
  /** Type of transaction. */
@@ -33677,7 +33756,7 @@ export interface storefrontComponents {
33677
33756
  requestAmount?: number;
33678
33757
  requestCurrency?: storefrontComponents["schemas"]["CurrencyCode"];
33679
33758
  /** ID of the parent transaction. */
33680
- parentTransactionId?: string | null;
33759
+ parentTransactionId?: storefrontComponents["schemas"]["TransactionId"];
33681
33760
  /** IDs of child transactions. */
33682
33761
  childTransactions?: storefrontComponents["schemas"]["ResourceId"][];
33683
33762
  /** Related invoice IDs. */
@@ -34041,6 +34120,8 @@ export interface storefrontComponents {
34041
34120
  documentSubtype?: string | null;
34042
34121
  /** Specifies if an identity document has matching face proof. */
34043
34122
  hasMatchingFaceProof?: boolean;
34123
+ /** Specifies if an identity document has been tampered with. */
34124
+ isTampered?: boolean;
34044
34125
  /** Use `expirationDate` field instead. */
34045
34126
  expiryDate?: string | null;
34046
34127
  };
@@ -34089,6 +34170,8 @@ export interface storefrontComponents {
34089
34170
  phone?: string | null;
34090
34171
  /** Interpreted subtype of the uploaded document. */
34091
34172
  documentSubtype?: string | null;
34173
+ /** Specifies if an address proof document has been tampered with. */
34174
+ isTampered?: boolean;
34092
34175
  };
34093
34176
  PurchaseMatches: {
34094
34177
  /**
@@ -36406,7 +36489,7 @@ export interface storefrontComponents {
36406
36489
  | storefrontComponents["schemas"]["PaymentInstructionsToken"]
36407
36490
  | storefrontComponents["schemas"]["PaymentInstructionsInstrument"]
36408
36491
  ) & {
36409
- transactionId: storefrontComponents["schemas"]["ResourceId"];
36492
+ transactionId: storefrontComponents["schemas"]["TransactionId"];
36410
36493
  riskMetadata?: storefrontComponents["schemas"]["RiskMetadata"];
36411
36494
  redirectUrl?: storefrontComponents["schemas"]["StorefrontTransactionRedirectUrl"];
36412
36495
  })
@@ -40554,7 +40637,7 @@ declare module "resources/balance-transactions-resource" {
40554
40637
  export default function BalanceTransactionsResource({ apiHandler }: {
40555
40638
  apiHandler: any;
40556
40639
  }): {
40557
- getAll({ limit, offset }?: rebilly.GetBalanceTransactionCollectionRequest): rebilly.GetBalanceTransactionCollectionResponsePromise;
40640
+ getAll({ limit, offset, filter, sort }?: rebilly.GetBalanceTransactionCollectionRequest): rebilly.GetBalanceTransactionCollectionResponsePromise;
40558
40641
  get({ id }: {
40559
40642
  id: any;
40560
40643
  }): rebilly.GetBalanceTransactionResponsePromise;
@@ -41075,7 +41158,7 @@ declare module "resources/fees-resource" {
41075
41158
  export default function FeesResource({ apiHandler }: {
41076
41159
  apiHandler: any;
41077
41160
  }): {
41078
- getAll({ limit, offset }?: rebilly.GetFeeCollectionRequest): rebilly.GetFeeCollectionResponsePromise;
41161
+ getAll({ limit, offset, filter, sort }?: rebilly.GetFeeCollectionRequest): rebilly.GetFeeCollectionResponsePromise;
41079
41162
  create({ id, data }: rebilly.CreateFeeRequest): rebilly.PostFeeResponsePromise;
41080
41163
  get({ id }: {
41081
41164
  id: any;
@@ -41084,6 +41167,9 @@ declare module "resources/fees-resource" {
41084
41167
  id: any;
41085
41168
  data: any;
41086
41169
  }): rebilly.PutFeeResponsePromise;
41170
+ delete({ id }: {
41171
+ id: any;
41172
+ }): any;
41087
41173
  patch({ id, data }: {
41088
41174
  id: any;
41089
41175
  data: any;
@@ -42268,9 +42354,11 @@ declare module "resources/api-instance" {
42268
42354
  }): rebilly.GetApplicationInstanceByOrganizationResponsePromise;
42269
42355
  };
42270
42356
  balanceTransactions: {
42271
- getAll({ limit, offset }?: {
42357
+ getAll({ limit, offset, filter, sort }?: {
42272
42358
  limit?: number;
42273
42359
  offset?: number;
42360
+ filter?: string;
42361
+ sort?: string[];
42274
42362
  }): rebilly.GetBalanceTransactionCollectionResponsePromise;
42275
42363
  get({ id }: {
42276
42364
  id: any;
@@ -42813,9 +42901,11 @@ declare module "resources/api-instance" {
42813
42901
  }): any;
42814
42902
  };
42815
42903
  fees: {
42816
- getAll({ limit, offset }?: {
42904
+ getAll({ limit, offset, filter, sort }?: {
42817
42905
  limit?: number;
42818
42906
  offset?: number;
42907
+ filter?: string;
42908
+ sort?: string[];
42819
42909
  }): rebilly.GetFeeCollectionResponsePromise;
42820
42910
  create({ id, data }: rebilly.CreateFeeRequest): rebilly.PostFeeResponsePromise;
42821
42911
  get({ id }: {
@@ -42825,6 +42915,9 @@ declare module "resources/api-instance" {
42825
42915
  id: any;
42826
42916
  data: any;
42827
42917
  }): rebilly.PutFeeResponsePromise;
42918
+ delete({ id }: {
42919
+ id: any;
42920
+ }): any;
42828
42921
  patch({ id, data }: {
42829
42922
  id: any;
42830
42923
  data: any;