rebilly-js-sdk 56.36.2 → 56.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1 +1,6 @@
1
- ## [56.36.2](https://github.com/Rebilly/rebilly/compare/rebilly-js-sdk-v56.36.1...rebilly-js-sdk-v56.36.2) (2024-06-24)
1
+ ## [56.37.0](https://github.com/Rebilly/rebilly/compare/rebilly-js-sdk-v56.36.2...rebilly-js-sdk-v56.37.0) (2024-06-24)
2
+
3
+
4
+ ### Features
5
+
6
+ * **api-metadata, rebilly-js-sdk:** Update resources based on latest api definitions ([#5777](https://github.com/Rebilly/rebilly/issues/5777)) ([12ef8c7](https://github.com/Rebilly/rebilly/commit/12ef8c7dffe3191e6a0c89ba254e0b9674f36ca9))
@@ -9154,7 +9154,7 @@ export interface coreComponents {
9154
9154
  faceProofRequired?: boolean;
9155
9155
  /**
9156
9156
  * Specifies if the customer must use the face liveness feature when uploading a selfie.
9157
- * For more information, see [Facial recognition and identity verification](https://www.rebilly.com/docs/kyc-and-aml/kyc-and-aml/#facial-recognition-identity-verification).
9157
+ * For more information, see [Facial recognition and identity verification](https://www.rebilly.com/docs/kyc-and-aml/kyc.md#facial-recognition-identity-verification).
9158
9158
  */
9159
9159
  faceLivenessRequired?: boolean;
9160
9160
  };
@@ -9193,11 +9193,8 @@ export interface coreComponents {
9193
9193
  redirectUrl?: string | null;
9194
9194
  /** Reason for uploading. */
9195
9195
  reason?: string | null;
9196
- /**
9197
- * Tolerance level setting for document matches.
9198
- * The value of `1` is more tolerant and `2` is strict.
9199
- */
9200
- matchLevel?: number;
9196
+ /** Document verification level. */
9197
+ matchLevel?: 1 | 2 | 3;
9201
9198
  /**
9202
9199
  * Number of times the KYC request data has been modified.
9203
9200
  *
@@ -9924,6 +9921,8 @@ export interface coreComponents {
9924
9921
  KycSettings: {
9925
9922
  identityProof?: coreComponents["schemas"]["KycSettingsIdentity"];
9926
9923
  addressProof?: coreComponents["schemas"]["KycSettingsAddress"];
9924
+ /** Version of the KYC document gatherer UI. */
9925
+ uiVersion?: ("1" | "2") | null;
9927
9926
  };
9928
9927
  ResetPasswordToken: {
9929
9928
  /** ID of the token. */
@@ -12250,6 +12249,7 @@ export interface coreComponents {
12250
12249
  /** Date and time when the `linkToken` expires. */
12251
12250
  expirationTime: string;
12252
12251
  };
12252
+ ReadyToPayAchMethodFeature: coreComponents["schemas"]["AchPlaidFeature"];
12253
12253
  ReadyToPayAchMethod: {
12254
12254
  /** Payment method. */
12255
12255
  method: "ach";
@@ -12258,7 +12258,7 @@ export interface coreComponents {
12258
12258
  * For example, a digital wallet or a processor.
12259
12259
  * If the method does not have any features, this value is null.
12260
12260
  */
12261
- feature?: coreComponents["schemas"]["AchPlaidFeature"] | null;
12261
+ feature?: coreComponents["schemas"]["ReadyToPayAchMethodFeature"] | null;
12262
12262
  filters?: coreComponents["schemas"]["ReadyToPayMethodFilters"];
12263
12263
  };
12264
12264
  ReadyToPayGenericMethod: {
@@ -12277,11 +12277,12 @@ export interface coreComponents {
12277
12277
  /** Date and time when the billing agreement token expires. */
12278
12278
  expirationTime: string;
12279
12279
  };
12280
+ ReadyToPayPayPalMethodFeature: coreComponents["schemas"]["PayPalBillingAgreementFeature"];
12280
12281
  ReadyToPayPayPalMethod: {
12281
12282
  /** Payment method. */
12282
12283
  method: "paypal";
12283
12284
  /** Specific features of PayPal. */
12284
- feature?: coreComponents["schemas"]["PayPalBillingAgreementFeature"] | null;
12285
+ feature?: coreComponents["schemas"]["ReadyToPayPayPalMethodFeature"] | null;
12285
12286
  filters?: coreComponents["schemas"]["ReadyToPayMethodFilters"];
12286
12287
  };
12287
12288
  KlarnaFeature: {
@@ -12292,6 +12293,7 @@ export interface coreComponents {
12292
12293
  /** Klarna session token. */
12293
12294
  sessionId: string;
12294
12295
  };
12296
+ ReadyToPayKlarnaMethodFeature: coreComponents["schemas"]["KlarnaFeature"];
12295
12297
  ReadyToPayKlarnaMethod: {
12296
12298
  /** Payment method. */
12297
12299
  method: "Klarna";
@@ -12300,7 +12302,7 @@ export interface coreComponents {
12300
12302
  * For example, a digital wallet or a processor.
12301
12303
  * If the method does not have any features, this value is null.
12302
12304
  */
12303
- feature?: coreComponents["schemas"]["KlarnaFeature"] | null;
12305
+ feature?: coreComponents["schemas"]["ReadyToPayKlarnaMethodFeature"] | null;
12304
12306
  filters?: coreComponents["schemas"]["ReadyToPayMethodFilters"];
12305
12307
  };
12306
12308
  ReadyToPayMethods: Partial<
@@ -12589,6 +12591,7 @@ export interface coreComponents {
12589
12591
  cancelCategory?:
12590
12592
  | (
12591
12593
  | "billing-failure"
12594
+ | "delinquency"
12592
12595
  | "did-not-use"
12593
12596
  | "did-not-want"
12594
12597
  | "missing-features"
@@ -12599,6 +12602,7 @@ export interface coreComponents {
12599
12602
  | "too-expensive"
12600
12603
  | "never-started"
12601
12604
  | "switched-plan"
12605
+ | "organization-deactivated"
12602
12606
  | "other"
12603
12607
  )
12604
12608
  | null;
@@ -16282,8 +16286,6 @@ export interface coreComponents {
16282
16286
  Buckaroo: coreComponents["schemas"]["GatewayAccount"] & {
16283
16287
  /** Buckaroo credentials object. */
16284
16288
  credentials: {
16285
- /** Debtor code. */
16286
- debtorCode?: string;
16287
16289
  /** Scheme key. */
16288
16290
  schemeKey?: string;
16289
16291
  /** Website key. */
@@ -22303,6 +22305,7 @@ export interface coreComponents {
22303
22305
  /** Category of the cancellation. */
22304
22306
  cancelCategory?:
22305
22307
  | "billing-failure"
22308
+ | "delinquency"
22306
22309
  | "did-not-use"
22307
22310
  | "did-not-want"
22308
22311
  | "missing-features"
@@ -22313,6 +22316,7 @@ export interface coreComponents {
22313
22316
  | "too-expensive"
22314
22317
  | "never-started"
22315
22318
  | "switched-plan"
22319
+ | "organization-deactivated"
22316
22320
  | "other";
22317
22321
  /** Description of the cancellation reason in free form. */
22318
22322
  cancelDescription?: string;
@@ -42854,7 +42858,7 @@ export interface storefrontComponents {
42854
42858
  faceProofRequired?: boolean;
42855
42859
  /**
42856
42860
  * Specifies if the customer must use the face liveness feature when uploading a selfie.
42857
- * For more information, see [Facial recognition and identity verification](https://www.rebilly.com/docs/kyc-and-aml/kyc-and-aml/#facial-recognition-identity-verification).
42861
+ * For more information, see [Facial recognition and identity verification](https://www.rebilly.com/docs/kyc-and-aml/kyc.md#facial-recognition-identity-verification).
42858
42862
  */
42859
42863
  faceLivenessRequired?: boolean;
42860
42864
  };
@@ -42893,11 +42897,8 @@ export interface storefrontComponents {
42893
42897
  redirectUrl?: string | null;
42894
42898
  /** Reason for uploading. */
42895
42899
  reason?: string | null;
42896
- /**
42897
- * Tolerance level setting for document matches.
42898
- * The value of `1` is more tolerant and `2` is strict.
42899
- */
42900
- matchLevel?: number;
42900
+ /** Document verification level. */
42901
+ matchLevel?: 1 | 2 | 3;
42901
42902
  /**
42902
42903
  * Number of times the KYC request data has been modified.
42903
42904
  *
@@ -43624,6 +43625,8 @@ export interface storefrontComponents {
43624
43625
  KycSettings: {
43625
43626
  identityProof?: storefrontComponents["schemas"]["KycSettingsIdentity"];
43626
43627
  addressProof?: storefrontComponents["schemas"]["KycSettingsAddress"];
43628
+ /** Version of the KYC document gatherer UI. */
43629
+ uiVersion?: ("1" | "2") | null;
43627
43630
  };
43628
43631
  ResetPasswordToken: {
43629
43632
  /** ID of the token. */
@@ -45950,6 +45953,7 @@ export interface storefrontComponents {
45950
45953
  /** Date and time when the `linkToken` expires. */
45951
45954
  expirationTime: string;
45952
45955
  };
45956
+ ReadyToPayAchMethodFeature: storefrontComponents["schemas"]["AchPlaidFeature"];
45953
45957
  ReadyToPayAchMethod: {
45954
45958
  /** Payment method. */
45955
45959
  method: "ach";
@@ -45958,7 +45962,7 @@ export interface storefrontComponents {
45958
45962
  * For example, a digital wallet or a processor.
45959
45963
  * If the method does not have any features, this value is null.
45960
45964
  */
45961
- feature?: storefrontComponents["schemas"]["AchPlaidFeature"] | null;
45965
+ feature?: storefrontComponents["schemas"]["ReadyToPayAchMethodFeature"] | null;
45962
45966
  filters?: storefrontComponents["schemas"]["ReadyToPayMethodFilters"];
45963
45967
  };
45964
45968
  ReadyToPayGenericMethod: {
@@ -45977,11 +45981,12 @@ export interface storefrontComponents {
45977
45981
  /** Date and time when the billing agreement token expires. */
45978
45982
  expirationTime: string;
45979
45983
  };
45984
+ ReadyToPayPayPalMethodFeature: storefrontComponents["schemas"]["PayPalBillingAgreementFeature"];
45980
45985
  ReadyToPayPayPalMethod: {
45981
45986
  /** Payment method. */
45982
45987
  method: "paypal";
45983
45988
  /** Specific features of PayPal. */
45984
- feature?: storefrontComponents["schemas"]["PayPalBillingAgreementFeature"] | null;
45989
+ feature?: storefrontComponents["schemas"]["ReadyToPayPayPalMethodFeature"] | null;
45985
45990
  filters?: storefrontComponents["schemas"]["ReadyToPayMethodFilters"];
45986
45991
  };
45987
45992
  KlarnaFeature: {
@@ -45992,6 +45997,7 @@ export interface storefrontComponents {
45992
45997
  /** Klarna session token. */
45993
45998
  sessionId: string;
45994
45999
  };
46000
+ ReadyToPayKlarnaMethodFeature: storefrontComponents["schemas"]["KlarnaFeature"];
45995
46001
  ReadyToPayKlarnaMethod: {
45996
46002
  /** Payment method. */
45997
46003
  method: "Klarna";
@@ -46000,7 +46006,7 @@ export interface storefrontComponents {
46000
46006
  * For example, a digital wallet or a processor.
46001
46007
  * If the method does not have any features, this value is null.
46002
46008
  */
46003
- feature?: storefrontComponents["schemas"]["KlarnaFeature"] | null;
46009
+ feature?: storefrontComponents["schemas"]["ReadyToPayKlarnaMethodFeature"] | null;
46004
46010
  filters?: storefrontComponents["schemas"]["ReadyToPayMethodFilters"];
46005
46011
  };
46006
46012
  ReadyToPayMethods: Partial<
@@ -46289,6 +46295,7 @@ export interface storefrontComponents {
46289
46295
  cancelCategory?:
46290
46296
  | (
46291
46297
  | "billing-failure"
46298
+ | "delinquency"
46292
46299
  | "did-not-use"
46293
46300
  | "did-not-want"
46294
46301
  | "missing-features"
@@ -46299,6 +46306,7 @@ export interface storefrontComponents {
46299
46306
  | "too-expensive"
46300
46307
  | "never-started"
46301
46308
  | "switched-plan"
46309
+ | "organization-deactivated"
46302
46310
  | "other"
46303
46311
  )
46304
46312
  | null;
@@ -49982,8 +49990,6 @@ export interface storefrontComponents {
49982
49990
  Buckaroo: storefrontComponents["schemas"]["GatewayAccount"] & {
49983
49991
  /** Buckaroo credentials object. */
49984
49992
  credentials: {
49985
- /** Debtor code. */
49986
- debtorCode?: string;
49987
49993
  /** Scheme key. */
49988
49994
  schemeKey?: string;
49989
49995
  /** Website key. */
@@ -56003,6 +56009,7 @@ export interface storefrontComponents {
56003
56009
  /** Category of the cancellation. */
56004
56010
  cancelCategory?:
56005
56011
  | "billing-failure"
56012
+ | "delinquency"
56006
56013
  | "did-not-use"
56007
56014
  | "did-not-want"
56008
56015
  | "missing-features"
@@ -56013,6 +56020,7 @@ export interface storefrontComponents {
56013
56020
  | "too-expensive"
56014
56021
  | "never-started"
56015
56022
  | "switched-plan"
56023
+ | "organization-deactivated"
56016
56024
  | "other";
56017
56025
  /** Description of the cancellation reason in free form. */
56018
56026
  cancelDescription?: string;
@@ -65461,7 +65469,7 @@ export interface reportsComponents {
65461
65469
  faceProofRequired?: boolean;
65462
65470
  /**
65463
65471
  * Specifies if the customer must use the face liveness feature when uploading a selfie.
65464
- * For more information, see [Facial recognition and identity verification](https://www.rebilly.com/docs/kyc-and-aml/kyc-and-aml/#facial-recognition-identity-verification).
65472
+ * For more information, see [Facial recognition and identity verification](https://www.rebilly.com/docs/kyc-and-aml/kyc.md#facial-recognition-identity-verification).
65465
65473
  */
65466
65474
  faceLivenessRequired?: boolean;
65467
65475
  };
@@ -65500,11 +65508,8 @@ export interface reportsComponents {
65500
65508
  redirectUrl?: string | null;
65501
65509
  /** Reason for uploading. */
65502
65510
  reason?: string | null;
65503
- /**
65504
- * Tolerance level setting for document matches.
65505
- * The value of `1` is more tolerant and `2` is strict.
65506
- */
65507
- matchLevel?: number;
65511
+ /** Document verification level. */
65512
+ matchLevel?: 1 | 2 | 3;
65508
65513
  /**
65509
65514
  * Number of times the KYC request data has been modified.
65510
65515
  *
@@ -66231,6 +66236,8 @@ export interface reportsComponents {
66231
66236
  KycSettings: {
66232
66237
  identityProof?: reportsComponents["schemas"]["KycSettingsIdentity"];
66233
66238
  addressProof?: reportsComponents["schemas"]["KycSettingsAddress"];
66239
+ /** Version of the KYC document gatherer UI. */
66240
+ uiVersion?: ("1" | "2") | null;
66234
66241
  };
66235
66242
  ResetPasswordToken: {
66236
66243
  /** ID of the token. */
@@ -68557,6 +68564,7 @@ export interface reportsComponents {
68557
68564
  /** Date and time when the `linkToken` expires. */
68558
68565
  expirationTime: string;
68559
68566
  };
68567
+ ReadyToPayAchMethodFeature: reportsComponents["schemas"]["AchPlaidFeature"];
68560
68568
  ReadyToPayAchMethod: {
68561
68569
  /** Payment method. */
68562
68570
  method: "ach";
@@ -68565,7 +68573,7 @@ export interface reportsComponents {
68565
68573
  * For example, a digital wallet or a processor.
68566
68574
  * If the method does not have any features, this value is null.
68567
68575
  */
68568
- feature?: reportsComponents["schemas"]["AchPlaidFeature"] | null;
68576
+ feature?: reportsComponents["schemas"]["ReadyToPayAchMethodFeature"] | null;
68569
68577
  filters?: reportsComponents["schemas"]["ReadyToPayMethodFilters"];
68570
68578
  };
68571
68579
  ReadyToPayGenericMethod: {
@@ -68584,11 +68592,12 @@ export interface reportsComponents {
68584
68592
  /** Date and time when the billing agreement token expires. */
68585
68593
  expirationTime: string;
68586
68594
  };
68595
+ ReadyToPayPayPalMethodFeature: reportsComponents["schemas"]["PayPalBillingAgreementFeature"];
68587
68596
  ReadyToPayPayPalMethod: {
68588
68597
  /** Payment method. */
68589
68598
  method: "paypal";
68590
68599
  /** Specific features of PayPal. */
68591
- feature?: reportsComponents["schemas"]["PayPalBillingAgreementFeature"] | null;
68600
+ feature?: reportsComponents["schemas"]["ReadyToPayPayPalMethodFeature"] | null;
68592
68601
  filters?: reportsComponents["schemas"]["ReadyToPayMethodFilters"];
68593
68602
  };
68594
68603
  KlarnaFeature: {
@@ -68599,6 +68608,7 @@ export interface reportsComponents {
68599
68608
  /** Klarna session token. */
68600
68609
  sessionId: string;
68601
68610
  };
68611
+ ReadyToPayKlarnaMethodFeature: reportsComponents["schemas"]["KlarnaFeature"];
68602
68612
  ReadyToPayKlarnaMethod: {
68603
68613
  /** Payment method. */
68604
68614
  method: "Klarna";
@@ -68607,7 +68617,7 @@ export interface reportsComponents {
68607
68617
  * For example, a digital wallet or a processor.
68608
68618
  * If the method does not have any features, this value is null.
68609
68619
  */
68610
- feature?: reportsComponents["schemas"]["KlarnaFeature"] | null;
68620
+ feature?: reportsComponents["schemas"]["ReadyToPayKlarnaMethodFeature"] | null;
68611
68621
  filters?: reportsComponents["schemas"]["ReadyToPayMethodFilters"];
68612
68622
  };
68613
68623
  ReadyToPayMethods: Partial<
@@ -68896,6 +68906,7 @@ export interface reportsComponents {
68896
68906
  cancelCategory?:
68897
68907
  | (
68898
68908
  | "billing-failure"
68909
+ | "delinquency"
68899
68910
  | "did-not-use"
68900
68911
  | "did-not-want"
68901
68912
  | "missing-features"
@@ -68906,6 +68917,7 @@ export interface reportsComponents {
68906
68917
  | "too-expensive"
68907
68918
  | "never-started"
68908
68919
  | "switched-plan"
68920
+ | "organization-deactivated"
68909
68921
  | "other"
68910
68922
  )
68911
68923
  | null;
@@ -72589,8 +72601,6 @@ export interface reportsComponents {
72589
72601
  Buckaroo: reportsComponents["schemas"]["GatewayAccount"] & {
72590
72602
  /** Buckaroo credentials object. */
72591
72603
  credentials: {
72592
- /** Debtor code. */
72593
- debtorCode?: string;
72594
72604
  /** Scheme key. */
72595
72605
  schemeKey?: string;
72596
72606
  /** Website key. */
@@ -78610,6 +78620,7 @@ export interface reportsComponents {
78610
78620
  /** Category of the cancellation. */
78611
78621
  cancelCategory?:
78612
78622
  | "billing-failure"
78623
+ | "delinquency"
78613
78624
  | "did-not-use"
78614
78625
  | "did-not-want"
78615
78626
  | "missing-features"
@@ -78620,6 +78631,7 @@ export interface reportsComponents {
78620
78631
  | "too-expensive"
78621
78632
  | "never-started"
78622
78633
  | "switched-plan"
78634
+ | "organization-deactivated"
78623
78635
  | "other";
78624
78636
  /** Description of the cancellation reason in free form. */
78625
78637
  cancelDescription?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rebilly-js-sdk",
3
- "version": "56.36.2",
3
+ "version": "56.37.0",
4
4
  "description": "Official Rebilly API JS library for the browser and Node",
5
5
  "types": "./dist/rebilly-js-sdk.d.ts",
6
6
  "main": "./dist/rebilly-js-sdk.umd.js",