rebilly-js-sdk 62.201.0 → 62.201.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -2
- package/dist/rebilly-js-sdk.d.cts +5 -359
- package/dist/rebilly-js-sdk.d.mts +5 -359
- package/dist/rebilly-js-sdk.d.ts +5 -359
- package/dist/rebilly-js-sdk.es.mjs +195 -231
- package/dist/rebilly-js-sdk.umd.js +3 -3
- package/package.json +1 -1
- package/src/resources/api-instance.js +0 -4
- package/src/resources/deposit-custom-property-sets-resource.js +0 -39
package/CHANGELOG.md
CHANGED
|
@@ -1281,25 +1281,6 @@ declare namespace rebilly {
|
|
|
1281
1281
|
type DeleteDepositStrategyResponse = operations['DeleteDepositStrategy']['responses']['204']
|
|
1282
1282
|
type DeleteDepositStrategyResponsePromise = Promise<{fields: DeleteDepositStrategyResponse}>
|
|
1283
1283
|
|
|
1284
|
-
type GetDepositCustomPropertySetCollectionRequest = operations['GetDepositCustomPropertySetCollection']['parameters']["query"] & (operations['GetDepositCustomPropertySetCollection']['parameters'] extends {path: {}} ? operations['GetDepositCustomPropertySetCollection']['parameters']["path"] : {})
|
|
1285
|
-
|
|
1286
|
-
type GetDepositCustomPropertySetCollectionResponse = operations['GetDepositCustomPropertySetCollection']['responses']['200']['content']['application/json'][0]
|
|
1287
|
-
type GetDepositCustomPropertySetCollectionResponsePromise = Promise<{ items: {fields: GetDepositCustomPropertySetCollectionResponse}[], getJSON: object, total?: number, offset?: number, limit?: number }>
|
|
1288
|
-
type PostDepositCustomPropertySetRequest = operations['PostDepositCustomPropertySet']['requestBody']['content']['application/json']
|
|
1289
|
-
type CreateDepositCustomPropertySetRequest = { id?: string, data: PostDepositCustomPropertySetRequest, expand?: string }
|
|
1290
|
-
type PostDepositCustomPropertySetResponse = operations['PostDepositCustomPropertySet']['responses']['201']['content']['application/json']
|
|
1291
|
-
type PostDepositCustomPropertySetResponsePromise = Promise<{fields: PostDepositCustomPropertySetResponse}>
|
|
1292
|
-
|
|
1293
|
-
type GetDepositCustomPropertySetRequest = { id: string }
|
|
1294
|
-
|
|
1295
|
-
type GetDepositCustomPropertySetResponse = operations['GetDepositCustomPropertySet']['responses']['200']['content']['application/json']
|
|
1296
|
-
type GetDepositCustomPropertySetResponsePromise = Promise<{fields: GetDepositCustomPropertySetResponse}>
|
|
1297
|
-
type PutDepositCustomPropertySetRequest = operations['PutDepositCustomPropertySet']['requestBody']['content']['application/json']
|
|
1298
|
-
type PutDepositCustomPropertySetResponse = operations['PutDepositCustomPropertySet']['responses']['201']['content']['application/json']
|
|
1299
|
-
type PutDepositCustomPropertySetResponsePromise = Promise<{fields: PutDepositCustomPropertySetResponse}>
|
|
1300
|
-
type DeleteDepositCustomPropertySetResponse = operations['DeleteDepositCustomPropertySet']['responses']['204']
|
|
1301
|
-
type DeleteDepositCustomPropertySetResponsePromise = Promise<{fields: DeleteDepositCustomPropertySetResponse}>
|
|
1302
|
-
|
|
1303
1284
|
type GetCheckoutFormCollectionRequest = operations['GetCheckoutFormCollection']['parameters']["query"] & (operations['GetCheckoutFormCollection']['parameters'] extends {path: {}} ? operations['GetCheckoutFormCollection']['parameters']["path"] : {})
|
|
1304
1285
|
|
|
1305
1286
|
type GetCheckoutFormCollectionResponse = operations['GetCheckoutFormCollection']['responses']['200']['content']['application/json'][0]
|
|
@@ -4716,7 +4697,7 @@ export interface corePaths {
|
|
|
4716
4697
|
get: operations["GetDepositRequestCollection"];
|
|
4717
4698
|
/**
|
|
4718
4699
|
* Creates a deposit request.
|
|
4719
|
-
* To complete the deposit, the
|
|
4700
|
+
* To complete the deposit, use the `cashierToken` from the response to show the customer a Cashier deposit form.
|
|
4720
4701
|
* After the deposit, the customer is redirected to the `redirectUrl`.
|
|
4721
4702
|
* Corresponding transaction webhooks are sent to webhooks subscribers.
|
|
4722
4703
|
*/
|
|
@@ -4786,30 +4767,6 @@ export interface corePaths {
|
|
|
4786
4767
|
};
|
|
4787
4768
|
};
|
|
4788
4769
|
};
|
|
4789
|
-
"/deposit-custom-property-sets": {
|
|
4790
|
-
/** Retrieves a list of custom deposit property sets. */
|
|
4791
|
-
get: operations["GetDepositCustomPropertySetCollection"];
|
|
4792
|
-
/**
|
|
4793
|
-
* Creates a custom deposit property set.
|
|
4794
|
-
* A custom property set is a JSON-schema to extend the request form with extra form fields.
|
|
4795
|
-
* The collected information is stored at the deposit request.
|
|
4796
|
-
*/
|
|
4797
|
-
post: operations["PostDepositCustomPropertySet"];
|
|
4798
|
-
};
|
|
4799
|
-
"/deposit-custom-property-sets/{id}": {
|
|
4800
|
-
/** Retrieves a custom deposit property set with a specified ID. */
|
|
4801
|
-
get: operations["GetDepositCustomPropertySet"];
|
|
4802
|
-
/** Creates or updates (upserts) a custom deposit property set with a specified ID. */
|
|
4803
|
-
put: operations["PutDepositCustomPropertySet"];
|
|
4804
|
-
/** Deletes a custom deposit property set with a specified ID. */
|
|
4805
|
-
delete: operations["DeleteDepositCustomPropertySet"];
|
|
4806
|
-
parameters: {
|
|
4807
|
-
path: {
|
|
4808
|
-
/** ID of the resource. */
|
|
4809
|
-
id: coreComponents["parameters"]["resourceId"];
|
|
4810
|
-
};
|
|
4811
|
-
};
|
|
4812
|
-
};
|
|
4813
4770
|
"/checkout-forms": {
|
|
4814
4771
|
/** Retrieves a list of checkout forms. */
|
|
4815
4772
|
get: operations["GetCheckoutFormCollection"];
|
|
@@ -14157,18 +14114,6 @@ export interface coreComponents {
|
|
|
14157
14114
|
customFields?: coreComponents["schemas"]["ResourceCustomFields"];
|
|
14158
14115
|
/** Website settings. */
|
|
14159
14116
|
settings?: {
|
|
14160
|
-
/** Deposit form settings. */
|
|
14161
|
-
depositForm?: {
|
|
14162
|
-
/** Theme settings that are used in the deposit form. */
|
|
14163
|
-
theme?: {
|
|
14164
|
-
/** Primary color for the deposit form in hexadecimal format. */
|
|
14165
|
-
colorPrimary?: string | null;
|
|
14166
|
-
/** Secondary color for the deposit form in hexadecimal format. */
|
|
14167
|
-
colorSecondary?: string | null;
|
|
14168
|
-
/** Submit button template. `{{amount}}` can be used as a placeholder for amount and currency. */
|
|
14169
|
-
buttonTemplate?: string | null;
|
|
14170
|
-
} | null;
|
|
14171
|
-
};
|
|
14172
14117
|
/** Payment form settings. */
|
|
14173
14118
|
paymentForm?: {
|
|
14174
14119
|
/** Hosted payment form [CSS options](https://www.rebilly.com/docs/content/concepts-and-features/tutorial/customize-style-rebilly-instruments/#2-use-css-property-to-override-any-styles). */
|
|
@@ -16517,16 +16462,6 @@ export interface coreComponents {
|
|
|
16517
16462
|
* The default expiration time is one hour from the time the request is created.
|
|
16518
16463
|
*/
|
|
16519
16464
|
expirationTime?: string;
|
|
16520
|
-
/**
|
|
16521
|
-
* Defines properties the user can complete when they use the hosted deposit form.
|
|
16522
|
-
* This field accepts [JSON-schema](https://json-schema.org/) drafts 4, 6, and 7.
|
|
16523
|
-
*/
|
|
16524
|
-
propertiesSchema?: { [key: string]: any } | null;
|
|
16525
|
-
/**
|
|
16526
|
-
* Properties that are available for the user to complete when they use the hosted deposit form.
|
|
16527
|
-
* Use this object to describe fields that are rendered and completed on the hosted deposit form.
|
|
16528
|
-
*/
|
|
16529
|
-
properties?: { [key: string]: string } | null;
|
|
16530
16465
|
/**
|
|
16531
16466
|
* URL where a server-to-server POST notification is sent.
|
|
16532
16467
|
* This notification is sent when the transaction result is finalized after a timeout or an offsite interaction.
|
|
@@ -16557,7 +16492,7 @@ export interface coreComponents {
|
|
|
16557
16492
|
/** Link URL. */
|
|
16558
16493
|
href?: string;
|
|
16559
16494
|
/** Type of link. */
|
|
16560
|
-
rel?: "self" | "
|
|
16495
|
+
rel?: "self" | "transactions";
|
|
16561
16496
|
}[];
|
|
16562
16497
|
/** Embedded objects that are requested by the `expand` query parameter. */
|
|
16563
16498
|
_embedded?: {
|
|
@@ -16640,8 +16575,6 @@ export interface coreComponents {
|
|
|
16640
16575
|
* The default expiration time is one hour after the time the request is created.
|
|
16641
16576
|
*/
|
|
16642
16577
|
expirationTime?: string | null;
|
|
16643
|
-
/** ID of a custom property set to apply to the request `propertiesSchema`. */
|
|
16644
|
-
customPropertySetId?: string | null;
|
|
16645
16578
|
/**
|
|
16646
16579
|
* URL where a server-to-server `POST` notification is sent.
|
|
16647
16580
|
* This notification is sent when the transaction result is finalized after a timeout or an offsite interaction.
|
|
@@ -16847,22 +16780,6 @@ export interface coreComponents {
|
|
|
16847
16780
|
updatedTime?: coreComponents["schemas"]["UpdatedTime"];
|
|
16848
16781
|
_links?: coreComponents["schemas"]["SelfLink"];
|
|
16849
16782
|
};
|
|
16850
|
-
DepositCustomPropertySet: {
|
|
16851
|
-
/** ID of the deposit property set. */
|
|
16852
|
-
id?: string;
|
|
16853
|
-
/** Name of the custom property set. */
|
|
16854
|
-
name: string;
|
|
16855
|
-
/**
|
|
16856
|
-
* Defines properties the user can complete when they use the hosted deposit form.
|
|
16857
|
-
* This field accepts [JSON-schema](https://json-schema.org/) drafts 4, 6, and 7.
|
|
16858
|
-
* Accepted properties types are: `string`, `number`, `integer`, `array`, and `enum`.
|
|
16859
|
-
* For more information, see [Configure custom hosted deposit properties](https://www.rebilly.com/docs/dev-docs/configure-custom-hosted-deposit-properties/).
|
|
16860
|
-
*/
|
|
16861
|
-
properties: { [key: string]: any };
|
|
16862
|
-
createdTime?: coreComponents["schemas"]["CreatedTime"];
|
|
16863
|
-
updatedTime?: coreComponents["schemas"]["UpdatedTime"];
|
|
16864
|
-
_links?: coreComponents["schemas"]["SelfLink"];
|
|
16865
|
-
};
|
|
16866
16783
|
CheckoutFormFixedPlan: {
|
|
16867
16784
|
/** ID of the plan. */
|
|
16868
16785
|
planId: string;
|
|
@@ -29462,8 +29379,6 @@ export interface coreComponents {
|
|
|
29462
29379
|
paymentInstrumentId?: string | null;
|
|
29463
29380
|
/** ID of the payment token. */
|
|
29464
29381
|
token?: string | null;
|
|
29465
|
-
/** Properties completed by the user in the deposit form. */
|
|
29466
|
-
properties?: { [key: string]: string };
|
|
29467
29382
|
riskMetadata?: coreComponents["schemas"]["RiskMetadata"];
|
|
29468
29383
|
redirectUrl?: coreComponents["schemas"]["StorefrontTransactionRedirectUrl"];
|
|
29469
29384
|
};
|
|
@@ -39964,7 +39879,7 @@ export interface operations {
|
|
|
39964
39879
|
};
|
|
39965
39880
|
/**
|
|
39966
39881
|
* Creates a deposit request.
|
|
39967
|
-
* To complete the deposit, the
|
|
39882
|
+
* To complete the deposit, use the `cashierToken` from the response to show the customer a Cashier deposit form.
|
|
39968
39883
|
* After the deposit, the customer is redirected to the `redirectUrl`.
|
|
39969
39884
|
* Corresponding transaction webhooks are sent to webhooks subscribers.
|
|
39970
39885
|
*/
|
|
@@ -40219,144 +40134,6 @@ export interface operations {
|
|
|
40219
40134
|
429: coreComponents["responses"]["TooManyRequests"];
|
|
40220
40135
|
};
|
|
40221
40136
|
};
|
|
40222
|
-
/** Retrieves a list of custom deposit property sets. */
|
|
40223
|
-
GetDepositCustomPropertySetCollection: {
|
|
40224
|
-
parameters: {
|
|
40225
|
-
query: {
|
|
40226
|
-
/**
|
|
40227
|
-
* Limit the number of collection items to be returned.
|
|
40228
|
-
* Use `0` to return an empty collection and still receive the count of matching items in `Pagination-Total`.
|
|
40229
|
-
*/
|
|
40230
|
-
limit?: coreComponents["parameters"]["collectionLimit"];
|
|
40231
|
-
/** Specifies the starting point within the collection of items to be returned. */
|
|
40232
|
-
offset?: coreComponents["parameters"]["collectionOffset"];
|
|
40233
|
-
/**
|
|
40234
|
-
* Criteria for filtering collection items.
|
|
40235
|
-
* This field requires a special format.
|
|
40236
|
-
* Use `,` to specify multiple allowed values.
|
|
40237
|
-
* Use `;` to specify multiple fields.
|
|
40238
|
-
*
|
|
40239
|
-
* For more information, see [Search filters](https://www.rebilly.com/docs/dev-docs/search-filters).
|
|
40240
|
-
*/
|
|
40241
|
-
filter?: coreComponents["parameters"]["collectionFilter"];
|
|
40242
|
-
/**
|
|
40243
|
-
* Sorts and orders the collection of items. To sort in descending
|
|
40244
|
-
* order, prefix with `-`. Multiple fields can be sorted by separating each with `,`.
|
|
40245
|
-
*/
|
|
40246
|
-
sort?: coreComponents["parameters"]["collectionSort"];
|
|
40247
|
-
};
|
|
40248
|
-
};
|
|
40249
|
-
responses: {
|
|
40250
|
-
/** List of custom deposit property sets retrieved. */
|
|
40251
|
-
200: {
|
|
40252
|
-
headers: {};
|
|
40253
|
-
content: {
|
|
40254
|
-
"application/json": coreComponents["schemas"]["DepositCustomPropertySet"][];
|
|
40255
|
-
};
|
|
40256
|
-
};
|
|
40257
|
-
401: coreComponents["responses"]["Unauthorized"];
|
|
40258
|
-
403: coreComponents["responses"]["Forbidden"];
|
|
40259
|
-
};
|
|
40260
|
-
};
|
|
40261
|
-
/**
|
|
40262
|
-
* Creates a custom deposit property set.
|
|
40263
|
-
* A custom property set is a JSON-schema to extend the request form with extra form fields.
|
|
40264
|
-
* The collected information is stored at the deposit request.
|
|
40265
|
-
*/
|
|
40266
|
-
PostDepositCustomPropertySet: {
|
|
40267
|
-
responses: {
|
|
40268
|
-
/** Custom deposit property set created. */
|
|
40269
|
-
201: {
|
|
40270
|
-
headers: {};
|
|
40271
|
-
content: {
|
|
40272
|
-
"application/json": coreComponents["schemas"]["DepositCustomPropertySet"];
|
|
40273
|
-
};
|
|
40274
|
-
};
|
|
40275
|
-
401: coreComponents["responses"]["Unauthorized"];
|
|
40276
|
-
403: coreComponents["responses"]["Forbidden"];
|
|
40277
|
-
422: coreComponents["responses"]["ValidationError"];
|
|
40278
|
-
429: coreComponents["responses"]["TooManyRequests"];
|
|
40279
|
-
};
|
|
40280
|
-
/** Custom deposit property set resource. */
|
|
40281
|
-
requestBody: {
|
|
40282
|
-
content: {
|
|
40283
|
-
"application/json": coreComponents["schemas"]["DepositCustomPropertySet"];
|
|
40284
|
-
};
|
|
40285
|
-
};
|
|
40286
|
-
};
|
|
40287
|
-
/** Retrieves a custom deposit property set with a specified ID. */
|
|
40288
|
-
GetDepositCustomPropertySet: {
|
|
40289
|
-
parameters: {
|
|
40290
|
-
path: {
|
|
40291
|
-
/** ID of the resource. */
|
|
40292
|
-
id: coreComponents["parameters"]["resourceId"];
|
|
40293
|
-
};
|
|
40294
|
-
};
|
|
40295
|
-
responses: {
|
|
40296
|
-
/** Custom deposit property set retrieved. */
|
|
40297
|
-
200: {
|
|
40298
|
-
content: {
|
|
40299
|
-
"application/json": coreComponents["schemas"]["DepositCustomPropertySet"];
|
|
40300
|
-
};
|
|
40301
|
-
};
|
|
40302
|
-
401: coreComponents["responses"]["Unauthorized"];
|
|
40303
|
-
403: coreComponents["responses"]["Forbidden"];
|
|
40304
|
-
404: coreComponents["responses"]["NotFound"];
|
|
40305
|
-
};
|
|
40306
|
-
};
|
|
40307
|
-
/** Creates or updates (upserts) a custom deposit property set with a specified ID. */
|
|
40308
|
-
PutDepositCustomPropertySet: {
|
|
40309
|
-
parameters: {
|
|
40310
|
-
path: {
|
|
40311
|
-
/** ID of the resource. */
|
|
40312
|
-
id: coreComponents["parameters"]["resourceId"];
|
|
40313
|
-
};
|
|
40314
|
-
};
|
|
40315
|
-
responses: {
|
|
40316
|
-
/** Custom deposit property updated. */
|
|
40317
|
-
200: {
|
|
40318
|
-
headers: {};
|
|
40319
|
-
content: {
|
|
40320
|
-
"application/json": coreComponents["schemas"]["DepositCustomPropertySet"];
|
|
40321
|
-
};
|
|
40322
|
-
};
|
|
40323
|
-
/** Custom deposit property set created. */
|
|
40324
|
-
201: {
|
|
40325
|
-
headers: {};
|
|
40326
|
-
content: {
|
|
40327
|
-
"application/json": coreComponents["schemas"]["DepositCustomPropertySet"];
|
|
40328
|
-
};
|
|
40329
|
-
};
|
|
40330
|
-
401: coreComponents["responses"]["Unauthorized"];
|
|
40331
|
-
403: coreComponents["responses"]["Forbidden"];
|
|
40332
|
-
409: coreComponents["responses"]["Conflict"];
|
|
40333
|
-
422: coreComponents["responses"]["ValidationError"];
|
|
40334
|
-
429: coreComponents["responses"]["TooManyRequests"];
|
|
40335
|
-
};
|
|
40336
|
-
/** Custom deposit property set resource. */
|
|
40337
|
-
requestBody: {
|
|
40338
|
-
content: {
|
|
40339
|
-
"application/json": coreComponents["schemas"]["DepositCustomPropertySet"];
|
|
40340
|
-
};
|
|
40341
|
-
};
|
|
40342
|
-
};
|
|
40343
|
-
/** Deletes a custom deposit property set with a specified ID. */
|
|
40344
|
-
DeleteDepositCustomPropertySet: {
|
|
40345
|
-
parameters: {
|
|
40346
|
-
path: {
|
|
40347
|
-
/** ID of the resource. */
|
|
40348
|
-
id: coreComponents["parameters"]["resourceId"];
|
|
40349
|
-
};
|
|
40350
|
-
};
|
|
40351
|
-
responses: {
|
|
40352
|
-
/** Custom deposit property set deleted. */
|
|
40353
|
-
204: never;
|
|
40354
|
-
401: coreComponents["responses"]["Unauthorized"];
|
|
40355
|
-
403: coreComponents["responses"]["Forbidden"];
|
|
40356
|
-
404: coreComponents["responses"]["NotFound"];
|
|
40357
|
-
429: coreComponents["responses"]["TooManyRequests"];
|
|
40358
|
-
};
|
|
40359
|
-
};
|
|
40360
40137
|
/** Retrieves a list of checkout forms. */
|
|
40361
40138
|
GetCheckoutFormCollection: {
|
|
40362
40139
|
parameters: {
|
|
@@ -54108,18 +53885,6 @@ export interface storefrontComponents {
|
|
|
54108
53885
|
customFields?: storefrontComponents["schemas"]["ResourceCustomFields"];
|
|
54109
53886
|
/** Website settings. */
|
|
54110
53887
|
settings?: {
|
|
54111
|
-
/** Deposit form settings. */
|
|
54112
|
-
depositForm?: {
|
|
54113
|
-
/** Theme settings that are used in the deposit form. */
|
|
54114
|
-
theme?: {
|
|
54115
|
-
/** Primary color for the deposit form in hexadecimal format. */
|
|
54116
|
-
colorPrimary?: string | null;
|
|
54117
|
-
/** Secondary color for the deposit form in hexadecimal format. */
|
|
54118
|
-
colorSecondary?: string | null;
|
|
54119
|
-
/** Submit button template. `{{amount}}` can be used as a placeholder for amount and currency. */
|
|
54120
|
-
buttonTemplate?: string | null;
|
|
54121
|
-
} | null;
|
|
54122
|
-
};
|
|
54123
53888
|
/** Payment form settings. */
|
|
54124
53889
|
paymentForm?: {
|
|
54125
53890
|
/** Hosted payment form [CSS options](https://www.rebilly.com/docs/content/concepts-and-features/tutorial/customize-style-rebilly-instruments/#2-use-css-property-to-override-any-styles). */
|
|
@@ -56468,16 +56233,6 @@ export interface storefrontComponents {
|
|
|
56468
56233
|
* The default expiration time is one hour from the time the request is created.
|
|
56469
56234
|
*/
|
|
56470
56235
|
expirationTime?: string;
|
|
56471
|
-
/**
|
|
56472
|
-
* Defines properties the user can complete when they use the hosted deposit form.
|
|
56473
|
-
* This field accepts [JSON-schema](https://json-schema.org/) drafts 4, 6, and 7.
|
|
56474
|
-
*/
|
|
56475
|
-
propertiesSchema?: { [key: string]: any } | null;
|
|
56476
|
-
/**
|
|
56477
|
-
* Properties that are available for the user to complete when they use the hosted deposit form.
|
|
56478
|
-
* Use this object to describe fields that are rendered and completed on the hosted deposit form.
|
|
56479
|
-
*/
|
|
56480
|
-
properties?: { [key: string]: string } | null;
|
|
56481
56236
|
/**
|
|
56482
56237
|
* URL where a server-to-server POST notification is sent.
|
|
56483
56238
|
* This notification is sent when the transaction result is finalized after a timeout or an offsite interaction.
|
|
@@ -56508,7 +56263,7 @@ export interface storefrontComponents {
|
|
|
56508
56263
|
/** Link URL. */
|
|
56509
56264
|
href?: string;
|
|
56510
56265
|
/** Type of link. */
|
|
56511
|
-
rel?: "self" | "
|
|
56266
|
+
rel?: "self" | "transactions";
|
|
56512
56267
|
}[];
|
|
56513
56268
|
/** Embedded objects that are requested by the `expand` query parameter. */
|
|
56514
56269
|
_embedded?: {
|
|
@@ -56591,8 +56346,6 @@ export interface storefrontComponents {
|
|
|
56591
56346
|
* The default expiration time is one hour after the time the request is created.
|
|
56592
56347
|
*/
|
|
56593
56348
|
expirationTime?: string | null;
|
|
56594
|
-
/** ID of a custom property set to apply to the request `propertiesSchema`. */
|
|
56595
|
-
customPropertySetId?: string | null;
|
|
56596
56349
|
/**
|
|
56597
56350
|
* URL where a server-to-server `POST` notification is sent.
|
|
56598
56351
|
* This notification is sent when the transaction result is finalized after a timeout or an offsite interaction.
|
|
@@ -56798,22 +56551,6 @@ export interface storefrontComponents {
|
|
|
56798
56551
|
updatedTime?: storefrontComponents["schemas"]["UpdatedTime"];
|
|
56799
56552
|
_links?: storefrontComponents["schemas"]["SelfLink"];
|
|
56800
56553
|
};
|
|
56801
|
-
DepositCustomPropertySet: {
|
|
56802
|
-
/** ID of the deposit property set. */
|
|
56803
|
-
id?: string;
|
|
56804
|
-
/** Name of the custom property set. */
|
|
56805
|
-
name: string;
|
|
56806
|
-
/**
|
|
56807
|
-
* Defines properties the user can complete when they use the hosted deposit form.
|
|
56808
|
-
* This field accepts [JSON-schema](https://json-schema.org/) drafts 4, 6, and 7.
|
|
56809
|
-
* Accepted properties types are: `string`, `number`, `integer`, `array`, and `enum`.
|
|
56810
|
-
* For more information, see [Configure custom hosted deposit properties](https://www.rebilly.com/docs/dev-docs/configure-custom-hosted-deposit-properties/).
|
|
56811
|
-
*/
|
|
56812
|
-
properties: { [key: string]: any };
|
|
56813
|
-
createdTime?: storefrontComponents["schemas"]["CreatedTime"];
|
|
56814
|
-
updatedTime?: storefrontComponents["schemas"]["UpdatedTime"];
|
|
56815
|
-
_links?: storefrontComponents["schemas"]["SelfLink"];
|
|
56816
|
-
};
|
|
56817
56554
|
CheckoutFormFixedPlan: {
|
|
56818
56555
|
/** ID of the plan. */
|
|
56819
56556
|
planId: string;
|
|
@@ -69413,8 +69150,6 @@ export interface storefrontComponents {
|
|
|
69413
69150
|
paymentInstrumentId?: string | null;
|
|
69414
69151
|
/** ID of the payment token. */
|
|
69415
69152
|
token?: string | null;
|
|
69416
|
-
/** Properties completed by the user in the deposit form. */
|
|
69417
|
-
properties?: { [key: string]: string };
|
|
69418
69153
|
riskMetadata?: storefrontComponents["schemas"]["RiskMetadata"];
|
|
69419
69154
|
redirectUrl?: storefrontComponents["schemas"]["StorefrontTransactionRedirectUrl"];
|
|
69420
69155
|
};
|
|
@@ -81040,18 +80775,6 @@ export interface reportsComponents {
|
|
|
81040
80775
|
customFields?: reportsComponents["schemas"]["ResourceCustomFields"];
|
|
81041
80776
|
/** Website settings. */
|
|
81042
80777
|
settings?: {
|
|
81043
|
-
/** Deposit form settings. */
|
|
81044
|
-
depositForm?: {
|
|
81045
|
-
/** Theme settings that are used in the deposit form. */
|
|
81046
|
-
theme?: {
|
|
81047
|
-
/** Primary color for the deposit form in hexadecimal format. */
|
|
81048
|
-
colorPrimary?: string | null;
|
|
81049
|
-
/** Secondary color for the deposit form in hexadecimal format. */
|
|
81050
|
-
colorSecondary?: string | null;
|
|
81051
|
-
/** Submit button template. `{{amount}}` can be used as a placeholder for amount and currency. */
|
|
81052
|
-
buttonTemplate?: string | null;
|
|
81053
|
-
} | null;
|
|
81054
|
-
};
|
|
81055
80778
|
/** Payment form settings. */
|
|
81056
80779
|
paymentForm?: {
|
|
81057
80780
|
/** Hosted payment form [CSS options](https://www.rebilly.com/docs/content/concepts-and-features/tutorial/customize-style-rebilly-instruments/#2-use-css-property-to-override-any-styles). */
|
|
@@ -83400,16 +83123,6 @@ export interface reportsComponents {
|
|
|
83400
83123
|
* The default expiration time is one hour from the time the request is created.
|
|
83401
83124
|
*/
|
|
83402
83125
|
expirationTime?: string;
|
|
83403
|
-
/**
|
|
83404
|
-
* Defines properties the user can complete when they use the hosted deposit form.
|
|
83405
|
-
* This field accepts [JSON-schema](https://json-schema.org/) drafts 4, 6, and 7.
|
|
83406
|
-
*/
|
|
83407
|
-
propertiesSchema?: { [key: string]: any } | null;
|
|
83408
|
-
/**
|
|
83409
|
-
* Properties that are available for the user to complete when they use the hosted deposit form.
|
|
83410
|
-
* Use this object to describe fields that are rendered and completed on the hosted deposit form.
|
|
83411
|
-
*/
|
|
83412
|
-
properties?: { [key: string]: string } | null;
|
|
83413
83126
|
/**
|
|
83414
83127
|
* URL where a server-to-server POST notification is sent.
|
|
83415
83128
|
* This notification is sent when the transaction result is finalized after a timeout or an offsite interaction.
|
|
@@ -83440,7 +83153,7 @@ export interface reportsComponents {
|
|
|
83440
83153
|
/** Link URL. */
|
|
83441
83154
|
href?: string;
|
|
83442
83155
|
/** Type of link. */
|
|
83443
|
-
rel?: "self" | "
|
|
83156
|
+
rel?: "self" | "transactions";
|
|
83444
83157
|
}[];
|
|
83445
83158
|
/** Embedded objects that are requested by the `expand` query parameter. */
|
|
83446
83159
|
_embedded?: {
|
|
@@ -83523,8 +83236,6 @@ export interface reportsComponents {
|
|
|
83523
83236
|
* The default expiration time is one hour after the time the request is created.
|
|
83524
83237
|
*/
|
|
83525
83238
|
expirationTime?: string | null;
|
|
83526
|
-
/** ID of a custom property set to apply to the request `propertiesSchema`. */
|
|
83527
|
-
customPropertySetId?: string | null;
|
|
83528
83239
|
/**
|
|
83529
83240
|
* URL where a server-to-server `POST` notification is sent.
|
|
83530
83241
|
* This notification is sent when the transaction result is finalized after a timeout or an offsite interaction.
|
|
@@ -83730,22 +83441,6 @@ export interface reportsComponents {
|
|
|
83730
83441
|
updatedTime?: reportsComponents["schemas"]["UpdatedTime"];
|
|
83731
83442
|
_links?: reportsComponents["schemas"]["SelfLink"];
|
|
83732
83443
|
};
|
|
83733
|
-
DepositCustomPropertySet: {
|
|
83734
|
-
/** ID of the deposit property set. */
|
|
83735
|
-
id?: string;
|
|
83736
|
-
/** Name of the custom property set. */
|
|
83737
|
-
name: string;
|
|
83738
|
-
/**
|
|
83739
|
-
* Defines properties the user can complete when they use the hosted deposit form.
|
|
83740
|
-
* This field accepts [JSON-schema](https://json-schema.org/) drafts 4, 6, and 7.
|
|
83741
|
-
* Accepted properties types are: `string`, `number`, `integer`, `array`, and `enum`.
|
|
83742
|
-
* For more information, see [Configure custom hosted deposit properties](https://www.rebilly.com/docs/dev-docs/configure-custom-hosted-deposit-properties/).
|
|
83743
|
-
*/
|
|
83744
|
-
properties: { [key: string]: any };
|
|
83745
|
-
createdTime?: reportsComponents["schemas"]["CreatedTime"];
|
|
83746
|
-
updatedTime?: reportsComponents["schemas"]["UpdatedTime"];
|
|
83747
|
-
_links?: reportsComponents["schemas"]["SelfLink"];
|
|
83748
|
-
};
|
|
83749
83444
|
CheckoutFormFixedPlan: {
|
|
83750
83445
|
/** ID of the plan. */
|
|
83751
83446
|
planId: string;
|
|
@@ -96345,8 +96040,6 @@ export interface reportsComponents {
|
|
|
96345
96040
|
paymentInstrumentId?: string | null;
|
|
96346
96041
|
/** ID of the payment token. */
|
|
96347
96042
|
token?: string | null;
|
|
96348
|
-
/** Properties completed by the user in the deposit form. */
|
|
96349
|
-
properties?: { [key: string]: string };
|
|
96350
96043
|
riskMetadata?: reportsComponents["schemas"]["RiskMetadata"];
|
|
96351
96044
|
redirectUrl?: reportsComponents["schemas"]["StorefrontTransactionRedirectUrl"];
|
|
96352
96045
|
};
|
|
@@ -100591,21 +100284,6 @@ declare module "rebilly-js-sdk" {
|
|
|
100591
100284
|
export type PutDepositStrategyResponsePromise = rebilly.PutDepositStrategyResponsePromise;
|
|
100592
100285
|
export type DeleteDepositStrategyResponse = rebilly.DeleteDepositStrategyResponse;
|
|
100593
100286
|
export type DeleteDepositStrategyResponsePromise = rebilly.DeleteDepositStrategyResponsePromise;
|
|
100594
|
-
export type GetDepositCustomPropertySetCollectionRequest = rebilly.GetDepositCustomPropertySetCollectionRequest;
|
|
100595
|
-
export type GetDepositCustomPropertySetCollectionResponse = rebilly.GetDepositCustomPropertySetCollectionResponse;
|
|
100596
|
-
export type GetDepositCustomPropertySetCollectionResponsePromise = rebilly.GetDepositCustomPropertySetCollectionResponsePromise;
|
|
100597
|
-
export type PostDepositCustomPropertySetRequest = rebilly.PostDepositCustomPropertySetRequest;
|
|
100598
|
-
export type CreateDepositCustomPropertySetRequest = rebilly.CreateDepositCustomPropertySetRequest;
|
|
100599
|
-
export type PostDepositCustomPropertySetResponse = rebilly.PostDepositCustomPropertySetResponse;
|
|
100600
|
-
export type PostDepositCustomPropertySetResponsePromise = rebilly.PostDepositCustomPropertySetResponsePromise;
|
|
100601
|
-
export type GetDepositCustomPropertySetRequest = rebilly.GetDepositCustomPropertySetRequest;
|
|
100602
|
-
export type GetDepositCustomPropertySetResponse = rebilly.GetDepositCustomPropertySetResponse;
|
|
100603
|
-
export type GetDepositCustomPropertySetResponsePromise = rebilly.GetDepositCustomPropertySetResponsePromise;
|
|
100604
|
-
export type PutDepositCustomPropertySetRequest = rebilly.PutDepositCustomPropertySetRequest;
|
|
100605
|
-
export type PutDepositCustomPropertySetResponse = rebilly.PutDepositCustomPropertySetResponse;
|
|
100606
|
-
export type PutDepositCustomPropertySetResponsePromise = rebilly.PutDepositCustomPropertySetResponsePromise;
|
|
100607
|
-
export type DeleteDepositCustomPropertySetResponse = rebilly.DeleteDepositCustomPropertySetResponse;
|
|
100608
|
-
export type DeleteDepositCustomPropertySetResponsePromise = rebilly.DeleteDepositCustomPropertySetResponsePromise;
|
|
100609
100287
|
export type GetCheckoutFormCollectionRequest = rebilly.GetCheckoutFormCollectionRequest;
|
|
100610
100288
|
export type GetCheckoutFormCollectionResponse = rebilly.GetCheckoutFormCollectionResponse;
|
|
100611
100289
|
export type GetCheckoutFormCollectionResponsePromise = rebilly.GetCheckoutFormCollectionResponsePromise;
|
|
@@ -102104,24 +101782,6 @@ declare module "resources/customers-resource" {
|
|
|
102104
101782
|
}): any;
|
|
102105
101783
|
};
|
|
102106
101784
|
}
|
|
102107
|
-
declare module "resources/deposit-custom-property-sets-resource" {
|
|
102108
|
-
export default function DepositCustomPropertySetsResource({ apiHandler }: {
|
|
102109
|
-
apiHandler: any;
|
|
102110
|
-
}): {
|
|
102111
|
-
getAll({ limit, offset, filter, sort }?: rebilly.GetDepositCustomPropertySetCollectionRequest): rebilly.GetDepositCustomPropertySetCollectionResponsePromise;
|
|
102112
|
-
create({ id, data }: rebilly.CreateDepositCustomPropertySetRequest): rebilly.PostDepositCustomPropertySetResponsePromise;
|
|
102113
|
-
get({ id }: {
|
|
102114
|
-
id: any;
|
|
102115
|
-
}): rebilly.GetDepositCustomPropertySetResponsePromise;
|
|
102116
|
-
update({ id, data }: {
|
|
102117
|
-
id: any;
|
|
102118
|
-
data: any;
|
|
102119
|
-
}): rebilly.PutDepositCustomPropertySetResponsePromise;
|
|
102120
|
-
delete({ id }: {
|
|
102121
|
-
id: any;
|
|
102122
|
-
}): any;
|
|
102123
|
-
};
|
|
102124
|
-
}
|
|
102125
101785
|
declare module "resources/deposit-requests-resource" {
|
|
102126
101786
|
export default function DepositRequestsResource({ apiHandler }: {
|
|
102127
101787
|
apiHandler: any;
|
|
@@ -104064,20 +103724,6 @@ declare module "resources/api-instance" {
|
|
|
104064
103724
|
id: any;
|
|
104065
103725
|
}): any;
|
|
104066
103726
|
};
|
|
104067
|
-
depositCustomPropertySets: {
|
|
104068
|
-
getAll({ limit, offset, filter, sort }?: rebilly.GetDepositCustomPropertySetCollectionRequest): rebilly.GetDepositCustomPropertySetCollectionResponsePromise;
|
|
104069
|
-
create({ id, data }: rebilly.CreateDepositCustomPropertySetRequest): rebilly.PostDepositCustomPropertySetResponsePromise;
|
|
104070
|
-
get({ id }: {
|
|
104071
|
-
id: any;
|
|
104072
|
-
}): rebilly.GetDepositCustomPropertySetResponsePromise;
|
|
104073
|
-
update({ id, data }: {
|
|
104074
|
-
id: any;
|
|
104075
|
-
data: any;
|
|
104076
|
-
}): rebilly.PutDepositCustomPropertySetResponsePromise;
|
|
104077
|
-
delete({ id }: {
|
|
104078
|
-
id: any;
|
|
104079
|
-
}): any;
|
|
104080
|
-
};
|
|
104081
103727
|
depositRequests: {
|
|
104082
103728
|
getAll({ limit, offset, filter, sort, expand, }?: rebilly.GetDepositRequestCollectionRequest): rebilly.GetDepositRequestCollectionResponsePromise;
|
|
104083
103729
|
create({ data }: {
|