rebilly-js-sdk 45.2.0 → 45.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.
@@ -647,6 +647,19 @@ declare module rebilly {
647
647
  type DeleteTagCustomerResponse = operations['DeleteTagCustomer']['responses']['204']
648
648
  type DeleteTagCustomerResponsePromise = Promise<{fields: DeleteTagCustomerResponse}>
649
649
 
650
+ type PostTagKycDocumentCollectionRequest = operations['PostTagKycDocumentCollection']['requestBody']['content']['application/json']
651
+ type CreateTagKycDocumentCollectionRequest = { id: String, data: PostTagKycDocumentCollectionRequest, expand?: String }
652
+ type PostTagKycDocumentCollectionResponse = operations['PostTagKycDocumentCollection']['responses']['204'][0]
653
+ type PostTagKycDocumentCollectionResponsePromise = Promise<{ items: {fields: PostTagKycDocumentCollectionResponse}[], getJSON: object, total?: number, offset?: number, limit?: number }>
654
+ type DeleteTagKycDocumentCollectionRequest = operations['DeleteTagKycDocumentCollection']['requestBody']['content']['application/json']
655
+ type DeleteTagKycDocumentCollectionResponse = operations['DeleteTagKycDocumentCollection']['responses']['204'][0]
656
+ type DeleteTagKycDocumentCollectionResponsePromise = Promise<{ items: {fields: DeleteTagKycDocumentCollectionResponse}[], getJSON: object, total?: number, offset?: number, limit?: number }>
657
+
658
+ type PostTagKycDocumentResponse = operations['PostTagKycDocument']['responses']['204']
659
+ type PostTagKycDocumentResponsePromise = Promise<{fields: PostTagKycDocumentResponse}>
660
+ type DeleteTagKycDocumentResponse = operations['DeleteTagKycDocument']['responses']['204']
661
+ type DeleteTagKycDocumentResponsePromise = Promise<{fields: DeleteTagKycDocumentResponse}>
662
+
650
663
  type GetTokenCollectionRequest = operations['GetTokenCollection']['parameters']["query"] & (operations['GetTokenCollection']['parameters'] extends {path: {}} ? operations['GetTokenCollection']['parameters']["path"] : {})
651
664
 
652
665
  type GetTokenCollectionResponse = operations['GetTokenCollection']['responses']['200']['content']['application/json'][0]
@@ -3486,6 +3499,56 @@ export interface corePaths {
3486
3499
  };
3487
3500
  };
3488
3501
  };
