rebilly-js-sdk 46.2.0 → 46.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.
@@ -1884,7 +1884,7 @@ export interface corePaths {
1884
1884
  };
1885
1885
  "/coupons/{id}/expiration": {
1886
1886
  /**
1887
- * Set a coupon's expiry time with the specified coupon ID.
1887
+ * Set a coupon's expiration time with the specified coupon ID.
1888
1888
  * The expiredTime of a coupon must be greater than its issuedTime.
1889
1889
  * This cannot be performed on expired coupons.
1890
1890
  */
@@ -3080,6 +3080,8 @@ export interface coreComponents {
3080
3080
  extension?: string;
3081
3081
  /** The File description. */
3082
3082
  description?: string;
3083
+ /** The File source type. */
3084
+ sourceType?: ("upload" | "camera") | null;
3083
3085
  /** The tags list. */
3084
3086
  tags?: string[];
3085
3087
  /** The mime type. */
@@ -3150,35 +3152,42 @@ export interface coreComponents {
3150
3152
  _embedded?: Partial<coreComponents["schemas"]["FileEmbed"]>[];
3151
3153
  };
3152
3154
  /** The Problem Details JSON Object [[RFC7807](https://tools.ietf.org/html/rfc7807)]. */
3153
- BlankProblem: {
3154
- /** The HTTP status code. */
3155
- status?: number;
3156
- /** A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. */
3157
- title?: string;
3158
- } & { [key: string]: any };
3159
- DocumentedProblem: {
3155
+ BaseProblem: {
3160
3156
  /** A URI reference [[RFC3986](https://tools.ietf.org/html/rfc3986)] that identifies the problem type. It should provide human-readable documentation for the problem type. When this member is not present, its value is assumed to be "about:blank". */
3161
3157
  type?: string;
3162
- } & coreComponents["schemas"]["BlankProblem"];
3163
- DetailedProblem: coreComponents["schemas"]["BlankProblem"] & {
3158
+ /** A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. */
3159
+ title?: string;
3164
3160
  /** A human-readable explanation specific to this occurrence of the problem. */
3165
3161
  detail?: string;
3166
- };
3167
- Problem: coreComponents["schemas"]["DocumentedProblem"] &
3168
- coreComponents["schemas"]["DetailedProblem"];
3169
- Error: coreComponents["schemas"]["Problem"] & {
3170
- error?: string;
3171
- };
3172
- ValidationErrorExtensions: {
3173
- invalidFields?: {
3174
- /** The field name. Dot notation is used for nested object field names. */
3175
- field?: string;
3176
- message?: string;
3177
- }[];
3178
- };
3179
- /** Invalid data was sent. */
3180
- InvalidError: coreComponents["schemas"]["Error"] &
3181
- coreComponents["schemas"]["ValidationErrorExtensions"];
3162
+ /** A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced. */
3163
+ instance?: string;
3164
+ } & { [key: string]: any };
3165
+ Unauthorized: { [key: string]: any } & {
3166
+ /** The HTTP status code. */
3167
+ status?: number;
3168
+ } & coreComponents["schemas"]["BaseProblem"];
3169
+ Forbidden: { [key: string]: any } & {
3170
+ /** The HTTP status code. */
3171
+ status?: number;
3172
+ } & coreComponents["schemas"]["BaseProblem"];
3173
+ Conflict: { [key: string]: any } & {
3174
+ /** The HTTP status code. */
3175
+ status?: number;
3176
+ } & coreComponents["schemas"]["BaseProblem"];
3177
+ ValidationError: { [key: string]: any } & {
3178
+ /** The HTTP status code. */
3179
+ status?: number;
3180
+ } & coreComponents["schemas"]["BaseProblem"] & {
3181
+ invalidFields?: {
3182
+ /** The field name. Dot notation is used for nested object field names. */
3183
+ field?: string;
3184
+ message?: string;
3185
+ }[];
3186
+ };
3187
+ NotFound: {
3188
+ /** The HTTP status code. */
3189
+ status?: number;
3190
+ } & coreComponents["schemas"]["BaseProblem"];
3182
3191
  AuthenticationOptions: {
3183
3192
  /** Allowed password pattern. */
3184
3193
  passwordPattern?: string;
@@ -3442,9 +3451,29 @@ export interface coreComponents {
3442
3451
  _links?: coreComponents["schemas"]["SelfLink"][];
3443
3452
  };
3444
3453
  CouponExpiration: {
3445
- /** The coupon's expiry time, must be greater than the issued time. Null or empty string will immediately expire the coupon. */
3454
+ /** The coupon's expiration time, must be greater than the issued time. Null or empty string will immediately expire the coupon. */
3446
3455
  expiredTime: string;
3447
3456
  };
3457
+ /** The Problem Details JSON Object [[RFC7807](https://tools.ietf.org/html/rfc7807)]. */
3458
+ BlankProblem: {
3459
+ /** The HTTP status code. */
3460
+ status?: number;
3461
+ /** A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. */
3462
+ title?: string;
3463
+ } & { [key: string]: any };
3464
+ DocumentedProblem: {
3465
+ /** A URI reference [[RFC3986](https://tools.ietf.org/html/rfc3986)] that identifies the problem type. It should provide human-readable documentation for the problem type. When this member is not present, its value is assumed to be "about:blank". */
3466
+ type?: string;
3467
+ } & coreComponents["schemas"]["BlankProblem"];
3468
+ DetailedProblem: coreComponents["schemas"]["BlankProblem"] & {
3469
+ /** A human-readable explanation specific to this occurrence of the problem. */
3470
+ detail?: string;
3471
+ };
3472
+ Problem: coreComponents["schemas"]["DocumentedProblem"] &
3473
+ coreComponents["schemas"]["DetailedProblem"];
3474
+ Error: coreComponents["schemas"]["Problem"] & {
3475
+ error?: string;
3476
+ };
3448
3477
  Credential: {
3449
3478
  /** The credential identifier string. */
3450
3479
  id?: coreComponents["schemas"]["ResourceId"];
@@ -3997,6 +4026,7 @@ export interface coreComponents {
3997
4026
  | "kyc-document-modified"
3998
4027
  | "kyc-document-rejected"
3999
4028
  | "kyc-document-reviewed"
4029
+ | "kyc-request-fulfilled"
4000
4030
  | "lead-source-changed"
4001
4031
  | "order-activated"
4002
4032
  | "order-canceled"
@@ -4071,6 +4101,7 @@ export interface coreComponents {
4071
4101
  /** The payment gateway name. */
4072
4102
  GatewayName:
4073
4103
  | "A1Gateway"
4104
+ | "ACI"
4074
4105
  | "Adyen"
4075
4106
  | "Airpay"
4076
4107
  | "AmazonPay"
@@ -4219,7 +4250,6 @@ export interface coreComponents {
4219
4250
  | "TestProcessor"
4220
4251
  | "ToditoCash"
4221
4252
  | "Truevo"
4222
- | "TrustPay"
4223
4253
  | "TrustsPay"
4224
4254
  | "Trustly"
4225
4255
  | "TWINT"
@@ -4331,6 +4361,7 @@ export interface coreComponents {
4331
4361
  /** The acquirer name. */
4332
4362
  AcquirerName:
4333
4363
  | "Adyen"
4364
+ | "ACI"
4334
4365
  | "Alipay"
4335
4366
  | "AIB"
4336
4367
  | "Airpay"
@@ -5048,6 +5079,28 @@ export interface coreComponents {
5048
5079
  };
5049
5080
  threeDSecureServer?: coreComponents["schemas"]["A1Gateway3dsServers"];
5050
5081
  };
5082
+ /** ACI 3DS Servers. */
5083
+ ACI3dsServers: {
5084
+ name: "ThreeDSecureIO3dsServer";
5085
+ };
5086
+ /** ACI config. */
5087
+ ACI: coreComponents["schemas"]["GatewayAccount"] & {
5088
+ /** ACI credentials object. */
5089
+ credentials: {
5090
+ entityId: string;
5091
+ accessToken: string;
5092
+ };
5093
+ /** ACI settings object. */
5094
+ settings?: {
5095
+ /** ACI custom server URL. */
5096
+ url?: string;
5097
+ };
5098
+ threeDSecureServer?: coreComponents["schemas"]["ACI3dsServers"];
5099
+ };
5100
+ /** Adyen 3DS Servers. */
5101
+ Adyen3dsServers: {
5102
+ name: "ThreeDSecureIO3dsServer";
5103
+ };
5051
5104
  /** Adyen config. */
5052
5105
  Adyen: coreComponents["schemas"]["GatewayAccount"] & {
5053
5106
  /** Adyen credentials object. */
@@ -5062,6 +5115,7 @@ export interface coreComponents {
5062
5115
  /** Adyen post URL. */
5063
5116
  url: string;
5064
5117
  };
5118
+ threeDSecureServer?: coreComponents["schemas"]["Adyen3dsServers"];
5065
5119
  };
5066
5120
  /** Airpay config. */
5067
5121
  Airpay: coreComponents["schemas"]["GatewayAccount"] & {
@@ -7117,19 +7171,6 @@ export interface coreComponents {
7117
7171
  };
7118
7172
  threeDSecureServer?: coreComponents["schemas"]["Truevo3dsServers"];
7119
7173
  };
7120
- /** TrustPay 3DS Servers. */
7121
- TrustPay3dsServers: {
7122
- name: "ThreeDSecureIO3dsServer";
7123
- };
7124
- /** TrustPay config. */
7125
- TrustPay: coreComponents["schemas"]["GatewayAccount"] & {
7126
- /** TrustPay credentials object. */
7127
- credentials: {
7128
- entityId: string;
7129
- accessToken: string;
7130
- };
7131
- threeDSecureServer?: coreComponents["schemas"]["TrustPay3dsServers"];
7132
- };
7133
7174
  /** TrustsPay config. */
7134
7175
  TrustsPay: coreComponents["schemas"]["GatewayAccount"] & {
7135
7176
  /** TrustsPay credentials object. */
@@ -7560,6 +7601,8 @@ export interface coreComponents {
7560
7601
  billingAddress?: coreComponents["schemas"]["ContactObject"];
7561
7602
  /** Allow using this payment instrument as a backup for invoice payment retries. */
7562
7603
  useAsBackup: boolean;
7604
+ /** URL to the billing portal where the card can be updated. */
7605
+ billingPortalUrl?: string;
7563
7606
  /** Payment instrument created time. */
7564
7607
  createdTime?: coreComponents["schemas"]["ServerTimestamp"];
7565
7608
  /** Payment instrument updated time. */
@@ -8651,6 +8694,8 @@ export interface coreComponents {
8651
8694
  name?: string;
8652
8695
  /** The file description. */
8653
8696
  description?: string;
8697
+ /** The File source type. */
8698
+ sourceType?: ("upload" | "camera") | null;
8654
8699
  /** The tags list. */
8655
8700
  tags?: string[];
8656
8701
  };
@@ -8663,6 +8708,8 @@ export interface coreComponents {
8663
8708
  name?: string;
8664
8709
  /** The file description. */
8665
8710
  description?: string;
8711
+ /** The File source type. */
8712
+ sourceType?: ("upload" | "camera") | null;
8666
8713
  /** The tags list. */
8667
8714
  tags?: string[];
8668
8715
  };
@@ -8767,13 +8814,14 @@ export interface coreComponents {
8767
8814
  | "ewallet-holder-details"
8768
8815
  | "ewallet-transaction-statement"
8769
8816
  | "other";
8817
+ KycDocumentRejectionReasonTypes:
8818
+ | "document-unreadable"
8819
+ | "document-expired"
8820
+ | "document-not-matching"
8821
+ | "underage-person"
8822
+ | "other";
8770
8823
  KycDocumentRejection: {
8771
- type?:
8772
- | "document-unreadable"
8773
- | "document-expired"
8774
- | "document-not-matching"
8775
- | "underage-person"
8776
- | "other";
8824
+ type?: coreComponents["schemas"]["KycDocumentRejectionReasonTypes"];
8777
8825
  /** The rejection message. */
8778
8826
  message?: string;
8779
8827
  };
@@ -8792,7 +8840,7 @@ export interface coreComponents {
8792
8840
  /** Document subtype submitted for validation. */
8793
8841
  documentSubtype?: coreComponents["schemas"]["KycDocumentSubtypes"];
8794
8842
  /** Status of the validation. */
8795
- status: "pending" | "in-progress" | "accepted" | "rejected";
8843
+ status: "pending" | "in-progress" | "accepted" | "rejected" | "archived";
8796
8844
  rejectionReason?: coreComponents["schemas"]["KycDocumentRejection"];
8797
8845
  /** KYC request identifier string. */
8798
8846
  requestId?: coreComponents["schemas"]["ResourceId"] | null;
@@ -8813,9 +8861,9 @@ export interface coreComponents {
8813
8861
  /** Reviewer's first and last name. */
8814
8862
  reviewerName?: string | null;
8815
8863
  /** Date and time that manual review starts. */
8816
- reviewStartTime?: coreComponents["schemas"]["ServerTimestamp"] | null;
8864
+ reviewStartTime?: string | null;
8817
8865
  /** Date and time of manual review. */
8818
- reviewTime?: coreComponents["schemas"]["ServerTimestamp"] | null;
8866
+ reviewTime?: string | null;
8819
8867
  /** Reviewer notes. */
8820
8868
  notes?: string | null;
8821
8869
  /** A list of kyc document tags. */
@@ -8954,7 +9002,14 @@ export interface coreComponents {
8954
9002
  faceProofRequired?: boolean;
8955
9003
  }[];
8956
9004
  /** Status of the request. */
8957
- status?: "unfulfilled" | "pending" | "rejected" | "fulfilled" | "expired";
9005
+ status?:
9006
+ | "abandoned"
9007
+ | "expired"
9008
+ | "pending"
9009
+ | "fulfilled"
9010
+ | "failed"
9011
+ | "incomplete"
9012
+ | "in-progress";
8958
9013
  /**
8959
9014
  * The URL to redirect the customer when an upload is completed.
8960
9015
  * When the customer is redirected, Rebilly will append an `info` query parameter which may have one of the following values (example: `https://example.com?info=success`):
@@ -10336,7 +10391,10 @@ export interface coreComponents {
10336
10391
  /** The amount applied, in case the calculated fee is less than the required minimum. */
10337
10392
  minAmount?: number;
10338
10393
  };
10339
- FeeFormula: {
10394
+ FeeFormula: (
10395
+ | coreComponents["schemas"]["FixedFeeFormula"]
10396
+ | coreComponents["schemas"]["PercentageFormula"]
10397
+ ) & {
10340
10398
  type: "fixed-fee" | "percentage";
10341
10399
  };
10342
10400
  BaseFee: {
@@ -10464,6 +10522,7 @@ export interface coreComponents {
10464
10522
  | "kyc-document-modified"
10465
10523
  | "kyc-document-rejected"
10466
10524
  | "kyc-document-reviewed"
10525
+ | "kyc-request-fulfilled"
10467
10526
  | "lead-source-changed"
10468
10527
  | "nsf-response-received"
10469
10528
  | "offsite-payment-completed"
@@ -10502,6 +10561,10 @@ export interface coreComponents {
10502
10561
  /** The link type. */
10503
10562
  rel: "kycDocument";
10504
10563
  };
10564
+ KycRequestLink: coreComponents["schemas"]["Link"] & {
10565
+ /** The link type. */
10566
+ rel: "kycRequest";
10567
+ };
10505
10568
  SubscriptionPauseLink: coreComponents["schemas"]["Link"] & {
10506
10569
  /** The link type. */
10507
10570
  rel: "pause";
@@ -10511,31 +10574,31 @@ export interface coreComponents {
10511
10574
  /** Unauthorized access, invalid credentials were used. */
10512
10575
  Unauthorized: {
10513
10576
  content: {
10514
- "application/json": coreComponents["schemas"]["Error"];
10577
+ "application/json": coreComponents["schemas"]["Unauthorized"];
10515
10578
  };
10516
10579
  };
10517
10580
  /** Access forbidden. */
10518
10581
  Forbidden: {
10519
10582
  content: {
10520
- "application/json": coreComponents["schemas"]["Error"];
10583
+ "application/json": coreComponents["schemas"]["Forbidden"];
10521
10584
  };
10522
10585
  };
10523
10586
  /** Conflict. */
10524
10587
  Conflict: {
10525
10588
  content: {
10526
- "application/json": coreComponents["schemas"]["Error"];
10589
+ "application/json": coreComponents["schemas"]["Conflict"];
10527
10590
  };
10528
10591
  };
10529
10592
  /** Invalid data was sent. */
10530
10593
  ValidationError: {
10531
10594
  content: {
10532
- "application/json": coreComponents["schemas"]["InvalidError"];
10595
+ "application/json": coreComponents["schemas"]["ValidationError"];
10533
10596
  };
10534
10597
  };
10535
10598
  /** Resource was not found. */
10536
10599
  NotFound: {
10537
10600
  content: {
10538
- "application/json": coreComponents["schemas"]["Error"];
10601
+ "application/json": coreComponents["schemas"]["NotFound"];
10539
10602
  };
10540
10603
  };
10541
10604
  /** Customer. */
@@ -10897,6 +10960,26 @@ export interface coreComponents {
10897
10960
  };
10898
10961
  };
10899
10962
  };
10963
+ /** KYC request webhook body resource. */
10964
+ KycRequest: {
10965
+ content: {
10966
+ "application/json": {
10967
+ /** The customer ID. */
10968
+ customerId?: string;
10969
+ /** The KYC request ID. */
10970
+ kycRequestId?: string;
10971
+ /** Rebilly webhooks event type. */
10972
+ eventType?: "kyc-request-fulfilled";
10973
+ _embedded?: {
10974
+ customer?: coreComponents["schemas"]["Customer"];
10975
+ kycRequest?: coreComponents["schemas"]["KycRequest"];
10976
+ };
10977
+ /** The links related to resource. */
10978
+ _links?: (Partial<coreComponents["schemas"]["CustomerLink"]> &
10979
+ Partial<coreComponents["schemas"]["KycRequestLink"]>)[];
10980
+ };
10981
+ };
10982
+ };
10900
10983
  /** Order webhook request body resource. */
10901
10984
  Subscription2: {
10902
10985
  content: {
@@ -11371,12 +11454,7 @@ export interface operations {
11371
11454
  };
11372
11455
  401: coreComponents["responses"]["Unauthorized"];
11373
11456
  403: coreComponents["responses"]["Forbidden"];
11374
- /** Blocklist exist and cannot be updated. */
11375
- 409: {
11376
- content: {
11377
- "application/json": coreComponents["schemas"]["Error"];
11378
- };
11379
- };
11457
+ 409: coreComponents["responses"]["Conflict"];
11380
11458
  422: coreComponents["responses"]["ValidationError"];
11381
11459
  };
11382
11460
  requestBody: coreComponents["requestBodies"]["Blocklist"];
@@ -11578,7 +11656,7 @@ export interface operations {
11578
11656
  requestBody: coreComponents["requestBodies"]["Coupon"];
11579
11657
  };
11580
11658
  /**
11581
- * Set a coupon's expiry time with the specified coupon ID.
11659
+ * Set a coupon's expiration time with the specified coupon ID.
11582
11660
  * The expiredTime of a coupon must be greater than its issuedTime.
11583
11661
  * This cannot be performed on expired coupons.
11584
11662
  */
@@ -16760,35 +16838,42 @@ export interface usersComponents {
16760
16838
  /** Read-only timestamp, automatically assigned on back-end. */
16761
16839
  ServerTimestamp: string;
16762
16840
  /** The Problem Details JSON Object [[RFC7807](https://tools.ietf.org/html/rfc7807)]. */
16763
- BlankProblem: {
16764
- /** The HTTP status code. */
16765
- status?: number;
16766
- /** A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. */
16767
- title?: string;
16768
- } & { [key: string]: any };
16769
- DocumentedProblem: {
16841
+ BaseProblem: {
16770
16842
  /** A URI reference [[RFC3986](https://tools.ietf.org/html/rfc3986)] that identifies the problem type. It should provide human-readable documentation for the problem type. When this member is not present, its value is assumed to be "about:blank". */
16771
16843
  type?: string;
16772
- } & usersComponents["schemas"]["BlankProblem"];
16773
- DetailedProblem: usersComponents["schemas"]["BlankProblem"] & {
16844
+ /** A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. */
16845
+ title?: string;
16774
16846
  /** A human-readable explanation specific to this occurrence of the problem. */
16775
16847
  detail?: string;
16776
- };
16777
- Problem: usersComponents["schemas"]["DocumentedProblem"] &
16778
- usersComponents["schemas"]["DetailedProblem"];
16779
- Error: usersComponents["schemas"]["Problem"] & {
16780
- error?: string;
16781
- };
16782
- ValidationErrorExtensions: {
16783
- invalidFields?: {
16784
- /** The field name. Dot notation is used for nested object field names. */
16785
- field?: string;
16786
- message?: string;
16787
- }[];
16788
- };
16789
- /** Invalid data was sent. */
16790
- InvalidError: usersComponents["schemas"]["Error"] &
16791
- usersComponents["schemas"]["ValidationErrorExtensions"];
16848
+ /** A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced. */
16849
+ instance?: string;
16850
+ } & { [key: string]: any };
16851
+ Unauthorized: { [key: string]: any } & {
16852
+ /** The HTTP status code. */
16853
+ status?: number;
16854
+ } & usersComponents["schemas"]["BaseProblem"];
16855
+ Forbidden: { [key: string]: any } & {
16856
+ /** The HTTP status code. */
16857
+ status?: number;
16858
+ } & usersComponents["schemas"]["BaseProblem"];
16859
+ Conflict: { [key: string]: any } & {
16860
+ /** The HTTP status code. */
16861
+ status?: number;
16862
+ } & usersComponents["schemas"]["BaseProblem"];
16863
+ ValidationError: { [key: string]: any } & {
16864
+ /** The HTTP status code. */
16865
+ status?: number;
16866
+ } & usersComponents["schemas"]["BaseProblem"] & {
16867
+ invalidFields?: {
16868
+ /** The field name. Dot notation is used for nested object field names. */
16869
+ field?: string;
16870
+ message?: string;
16871
+ }[];
16872
+ };
16873
+ NotFound: {
16874
+ /** The HTTP status code. */
16875
+ status?: number;
16876
+ } & usersComponents["schemas"]["BaseProblem"];
16792
16877
  ApiKeyScope: {
16793
16878
  /** The array of account identifier strings. */
16794
16879
  organizationId?: usersComponents["schemas"]["ResourceId"][];
@@ -16814,6 +16899,26 @@ export interface usersComponents {
16814
16899
  CurrencyCode: string;
16815
16900
  /** The context in which the discount applies. */
16816
16901
  DiscountContext: "items" | "shipping" | "items-and-shipping";
16902
+ /** The Problem Details JSON Object [[RFC7807](https://tools.ietf.org/html/rfc7807)]. */
16903
+ BlankProblem: {
16904
+ /** The HTTP status code. */
16905
+ status?: number;
16906
+ /** A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. */
16907
+ title?: string;
16908
+ } & { [key: string]: any };
16909
+ DocumentedProblem: {
16910
+ /** A URI reference [[RFC3986](https://tools.ietf.org/html/rfc3986)] that identifies the problem type. It should provide human-readable documentation for the problem type. When this member is not present, its value is assumed to be "about:blank". */
16911
+ type?: string;
16912
+ } & usersComponents["schemas"]["BlankProblem"];
16913
+ DetailedProblem: usersComponents["schemas"]["BlankProblem"] & {
16914
+ /** A human-readable explanation specific to this occurrence of the problem. */
16915
+ detail?: string;
16916
+ };
16917
+ Problem: usersComponents["schemas"]["DocumentedProblem"] &
16918
+ usersComponents["schemas"]["DetailedProblem"];
16919
+ Error: usersComponents["schemas"]["Problem"] & {
16920
+ error?: string;
16921
+ };
16817
16922
  /** The payment method. */
16818
16923
  PaymentMethod:
16819
16924
  | "payment-card"
@@ -17292,6 +17397,7 @@ export interface usersComponents {
17292
17397
  /** The payment gateway name. */
17293
17398
  GatewayName:
17294
17399
  | "A1Gateway"
17400
+ | "ACI"
17295
17401
  | "Adyen"
17296
17402
  | "Airpay"
17297
17403
  | "AmazonPay"
@@ -17440,7 +17546,6 @@ export interface usersComponents {
17440
17546
  | "TestProcessor"
17441
17547
  | "ToditoCash"
17442
17548
  | "Truevo"
17443
- | "TrustPay"
17444
17549
  | "TrustsPay"
17445
17550
  | "Trustly"
17446
17551
  | "TWINT"
@@ -17552,6 +17657,7 @@ export interface usersComponents {
17552
17657
  /** The acquirer name. */
17553
17658
  AcquirerName:
17554
17659
  | "Adyen"
17660
+ | "ACI"
17555
17661
  | "Alipay"
17556
17662
  | "AIB"
17557
17663
  | "Airpay"
@@ -18269,6 +18375,28 @@ export interface usersComponents {
18269
18375
  };
18270
18376
  threeDSecureServer?: usersComponents["schemas"]["A1Gateway3dsServers"];
18271
18377
  };
18378
+ /** ACI 3DS Servers. */
18379
+ ACI3dsServers: {
18380
+ name: "ThreeDSecureIO3dsServer";
18381
+ };
18382
+ /** ACI config. */
18383
+ ACI: usersComponents["schemas"]["GatewayAccount"] & {
18384
+ /** ACI credentials object. */
18385
+ credentials: {
18386
+ entityId: string;
18387
+ accessToken: string;
18388
+ };
18389
+ /** ACI settings object. */
18390
+ settings?: {
18391
+ /** ACI custom server URL. */
18392
+ url?: string;
18393
+ };
18394
+ threeDSecureServer?: usersComponents["schemas"]["ACI3dsServers"];
18395
+ };
18396
+ /** Adyen 3DS Servers. */
18397
+ Adyen3dsServers: {
18398
+ name: "ThreeDSecureIO3dsServer";
18399
+ };
18272
18400
  /** Adyen config. */
18273
18401
  Adyen: usersComponents["schemas"]["GatewayAccount"] & {
18274
18402
  /** Adyen credentials object. */
@@ -18283,6 +18411,7 @@ export interface usersComponents {
18283
18411
  /** Adyen post URL. */
18284
18412
  url: string;
18285
18413
  };
18414
+ threeDSecureServer?: usersComponents["schemas"]["Adyen3dsServers"];
18286
18415
  };
18287
18416
  /** Airpay config. */
18288
18417
  Airpay: usersComponents["schemas"]["GatewayAccount"] & {
@@ -20338,19 +20467,6 @@ export interface usersComponents {
20338
20467
  };
20339
20468
  threeDSecureServer?: usersComponents["schemas"]["Truevo3dsServers"];
20340
20469
  };
20341
- /** TrustPay 3DS Servers. */
20342
- TrustPay3dsServers: {
20343
- name: "ThreeDSecureIO3dsServer";
20344
- };
20345
- /** TrustPay config. */
20346
- TrustPay: usersComponents["schemas"]["GatewayAccount"] & {
20347
- /** TrustPay credentials object. */
20348
- credentials: {
20349
- entityId: string;
20350
- accessToken: string;
20351
- };
20352
- threeDSecureServer?: usersComponents["schemas"]["TrustPay3dsServers"];
20353
- };
20354
20470
  /** TrustsPay config. */
20355
20471
  TrustsPay: usersComponents["schemas"]["GatewayAccount"] & {
20356
20472
  /** TrustsPay credentials object. */
@@ -20781,6 +20897,8 @@ export interface usersComponents {
20781
20897
  billingAddress?: usersComponents["schemas"]["ContactObject"];
20782
20898
  /** Allow using this payment instrument as a backup for invoice payment retries. */
20783
20899
  useAsBackup: boolean;
20900
+ /** URL to the billing portal where the card can be updated. */
20901
+ billingPortalUrl?: string;
20784
20902
  /** Payment instrument created time. */
20785
20903
  createdTime?: usersComponents["schemas"]["ServerTimestamp"];
20786
20904
  /** Payment instrument updated time. */
@@ -23104,6 +23222,16 @@ export interface usersComponents {
23104
23222
  /** Email. */
23105
23223
  email: string;
23106
23224
  };
23225
+ ValidationErrorExtensions: {
23226
+ invalidFields?: {
23227
+ /** The field name. Dot notation is used for nested object field names. */
23228
+ field?: string;
23229
+ message?: string;
23230
+ }[];
23231
+ };
23232
+ /** Invalid data was sent. */
23233
+ InvalidError: usersComponents["schemas"]["Error"] &
23234
+ usersComponents["schemas"]["ValidationErrorExtensions"];
23107
23235
  GatewayAccountDowntimeSchedule: {
23108
23236
  /** The gateway account downtime schedule identifier string. */
23109
23237
  id?: usersComponents["schemas"]["ResourceId"];
@@ -23551,6 +23679,7 @@ export interface usersComponents {
23551
23679
  | "kyc-document-modified"
23552
23680
  | "kyc-document-rejected"
23553
23681
  | "kyc-document-reviewed"
23682
+ | "kyc-request-fulfilled"
23554
23683
  | "lead-source-changed"
23555
23684
  | "nsf-response-received"
23556
23685
  | "offsite-payment-completed"
@@ -23945,31 +24074,31 @@ export interface usersComponents {
23945
24074
  /** Unauthorized access, invalid credentials were used. */
23946
24075
  Unauthorized: {
23947
24076
  content: {
23948
- "application/json": usersComponents["schemas"]["Error"];
24077
+ "application/json": usersComponents["schemas"]["Unauthorized"];
23949
24078
  };
23950
24079
  };
23951
24080
  /** Access forbidden. */
23952
24081
  Forbidden: {
23953
24082
  content: {
23954
- "application/json": usersComponents["schemas"]["Error"];
24083
+ "application/json": usersComponents["schemas"]["Forbidden"];
23955
24084
  };
23956
24085
  };
23957
24086
  /** Conflict. */
23958
24087
  Conflict: {
23959
24088
  content: {
23960
- "application/json": usersComponents["schemas"]["Error"];
24089
+ "application/json": usersComponents["schemas"]["Conflict"];
23961
24090
  };
23962
24091
  };
23963
24092
  /** Invalid data was sent. */
23964
24093
  ValidationError: {
23965
24094
  content: {
23966
- "application/json": usersComponents["schemas"]["InvalidError"];
24095
+ "application/json": usersComponents["schemas"]["ValidationError"];
23967
24096
  };
23968
24097
  };
23969
24098
  /** Resource was not found. */
23970
24099
  NotFound: {
23971
24100
  content: {
23972
- "application/json": usersComponents["schemas"]["Error"];
24101
+ "application/json": usersComponents["schemas"]["NotFound"];
23973
24102
  };
23974
24103
  };
23975
24104
  };
@@ -24462,12 +24591,7 @@ export interface operations {
24462
24591
  responses: {
24463
24592
  /** User account was activated. */
24464
24593
  204: never;
24465
- /** Invalid token was sent. */
24466
- 422: {
24467
- content: {
24468
- "application/json": usersComponents["schemas"]["InvalidError"];
24469
- };
24470
- };
24594
+ 422: usersComponents["responses"]["ValidationError"];
24471
24595
  };
24472
24596
  };
24473
24597
  /** Retrieve a list of API keys. */
@@ -24505,12 +24629,7 @@ export interface operations {
24505
24629
  };
24506
24630
  401: usersComponents["responses"]["Unauthorized"];
24507
24631
  403: usersComponents["responses"]["Forbidden"];
24508
- /** Invalid data was sent. */
24509
- 422: {
24510
- content: {
24511
- "application/json": usersComponents["schemas"]["InvalidError"];
24512
- };
24513
- };
24632
+ 422: usersComponents["responses"]["ValidationError"];
24514
24633
  };
24515
24634
  requestBody: usersComponents["requestBodies"]["ApiKey"];
24516
24635
  };
@@ -24576,12 +24695,7 @@ export interface operations {
24576
24695
  401: usersComponents["responses"]["Unauthorized"];
24577
24696
  403: usersComponents["responses"]["Forbidden"];
24578
24697
  404: usersComponents["responses"]["NotFound"];
24579
- /** ApiKey has related resources and cannot be deleted. */
24580
- 409: {
24581
- content: {
24582
- "application/json": usersComponents["schemas"]["Error"];
24583
- };
24584
- };
24698
+ 409: usersComponents["responses"]["Conflict"];
24585
24699
  };
24586
24700
  };
24587
24701
  /**
@@ -26309,12 +26423,7 @@ export interface operations {
26309
26423
  401: usersComponents["responses"]["Unauthorized"];
26310
26424
  403: usersComponents["responses"]["Forbidden"];
26311
26425
  404: usersComponents["responses"]["NotFound"];
26312
- /** Invalid data was sent. */
26313
- 422: {
26314
- content: {
26315
- "application/json": usersComponents["schemas"]["InvalidError"];
26316
- };
26317
- };
26426
+ 422: usersComponents["responses"]["ValidationError"];
26318
26427
  };
26319
26428
  requestBody: usersComponents["requestBodies"]["RuleSet"];
26320
26429
  };
@@ -26604,12 +26713,7 @@ export interface operations {
26604
26713
  401: usersComponents["responses"]["Unauthorized"];
26605
26714
  403: usersComponents["responses"]["Forbidden"];
26606
26715
  404: usersComponents["responses"]["NotFound"];
26607
- /** Invalid data was sent. */
26608
- 422: {
26609
- content: {
26610
- "application/json": usersComponents["schemas"]["InvalidError"];
26611
- };
26612
- };
26716
+ 422: usersComponents["responses"]["ValidationError"];
26613
26717
  };
26614
26718
  requestBody: usersComponents["requestBodies"]["RuleSetDraft"];
26615
26719
  };
@@ -26664,12 +26768,7 @@ export interface operations {
26664
26768
  401: usersComponents["responses"]["Unauthorized"];
26665
26769
  403: usersComponents["responses"]["Forbidden"];
26666
26770
  404: usersComponents["responses"]["NotFound"];
26667
- /** Invalid data was sent. */
26668
- 422: {
26669
- content: {
26670
- "application/json": usersComponents["schemas"]["InvalidError"];
26671
- };
26672
- };
26771
+ 422: usersComponents["responses"]["ValidationError"];
26673
26772
  };
26674
26773
  requestBody: usersComponents["requestBodies"]["RuleSetDraft"];
26675
26774
  };
@@ -26695,12 +26794,7 @@ export interface operations {
26695
26794
  responses: {
26696
26795
  /** Email sent successfully. */
26697
26796
  204: never;
26698
- /** Invalid data was sent. */
26699
- 422: {
26700
- content: {
26701
- "application/json": usersComponents["schemas"]["InvalidError"];
26702
- };
26703
- };
26797
+ 422: usersComponents["responses"]["ValidationError"];
26704
26798
  };
26705
26799
  /** Forgot password resource. */
26706
26800
  requestBody: {
@@ -26807,12 +26901,7 @@ export interface operations {
26807
26901
  401: usersComponents["responses"]["Unauthorized"];
26808
26902
  403: usersComponents["responses"]["Forbidden"];
26809
26903
  404: usersComponents["responses"]["NotFound"];
26810
- /** Invalid data was sent. */
26811
- 422: {
26812
- content: {
26813
- "application/json": usersComponents["schemas"]["InvalidError"];
26814
- };
26815
- };
26904
+ 422: usersComponents["responses"]["ValidationError"];
26816
26905
  };
26817
26906
  requestBody: usersComponents["requestBodies"]["GatewayAccount"];
26818
26907
  };
@@ -26851,12 +26940,7 @@ export interface operations {
26851
26940
  401: usersComponents["responses"]["Unauthorized"];
26852
26941
  403: usersComponents["responses"]["Forbidden"];
26853
26942
  404: usersComponents["responses"]["NotFound"];
26854
- /** Invalid data was sent. */
26855
- 422: {
26856
- content: {
26857
- "application/json": usersComponents["schemas"]["InvalidError"];
26858
- };
26859
- };
26943
+ 422: usersComponents["responses"]["ValidationError"];
26860
26944
  };
26861
26945
  requestBody: usersComponents["requestBodies"]["GatewayAccount"];
26862
26946
  };
@@ -26961,12 +27045,7 @@ export interface operations {
26961
27045
  401: usersComponents["responses"]["Unauthorized"];
26962
27046
  403: usersComponents["responses"]["Forbidden"];
26963
27047
  409: usersComponents["responses"]["Conflict"];
26964
- /** Invalid data was sent. */
26965
- 422: {
26966
- content: {
26967
- "application/json": usersComponents["schemas"]["InvalidError"];
26968
- };
26969
- };
27048
+ 422: usersComponents["responses"]["ValidationError"];
26970
27049
  };
26971
27050
  requestBody: usersComponents["requestBodies"]["GatewayAccountDowntimeSchedule"];
26972
27051
  };
@@ -27013,12 +27092,7 @@ export interface operations {
27013
27092
  403: usersComponents["responses"]["Forbidden"];
27014
27093
  404: usersComponents["responses"]["NotFound"];
27015
27094
  409: usersComponents["responses"]["Conflict"];
27016
- /** Invalid data was sent. */
27017
- 422: {
27018
- content: {
27019
- "application/json": usersComponents["schemas"]["InvalidError"];
27020
- };
27021
- };
27095
+ 422: usersComponents["responses"]["ValidationError"];
27022
27096
  };
27023
27097
  requestBody: usersComponents["requestBodies"]["GatewayAccountDowntimeSchedule"];
27024
27098
  };
@@ -27135,12 +27209,7 @@ export interface operations {
27135
27209
  403: usersComponents["responses"]["Forbidden"];
27136
27210
  404: usersComponents["responses"]["NotFound"];
27137
27211
  409: usersComponents["responses"]["Conflict"];
27138
- /** Invalid data was sent. */
27139
- 422: {
27140
- content: {
27141
- "application/json": usersComponents["schemas"]["InvalidError"];
27142
- };
27143
- };
27212
+ 422: usersComponents["responses"]["ValidationError"];
27144
27213
  };
27145
27214
  requestBody: {
27146
27215
  content: {
@@ -27223,12 +27292,7 @@ export interface operations {
27223
27292
  };
27224
27293
  401: usersComponents["responses"]["Unauthorized"];
27225
27294
  403: usersComponents["responses"]["Forbidden"];
27226
- /** Invalid data was sent. */
27227
- 422: {
27228
- content: {
27229
- "application/json": usersComponents["schemas"]["InvalidError"];
27230
- };
27231
- };
27295
+ 422: usersComponents["responses"]["ValidationError"];
27232
27296
  };
27233
27297
  /** Gateway Account Timeline resource. */
27234
27298
  requestBody: {
@@ -27342,12 +27406,7 @@ export interface operations {
27342
27406
  401: usersComponents["responses"]["Unauthorized"];
27343
27407
  403: usersComponents["responses"]["Forbidden"];
27344
27408
  404: usersComponents["responses"]["NotFound"];
27345
- /** Invalid data was sent. */
27346
- 422: {
27347
- content: {
27348
- "application/json": usersComponents["schemas"]["InvalidError"];
27349
- };
27350
- };
27409
+ 422: usersComponents["responses"]["ValidationError"];
27351
27410
  };
27352
27411
  requestBody: {
27353
27412
  content: {
@@ -27470,12 +27529,7 @@ export interface operations {
27470
27529
  "application/json": usersComponents["schemas"]["Segment"];
27471
27530
  };
27472
27531
  };
27473
- /** This will be sent if the user is not the owner. */
27474
- 403: {
27475
- content: {
27476
- "application/json": usersComponents["schemas"]["Error"];
27477
- };
27478
- };
27532
+ 403: usersComponents["responses"]["Forbidden"];
27479
27533
  404: usersComponents["responses"]["NotFound"];
27480
27534
  422: usersComponents["responses"]["ValidationError"];
27481
27535
  };
@@ -27496,12 +27550,7 @@ export interface operations {
27496
27550
  responses: {
27497
27551
  /** Segment was deleted successfully. */
27498
27552
  204: never;
27499
- /** This will be sent if the user is not the owner. */
27500
- 403: {
27501
- content: {
27502
- "application/json": usersComponents["schemas"]["Error"];
27503
- };
27504
- };
27553
+ 403: usersComponents["responses"]["Forbidden"];
27505
27554
  404: usersComponents["responses"]["NotFound"];
27506
27555
  };
27507
27556
  };
@@ -27584,12 +27633,7 @@ export interface operations {
27584
27633
  };
27585
27634
  401: usersComponents["responses"]["Unauthorized"];
27586
27635
  403: usersComponents["responses"]["Forbidden"];
27587
- /** Invalid data was sent. */
27588
- 422: {
27589
- content: {
27590
- "application/json": usersComponents["schemas"]["InvalidError"];
27591
- };
27592
- };
27636
+ 422: usersComponents["responses"]["ValidationError"];
27593
27637
  };
27594
27638
  requestBody: usersComponents["requestBodies"]["List"];
27595
27639
  };
@@ -27843,12 +27887,7 @@ export interface operations {
27843
27887
  };
27844
27888
  401: usersComponents["responses"]["Unauthorized"];
27845
27889
  403: usersComponents["responses"]["Forbidden"];
27846
- /** The similar organization already exists. */
27847
- 409: {
27848
- content: {
27849
- "application/json": usersComponents["schemas"]["Error"];
27850
- };
27851
- };
27890
+ 409: usersComponents["responses"]["Conflict"];
27852
27891
  422: usersComponents["responses"]["ValidationError"];
27853
27892
  };
27854
27893
  requestBody: usersComponents["requestBodies"]["PostOrganization"];
@@ -27992,12 +28031,7 @@ export interface operations {
27992
28031
  };
27993
28032
  401: usersComponents["responses"]["Unauthorized"];
27994
28033
  403: usersComponents["responses"]["Forbidden"];
27995
- /** Invalid data was sent. */
27996
- 422: {
27997
- content: {
27998
- "application/json": usersComponents["schemas"]["InvalidError"];
27999
- };
28000
- };
28034
+ 422: usersComponents["responses"]["ValidationError"];
28001
28035
  };
28002
28036
  requestBody: {
28003
28037
  content: {
@@ -28037,12 +28071,7 @@ export interface operations {
28037
28071
  };
28038
28072
  401: usersComponents["responses"]["Unauthorized"];
28039
28073
  403: usersComponents["responses"]["Forbidden"];
28040
- /** Invalid data was sent. */
28041
- 422: {
28042
- content: {
28043
- "application/json": usersComponents["schemas"]["InvalidError"];
28044
- };
28045
- };
28074
+ 422: usersComponents["responses"]["ValidationError"];
28046
28075
  };
28047
28076
  /** Test email resource. */
28048
28077
  requestBody: {
@@ -28062,12 +28091,7 @@ export interface operations {
28062
28091
  };
28063
28092
  401: usersComponents["responses"]["Unauthorized"];
28064
28093
  403: usersComponents["responses"]["Forbidden"];
28065
- /** Invalid data was sent. */
28066
- 422: {
28067
- content: {
28068
- "application/json": usersComponents["schemas"]["InvalidError"];
28069
- };
28070
- };
28094
+ 422: usersComponents["responses"]["ValidationError"];
28071
28095
  };
28072
28096
  /** Test webhook resource. */
28073
28097
  requestBody: {
@@ -28225,12 +28249,7 @@ export interface operations {
28225
28249
  "application/json": usersComponents["schemas"]["User"];
28226
28250
  };
28227
28251
  };
28228
- /** Invalid data was sent. */
28229
- 422: {
28230
- content: {
28231
- "application/json": usersComponents["schemas"]["InvalidError"];
28232
- };
28233
- };
28252
+ 422: usersComponents["responses"]["ValidationError"];
28234
28253
  };
28235
28254
  /** ResetPassword resource. */
28236
28255
  requestBody: {
@@ -28403,12 +28422,7 @@ export interface operations {
28403
28422
  };
28404
28423
  401: usersComponents["responses"]["Unauthorized"];
28405
28424
  403: usersComponents["responses"]["Forbidden"];
28406
- /** Invalid data was sent. */
28407
- 422: {
28408
- content: {
28409
- "application/json": usersComponents["schemas"]["InvalidError"];
28410
- };
28411
- };
28425
+ 422: usersComponents["responses"]["ValidationError"];
28412
28426
  };
28413
28427
  /** Signin resource. */
28414
28428
  requestBody: {
@@ -28426,12 +28440,7 @@ export interface operations {
28426
28440
  "application/json": usersComponents["schemas"]["User"];
28427
28441
  };
28428
28442
  };
28429
- /** Invalid data was sent. */
28430
- 422: {
28431
- content: {
28432
- "application/json": usersComponents["schemas"]["InvalidError"];
28433
- };
28434
- };
28443
+ 422: usersComponents["responses"]["ValidationError"];
28435
28444
  };
28436
28445
  /** Signup resource. */
28437
28446
  requestBody: {
@@ -28644,12 +28653,7 @@ export interface operations {
28644
28653
  };
28645
28654
  401: usersComponents["responses"]["Unauthorized"];
28646
28655
  403: usersComponents["responses"]["Forbidden"];
28647
- /** Invalid data was sent. */
28648
- 422: {
28649
- content: {
28650
- "application/json": usersComponents["schemas"]["InvalidError"];
28651
- };
28652
- };
28656
+ 422: usersComponents["responses"]["ValidationError"];
28653
28657
  };
28654
28658
  requestBody: usersComponents["requestBodies"]["User"];
28655
28659
  };
@@ -28780,12 +28784,7 @@ export interface operations {
28780
28784
  };
28781
28785
  401: usersComponents["responses"]["Unauthorized"];
28782
28786
  403: usersComponents["responses"]["Forbidden"];
28783
- /** Invalid data was sent. */
28784
- 422: {
28785
- content: {
28786
- "application/json": usersComponents["schemas"]["InvalidError"];
28787
- };
28788
- };
28787
+ 422: usersComponents["responses"]["ValidationError"];
28789
28788
  };
28790
28789
  requestBody: usersComponents["requestBodies"]["GlobalWebhook"];
28791
28790
  };
@@ -28884,12 +28883,7 @@ export interface operations {
28884
28883
  };
28885
28884
  401: usersComponents["responses"]["Unauthorized"];
28886
28885
  403: usersComponents["responses"]["Forbidden"];
28887
- /** Invalid data was sent. */
28888
- 422: {
28889
- content: {
28890
- "application/json": usersComponents["schemas"]["InvalidError"];
28891
- };
28892
- };
28886
+ 422: usersComponents["responses"]["ValidationError"];
28893
28887
  };
28894
28888
  requestBody: usersComponents["requestBodies"]["Website"];
28895
28889
  };
@@ -28937,12 +28931,7 @@ export interface operations {
28937
28931
  401: usersComponents["responses"]["Unauthorized"];
28938
28932
  403: usersComponents["responses"]["Forbidden"];
28939
28933
  404: usersComponents["responses"]["NotFound"];
28940
- /** Invalid data was sent. */
28941
- 422: {
28942
- content: {
28943
- "application/json": usersComponents["schemas"]["InvalidError"];
28944
- };
28945
- };
28934
+ 422: usersComponents["responses"]["ValidationError"];
28946
28935
  };
28947
28936
  requestBody: usersComponents["requestBodies"]["Website"];
28948
28937
  };
@@ -28960,8 +28949,7 @@ export interface operations {
28960
28949
  401: usersComponents["responses"]["Unauthorized"];
28961
28950
  403: usersComponents["responses"]["Forbidden"];
28962
28951
  404: usersComponents["responses"]["NotFound"];
28963
- /** Website has related resources and cannot be deleted. */
28964
- 409: unknown;
28952
+ 409: usersComponents["responses"]["Conflict"];
28965
28953
  };
28966
28954
  };
28967
28955
  }
@@ -29285,35 +29273,42 @@ export interface storefrontComponents {
29285
29273
  /** Read-only timestamp, automatically assigned on back-end. */
29286
29274
  ServerTimestamp: string;
29287
29275
  /** The Problem Details JSON Object [[RFC7807](https://tools.ietf.org/html/rfc7807)]. */
29288
- BlankProblem: {
29289
- /** The HTTP status code. */
29290
- status?: number;
29291
- /** A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. */
29292
- title?: string;
29293
- } & { [key: string]: any };
29294
- DocumentedProblem: {
29276
+ BaseProblem: {
29295
29277
  /** A URI reference [[RFC3986](https://tools.ietf.org/html/rfc3986)] that identifies the problem type. It should provide human-readable documentation for the problem type. When this member is not present, its value is assumed to be "about:blank". */
29296
29278
  type?: string;
29297
- } & storefrontComponents["schemas"]["BlankProblem"];
29298
- DetailedProblem: storefrontComponents["schemas"]["BlankProblem"] & {
29279
+ /** A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. */
29280
+ title?: string;
29299
29281
  /** A human-readable explanation specific to this occurrence of the problem. */
29300
29282
  detail?: string;
29301
- };
29302
- Problem: storefrontComponents["schemas"]["DocumentedProblem"] &
29303
- storefrontComponents["schemas"]["DetailedProblem"];
29304
- Error: storefrontComponents["schemas"]["Problem"] & {
29305
- error?: string;
29306
- };
29307
- ValidationErrorExtensions: {
29308
- invalidFields?: {
29309
- /** The field name. Dot notation is used for nested object field names. */
29310
- field?: string;
29311
- message?: string;
29312
- }[];
29313
- };
29314
- /** Invalid data was sent. */
29315
- InvalidError: storefrontComponents["schemas"]["Error"] &
29316
- storefrontComponents["schemas"]["ValidationErrorExtensions"];
29283
+ /** A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced. */
29284
+ instance?: string;
29285
+ } & { [key: string]: any };
29286
+ Unauthorized: { [key: string]: any } & {
29287
+ /** The HTTP status code. */
29288
+ status?: number;
29289
+ } & storefrontComponents["schemas"]["BaseProblem"];
29290
+ Forbidden: { [key: string]: any } & {
29291
+ /** The HTTP status code. */
29292
+ status?: number;
29293
+ } & storefrontComponents["schemas"]["BaseProblem"];
29294
+ Conflict: { [key: string]: any } & {
29295
+ /** The HTTP status code. */
29296
+ status?: number;
29297
+ } & storefrontComponents["schemas"]["BaseProblem"];
29298
+ ValidationError: { [key: string]: any } & {
29299
+ /** The HTTP status code. */
29300
+ status?: number;
29301
+ } & storefrontComponents["schemas"]["BaseProblem"] & {
29302
+ invalidFields?: {
29303
+ /** The field name. Dot notation is used for nested object field names. */
29304
+ field?: string;
29305
+ message?: string;
29306
+ }[];
29307
+ };
29308
+ NotFound: {
29309
+ /** The HTTP status code. */
29310
+ status?: number;
29311
+ } & storefrontComponents["schemas"]["BaseProblem"];
29317
29312
  CustomerLink: storefrontComponents["schemas"]["Link"] & {
29318
29313
  /** The link type. */
29319
29314
  rel: "customer" | "targetCustomer";
@@ -29720,6 +29715,7 @@ export interface storefrontComponents {
29720
29715
  /** The payment gateway name. */
29721
29716
  GatewayName:
29722
29717
  | "A1Gateway"
29718
+ | "ACI"
29723
29719
  | "Adyen"
29724
29720
  | "Airpay"
29725
29721
  | "AmazonPay"
@@ -29868,7 +29864,6 @@ export interface storefrontComponents {
29868
29864
  | "TestProcessor"
29869
29865
  | "ToditoCash"
29870
29866
  | "Truevo"
29871
- | "TrustPay"
29872
29867
  | "TrustsPay"
29873
29868
  | "Trustly"
29874
29869
  | "TWINT"
@@ -30135,6 +30130,8 @@ export interface storefrontComponents {
30135
30130
  billingAddress?: storefrontComponents["schemas"]["ContactObject"];
30136
30131
  /** Allow using this payment instrument as a backup for invoice payment retries. */
30137
30132
  useAsBackup: boolean;
30133
+ /** URL to the billing portal where the card can be updated. */
30134
+ billingPortalUrl?: string;
30138
30135
  /** Payment instrument created time. */
30139
30136
  createdTime?: storefrontComponents["schemas"]["ServerTimestamp"];
30140
30137
  /** Payment instrument updated time. */
@@ -30735,13 +30732,14 @@ export interface storefrontComponents {
30735
30732
  | "ewallet-holder-details"
30736
30733
  | "ewallet-transaction-statement"
30737
30734
  | "other";
30735
+ KycDocumentRejectionReasonTypes:
30736
+ | "document-unreadable"
30737
+ | "document-expired"
30738
+ | "document-not-matching"
30739
+ | "underage-person"
30740
+ | "other";
30738
30741
  KycDocumentRejection: {
30739
- type?:
30740
- | "document-unreadable"
30741
- | "document-expired"
30742
- | "document-not-matching"
30743
- | "underage-person"
30744
- | "other";
30742
+ type?: storefrontComponents["schemas"]["KycDocumentRejectionReasonTypes"];
30745
30743
  /** The rejection message. */
30746
30744
  message?: string;
30747
30745
  };
@@ -30760,7 +30758,7 @@ export interface storefrontComponents {
30760
30758
  /** Document subtype submitted for validation. */
30761
30759
  documentSubtype?: storefrontComponents["schemas"]["KycDocumentSubtypes"];
30762
30760
  /** Status of the validation. */
30763
- status: "pending" | "in-progress" | "accepted" | "rejected";
30761
+ status: "pending" | "in-progress" | "accepted" | "rejected" | "archived";
30764
30762
  rejectionReason?: storefrontComponents["schemas"]["KycDocumentRejection"];
30765
30763
  /** KYC request identifier string. */
30766
30764
  requestId?: storefrontComponents["schemas"]["ResourceId"] | null;
@@ -30843,7 +30841,14 @@ export interface storefrontComponents {
30843
30841
  faceProofRequired?: boolean;
30844
30842
  }[];
30845
30843
  /** Status of the request. */
30846
- status?: "unfulfilled" | "pending" | "rejected" | "fulfilled" | "expired";
30844
+ status?:
30845
+ | "abandoned"
30846
+ | "expired"
30847
+ | "pending"
30848
+ | "fulfilled"
30849
+ | "failed"
30850
+ | "incomplete"
30851
+ | "in-progress";
30847
30852
  /**
30848
30853
  * The URL to redirect the customer when an upload is completed.
30849
30854
  * When the customer is redirected, Rebilly will append an `info` query parameter which may have one of the following values (example: `https://example.com?info=success`):
@@ -31825,31 +31830,31 @@ export interface storefrontComponents {
31825
31830
  /** Unauthorized access, invalid credentials were used. */
31826
31831
  Unauthorized: {
31827
31832
  content: {
31828
- "application/json": storefrontComponents["schemas"]["Error"];
31833
+ "application/json": storefrontComponents["schemas"]["Unauthorized"];
31829
31834
  };
31830
31835
  };
31831
31836
  /** Access forbidden. */
31832
31837
  Forbidden: {
31833
31838
  content: {
31834
- "application/json": storefrontComponents["schemas"]["Error"];
31839
+ "application/json": storefrontComponents["schemas"]["Forbidden"];
31835
31840
  };
31836
31841
  };
31837
31842
  /** Conflict. */
31838
31843
  Conflict: {
31839
31844
  content: {
31840
- "application/json": storefrontComponents["schemas"]["Error"];
31845
+ "application/json": storefrontComponents["schemas"]["Conflict"];
31841
31846
  };
31842
31847
  };
31843
31848
  /** Invalid data was sent. */
31844
31849
  ValidationError: {
31845
31850
  content: {
31846
- "application/json": storefrontComponents["schemas"]["InvalidError"];
31851
+ "application/json": storefrontComponents["schemas"]["ValidationError"];
31847
31852
  };
31848
31853
  };
31849
31854
  /** Resource was not found. */
31850
31855
  NotFound: {
31851
31856
  content: {
31852
- "application/json": storefrontComponents["schemas"]["Error"];
31857
+ "application/json": storefrontComponents["schemas"]["NotFound"];
31853
31858
  };
31854
31859
  };
31855
31860
  };
@@ -32645,12 +32650,7 @@ export interface operations {
32645
32650
  };
32646
32651
  401: storefrontComponents["responses"]["Unauthorized"];
32647
32652
  403: storefrontComponents["responses"]["Forbidden"];
32648
- /** The payment instrument doesn't have any setup transaction. */
32649
- 404: {
32650
- content: {
32651
- "application/json": storefrontComponents["schemas"]["Error"];
32652
- };
32653
- };
32653
+ 404: storefrontComponents["responses"]["NotFound"];
32654
32654
  };
32655
32655
  };
32656
32656
  /**
@@ -33859,6 +33859,7 @@ declare module "resources/files-resource" {
33859
33859
  name?: string;
33860
33860
  extension?: string;
33861
33861
  description?: string;
33862
+ sourceType?: "camera" | "upload";
33862
33863
  tags?: string[];
33863
33864
  mime?: "image/png" | "image/jpeg" | "image/gif" | "application/pdf" | "audio/mpeg";
33864
33865
  size?: number;
@@ -35464,6 +35465,7 @@ declare module "resources/api-instance" {
35464
35465
  name?: string;
35465
35466
  extension?: string;
35466
35467
  description?: string;
35468
+ sourceType?: "camera" | "upload";
35467
35469
  tags?: string[];
35468
35470
  mime?: "image/png" | "image/jpeg" | "image/gif" | "application/pdf" | "audio/mpeg";
35469
35471
  size?: number;
@@ -36473,6 +36475,10 @@ declare module "resources/experimental/reports-resource" {
36473
36475
  periodStart: any;
36474
36476
  periodEnd: any;
36475
36477
  }): any;
36478
+ getKycRejectionSummary({ periodStart, periodEnd }?: {
36479
+ periodStart: any;
36480
+ periodEnd: any;
36481
+ }): any;
36476
36482
  getRulesMatchedSummary({ eventType, periodStart, periodEnd, limit, offset, tz }?: {
36477
36483
  eventType: any;
36478
36484
  periodStart: any;
@@ -36716,6 +36722,10 @@ declare module "resources/experimental/experimental-resources" {
36716
36722
  periodStart: any;
36717
36723
  periodEnd: any;
36718
36724
  }): any;
36725
+ getKycRejectionSummary({ periodStart, periodEnd }?: {
36726
+ periodStart: any;
36727
+ periodEnd: any;
36728
+ }): any;
36719
36729
  getRulesMatchedSummary({ eventType, periodStart, periodEnd, limit, offset, tz }?: {
36720
36730
  eventType: any;
36721
36731
  periodStart: any;