rebilly-js-sdk 62.210.0 → 62.212.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/dist/rebilly-js-sdk.d.cts +231 -14
- package/dist/rebilly-js-sdk.d.mts +231 -14
- package/dist/rebilly-js-sdk.d.ts +231 -14
- package/dist/rebilly-js-sdk.es.mjs +118 -101
- package/dist/rebilly-js-sdk.umd.js +1 -1
- package/package.json +1 -1
- package/src/resources/api-instance.js +2 -0
- package/src/resources/digital-wallets-resource.js +11 -0
- package/src/resources/webhook-events-resource.js +17 -0
package/CHANGELOG.md
CHANGED
|
@@ -1552,11 +1552,17 @@ declare namespace rebilly {
|
|
|
1552
1552
|
type PutGatewayAccountFinancialSettingsResponse = operations['PutGatewayAccountFinancialSettings']['responses']['201']['content']['application/json']
|
|
1553
1553
|
type PutGatewayAccountFinancialSettingsResponsePromise = Promise<{fields: PutGatewayAccountFinancialSettingsResponse}>
|
|
1554
1554
|
|
|
1555
|
+
|
|
1556
|
+
type GetDigitalWalletOnboardingApplePayResponse = operations['GetDigitalWalletOnboardingApplePay']['responses']['200']['content']['application/json']
|
|
1557
|
+
type GetDigitalWalletOnboardingApplePayResponsePromise = Promise<{fields: GetDigitalWalletOnboardingApplePayResponse}>
|
|
1555
1558
|
type PostDigitalWalletOnboardingApplePayRequest = operations['PostDigitalWalletOnboardingApplePay']['requestBody']['content']['application/json']
|
|
1556
1559
|
type CreateDigitalWalletOnboardingApplePayRequest = { id?: string, data: PostDigitalWalletOnboardingApplePayRequest, expand?: string }
|
|
1557
1560
|
type PostDigitalWalletOnboardingApplePayResponse = operations['PostDigitalWalletOnboardingApplePay']['responses']['201']['content']['application/json']
|
|
1558
1561
|
type PostDigitalWalletOnboardingApplePayResponsePromise = Promise<{fields: PostDigitalWalletOnboardingApplePayResponse}>
|
|
1559
1562
|
|
|
1563
|
+
type DeleteDigitalWalletOnboardingApplePayDomainResponse = operations['DeleteDigitalWalletOnboardingApplePayDomain']['responses']['204']
|
|
1564
|
+
type DeleteDigitalWalletOnboardingApplePayDomainResponsePromise = Promise<{fields: DeleteDigitalWalletOnboardingApplePayDomainResponse}>
|
|
1565
|
+
|
|
1560
1566
|
type GetGridSegmentCollectionRequest = operations['GetGridSegmentCollection']['parameters']["query"] & (operations['GetGridSegmentCollection']['parameters'] extends {path: {}} ? operations['GetGridSegmentCollection']['parameters']["path"] : {})
|
|
1561
1567
|
|
|
1562
1568
|
type GetGridSegmentCollectionResponse = operations['GetGridSegmentCollection']['responses']['200']['content']['application/json'][0]
|
|
@@ -1877,6 +1883,11 @@ declare namespace rebilly {
|
|
|
1877
1883
|
type PostWebhookResponse = operations['PostWebhook']['responses']['201']['content']['application/json']
|
|
1878
1884
|
type PostWebhookResponsePromise = Promise<{fields: PostWebhookResponse}>
|
|
1879
1885
|
|
|
1886
|
+
type GetWebhookEventCollectionRequest = operations['GetWebhookEventCollection']['parameters']["query"] & (operations['GetWebhookEventCollection']['parameters'] extends {path: {}} ? operations['GetWebhookEventCollection']['parameters']["path"] : {})
|
|
1887
|
+
|
|
1888
|
+
type GetWebhookEventCollectionResponse = operations['GetWebhookEventCollection']['responses']['200']['content']['application/json'][0]
|
|
1889
|
+
type GetWebhookEventCollectionResponsePromise = Promise<{ items: {fields: GetWebhookEventCollectionResponse}[], getJSON: object, total?: number, offset?: number, limit?: number }>
|
|
1890
|
+
|
|
1880
1891
|
type GetWebhookRequest = { id: string }
|
|
1881
1892
|
|
|
1882
1893
|
type GetWebhookResponse = operations['GetWebhook']['responses']['200']['content']['application/json']
|
|
@@ -3060,7 +3071,12 @@ export interface corePaths {
|
|
|
3060
3071
|
};
|
|
3061
3072
|
};
|
|
3062
3073
|
"/invoices": {
|
|
3063
|
-
/**
|
|
3074
|
+
/**
|
|
3075
|
+
* Retrieves a list of invoices.
|
|
3076
|
+
* Each invoice in the list includes up to 10 of the most recent transactions in `transactions`.
|
|
3077
|
+
* To retrieve transactions for an invoice, use [Retrieve transactions](https://www.rebilly.com/catalog/all/transactions/gettransactioncollection) with the `invoiceIds` filter.
|
|
3078
|
+
* Search results can lag briefly behind a write.
|
|
3079
|
+
*/
|
|
3064
3080
|
get: operations["GetInvoiceCollection"];
|
|
3065
3081
|
/** Creates an invoice. */
|
|
3066
3082
|
post: operations["PostInvoice"];
|
|
@@ -5220,6 +5236,11 @@ export interface corePaths {
|
|
|
5220
5236
|
};
|
|
5221
5237
|
};
|
|
5222
5238
|
"/digital-wallets/onboarding/apple-pay": {
|
|
5239
|
+
/**
|
|
5240
|
+
* Retrieves the domains that Apple Pay has registered for the organization.
|
|
5241
|
+
* Apple Pay registers domains for the whole organization, not for one gateway account.
|
|
5242
|
+
*/
|
|
5243
|
+
get: operations["GetDigitalWalletOnboardingApplePay"];
|
|
5223
5244
|
/**
|
|
5224
5245
|
* Registers a domain for Apple Pay.
|
|
5225
5246
|
*
|
|
@@ -5231,6 +5252,19 @@ export interface corePaths {
|
|
|
5231
5252
|
*/
|
|
5232
5253
|
post: operations["PostDigitalWalletOnboardingApplePay"];
|
|
5233
5254
|
};
|
|
5255
|
+
"/digital-wallets/onboarding/apple-pay/{domain}": {
|
|
5256
|
+
/**
|
|
5257
|
+
* Removes a domain from Apple Pay for the organization.
|
|
5258
|
+
* Apple Pay stops working on the domain.
|
|
5259
|
+
*/
|
|
5260
|
+
delete: operations["DeleteDigitalWalletOnboardingApplePayDomain"];
|
|
5261
|
+
parameters: {
|
|
5262
|
+
path: {
|
|
5263
|
+
/** Domain to remove from Apple Pay. */
|
|
5264
|
+
domain: string;
|
|
5265
|
+
};
|
|
5266
|
+
};
|
|
5267
|
+
};
|
|
5234
5268
|
"/grid-segments": {
|
|
5235
5269
|
/** Retrieves a user's UI segments. */
|
|
5236
5270
|
get: operations["GetGridSegmentCollection"];
|
|
@@ -5752,6 +5786,13 @@ export interface corePaths {
|
|
|
5752
5786
|
/** Creates a webhook. */
|
|
5753
5787
|
post: operations["PostWebhook"];
|
|
5754
5788
|
};
|
|
5789
|
+
"/webhook-events": {
|
|
5790
|
+
/**
|
|
5791
|
+
* Retrieves the event types that your organization can use in the events filter of a webhook.
|
|
5792
|
+
* If your organization uses the Replay add-on, the list also contains Replay event types.
|
|
5793
|
+
*/
|
|
5794
|
+
get: operations["GetWebhookEventCollection"];
|
|
5795
|
+
};
|
|
5755
5796
|
"/webhooks/{id}": {
|
|
5756
5797
|
/** Retrieves a webhook with a specified ID. */
|
|
5757
5798
|
get: operations["GetWebhook"];
|
|
@@ -9550,7 +9591,11 @@ export interface coreComponents {
|
|
|
9550
9591
|
/** Specifies if the order is a new order. */
|
|
9551
9592
|
isNewOrder?: boolean;
|
|
9552
9593
|
customerId: coreComponents["schemas"]["CustomerId"];
|
|
9553
|
-
/**
|
|
9594
|
+
/**
|
|
9595
|
+
* Up to 10 of the most recent transactions for the invoice.
|
|
9596
|
+
* To retrieve transactions for an invoice, use [Retrieve transactions](https://www.rebilly.com/catalog/all/transactions/gettransactioncollection) with the `invoiceIds` filter.
|
|
9597
|
+
* Search results can lag briefly behind a write.
|
|
9598
|
+
*/
|
|
9554
9599
|
transactions?: coreComponents["schemas"]["Transaction"][];
|
|
9555
9600
|
/**
|
|
9556
9601
|
* Invoice payment retry instruction.
|
|
@@ -22230,6 +22275,11 @@ export interface coreComponents {
|
|
|
22230
22275
|
period: coreComponents["schemas"]["SchedulingMethodDateInterval"];
|
|
22231
22276
|
}[];
|
|
22232
22277
|
};
|
|
22278
|
+
/** Apple Pay domains of the organization. */
|
|
22279
|
+
DigitalWalletOnboardingApplePayDomains: {
|
|
22280
|
+
/** Domains that Apple Pay has registered for the organization, sorted alphabetically. */
|
|
22281
|
+
domains: string[];
|
|
22282
|
+
};
|
|
22233
22283
|
/** Register a domain with Apple Pay and associate it with Rebilly. */
|
|
22234
22284
|
DigitalWalletOnboardingApplePay: {
|
|
22235
22285
|
/** Domain to register. */
|
|
@@ -23367,7 +23417,8 @@ export interface coreComponents {
|
|
|
23367
23417
|
* Event types that trigger the webhook.
|
|
23368
23418
|
* If empty, all event types trigger the webhook.
|
|
23369
23419
|
*/
|
|
23370
|
-
eventsFilter?: coreComponents["schemas"]["GlobalEventType"]
|
|
23420
|
+
eventsFilter?: (Partial<coreComponents["schemas"]["GlobalEventType"]> &
|
|
23421
|
+
Partial<string>)[];
|
|
23371
23422
|
status?: "active" | "inactive";
|
|
23372
23423
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
23373
23424
|
/** URL that receives requests when a specified event occurs. */
|
|
@@ -23674,7 +23725,8 @@ export interface coreComponents {
|
|
|
23674
23725
|
/** ID of the main entity related to the event type. */
|
|
23675
23726
|
entityId?: string;
|
|
23676
23727
|
organizationId?: coreComponents["schemas"]["OrganizationId"];
|
|
23677
|
-
eventType?: coreComponents["schemas"]["GlobalEventType"]
|
|
23728
|
+
eventType?: Partial<coreComponents["schemas"]["GlobalEventType"]> &
|
|
23729
|
+
Partial<string>;
|
|
23678
23730
|
/** Source that triggered the webhook. */
|
|
23679
23731
|
source?: "webhooks" | "rules";
|
|
23680
23732
|
/** Number of attempts to send the webhook. */
|
|
@@ -23740,6 +23792,15 @@ export interface coreComponents {
|
|
|
23740
23792
|
allowedIps?: coreComponents["schemas"]["AllowedIps"];
|
|
23741
23793
|
_links?: coreComponents["schemas"]["SelfLink"];
|
|
23742
23794
|
};
|
|
23795
|
+
WebhookEvent: {
|
|
23796
|
+
/** Event type that a webhook can subscribe to. */
|
|
23797
|
+
eventType: string;
|
|
23798
|
+
/**
|
|
23799
|
+
* Product in which the event occurs.
|
|
23800
|
+
* Use this value to distinguish between Replay events and non-Replay events.
|
|
23801
|
+
*/
|
|
23802
|
+
product: "core" | "replay";
|
|
23803
|
+
};
|
|
23743
23804
|
CustomerInformation: {
|
|
23744
23805
|
/** Currency code in ISO 4217 format. */
|
|
23745
23806
|
currency?: string;
|
|
@@ -28301,7 +28362,10 @@ export interface coreComponents {
|
|
|
28301
28362
|
transactionId?: string | null;
|
|
28302
28363
|
/** ID of the payout request that received the merged amount. */
|
|
28303
28364
|
mergedIntoPayoutRequestId?: string;
|
|
28304
|
-
/**
|
|
28365
|
+
/**
|
|
28366
|
+
* ID of the transfer that reserves the payout funds.
|
|
28367
|
+
* This value is `null` if no transfer exists.
|
|
28368
|
+
*/
|
|
28305
28369
|
replayTransferId?: string | null;
|
|
28306
28370
|
/** Specifies whether the allocation is created automatically. */
|
|
28307
28371
|
isAutoAllocation?: boolean;
|
|
@@ -33258,7 +33322,12 @@ export interface operations {
|
|
|
33258
33322
|
403: coreComponents["responses"]["Forbidden"];
|
|
33259
33323
|
};
|
|
33260
33324
|
};
|
|
33261
|
-
/**
|
|
33325
|
+
/**
|
|
33326
|
+
* Retrieves a list of invoices.
|
|
33327
|
+
* Each invoice in the list includes up to 10 of the most recent transactions in `transactions`.
|
|
33328
|
+
* To retrieve transactions for an invoice, use [Retrieve transactions](https://www.rebilly.com/catalog/all/transactions/gettransactioncollection) with the `invoiceIds` filter.
|
|
33329
|
+
* Search results can lag briefly behind a write.
|
|
33330
|
+
*/
|
|
33262
33331
|
GetInvoiceCollection: {
|
|
33263
33332
|
parameters: {
|
|
33264
33333
|
query: {
|
|
@@ -42141,6 +42210,23 @@ export interface operations {
|
|
|
42141
42210
|
};
|
|
42142
42211
|
};
|
|
42143
42212
|
};
|
|
42213
|
+
/**
|
|
42214
|
+
* Retrieves the domains that Apple Pay has registered for the organization.
|
|
42215
|
+
* Apple Pay registers domains for the whole organization, not for one gateway account.
|
|
42216
|
+
*/
|
|
42217
|
+
GetDigitalWalletOnboardingApplePay: {
|
|
42218
|
+
responses: {
|
|
42219
|
+
/** Apple Pay domains retrieved. */
|
|
42220
|
+
200: {
|
|
42221
|
+
content: {
|
|
42222
|
+
"application/json": coreComponents["schemas"]["DigitalWalletOnboardingApplePayDomains"];
|
|
42223
|
+
};
|
|
42224
|
+
};
|
|
42225
|
+
401: coreComponents["responses"]["Unauthorized"];
|
|
42226
|
+
403: coreComponents["responses"]["Forbidden"];
|
|
42227
|
+
409: coreComponents["responses"]["Conflict"];
|
|
42228
|
+
};
|
|
42229
|
+
};
|
|
42144
42230
|
/**
|
|
42145
42231
|
* Registers a domain for Apple Pay.
|
|
42146
42232
|
*
|
|
@@ -42178,6 +42264,27 @@ export interface operations {
|
|
|
42178
42264
|
};
|
|
42179
42265
|
};
|
|
42180
42266
|
};
|
|
42267
|
+
/**
|
|
42268
|
+
* Removes a domain from Apple Pay for the organization.
|
|
42269
|
+
* Apple Pay stops working on the domain.
|
|
42270
|
+
*/
|
|
42271
|
+
DeleteDigitalWalletOnboardingApplePayDomain: {
|
|
42272
|
+
parameters: {
|
|
42273
|
+
path: {
|
|
42274
|
+
/** Domain to remove from Apple Pay. */
|
|
42275
|
+
domain: string;
|
|
42276
|
+
};
|
|
42277
|
+
};
|
|
42278
|
+
responses: {
|
|
42279
|
+
/** Apple Pay domain removed. */
|
|
42280
|
+
204: never;
|
|
42281
|
+
401: coreComponents["responses"]["Unauthorized"];
|
|
42282
|
+
403: coreComponents["responses"]["Forbidden"];
|
|
42283
|
+
404: coreComponents["responses"]["NotFound"];
|
|
42284
|
+
409: coreComponents["responses"]["Conflict"];
|
|
42285
|
+
429: coreComponents["responses"]["TooManyRequests"];
|
|
42286
|
+
};
|
|
42287
|
+
};
|
|
42181
42288
|
/** Retrieves a user's UI segments. */
|
|
42182
42289
|
GetGridSegmentCollection: {
|
|
42183
42290
|
parameters: {
|
|
@@ -44371,6 +44478,45 @@ export interface operations {
|
|
|
44371
44478
|
};
|
|
44372
44479
|
requestBody: coreComponents["requestBodies"]["GlobalWebhook"];
|
|
44373
44480
|
};
|
|
44481
|
+
/**
|
|
44482
|
+
* Retrieves the event types that your organization can use in the events filter of a webhook.
|
|
44483
|
+
* If your organization uses the Replay add-on, the list also contains Replay event types.
|
|
44484
|
+
*/
|
|
44485
|
+
GetWebhookEventCollection: {
|
|
44486
|
+
parameters: {
|
|
44487
|
+
query: {
|
|
44488
|
+
/**
|
|
44489
|
+
* Limit the number of collection items to be returned.
|
|
44490
|
+
* Use `0` to return an empty collection and still receive the count of matching items in `Pagination-Total`.
|
|
44491
|
+
*/
|
|
44492
|
+
limit?: coreComponents["parameters"]["collectionLimit"];
|
|
44493
|
+
/** Specifies the starting point within the collection of items to be returned. */
|
|
44494
|
+
offset?: coreComponents["parameters"]["collectionOffset"];
|
|
44495
|
+
/**
|
|
44496
|
+
* Criteria for filtering collection items.
|
|
44497
|
+
* This field requires a special format.
|
|
44498
|
+
* Use `,` to specify multiple allowed values.
|
|
44499
|
+
* Use `;` to specify multiple fields.
|
|
44500
|
+
*
|
|
44501
|
+
* For more information, see [Search filters](https://www.rebilly.com/docs/dev-docs/search-filters).
|
|
44502
|
+
*/
|
|
44503
|
+
filter?: coreComponents["parameters"]["collectionFilter"];
|
|
44504
|
+
/** Use this field to perform a partial search of text fields. */
|
|
44505
|
+
q?: coreComponents["parameters"]["collectionQuery"];
|
|
44506
|
+
};
|
|
44507
|
+
};
|
|
44508
|
+
responses: {
|
|
44509
|
+
/** Webhook event types retrieved. */
|
|
44510
|
+
200: {
|
|
44511
|
+
headers: {};
|
|
44512
|
+
content: {
|
|
44513
|
+
"application/json": coreComponents["schemas"]["WebhookEvent"][];
|
|
44514
|
+
};
|
|
44515
|
+
};
|
|
44516
|
+
401: coreComponents["responses"]["Unauthorized"];
|
|
44517
|
+
403: coreComponents["responses"]["Forbidden"];
|
|
44518
|
+
};
|
|
44519
|
+
};
|
|
44374
44520
|
/** Retrieves a webhook with a specified ID. */
|
|
44375
44521
|
GetWebhook: {
|
|
44376
44522
|
parameters: {
|
|
@@ -49294,7 +49440,11 @@ export interface storefrontComponents {
|
|
|
49294
49440
|
/** Specifies if the order is a new order. */
|
|
49295
49441
|
isNewOrder?: boolean;
|
|
49296
49442
|
customerId: storefrontComponents["schemas"]["CustomerId"];
|
|
49297
|
-
/**
|
|
49443
|
+
/**
|
|
49444
|
+
* Up to 10 of the most recent transactions for the invoice.
|
|
49445
|
+
* To retrieve transactions for an invoice, use [Retrieve transactions](https://www.rebilly.com/catalog/all/transactions/gettransactioncollection) with the `invoiceIds` filter.
|
|
49446
|
+
* Search results can lag briefly behind a write.
|
|
49447
|
+
*/
|
|
49298
49448
|
transactions?: storefrontComponents["schemas"]["Transaction"][];
|
|
49299
49449
|
/**
|
|
49300
49450
|
* Invoice payment retry instruction.
|
|
@@ -61974,6 +62124,11 @@ export interface storefrontComponents {
|
|
|
61974
62124
|
period: storefrontComponents["schemas"]["SchedulingMethodDateInterval"];
|
|
61975
62125
|
}[];
|
|
61976
62126
|
};
|
|
62127
|
+
/** Apple Pay domains of the organization. */
|
|
62128
|
+
DigitalWalletOnboardingApplePayDomains: {
|
|
62129
|
+
/** Domains that Apple Pay has registered for the organization, sorted alphabetically. */
|
|
62130
|
+
domains: string[];
|
|
62131
|
+
};
|
|
61977
62132
|
/** Register a domain with Apple Pay and associate it with Rebilly. */
|
|
61978
62133
|
DigitalWalletOnboardingApplePay: {
|
|
61979
62134
|
/** Domain to register. */
|
|
@@ -63111,7 +63266,8 @@ export interface storefrontComponents {
|
|
|
63111
63266
|
* Event types that trigger the webhook.
|
|
63112
63267
|
* If empty, all event types trigger the webhook.
|
|
63113
63268
|
*/
|
|
63114
|
-
eventsFilter?: storefrontComponents["schemas"]["GlobalEventType"]
|
|
63269
|
+
eventsFilter?: (Partial<storefrontComponents["schemas"]["GlobalEventType"]> &
|
|
63270
|
+
Partial<string>)[];
|
|
63115
63271
|
status?: "active" | "inactive";
|
|
63116
63272
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
63117
63273
|
/** URL that receives requests when a specified event occurs. */
|
|
@@ -63418,7 +63574,8 @@ export interface storefrontComponents {
|
|
|
63418
63574
|
/** ID of the main entity related to the event type. */
|
|
63419
63575
|
entityId?: string;
|
|
63420
63576
|
organizationId?: storefrontComponents["schemas"]["OrganizationId"];
|
|
63421
|
-
eventType?: storefrontComponents["schemas"]["GlobalEventType"]
|
|
63577
|
+
eventType?: Partial<storefrontComponents["schemas"]["GlobalEventType"]> &
|
|
63578
|
+
Partial<string>;
|
|
63422
63579
|
/** Source that triggered the webhook. */
|
|
63423
63580
|
source?: "webhooks" | "rules";
|
|
63424
63581
|
/** Number of attempts to send the webhook. */
|
|
@@ -63484,6 +63641,15 @@ export interface storefrontComponents {
|
|
|
63484
63641
|
allowedIps?: storefrontComponents["schemas"]["AllowedIps"];
|
|
63485
63642
|
_links?: storefrontComponents["schemas"]["SelfLink"];
|
|
63486
63643
|
};
|
|
63644
|
+
WebhookEvent: {
|
|
63645
|
+
/** Event type that a webhook can subscribe to. */
|
|
63646
|
+
eventType: string;
|
|
63647
|
+
/**
|
|
63648
|
+
* Product in which the event occurs.
|
|
63649
|
+
* Use this value to distinguish between Replay events and non-Replay events.
|
|
63650
|
+
*/
|
|
63651
|
+
product: "core" | "replay";
|
|
63652
|
+
};
|
|
63487
63653
|
CustomerInformation: {
|
|
63488
63654
|
/** Currency code in ISO 4217 format. */
|
|
63489
63655
|
currency?: string;
|
|
@@ -68045,7 +68211,10 @@ export interface storefrontComponents {
|
|
|
68045
68211
|
transactionId?: string | null;
|
|
68046
68212
|
/** ID of the payout request that received the merged amount. */
|
|
68047
68213
|
mergedIntoPayoutRequestId?: string;
|
|
68048
|
-
/**
|
|
68214
|
+
/**
|
|
68215
|
+
* ID of the transfer that reserves the payout funds.
|
|
68216
|
+
* This value is `null` if no transfer exists.
|
|
68217
|
+
*/
|
|
68049
68218
|
replayTransferId?: string | null;
|
|
68050
68219
|
/** Specifies whether the allocation is created automatically. */
|
|
68051
68220
|
isAutoAllocation?: boolean;
|
|
@@ -76432,7 +76601,11 @@ export interface reportsComponents {
|
|
|
76432
76601
|
/** Specifies if the order is a new order. */
|
|
76433
76602
|
isNewOrder?: boolean;
|
|
76434
76603
|
customerId: reportsComponents["schemas"]["CustomerId"];
|
|
76435
|
-
/**
|
|
76604
|
+
/**
|
|
76605
|
+
* Up to 10 of the most recent transactions for the invoice.
|
|
76606
|
+
* To retrieve transactions for an invoice, use [Retrieve transactions](https://www.rebilly.com/catalog/all/transactions/gettransactioncollection) with the `invoiceIds` filter.
|
|
76607
|
+
* Search results can lag briefly behind a write.
|
|
76608
|
+
*/
|
|
76436
76609
|
transactions?: reportsComponents["schemas"]["Transaction"][];
|
|
76437
76610
|
/**
|
|
76438
76611
|
* Invoice payment retry instruction.
|
|
@@ -89112,6 +89285,11 @@ export interface reportsComponents {
|
|
|
89112
89285
|
period: reportsComponents["schemas"]["SchedulingMethodDateInterval"];
|
|
89113
89286
|
}[];
|
|
89114
89287
|
};
|
|
89288
|
+
/** Apple Pay domains of the organization. */
|
|
89289
|
+
DigitalWalletOnboardingApplePayDomains: {
|
|
89290
|
+
/** Domains that Apple Pay has registered for the organization, sorted alphabetically. */
|
|
89291
|
+
domains: string[];
|
|
89292
|
+
};
|
|
89115
89293
|
/** Register a domain with Apple Pay and associate it with Rebilly. */
|
|
89116
89294
|
DigitalWalletOnboardingApplePay: {
|
|
89117
89295
|
/** Domain to register. */
|
|
@@ -90249,7 +90427,8 @@ export interface reportsComponents {
|
|
|
90249
90427
|
* Event types that trigger the webhook.
|
|
90250
90428
|
* If empty, all event types trigger the webhook.
|
|
90251
90429
|
*/
|
|
90252
|
-
eventsFilter?: reportsComponents["schemas"]["GlobalEventType"]
|
|
90430
|
+
eventsFilter?: (Partial<reportsComponents["schemas"]["GlobalEventType"]> &
|
|
90431
|
+
Partial<string>)[];
|
|
90253
90432
|
status?: "active" | "inactive";
|
|
90254
90433
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
90255
90434
|
/** URL that receives requests when a specified event occurs. */
|
|
@@ -90556,7 +90735,8 @@ export interface reportsComponents {
|
|
|
90556
90735
|
/** ID of the main entity related to the event type. */
|
|
90557
90736
|
entityId?: string;
|
|
90558
90737
|
organizationId?: reportsComponents["schemas"]["OrganizationId"];
|
|
90559
|
-
eventType?: reportsComponents["schemas"]["GlobalEventType"]
|
|
90738
|
+
eventType?: Partial<reportsComponents["schemas"]["GlobalEventType"]> &
|
|
90739
|
+
Partial<string>;
|
|
90560
90740
|
/** Source that triggered the webhook. */
|
|
90561
90741
|
source?: "webhooks" | "rules";
|
|
90562
90742
|
/** Number of attempts to send the webhook. */
|
|
@@ -90622,6 +90802,15 @@ export interface reportsComponents {
|
|
|
90622
90802
|
allowedIps?: reportsComponents["schemas"]["AllowedIps"];
|
|
90623
90803
|
_links?: reportsComponents["schemas"]["SelfLink"];
|
|
90624
90804
|
};
|
|
90805
|
+
WebhookEvent: {
|
|
90806
|
+
/** Event type that a webhook can subscribe to. */
|
|
90807
|
+
eventType: string;
|
|
90808
|
+
/**
|
|
90809
|
+
* Product in which the event occurs.
|
|
90810
|
+
* Use this value to distinguish between Replay events and non-Replay events.
|
|
90811
|
+
*/
|
|
90812
|
+
product: "core" | "replay";
|
|
90813
|
+
};
|
|
90625
90814
|
CustomerInformation: {
|
|
90626
90815
|
/** Currency code in ISO 4217 format. */
|
|
90627
90816
|
currency?: string;
|
|
@@ -95183,7 +95372,10 @@ export interface reportsComponents {
|
|
|
95183
95372
|
transactionId?: string | null;
|
|
95184
95373
|
/** ID of the payout request that received the merged amount. */
|
|
95185
95374
|
mergedIntoPayoutRequestId?: string;
|
|
95186
|
-
/**
|
|
95375
|
+
/**
|
|
95376
|
+
* ID of the transfer that reserves the payout funds.
|
|
95377
|
+
* This value is `null` if no transfer exists.
|
|
95378
|
+
*/
|
|
95187
95379
|
replayTransferId?: string | null;
|
|
95188
95380
|
/** Specifies whether the allocation is created automatically. */
|
|
95189
95381
|
isAutoAllocation?: boolean;
|
|
@@ -100770,10 +100962,14 @@ declare module "rebilly-js-sdk" {
|
|
|
100770
100962
|
export type PutGatewayAccountFinancialSettingsRequest = rebilly.PutGatewayAccountFinancialSettingsRequest;
|
|
100771
100963
|
export type PutGatewayAccountFinancialSettingsResponse = rebilly.PutGatewayAccountFinancialSettingsResponse;
|
|
100772
100964
|
export type PutGatewayAccountFinancialSettingsResponsePromise = rebilly.PutGatewayAccountFinancialSettingsResponsePromise;
|
|
100965
|
+
export type GetDigitalWalletOnboardingApplePayResponse = rebilly.GetDigitalWalletOnboardingApplePayResponse;
|
|
100966
|
+
export type GetDigitalWalletOnboardingApplePayResponsePromise = rebilly.GetDigitalWalletOnboardingApplePayResponsePromise;
|
|
100773
100967
|
export type PostDigitalWalletOnboardingApplePayRequest = rebilly.PostDigitalWalletOnboardingApplePayRequest;
|
|
100774
100968
|
export type CreateDigitalWalletOnboardingApplePayRequest = rebilly.CreateDigitalWalletOnboardingApplePayRequest;
|
|
100775
100969
|
export type PostDigitalWalletOnboardingApplePayResponse = rebilly.PostDigitalWalletOnboardingApplePayResponse;
|
|
100776
100970
|
export type PostDigitalWalletOnboardingApplePayResponsePromise = rebilly.PostDigitalWalletOnboardingApplePayResponsePromise;
|
|
100971
|
+
export type DeleteDigitalWalletOnboardingApplePayDomainResponse = rebilly.DeleteDigitalWalletOnboardingApplePayDomainResponse;
|
|
100972
|
+
export type DeleteDigitalWalletOnboardingApplePayDomainResponsePromise = rebilly.DeleteDigitalWalletOnboardingApplePayDomainResponsePromise;
|
|
100777
100973
|
export type GetGridSegmentCollectionRequest = rebilly.GetGridSegmentCollectionRequest;
|
|
100778
100974
|
export type GetGridSegmentCollectionResponse = rebilly.GetGridSegmentCollectionResponse;
|
|
100779
100975
|
export type GetGridSegmentCollectionResponsePromise = rebilly.GetGridSegmentCollectionResponsePromise;
|
|
@@ -101007,6 +101203,9 @@ declare module "rebilly-js-sdk" {
|
|
|
101007
101203
|
export type CreateWebhookRequest = rebilly.CreateWebhookRequest;
|
|
101008
101204
|
export type PostWebhookResponse = rebilly.PostWebhookResponse;
|
|
101009
101205
|
export type PostWebhookResponsePromise = rebilly.PostWebhookResponsePromise;
|
|
101206
|
+
export type GetWebhookEventCollectionRequest = rebilly.GetWebhookEventCollectionRequest;
|
|
101207
|
+
export type GetWebhookEventCollectionResponse = rebilly.GetWebhookEventCollectionResponse;
|
|
101208
|
+
export type GetWebhookEventCollectionResponsePromise = rebilly.GetWebhookEventCollectionResponsePromise;
|
|
101010
101209
|
export type GetWebhookRequest = rebilly.GetWebhookRequest;
|
|
101011
101210
|
export type GetWebhookResponse = rebilly.GetWebhookResponse;
|
|
101012
101211
|
export type GetWebhookResponsePromise = rebilly.GetWebhookResponsePromise;
|
|
@@ -102092,9 +102291,13 @@ declare module "resources/digital-wallets-resource" {
|
|
|
102092
102291
|
validate({ data }: {
|
|
102093
102292
|
data: any;
|
|
102094
102293
|
}): any;
|
|
102294
|
+
getApplePayDomains(): rebilly.GetDigitalWalletOnboardingApplePayResponsePromise;
|
|
102095
102295
|
create({ data }: {
|
|
102096
102296
|
data: any;
|
|
102097
102297
|
}): any;
|
|
102298
|
+
deleteApplePayDomain({ domain }: {
|
|
102299
|
+
domain: any;
|
|
102300
|
+
}): any;
|
|
102098
102301
|
};
|
|
102099
102302
|
}
|
|
102100
102303
|
declare module "resources/disputes-resource" {
|
|
@@ -103591,6 +103794,13 @@ declare module "resources/users-resource" {
|
|
|
103591
103794
|
}): rebilly.PutUserResponsePromise;
|
|
103592
103795
|
};
|
|
103593
103796
|
}
|
|
103797
|
+
declare module "resources/webhook-events-resource" {
|
|
103798
|
+
export default function WebhookEventsResource({ apiHandler }: {
|
|
103799
|
+
apiHandler: any;
|
|
103800
|
+
}): {
|
|
103801
|
+
getAll({ limit, offset, filter, q }?: rebilly.GetWebhookEventCollectionRequest): rebilly.GetWebhookEventCollectionResponsePromise;
|
|
103802
|
+
};
|
|
103803
|
+
}
|
|
103594
103804
|
declare module "resources/webhooks-resource" {
|
|
103595
103805
|
export default function WebhooksResource({ apiHandler }: {
|
|
103596
103806
|
apiHandler: any;
|
|
@@ -104002,9 +104212,13 @@ declare module "resources/api-instance" {
|
|
|
104002
104212
|
validate({ data }: {
|
|
104003
104213
|
data: any;
|
|
104004
104214
|
}): any;
|
|
104215
|
+
getApplePayDomains(): rebilly.GetDigitalWalletOnboardingApplePayResponsePromise;
|
|
104005
104216
|
create({ data }: {
|
|
104006
104217
|
data: any;
|
|
104007
104218
|
}): any;
|
|
104219
|
+
deleteApplePayDomain({ domain }: {
|
|
104220
|
+
domain: any;
|
|
104221
|
+
}): any;
|
|
104008
104222
|
};
|
|
104009
104223
|
disputes: {
|
|
104010
104224
|
getAll({ filter, sort, limit, offset, q, expand, }?: rebilly.GetDisputeCollectionRequest): rebilly.GetDisputeCollectionResponsePromise;
|
|
@@ -105244,6 +105458,9 @@ declare module "resources/api-instance" {
|
|
|
105244
105458
|
data: any;
|
|
105245
105459
|
}): rebilly.PutUserResponsePromise;
|
|
105246
105460
|
};
|
|
105461
|
+
webhookEvents: {
|
|
105462
|
+
getAll({ limit, offset, filter, q }?: rebilly.GetWebhookEventCollectionRequest): rebilly.GetWebhookEventCollectionResponsePromise;
|
|
105463
|
+
};
|
|
105247
105464
|
webhooks: {
|
|
105248
105465
|
getAll({ limit, offset, filter }?: rebilly.GetWebhookCollectionRequest): rebilly.GetWebhookCollectionResponsePromise;
|
|
105249
105466
|
create({ id, data }: rebilly.CreateWebhookRequest): rebilly.PostWebhookResponsePromise;
|