3502
+ "/tags/{tag}/kyc-documents": {
3503
+ /**
3504
+ * Tag a list of kyc documents.
3505
+ * If the kyc document from the list is already tagged it will be ignored.
3506
+ * It's an asynchronous operation.
3507
+ */
3508
+ post: operations["PostTagKycDocumentCollection"];
3509
+ /**
3510
+ * Untag a list of kyc documents.
3511
+ * If the kyc document from the list is already untagged it will be ignored.
3512
+ * It's an asynchronous operation.
3513
+ */
3514
+ delete: operations["DeleteTagKycDocumentCollection"];
3515
+ parameters: {
3516
+ path: {
3517
+ /** The tag name. */
3518
+ tag: coreComponents["parameters"]["tag"];
3519
+ };
3520
+ header: {
3521
+ /**
3522
+ * @deprecated Organization identifier in scope of which need to perform request (if not specified, the default organization will be used).
3523
+ *
3524
+ * It is deprecated. Use servers with `/organizations/{organizationId}` base path instead.
3525
+ */
3526
+ "Organization-Id"?: coreComponents["parameters"]["organizationId"];
3527
+ };
3528
+ };
3529
+ };
3530
+ "/tags/{tag}/kyc-documents/{kycDocumentId}": {
3531
+ /** Tag a kyc document. */
3532
+ post: operations["PostTagKycDocument"];
3533
+ /** Untag a kyc document. */
3534
+ delete: operations["DeleteTagKycDocument"];
3535
+ parameters: {
3536
+ path: {
3537
+ /** The tag name. */
3538
+ tag: coreComponents["parameters"]["tag"];
3539
+ /** The kyc document identifier string. */
3540
+ kycDocumentId: coreComponents["parameters"]["kycDocumentId"];
3541
+ };
3542
+ header: {
3543
+ /**
3544
+ * @deprecated Organization identifier in scope of which need to perform request (if not specified, the default organization will be used).
3545
+ *
3546
+ * It is deprecated. Use servers with `/organizations/{organizationId}` base path instead.
3547
+ */
3548
+ "Organization-Id"?: coreComponents["parameters"]["organizationId"];
3549
+ };
3550
+ };
3551
+ };
3489
3552
  "/tokens": {
3490
3553
  /** Retrieve a list of tokens. */
3491
3554
  get: operations["GetTokenCollection"];
@@ -4379,6 +4442,7 @@ export interface coreComponents {
4379
4442
  | "LPG-online"
4380
4443
  | "LPG-payment-card"
4381
4444
  | "Matrix"
4445
+ | "MaxiCash"
4382
4446
  | "Megafon"
4383
4447
  | "MiFinity-eWallet"
4384
4448
  | "miscellaneous"
@@ -4560,6 +4624,8 @@ export interface coreComponents {
4560
4624
  id?: coreComponents["schemas"]["ResourceId"];
4561
4625
  /** The tag is unique name, which is case-insensitive. */
4562
4626
  name: string;
4627
+ /** The tag type. Tags of a specific type could only be used for the corresponding entity. */
4628
+ type: "customer" | "kyc-document";
4563
4629
  /** The tag's created time. */
4564
4630
  createdTime?: coreComponents["schemas"]["ServerTimestamp"];
4565
4631
  /** The tag's updated time. */
@@ -4932,6 +4998,7 @@ export interface coreComponents {
4932
4998
  | "Konnektive"
4933
4999
  | "loonie"
4934
5000
  | "LPG"
5001
+ | "MaxiCash"
4935
5002
  | "MiFinity"
4936
5003
  | "Moneris"
4937
5004
  | "MtaPay"
@@ -5010,6 +5077,7 @@ export interface coreComponents {
5010
5077
  | "VCreditos"
5011
5078
  | "Wallet88"
5012
5079
  | "Walpay"
5080
+ | "WesternUnion"
5013
5081
  | "Wirecard"
5014
5082
  | "WorldlineAtosFrankfurt"
5015
5083
  | "Worldpay"
@@ -5191,6 +5259,7 @@ export interface coreComponents {
5191
5259
  | "loonie"
5192
5260
  | "LPG"
5193
5261
  | "Masapay"
5262
+ | "MaxiCash"
5194
5263
  | "Merrick"
5195
5264
  | "Mission Valley Bank"
5196
5265
  | "MiFinity"
@@ -6884,6 +6953,16 @@ export interface coreComponents {
6884
6953
  payoutPassword?: string;
6885
6954
  };
6886
6955
  };
6956
+ /** MaxiCash config. */
6957
+ MaxiCash: coreComponents["schemas"]["GatewayAccount"] & {
6958
+ /** MaxiCash credentials object. */
6959
+ credentials: {
6960
+ /** MaxiCash API merchant ID. */
6961
+ merchantId: string;
6962
+ /** MaxiCash API password. */
6963
+ password: string;
6964
+ };
6965
+ };
6887
6966
  /** MiFinity config. */
6888
6967
  MiFinity: coreComponents["schemas"]["GatewayAccount"] & {
6889
6968
  /** MiFinity credentials object. */
@@ -7810,6 +7889,8 @@ export interface coreComponents {
7810
7889
  disablePaymentIntents: boolean;
7811
7890
  /** If `true`, `off_session` param will always be `true` in Stripe requests. */
7812
7891
  enforceOffSession: boolean;
7892
+ /** The ID of an existing Stripe gateway account from which credentials will be copied in order to skip the onboarding process. */
7893
+ copyCredentialsFrom?: string;
7813
7894
  };
7814
7895
  threeDSecureServer?: coreComponents["schemas"]["Stripe3dsServers"];
7815
7896
  };
@@ -7997,6 +8078,18 @@ export interface coreComponents {
7997
8078
  };
7998
8079
  threeDSecureServer?: coreComponents["schemas"]["Walpay3dsServers"];
7999
8080
  };
8081
+ /** WesternUnion config. */
8082
+ WesternUnion: coreComponents["schemas"]["GatewayAccount"] & {
8083
+ /** WesternUnion credentials object. */
8084
+ credentials: {
8085
+ /** WesternUnion client ID. */
8086
+ clientId: string;
8087
+ /** WesternUnion certificate common name (CN). */
8088
+ certificateCommonName: string;
8089
+ /** WesternUnion certificate serial number (SN). */
8090
+ certificateSerialNumber: string;
8091
+ };
8092
+ };
8000
8093
  /** Wirecard 3DS Servers. */
8001
8094
  Wirecard3dsServers: {
8002
8095
  name: "Wirecard3dsServer";
@@ -8217,14 +8310,16 @@ export interface coreComponents {
8217
8310
  applePay?: {
8218
8311
  /** Set true if Apple Pay is enabled. */
8219
8312
  isEnabled: boolean;
8313
+ /** A string of 64 or fewer UTF-8 characters containing the canonical name for your store, suitable for display. Don’t localize the name. */
8314
+ displayName?: string;
8220
8315
  };
8221
8316
  /** The Google Pay™ digital wallet configuration. Skip if not using Google Pay™. */
8222
8317
  googlePay?: {
8223
8318
  /** Set true if Google Pay is enabled. */
8224
8319
  isEnabled: boolean;
8225
- /** The merchant name in Google Pay. Leave blank if using FramePay. */
8320
+ /** The merchant name in Google Pay. */
8226
8321
  merchantName?: string;
8227
- /** The merchant origin in Google Pay. The fully qualified domain name. Leave blank if using FramePay. */
8322
+ /** The merchant origin in Google Pay. The fully qualified domain name. */
8228
8323
  merchantOrigin?: string;
8229
8324
  };
8230
8325
  };
@@ -8800,7 +8895,7 @@ export interface coreComponents {
8800
8895
  /** Invoice paid time. */
8801
8896
  paidTime?: coreComponents["schemas"]["ServerTimestamp"];
8802
8897
  /** Invoice due time. */
8803
- dueTime?: coreComponents["schemas"]["ServerTimestamp"];
8898
+ dueTime?: string;
8804
8899
  /** Invoice issued time. */
8805
8900
  issuedTime?: coreComponents["schemas"]["ServerTimestamp"];
8806
8901
  /** Invoice created time. */
@@ -9550,7 +9645,7 @@ export interface coreComponents {
9550
9645
  maxAttempts: number;
9551
9646
  }[];
9552
9647
  /** Status of the request. */
9553
- status?: "pending" | "fulfilled" | "expired";
9648
+ status?: "unfulfilled" | "pending" | "rejected" | "fulfilled" | "expired";
9554
9649
  /** The URL to redirect the customer when an upload is completed. */
9555
9650
  redirectUrl?: string;
9556
9651
  /** Expiration date/time. */
@@ -9718,6 +9813,7 @@ export interface coreComponents {
9718
9813
  | "KNOT"
9719
9814
  | "loonie"
9720
9815
  | "Matrix"
9816
+ | "MaxiCash"
9721
9817
  | "Megafon"
9722
9818
  | "MiFinity-eWallet"
9723
9819
  | "miscellaneous"
@@ -10023,6 +10119,8 @@ export interface coreComponents {
10023
10119
  ApplePayFeatureName: "Apple Pay";
10024
10120
  ApplePayFeature: {
10025
10121
  name?: coreComponents["schemas"]["ApplePayFeatureName"];
10122
+ /** A string of 64 or fewer UTF-8 characters containing the canonical name for your store, suitable for display. Don’t localize the name. */
10123
+ displayName?: string;
10026
10124
  };
10027
10125
  /** The feature name. */
10028
10126
  GooglePayFeatureName: "Google Pay";
@@ -10587,13 +10685,33 @@ export interface coreComponents {
10587
10685
  /** The links related to resource. */
10588
10686
  _links?: coreComponents["schemas"]["SelfLink"][];
10589
10687
  };
10590
- PaymentCardToken: coreComponents["schemas"]["CommonPaymentToken"] & {
10688
+ FullPaymentCardToken: coreComponents["schemas"]["CommonPaymentToken"] & {
10591
10689
  /** The token payment method. */
10592
10690
  method: "payment-card";
10593
10691
  /** The payment card instrument details. */
10594
10692
  paymentInstrument: {
10595
10693
  /** Payment Card PAN (Primary Account Number). */
10596
- pan?: string;
10694
+ pan: string;
10695
+ /** Payment Card CVV/CVC. */
10696
+ cvv?: string;
10697
+ /** Payment Card expiration month. */
10698
+ expMonth: number;
10699
+ /** Payment Card expiration year. */
10700
+ expYear: number;
10701
+ /** Payment Card BIN (the PAN's first 6 digits). */
10702
+ bin?: string;
10703
+ /** Payment Card PAN's last 4 digits. */
10704
+ last4?: string;
10705
+ brand?: coreComponents["schemas"]["PaymentCardBrand"];
10706
+ };
10707
+ /** The billing address object. */
10708
+ billingAddress: coreComponents["schemas"]["ContactObject"];
10709
+ };
10710
+ PartialPaymentCardToken: coreComponents["schemas"]["CommonPaymentToken"] & {
10711
+ /** The token payment method. */
10712
+ method: "payment-card";
10713
+ /** The payment card instrument details. */
10714
+ paymentInstrument: {
10597
10715
  /** Payment Card CVV/CVC. */
10598
10716
  cvv?: string;
10599
10717
  /** Payment Card expiration month. */
@@ -10728,7 +10846,8 @@ export interface coreComponents {
10728
10846
  /** The billing address object. */
10729
10847
  billingAddress: coreComponents["schemas"]["ContactObject"];
10730
10848
  };
10731
- CompositeToken: Partial<coreComponents["schemas"]["PaymentCardToken"]> &
10849
+ CompositeToken: Partial<coreComponents["schemas"]["FullPaymentCardToken"]> &
10850
+ Partial<coreComponents["schemas"]["PartialPaymentCardToken"]> &
10732
10851
  Partial<coreComponents["schemas"]["PayPalToken"]> &
10733
10852
  Partial<coreComponents["schemas"]["BankAccountToken"]> &
10734
10853
  Partial<coreComponents["schemas"]["DigitalWalletToken"]> &
@@ -11016,6 +11135,7 @@ export interface coreComponents {
11016
11135
  | "risk-score-changed"
11017
11136
  | "subscription-activated"
11018
11137
  | "subscription-canceled"
11138
+ | "subscription-downgraded"
11019
11139
  | "subscription-modified"
11020
11140
  | "subscription-reactivated"
11021
11141
  | "subscription-renewal-reminder"
@@ -11024,6 +11144,7 @@ export interface coreComponents {
11024
11144
  | "subscription-trial-end-reminder"
11025
11145
  | "subscription-trial-ended"
11026
11146
  | "subscription-trial-end-changed"
11147
+ | "subscription-upgraded"
11027
11148
  | "transaction-amount-discrepancy-found"
11028
11149
  | "transaction-declined"
11029
11150
  | "transaction-discrepancy-found"
@@ -11175,6 +11296,8 @@ export interface coreComponents {
11175
11296
  tag: string;
11176
11297
  /** The customer identifier string. */
11177
11298
  customerId: string;
11299
+ /** The kyc document identifier string. */
11300
+ kycDocumentId: string;
11178
11301
  };
11179
11302
  requestBodies: {
11180
11303
  /** Attachment resource. */
@@ -11277,6 +11400,14 @@ export interface coreComponents {
11277
11400
  "application/json": coreComponents["schemas"]["Tag"];
11278
11401
  };
11279
11402
  };
11403
+ /** Tag resource. */
11404
+ UpdateTag: {
11405
+ content: {
11406
+ "application/json": coreComponents["schemas"]["Tag"] & {
11407
+ type?: { [key: string]: any };
11408
+ };
11409
+ };
11410
+ };
11280
11411
  /** Transaction resource. */
11281
11412
  TransactionRequest: {
11282
11413
  content: {
@@ -16709,7 +16840,7 @@ export interface operations {
16709
16840
  409: coreComponents["responses"]["Conflict"];
16710
16841
  422: coreComponents["responses"]["ValidationError"];
16711
16842
  };
16712
- requestBody: coreComponents["requestBodies"]["Tag"];
16843
+ requestBody: coreComponents["requestBodies"]["UpdateTag"];
16713
16844
  };
16714
16845
  /**
16715
16846
  * Tag a list of customers.
@@ -16835,6 +16966,130 @@ export interface operations {
16835
16966
  404: coreComponents["responses"]["NotFound"];
16836
16967
  };
16837
16968
  };
16969
+ /**
16970
+ * Tag a list of kyc documents.
16971
+ * If the kyc document from the list is already tagged it will be ignored.
16972
+ * It's an asynchronous operation.
16973
+ */
16974
+ PostTagKycDocumentCollection: {
16975
+ parameters: {
16976
+ path: {
16977
+ /** The tag name. */
16978
+ tag: coreComponents["parameters"]["tag"];
16979
+ };
16980
+ header: {
16981
+ /**
16982
+ * @deprecated Organization identifier in scope of which need to perform request (if not specified, the default organization will be used).
16983
+ *
16984
+ * It is deprecated. Use servers with `/organizations/{organizationId}` base path instead.
16985
+ */
16986
+ "Organization-Id"?: coreComponents["parameters"]["organizationId"];
16987
+ };
16988
+ };
16989
+ responses: {
16990
+ /** KYC Documents were tagged. */
16991
+ 204: never;
16992
+ 401: coreComponents["responses"]["Unauthorized"];
16993
+ 403: coreComponents["responses"]["Forbidden"];
16994
+ 422: coreComponents["responses"]["ValidationError"];
16995
+ };
16996
+ requestBody: {
16997
+ content: {
16998
+ "application/json": {
16999
+ /** The list of kyc document IDs. */
17000
+ kycDocumentIds: string[];
17001
+ };
17002
+ };
17003
+ };
17004
+ };
17005
+ /**
17006
+ * Untag a list of kyc documents.
17007
+ * If the kyc document from the list is already untagged it will be ignored.
17008
+ * It's an asynchronous operation.
17009
+ */
17010
+ DeleteTagKycDocumentCollection: {
17011
+ parameters: {
17012
+ path: {
17013
+ /** The tag name. */
17014
+ tag: coreComponents["parameters"]["tag"];
17015
+ };
17016
+ header: {
17017
+ /**
17018
+ * @deprecated Organization identifier in scope of which need to perform request (if not specified, the default organization will be used).
17019
+ *
17020
+ * It is deprecated. Use servers with `/organizations/{organizationId}` base path instead.
17021
+ */
17022
+ "Organization-Id"?: coreComponents["parameters"]["organizationId"];
17023
+ };
17024
+ };
17025
+ responses: {
17026
+ /** KYC Documents were untagged. */
17027
+ 204: never;
17028
+ 401: coreComponents["responses"]["Unauthorized"];
17029
+ 403: coreComponents["responses"]["Forbidden"];
17030
+ 422: coreComponents["responses"]["ValidationError"];
17031
+ };
17032
+ requestBody: {
17033
+ content: {
17034
+ "application/json": {
17035
+ /** The list of kyc document IDs. */
17036
+ kycDocumentIds: string[];
17037
+ };
17038
+ };
17039
+ };
17040
+ };
17041
+ /** Tag a kyc document. */
17042
+ PostTagKycDocument: {
17043
+ parameters: {
17044
+ path: {
17045
+ /** The tag name. */
17046
+ tag: coreComponents["parameters"]["tag"];
17047
+ /** The kyc document identifier string. */
17048
+ kycDocumentId: coreComponents["parameters"]["kycDocumentId"];
17049
+ };
17050
+ header: {
17051
+ /**
17052
+ * @deprecated Organization identifier in scope of which need to perform request (if not specified, the default organization will be used).
17053
+ *
17054
+ * It is deprecated. Use servers with `/organizations/{organizationId}` base path instead.
17055
+ */
17056
+ "Organization-Id"?: coreComponents["parameters"]["organizationId"];
17057
+ };
17058
+ };
17059
+ responses: {
17060
+ /** KYC Document was tagged. */
17061
+ 204: never;
17062
+ 401: coreComponents["responses"]["Unauthorized"];
17063
+ 403: coreComponents["responses"]["Forbidden"];
17064
+ 404: coreComponents["responses"]["NotFound"];
17065
+ };
17066
+ };
17067
+ /** Untag a kyc document. */
17068
+ DeleteTagKycDocument: {
17069
+ parameters: {
17070
+ path: {
17071
+ /** The tag name. */
17072
+ tag: coreComponents["parameters"]["tag"];
17073
+ /** The kyc document identifier string. */
17074
+ kycDocumentId: coreComponents["parameters"]["kycDocumentId"];
17075
+ };
17076
+ header: {
17077
+ /**
17078
+ * @deprecated Organization identifier in scope of which need to perform request (if not specified, the default organization will be used).
17079
+ *
17080
+ * It is deprecated. Use servers with `/organizations/{organizationId}` base path instead.
17081
+ */
17082
+ "Organization-Id"?: coreComponents["parameters"]["organizationId"];
17083
+ };
17084
+ };
17085
+ responses: {
17086
+ /** KYC Document was untagged. */
17087
+ 204: never;
17088
+ 401: coreComponents["responses"]["Unauthorized"];
17089
+ 403: coreComponents["responses"]["Forbidden"];
17090
+ 404: coreComponents["responses"]["NotFound"];
17091
+ };
17092
+ };
16838
17093
  /** Retrieve a list of tokens. */
16839
17094
  GetTokenCollection: {
16840
17095
  parameters: {
@@ -17582,9 +17837,9 @@ export interface usersPaths {
17582
17837
  };
17583
17838
  };
17584
17839
  "/api-keys": {
17585
- /** Retrieve a list of api keys. */
17840
+ /** Retrieve a list of API keys. */
17586
17841
  get: operations["GetApiKeyCollection"];
17587
- /** Create an api key. */
17842
+ /** Create an API key. */
17588
17843
  post: operations["PostApiKey"];
17589
17844
  parameters: {
17590
17845
  header: {
@@ -17598,11 +17853,11 @@ export interface usersPaths {
17598
17853
  };
17599
17854
  };
17600
17855
  "/api-keys/{id}": {
17601
- /** Retrieve api key with specified identifier string. */
17856
+ /** Retrieve API key with specified identifier string. */
17602
17857
  get: operations["GetApiKey"];
17603
- /** Create or update api key with predefined identifier string. */
17858
+ /** Create or update API key with predefined identifier string. */
17604
17859
  put: operations["PutApiKey"];
17605
- /** Delete api key with predefined identifier string. */
17860
+ /** Delete API key with predefined identifier string. */
17606
17861
  delete: operations["DeleteApiKey"];
17607
17862
  parameters: {
17608
17863
  header: {
@@ -19761,6 +20016,7 @@ export interface usersComponents {
19761
20016
  | "LPG-online"
19762
20017
  | "LPG-payment-card"
19763
20018
  | "Matrix"
20019
+ | "MaxiCash"
19764
20020
  | "Megafon"
19765
20021
  | "MiFinity-eWallet"
19766
20022
  | "miscellaneous"
@@ -19988,6 +20244,7 @@ export interface usersComponents {
19988
20244
  | "Konnektive"
19989
20245
  | "loonie"
19990
20246
  | "LPG"
20247
+ | "MaxiCash"
19991
20248
  | "MiFinity"
19992
20249
  | "Moneris"
19993
20250
  | "MtaPay"
@@ -20066,6 +20323,7 @@ export interface usersComponents {
20066
20323
  | "VCreditos"
20067
20324
  | "Wallet88"
20068
20325
  | "Walpay"
20326
+ | "WesternUnion"
20069
20327
  | "Wirecard"
20070
20328
  | "WorldlineAtosFrankfurt"
20071
20329
  | "Worldpay"
@@ -20249,6 +20507,7 @@ export interface usersComponents {
20249
20507
  | "loonie"
20250
20508
  | "LPG"
20251
20509
  | "Masapay"
20510
+ | "MaxiCash"
20252
20511
  | "Merrick"
20253
20512
  | "Mission Valley Bank"
20254
20513
  | "MiFinity"
@@ -21986,6 +22245,16 @@ export interface usersComponents {
21986
22245
  payoutPassword?: string;
21987
22246
  };
21988
22247
  };
22248
+ /** MaxiCash config. */
22249
+ MaxiCash: usersComponents["schemas"]["GatewayAccount"] & {
22250
+ /** MaxiCash credentials object. */
22251
+ credentials: {
22252
+ /** MaxiCash API merchant ID. */
22253
+ merchantId: string;
22254
+ /** MaxiCash API password. */
22255
+ password: string;
22256
+ };
22257
+ };
21989
22258
  /** MiFinity config. */
21990
22259
  MiFinity: usersComponents["schemas"]["GatewayAccount"] & {
21991
22260
  /** MiFinity credentials object. */
@@ -22912,6 +23181,8 @@ export interface usersComponents {
22912
23181
  disablePaymentIntents: boolean;
22913
23182
  /** If `true`, `off_session` param will always be `true` in Stripe requests. */
22914
23183
  enforceOffSession: boolean;
23184
+ /** The ID of an existing Stripe gateway account from which credentials will be copied in order to skip the onboarding process. */
23185
+ copyCredentialsFrom?: string;
22915
23186
  };
22916
23187
  threeDSecureServer?: usersComponents["schemas"]["Stripe3dsServers"];
22917
23188
  };
@@ -23099,6 +23370,18 @@ export interface usersComponents {
23099
23370
  };
23100
23371
  threeDSecureServer?: usersComponents["schemas"]["Walpay3dsServers"];
23101
23372
  };
23373
+ /** WesternUnion config. */
23374
+ WesternUnion: usersComponents["schemas"]["GatewayAccount"] & {
23375
+ /** WesternUnion credentials object. */
23376
+ credentials: {
23377
+ /** WesternUnion client ID. */
23378
+ clientId: string;
23379
+ /** WesternUnion certificate common name (CN). */
23380
+ certificateCommonName: string;
23381
+ /** WesternUnion certificate serial number (SN). */
23382
+ certificateSerialNumber: string;
23383
+ };
23384
+ };
23102
23385
  /** Wirecard 3DS Servers. */
23103
23386
  Wirecard3dsServers: {
23104
23387
  name: "Wirecard3dsServer";
@@ -23319,14 +23602,16 @@ export interface usersComponents {
23319
23602
  applePay?: {
23320
23603
  /** Set true if Apple Pay is enabled. */
23321
23604
  isEnabled: boolean;
23605
+ /** A string of 64 or fewer UTF-8 characters containing the canonical name for your store, suitable for display. Don’t localize the name. */
23606
+ displayName?: string;
23322
23607
  };
23323
23608
  /** The Google Pay™ digital wallet configuration. Skip if not using Google Pay™. */
23324
23609
  googlePay?: {
23325
23610
  /** Set true if Google Pay is enabled. */
23326
23611
  isEnabled: boolean;
23327
- /** The merchant name in Google Pay. Leave blank if using FramePay. */
23612
+ /** The merchant name in Google Pay. */
23328
23613
  merchantName?: string;
23329
- /** The merchant origin in Google Pay. The fully qualified domain name. Leave blank if using FramePay. */
23614
+ /** The merchant origin in Google Pay. The fully qualified domain name. */
23330
23615
  merchantOrigin?: string;
23331
23616
  };
23332
23617
  };
@@ -23368,6 +23653,8 @@ export interface usersComponents {
23368
23653
  id?: usersComponents["schemas"]["ResourceId"];
23369
23654
  /** The tag is unique name, which is case-insensitive. */
23370
23655
  name: string;
23656
+ /** The tag type. Tags of a specific type could only be used for the corresponding entity. */
23657
+ type: "customer" | "kyc-document";
23371
23658
  /** The tag's created time. */
23372
23659
  createdTime?: usersComponents["schemas"]["ServerTimestamp"];
23373
23660
  /** The tag's updated time. */
@@ -24022,7 +24309,7 @@ export interface usersComponents {
24022
24309
  /** Invoice paid time. */
24023
24310
  paidTime?: usersComponents["schemas"]["ServerTimestamp"];
24024
24311
  /** Invoice due time. */
24025
- dueTime?: usersComponents["schemas"]["ServerTimestamp"];
24312
+ dueTime?: string;
24026
24313
  /** Invoice issued time. */
24027
24314
  issuedTime?: usersComponents["schemas"]["ServerTimestamp"];
24028
24315
  /** Invoice created time. */
@@ -24775,6 +25062,7 @@ export interface usersComponents {
24775
25062
  | "risk-score-changed"
24776
25063
  | "subscription-activated"
24777
25064
  | "subscription-canceled"
25065
+ | "subscription-downgraded"
24778
25066
  | "subscription-created"
24779
25067
  | "subscription-modified"
24780
25068
  | "subscription-reactivated"
@@ -24783,6 +25071,7 @@ export interface usersComponents {
24783
25071
  | "subscription-trial-converted"
24784
25072
  | "subscription-trial-end-reminder"
24785
25073
  | "subscription-trial-end-changed"
25074
+ | "subscription-upgraded"
24786
25075
  | "transaction-amount-discrepancy-found"
24787
25076
  | "transaction-declined"
24788
25077
  | "transaction-discrepancy-found"
@@ -24921,6 +25210,7 @@ export interface usersComponents {
24921
25210
  | "KNOT"
24922
25211
  | "loonie"
24923
25212
  | "Matrix"
25213
+ | "MaxiCash"
24924
25214
  | "Megafon"
24925
25215
  | "MiFinity-eWallet"
24926
25216
  | "miscellaneous"
@@ -25989,6 +26279,7 @@ export interface usersComponents {
25989
26279
  | "risk-score-changed"
25990
26280
  | "subscription-activated"
25991
26281
  | "subscription-canceled"
26282
+ | "subscription-downgraded"
25992
26283
  | "subscription-modified"
25993
26284
  | "subscription-reactivated"
25994
26285
  | "subscription-renewal-reminder"
@@ -25997,6 +26288,7 @@ export interface usersComponents {
25997
26288
  | "subscription-trial-end-reminder"
25998
26289
  | "subscription-trial-ended"
25999
26290
  | "subscription-trial-end-changed"
26291
+ | "subscription-upgraded"
26000
26292
  | "transaction-amount-discrepancy-found"
26001
26293
  | "transaction-declined"
26002
26294
  | "transaction-discrepancy-found"
@@ -26658,7 +26950,7 @@ export interface operations {
26658
26950
  };
26659
26951
  };
26660
26952
  };
26661
- /** Retrieve a list of api keys. */
26953
+ /** Retrieve a list of API keys. */
26662
26954
  GetApiKeyCollection: {
26663
26955
  parameters: {
26664
26956
  header: {
@@ -26679,7 +26971,7 @@ export interface operations {
26679
26971
  };
26680
26972
  };
26681
26973
  responses: {
26682
- /** A list of api keys was retrieved successfully. */
26974
+ /** A list of API keys was retrieved successfully. */
26683
26975
  200: {
26684
26976
  headers: {};
26685
26977
  content: {
@@ -26690,7 +26982,7 @@ export interface operations {
26690
26982
  403: usersComponents["responses"]["Forbidden"];
26691
26983
  };
26692
26984
  };
26693
- /** Create an api key. */
26985
+ /** Create an API key. */
26694
26986
  PostApiKey: {
26695
26987
  parameters: {
26696
26988
  header: {
@@ -26703,7 +26995,7 @@ export interface operations {
26703
26995
  };
26704
26996
  };
26705
26997
  responses: {
26706
- /** Api Key was created. */
26998
+ /** API key was created. */
26707
26999
  201: {
26708
27000
  content: {
26709
27001
  "application/json": usersComponents["schemas"]["ApiKey"];
@@ -26720,7 +27012,7 @@ export interface operations {
26720
27012
  };
26721
27013
  requestBody: usersComponents["requestBodies"]["ApiKey"];
26722
27014
  };
26723
- /** Retrieve api key with specified identifier string. */
27015
+ /** Retrieve API key with specified identifier string. */
26724
27016
  GetApiKey: {
26725
27017
  parameters: {
26726
27018
  header: {
@@ -26737,7 +27029,7 @@ export interface operations {
26737
27029
  };
26738
27030
  };
26739
27031
  responses: {
26740
- /** Api key was retrieved successfully. */
27032
+ /** API key was retrieved successfully. */
26741
27033
  200: {
26742
27034
  content: {
26743
27035
  "application/json": usersComponents["schemas"]["ApiKey"];
@@ -26748,7 +27040,7 @@ export interface operations {
26748
27040
  404: usersComponents["responses"]["NotFound"];
26749
27041
  };
26750
27042
  };
26751
- /** Create or update api key with predefined identifier string. */
27043
+ /** Create or update API key with predefined identifier string. */
26752
27044
  PutApiKey: {
26753
27045
  parameters: {
26754
27046
  header: {
@@ -26765,13 +27057,13 @@ export interface operations {
26765
27057
  };
26766
27058
  };
26767
27059
  responses: {
26768
- /** ApiKey was updated. */
27060
+ /** API key was updated. */
26769
27061
  200: {
26770
27062
  content: {
26771
27063
  "application/json": usersComponents["schemas"]["ApiKey"];
26772
27064
  };
26773
27065
  };
26774
- /** ApiKey was created. */
27066
+ /** API key was created. */
26775
27067
  201: {
26776
27068
  content: {
26777
27069
  "application/json": usersComponents["schemas"]["ApiKey"];
@@ -26784,7 +27076,7 @@ export interface operations {
26784
27076
  };
26785
27077
  requestBody: usersComponents["requestBodies"]["ApiKey"];
26786
27078
  };
26787
- /** Delete api key with predefined identifier string. */
27079
+ /** Delete API key with predefined identifier string. */
26788
27080
  DeleteApiKey: {
26789
27081
  parameters: {
26790
27082
  header: {
@@ -26801,7 +27093,7 @@ export interface operations {
26801
27093
  };
26802
27094
  };
26803
27095
  responses: {
26804
- /** ApiKey was deleted. */
27096
+ /** API key was deleted. */
26805
27097
  204: never;
26806
27098
  401: usersComponents["responses"]["Unauthorized"];
26807
27099
  403: usersComponents["responses"]["Forbidden"];
@@ -33454,6 +33746,7 @@ export interface storefrontComponents {
33454
33746
  | "LPG-online"
33455
33747
  | "LPG-payment-card"
33456
33748
  | "Matrix"
33749
+ | "MaxiCash"
33457
33750
  | "Megafon"
33458
33751
  | "MiFinity-eWallet"
33459
33752
  | "miscellaneous"
@@ -34209,7 +34502,7 @@ export interface storefrontComponents {
34209
34502
  /** Invoice paid time. */
34210
34503
  paidTime?: storefrontComponents["schemas"]["ServerTimestamp"];
34211
34504
  /** Invoice due time. */
34212
- dueTime?: storefrontComponents["schemas"]["ServerTimestamp"];
34505
+ dueTime?: string;
34213
34506
  /** Invoice issued time. */
34214
34507
  issuedTime?: storefrontComponents["schemas"]["ServerTimestamp"];
34215
34508
  /** Invoice created time. */
@@ -34320,6 +34613,7 @@ export interface storefrontComponents {
34320
34613
  | "Konnektive"
34321
34614
  | "loonie"
34322
34615
  | "LPG"
34616
+ | "MaxiCash"
34323
34617
  | "MiFinity"
34324
34618
  | "Moneris"
34325
34619
  | "MtaPay"
@@ -34398,6 +34692,7 @@ export interface storefrontComponents {
34398
34692
  | "VCreditos"
34399
34693
  | "Wallet88"
34400
34694
  | "Walpay"
34695
+ | "WesternUnion"
34401
34696
  | "Wirecard"
34402
34697
  | "WorldlineAtosFrankfurt"
34403
34698
  | "Worldpay"
@@ -34587,7 +34882,7 @@ export interface storefrontComponents {
34587
34882
  maxAttempts: number;
34588
34883
  }[];
34589
34884
  /** Status of the request. */
34590
- status?: "pending" | "fulfilled" | "expired";
34885
+ status?: "unfulfilled" | "pending" | "rejected" | "fulfilled" | "expired";
34591
34886
  /** The URL to redirect the customer when an upload is completed. */
34592
34887
  redirectUrl?: string;
34593
34888
  /** Expiration date/time. */
@@ -35177,6 +35472,7 @@ export interface storefrontComponents {
35177
35472
  | "KNOT"
35178
35473
  | "loonie"
35179
35474
  | "Matrix"
35475
+ | "MaxiCash"
35180
35476
  | "Megafon"
35181
35477
  | "MiFinity-eWallet"
35182
35478
  | "miscellaneous"
@@ -35309,6 +35605,8 @@ export interface storefrontComponents {
35309
35605
  id?: storefrontComponents["schemas"]["ResourceId"];
35310
35606
  /** The tag is unique name, which is case-insensitive. */
35311
35607
  name: string;
35608
+ /** The tag type. Tags of a specific type could only be used for the corresponding entity. */
35609
+ type: "customer" | "kyc-document";
35312
35610
  /** The tag's created time. */
35313
35611
  createdTime?: storefrontComponents["schemas"]["ServerTimestamp"];
35314
35612
  /** The tag's updated time. */
@@ -35612,6 +35910,8 @@ export interface storefrontComponents {
35612
35910
  ApplePayFeatureName: "Apple Pay";
35613
35911
  ApplePayFeature: {
35614
35912
  name?: storefrontComponents["schemas"]["ApplePayFeatureName"];
35913
+ /** A string of 64 or fewer UTF-8 characters containing the canonical name for your store, suitable for display. Don’t localize the name. */
35914
+ displayName?: string;
35615
35915
  };
35616
35916
  /** The feature name. */
35617
35917
  GooglePayFeatureName: "Google Pay";
@@ -38805,6 +39105,22 @@ declare module "resources/tags-resource" {
38805
39105
  tag: any;
38806
39106
  customerId: any;
38807
39107
  }): any;
39108
+ tagKycDocuments({ tag, data }: {
39109
+ tag: any;
39110
+ data: any;
39111
+ }): any;
39112
+ untagKycDocuments({ tag, data }: {
39113
+ tag: any;
39114
+ data: any;
39115
+ }): any;
39116
+ tagKycDocument({ tag, kycDocumentId }: {
39117
+ tag: any;
39118
+ kycDocumentId: any;
39119
+ }): any;
39120
+ untagKycDocument({ tag, kycDocumentId }: {
39121
+ tag: any;
39122
+ kycDocumentId: any;
39123
+ }): any;
38808
39124
  };
38809
39125
  }
38810
39126
  declare module "resources/tracking-resource" {
@@ -40388,6 +40704,22 @@ declare module "resources/api-instance" {
40388
40704
  tag: any;
40389
40705
  customerId: any;
40390
40706
  }): any;
40707
+ tagKycDocuments({ tag, data }: {
40708
+ tag: any;
40709
+ data: any;
40710
+ }): any;
40711
+ untagKycDocuments({ tag, data }: {
40712
+ tag: any;
40713
+ data: any;
40714
+ }): any;
40715
+ tagKycDocument({ tag, kycDocumentId }: {
40716
+ tag: any;
40717
+ kycDocumentId: any;
40718
+ }): any;
40719
+ untagKycDocument({ tag, kycDocumentId }: {
40720
+ tag: any;
40721
+ kycDocumentId: any;
40722
+ }): any;
40391
40723
  };
40392
40724
  tracking: {
40393
40725
  getAllApiLogs({ limit, offset, sort, filter, q, }?: {