rebilly-js-sdk 60.0.4 → 60.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1 +1,6 @@
|
|
|
1
|
-
## [60.0
|
|
1
|
+
## [60.2.0](https://github.com/Rebilly/rebilly/compare/rebilly-js-sdk-v60.1.0...rebilly-js-sdk-v60.2.0) (2025-07-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **api-metadata, rebilly-js-sdk:** Update resources based on latest api definitions ([#13800](https://github.com/Rebilly/rebilly/issues/13800)) ([7f48310](https://github.com/Rebilly/rebilly/commit/7f48310cbcb1e2d56dbcde9c51d6c32343b79f2f))
|
package/dist/rebilly-js-sdk.d.ts
CHANGED
|
@@ -487,6 +487,25 @@ declare namespace rebilly {
|
|
|
487
487
|
type PutJournalEntryResponse = operations['PutJournalEntry']['responses']['201']['content']['application/json']
|
|
488
488
|
type PutJournalEntryResponsePromise = Promise<{fields: PutJournalEntryResponse}>
|
|
489
489
|
|
|
490
|
+
type GetJournalRecordCollectionBCRequest = operations['GetJournalRecordCollectionBC']['parameters'] & { id: string }
|
|
491
|
+
|
|
492
|
+
type GetJournalRecordCollectionBCResponse = operations['GetJournalRecordCollectionBC']['responses']['200']['content']['application/json']
|
|
493
|
+
type GetJournalRecordCollectionBCResponsePromise = Promise<{fields: GetJournalRecordCollectionBCResponse}>
|
|
494
|
+
type PostJournalRecordBCRequest = operations['PostJournalRecordBC']['requestBody']['content']['application/json']
|
|
495
|
+
type CreateJournalRecordBCRequest = { id?: string, data: PostJournalRecordBCRequest, expand?: string }
|
|
496
|
+
type PostJournalRecordBCResponse = operations['PostJournalRecordBC']['responses']['201']['content']['application/json']
|
|
497
|
+
type PostJournalRecordBCResponsePromise = Promise<{fields: PostJournalRecordBCResponse}>
|
|
498
|
+
|
|
499
|
+
type GetJournalRecordBCRequest = { id: string,journalRecordId: string }
|
|
500
|
+
|
|
501
|
+
type GetJournalRecordBCResponse = operations['GetJournalRecordBC']['responses']['200']['content']['application/json']
|
|
502
|
+
type GetJournalRecordBCResponsePromise = Promise<{fields: GetJournalRecordBCResponse}>
|
|
503
|
+
type PutJournalRecordBCRequest = operations['PutJournalRecordBC']['requestBody']['content']['application/json']
|
|
504
|
+
type PutJournalRecordBCResponse = operations['PutJournalRecordBC']['responses']['201']['content']['application/json']
|
|
505
|
+
type PutJournalRecordBCResponsePromise = Promise<{fields: PutJournalRecordBCResponse}>
|
|
506
|
+
type DeleteJournalRecordBCResponse = operations['DeleteJournalRecordBC']['responses']['204']
|
|
507
|
+
type DeleteJournalRecordBCResponsePromise = Promise<{fields: DeleteJournalRecordBCResponse}>
|
|
508
|
+
|
|
490
509
|
type GetJournalRecordCollectionRequest = operations['GetJournalRecordCollection']['parameters']["query"] & (operations['GetJournalRecordCollection']['parameters'] extends {path: {}} ? operations['GetJournalRecordCollection']['parameters']["path"] : {}) & { id: string }
|
|
491
510
|
|
|
492
511
|
type GetJournalRecordCollectionResponse = operations['GetJournalRecordCollection']['responses']['200']['content']['application/json'][0]
|
|
@@ -3094,6 +3113,34 @@ export interface corePaths {
|
|
|
3094
3113
|
};
|
|
3095
3114
|
};
|
|
3096
3115
|
"/journal-entries/{id}/records": {
|
|
3116
|
+
/** Retrieves a list of journal records. */
|
|
3117
|
+
get: operations["GetJournalRecordCollectionBC"];
|
|
3118
|
+
/** Creates a journal record. */
|
|
3119
|
+
post: operations["PostJournalRecordBC"];
|
|
3120
|
+
parameters: {
|
|
3121
|
+
path: {
|
|
3122
|
+
/** ID of the resource. */
|
|
3123
|
+
id: coreComponents["parameters"]["resourceId"];
|
|
3124
|
+
};
|
|
3125
|
+
};
|
|
3126
|
+
};
|
|
3127
|
+
"/journal-entries/{id}/records/{journalRecordId}": {
|
|
3128
|
+
/** Retrieves a journal record with a specified ID. */
|
|
3129
|
+
get: operations["GetJournalRecordBC"];
|
|
3130
|
+
/** Creates or updates (upsert) a journal record. */
|
|
3131
|
+
put: operations["PutJournalRecordBC"];
|
|
3132
|
+
/** Deletes a journal record. */
|
|
3133
|
+
delete: operations["DeleteJournalRecordBC"];
|
|
3134
|
+
parameters: {
|
|
3135
|
+
path: {
|
|
3136
|
+
/** ID of the resource. */
|
|
3137
|
+
id: coreComponents["parameters"]["resourceId"];
|
|
3138
|
+
/** ID of the journal record. */
|
|
3139
|
+
journalRecordId: coreComponents["parameters"]["journalRecordId"];
|
|
3140
|
+
};
|
|
3141
|
+
};
|
|
3142
|
+
};
|
|
3143
|
+
"/journal-entries/{id}/records/": {
|
|
3097
3144
|
/** Retrieves a list of journal records. */
|
|
3098
3145
|
get: operations["GetJournalRecordCollection"];
|
|
3099
3146
|
/** Creates a journal record. */
|
|
@@ -3105,7 +3152,7 @@ export interface corePaths {
|
|
|
3105
3152
|
};
|
|
3106
3153
|
};
|
|
3107
3154
|
};
|
|
3108
|
-
"/journal-entries/{id}/records/{journalRecordId}": {
|
|
3155
|
+
"/journal-entries/{id}/records/{journalRecordId}/": {
|
|
3109
3156
|
/** Retrieves a journal record with a specified ID. */
|
|
3110
3157
|
get: operations["GetJournalRecord"];
|
|
3111
3158
|
/** Creates or updates (upsert) a journal record. */
|
|
@@ -6919,22 +6966,22 @@ export interface coreComponents {
|
|
|
6919
6966
|
/** Table data. Each array element represents a table row. */
|
|
6920
6967
|
data?: {
|
|
6921
6968
|
attribute?: string;
|
|
6922
|
-
previousValue?: string;
|
|
6923
|
-
newValue?: string;
|
|
6969
|
+
previousValue?: { [key: string]: any };
|
|
6970
|
+
newValue?: { [key: string]: any };
|
|
6924
6971
|
}[];
|
|
6925
6972
|
};
|
|
6926
6973
|
TwoColumnsTimelineTable: coreComponents["schemas"]["TimelineTable"] & {
|
|
6927
6974
|
/** Table data. Each array element represents a table row. */
|
|
6928
6975
|
data?: {
|
|
6929
6976
|
attribute?: string;
|
|
6930
|
-
value?: string;
|
|
6977
|
+
value?: { [key: string]: any };
|
|
6931
6978
|
}[];
|
|
6932
6979
|
};
|
|
6933
6980
|
OneColumnTimelineTable: coreComponents["schemas"]["TimelineTable"] & {
|
|
6934
6981
|
/** Table data. Each array element represents a table row. */
|
|
6935
6982
|
data?: {
|
|
6936
6983
|
attribute?: string;
|
|
6937
|
-
value?: string;
|
|
6984
|
+
value?: { [key: string]: any };
|
|
6938
6985
|
}[];
|
|
6939
6986
|
};
|
|
6940
6987
|
ListTimelineTable: coreComponents["schemas"]["TimelineTable"] & {
|
|
@@ -7757,6 +7804,7 @@ export interface coreComponents {
|
|
|
7757
7804
|
| "PandaGateway"
|
|
7758
7805
|
| "Pay4Fun"
|
|
7759
7806
|
| "PayCash"
|
|
7807
|
+
| "Paycly"
|
|
7760
7808
|
| "PayClub"
|
|
7761
7809
|
| "PayCom"
|
|
7762
7810
|
| "PayEcards"
|
|
@@ -8979,6 +9027,10 @@ export interface coreComponents {
|
|
|
8979
9027
|
/** Type of link. */
|
|
8980
9028
|
rel?: "self" | "customer" | "invoice";
|
|
8981
9029
|
}[];
|
|
9030
|
+
/** Embedded objects that are requested by the `expand` query parameter. */
|
|
9031
|
+
_embedded?: {
|
|
9032
|
+
customer?: { [key: string]: any };
|
|
9033
|
+
};
|
|
8982
9034
|
};
|
|
8983
9035
|
/** Patch credit memo object. */
|
|
8984
9036
|
PatchCreditMemo: {
|
|
@@ -12942,9 +12994,17 @@ export interface coreComponents {
|
|
|
12942
12994
|
Usage: {
|
|
12943
12995
|
/** ID of the usage record. */
|
|
12944
12996
|
id?: string;
|
|
12945
|
-
/**
|
|
12997
|
+
/**
|
|
12998
|
+
* Subscription ID for which the usage is reported.
|
|
12999
|
+
*
|
|
13000
|
+
* > **Note:** Passing order ID in the `subscriptionId` field is deprecated and will be removed shortly. In the response, the order ID will be returned in this field until the deprecation is complete.
|
|
13001
|
+
*/
|
|
12946
13002
|
subscriptionId: string;
|
|
12947
|
-
/**
|
|
13003
|
+
/**
|
|
13004
|
+
* Leave this field blank and specify the subscription ID for which a usage is reported in the `subscriptionId` field.
|
|
13005
|
+
*
|
|
13006
|
+
* > **Note:** This field is deprecated and will be removed from this operation shortly. In the response, the plan ID will be returned in this field until the deprecation is complete.
|
|
13007
|
+
*/
|
|
12948
13008
|
planId: string;
|
|
12949
13009
|
/** ID of the invoice to which usage is applied. This value is populated when the invoice is issued. */
|
|
12950
13010
|
invoiceId?: string | null;
|
|
@@ -28797,6 +28857,14 @@ export interface operations {
|
|
|
28797
28857
|
offset?: coreComponents["parameters"]["collectionOffset"];
|
|
28798
28858
|
/** Use this field to perform a partial search of text fields. */
|
|
28799
28859
|
q?: coreComponents["parameters"]["collectionQuery"];
|
|
28860
|
+
/**
|
|
28861
|
+
* Expands a request to include embedded objects within the `_embedded`
|
|
28862
|
+
* property of the response. This field accepts a comma-separated list of objects.
|
|
28863
|
+
*
|
|
28864
|
+
* For more information, see
|
|
28865
|
+
* [Expand to include embedded objects](https://www.rebilly.com/docs/dev-docs/expand-embedded-resources).
|
|
28866
|
+
*/
|
|
28867
|
+
expand?: coreComponents["parameters"]["collectionExpand"];
|
|
28800
28868
|
};
|
|
28801
28869
|
};
|
|
28802
28870
|
responses: {
|
|
@@ -29275,6 +29343,161 @@ export interface operations {
|
|
|
29275
29343
|
};
|
|
29276
29344
|
};
|
|
29277
29345
|
/** Retrieves a list of journal records. */
|
|
29346
|
+
GetJournalRecordCollectionBC: {
|
|
29347
|
+
parameters: {
|
|
29348
|
+
path: {
|
|
29349
|
+
/** ID of the resource. */
|
|
29350
|
+
id: coreComponents["parameters"]["resourceId"];
|
|
29351
|
+
};
|
|
29352
|
+
query: {
|
|
29353
|
+
/** Limits the number of collection items to be returned. */
|
|
29354
|
+
limit?: coreComponents["parameters"]["collectionLimit"];
|
|
29355
|
+
/** Specifies the starting point within the collection of items to be returned. */
|
|
29356
|
+
offset?: coreComponents["parameters"]["collectionOffset"];
|
|
29357
|
+
/**
|
|
29358
|
+
* Filters the collection items. This field requires
|
|
29359
|
+
* a special format. Use `,` for multiple allowed values. Use `;` for multiple fields.
|
|
29360
|
+
*
|
|
29361
|
+
* For more information, see
|
|
29362
|
+
* [Using filter with collections](https://www.rebilly.com/docs/dev-docs/search-filters).
|
|
29363
|
+
*/
|
|
29364
|
+
filter?: coreComponents["parameters"]["collectionFilter"];
|
|
29365
|
+
/**
|
|
29366
|
+
* Sorts and orders the collection of items. To sort in descending
|
|
29367
|
+
* order, prefix with `-`. Multiple fields can be sorted by separating each with `,`.
|
|
29368
|
+
*/
|
|
29369
|
+
sort?: coreComponents["parameters"]["collectionSort"];
|
|
29370
|
+
/**
|
|
29371
|
+
* Expands a request to include embedded objects within the `_embedded`
|
|
29372
|
+
* property of the response. This field accepts a comma-separated list of objects.
|
|
29373
|
+
*
|
|
29374
|
+
* For more information, see
|
|
29375
|
+
* [Expand to include embedded objects](https://www.rebilly.com/docs/dev-docs/expand-embedded-resources).
|
|
29376
|
+
*/
|
|
29377
|
+
expand?: coreComponents["parameters"]["collectionExpand"];
|
|
29378
|
+
};
|
|
29379
|
+
};
|
|
29380
|
+
responses: {
|
|
29381
|
+
/** List of journal records retrieved. */
|
|
29382
|
+
200: {
|
|
29383
|
+
headers: {};
|
|
29384
|
+
content: {
|
|
29385
|
+
"application/json": coreComponents["schemas"]["JournalRecord"][];
|
|
29386
|
+
};
|
|
29387
|
+
};
|
|
29388
|
+
401: coreComponents["responses"]["Unauthorized"];
|
|
29389
|
+
403: coreComponents["responses"]["Forbidden"];
|
|
29390
|
+
};
|
|
29391
|
+
};
|
|
29392
|
+
/** Creates a journal record. */
|
|
29393
|
+
PostJournalRecordBC: {
|
|
29394
|
+
parameters: {
|
|
29395
|
+
path: {
|
|
29396
|
+
/** ID of the resource. */
|
|
29397
|
+
id: coreComponents["parameters"]["resourceId"];
|
|
29398
|
+
};
|
|
29399
|
+
};
|
|
29400
|
+
responses: {
|
|
29401
|
+
/** Journal record created. */
|
|
29402
|
+
201: {
|
|
29403
|
+
headers: {};
|
|
29404
|
+
content: {
|
|
29405
|
+
"application/json": coreComponents["schemas"]["JournalRecord"];
|
|
29406
|
+
};
|
|
29407
|
+
};
|
|
29408
|
+
401: coreComponents["responses"]["Unauthorized"];
|
|
29409
|
+
403: coreComponents["responses"]["Forbidden"];
|
|
29410
|
+
422: coreComponents["responses"]["ValidationError"];
|
|
29411
|
+
429: coreComponents["responses"]["TooManyRequests"];
|
|
29412
|
+
};
|
|
29413
|
+
/** Journal record resource. */
|
|
29414
|
+
requestBody: {
|
|
29415
|
+
content: {
|
|
29416
|
+
"application/json": coreComponents["schemas"]["JournalRecord"];
|
|
29417
|
+
};
|
|
29418
|
+
};
|
|
29419
|
+
};
|
|
29420
|
+
/** Retrieves a journal record with a specified ID. */
|
|
29421
|
+
GetJournalRecordBC: {
|
|
29422
|
+
parameters: {
|
|
29423
|
+
path: {
|
|
29424
|
+
/** ID of the resource. */
|
|
29425
|
+
id: coreComponents["parameters"]["resourceId"];
|
|
29426
|
+
/** ID of the journal record. */
|
|
29427
|
+
journalRecordId: coreComponents["parameters"]["journalRecordId"];
|
|
29428
|
+
};
|
|
29429
|
+
};
|
|
29430
|
+
responses: {
|
|
29431
|
+
/** Journal record retrieved. */
|
|
29432
|
+
200: {
|
|
29433
|
+
content: {
|
|
29434
|
+
"application/json": coreComponents["schemas"]["JournalRecord"];
|
|
29435
|
+
};
|
|
29436
|
+
};
|
|
29437
|
+
401: coreComponents["responses"]["Unauthorized"];
|
|
29438
|
+
403: coreComponents["responses"]["Forbidden"];
|
|
29439
|
+
404: coreComponents["responses"]["NotFound"];
|
|
29440
|
+
};
|
|
29441
|
+
};
|
|
29442
|
+
/** Creates or updates (upsert) a journal record. */
|
|
29443
|
+
PutJournalRecordBC: {
|
|
29444
|
+
parameters: {
|
|
29445
|
+
path: {
|
|
29446
|
+
/** ID of the resource. */
|
|
29447
|
+
id: coreComponents["parameters"]["resourceId"];
|
|
29448
|
+
/** ID of the journal record. */
|
|
29449
|
+
journalRecordId: coreComponents["parameters"]["journalRecordId"];
|
|
29450
|
+
};
|
|
29451
|
+
};
|
|
29452
|
+
responses: {
|
|
29453
|
+
/** Journal record updated. */
|
|
29454
|
+
200: {
|
|
29455
|
+
headers: {};
|
|
29456
|
+
content: {
|
|
29457
|
+
"application/json": coreComponents["schemas"]["JournalRecord"];
|
|
29458
|
+
};
|
|
29459
|
+
};
|
|
29460
|
+
/** Journal record created. */
|
|
29461
|
+
201: {
|
|
29462
|
+
headers: {};
|
|
29463
|
+
content: {
|
|
29464
|
+
"application/json": coreComponents["schemas"]["JournalRecord"];
|
|
29465
|
+
};
|
|
29466
|
+
};
|
|
29467
|
+
401: coreComponents["responses"]["Unauthorized"];
|
|
29468
|
+
403: coreComponents["responses"]["Forbidden"];
|
|
29469
|
+
404: coreComponents["responses"]["NotFound"];
|
|
29470
|
+
422: coreComponents["responses"]["ValidationError"];
|
|
29471
|
+
429: coreComponents["responses"]["TooManyRequests"];
|
|
29472
|
+
};
|
|
29473
|
+
/** Journal record resource. */
|
|
29474
|
+
requestBody: {
|
|
29475
|
+
content: {
|
|
29476
|
+
"application/json": coreComponents["schemas"]["JournalRecord"];
|
|
29477
|
+
};
|
|
29478
|
+
};
|
|
29479
|
+
};
|
|
29480
|
+
/** Deletes a journal record. */
|
|
29481
|
+
DeleteJournalRecordBC: {
|
|
29482
|
+
parameters: {
|
|
29483
|
+
path: {
|
|
29484
|
+
/** ID of the resource. */
|
|
29485
|
+
id: coreComponents["parameters"]["resourceId"];
|
|
29486
|
+
/** ID of the journal record. */
|
|
29487
|
+
journalRecordId: coreComponents["parameters"]["journalRecordId"];
|
|
29488
|
+
};
|
|
29489
|
+
};
|
|
29490
|
+
responses: {
|
|
29491
|
+
/** Journal record deleted. */
|
|
29492
|
+
204: never;
|
|
29493
|
+
401: coreComponents["responses"]["Unauthorized"];
|
|
29494
|
+
403: coreComponents["responses"]["Forbidden"];
|
|
29495
|
+
404: coreComponents["responses"]["NotFound"];
|
|
29496
|
+
422: coreComponents["responses"]["ValidationError"];
|
|
29497
|
+
429: coreComponents["responses"]["TooManyRequests"];
|
|
29498
|
+
};
|
|
29499
|
+
};
|
|
29500
|
+
/** Retrieves a list of journal records. */
|
|
29278
29501
|
GetJournalRecordCollection: {
|
|
29279
29502
|
parameters: {
|
|
29280
29503
|
path: {
|
|
@@ -40527,22 +40750,22 @@ export interface storefrontComponents {
|
|
|
40527
40750
|
/** Table data. Each array element represents a table row. */
|
|
40528
40751
|
data?: {
|
|
40529
40752
|
attribute?: string;
|
|
40530
|
-
previousValue?: string;
|
|
40531
|
-
newValue?: string;
|
|
40753
|
+
previousValue?: { [key: string]: any };
|
|
40754
|
+
newValue?: { [key: string]: any };
|
|
40532
40755
|
}[];
|
|
40533
40756
|
};
|
|
40534
40757
|
TwoColumnsTimelineTable: storefrontComponents["schemas"]["TimelineTable"] & {
|
|
40535
40758
|
/** Table data. Each array element represents a table row. */
|
|
40536
40759
|
data?: {
|
|
40537
40760
|
attribute?: string;
|
|
40538
|
-
value?: string;
|
|
40761
|
+
value?: { [key: string]: any };
|
|
40539
40762
|
}[];
|
|
40540
40763
|
};
|
|
40541
40764
|
OneColumnTimelineTable: storefrontComponents["schemas"]["TimelineTable"] & {
|
|
40542
40765
|
/** Table data. Each array element represents a table row. */
|
|
40543
40766
|
data?: {
|
|
40544
40767
|
attribute?: string;
|
|
40545
|
-
value?: string;
|
|
40768
|
+
value?: { [key: string]: any };
|
|
40546
40769
|
}[];
|
|
40547
40770
|
};
|
|
40548
40771
|
ListTimelineTable: storefrontComponents["schemas"]["TimelineTable"] & {
|
|
@@ -41365,6 +41588,7 @@ export interface storefrontComponents {
|
|
|
41365
41588
|
| "PandaGateway"
|
|
41366
41589
|
| "Pay4Fun"
|
|
41367
41590
|
| "PayCash"
|
|
41591
|
+
| "Paycly"
|
|
41368
41592
|
| "PayClub"
|
|
41369
41593
|
| "PayCom"
|
|
41370
41594
|
| "PayEcards"
|
|
@@ -42587,6 +42811,10 @@ export interface storefrontComponents {
|
|
|
42587
42811
|
/** Type of link. */
|
|
42588
42812
|
rel?: "self" | "customer" | "invoice";
|
|
42589
42813
|
}[];
|
|
42814
|
+
/** Embedded objects that are requested by the `expand` query parameter. */
|
|
42815
|
+
_embedded?: {
|
|
42816
|
+
customer?: { [key: string]: any };
|
|
42817
|
+
};
|
|
42590
42818
|
};
|
|
42591
42819
|
/** Patch credit memo object. */
|
|
42592
42820
|
PatchCreditMemo: {
|
|
@@ -46550,9 +46778,17 @@ export interface storefrontComponents {
|
|
|
46550
46778
|
Usage: {
|
|
46551
46779
|
/** ID of the usage record. */
|
|
46552
46780
|
id?: string;
|
|
46553
|
-
/**
|
|
46781
|
+
/**
|
|
46782
|
+
* Subscription ID for which the usage is reported.
|
|
46783
|
+
*
|
|
46784
|
+
* > **Note:** Passing order ID in the `subscriptionId` field is deprecated and will be removed shortly. In the response, the order ID will be returned in this field until the deprecation is complete.
|
|
46785
|
+
*/
|
|
46554
46786
|
subscriptionId: string;
|
|
46555
|
-
/**
|
|
46787
|
+
/**
|
|
46788
|
+
* Leave this field blank and specify the subscription ID for which a usage is reported in the `subscriptionId` field.
|
|
46789
|
+
*
|
|
46790
|
+
* > **Note:** This field is deprecated and will be removed from this operation shortly. In the response, the plan ID will be returned in this field until the deprecation is complete.
|
|
46791
|
+
*/
|
|
46556
46792
|
planId: string;
|
|
46557
46793
|
/** ID of the invoice to which usage is applied. This value is populated when the invoice is issued. */
|
|
46558
46794
|
invoiceId?: string | null;
|
|
@@ -63052,22 +63288,22 @@ export interface reportsComponents {
|
|
|
63052
63288
|
/** Table data. Each array element represents a table row. */
|
|
63053
63289
|
data?: {
|
|
63054
63290
|
attribute?: string;
|
|
63055
|
-
previousValue?: string;
|
|
63056
|
-
newValue?: string;
|
|
63291
|
+
previousValue?: { [key: string]: any };
|
|
63292
|
+
newValue?: { [key: string]: any };
|
|
63057
63293
|
}[];
|
|
63058
63294
|
};
|
|
63059
63295
|
TwoColumnsTimelineTable: reportsComponents["schemas"]["TimelineTable"] & {
|
|
63060
63296
|
/** Table data. Each array element represents a table row. */
|
|
63061
63297
|
data?: {
|
|
63062
63298
|
attribute?: string;
|
|
63063
|
-
value?: string;
|
|
63299
|
+
value?: { [key: string]: any };
|
|
63064
63300
|
}[];
|
|
63065
63301
|
};
|
|
63066
63302
|
OneColumnTimelineTable: reportsComponents["schemas"]["TimelineTable"] & {
|
|
63067
63303
|
/** Table data. Each array element represents a table row. */
|
|
63068
63304
|
data?: {
|
|
63069
63305
|
attribute?: string;
|
|
63070
|
-
value?: string;
|
|
63306
|
+
value?: { [key: string]: any };
|
|
63071
63307
|
}[];
|
|
63072
63308
|
};
|
|
63073
63309
|
ListTimelineTable: reportsComponents["schemas"]["TimelineTable"] & {
|
|
@@ -63890,6 +64126,7 @@ export interface reportsComponents {
|
|
|
63890
64126
|
| "PandaGateway"
|
|
63891
64127
|
| "Pay4Fun"
|
|
63892
64128
|
| "PayCash"
|
|
64129
|
+
| "Paycly"
|
|
63893
64130
|
| "PayClub"
|
|
63894
64131
|
| "PayCom"
|
|
63895
64132
|
| "PayEcards"
|
|
@@ -65112,6 +65349,10 @@ export interface reportsComponents {
|
|
|
65112
65349
|
/** Type of link. */
|
|
65113
65350
|
rel?: "self" | "customer" | "invoice";
|
|
65114
65351
|
}[];
|
|
65352
|
+
/** Embedded objects that are requested by the `expand` query parameter. */
|
|
65353
|
+
_embedded?: {
|
|
65354
|
+
customer?: { [key: string]: any };
|
|
65355
|
+
};
|
|
65115
65356
|
};
|
|
65116
65357
|
/** Patch credit memo object. */
|
|
65117
65358
|
PatchCreditMemo: {
|
|
@@ -69075,9 +69316,17 @@ export interface reportsComponents {
|
|
|
69075
69316
|
Usage: {
|
|
69076
69317
|
/** ID of the usage record. */
|
|
69077
69318
|
id?: string;
|
|
69078
|
-
/**
|
|
69319
|
+
/**
|
|
69320
|
+
* Subscription ID for which the usage is reported.
|
|
69321
|
+
*
|
|
69322
|
+
* > **Note:** Passing order ID in the `subscriptionId` field is deprecated and will be removed shortly. In the response, the order ID will be returned in this field until the deprecation is complete.
|
|
69323
|
+
*/
|
|
69079
69324
|
subscriptionId: string;
|
|
69080
|
-
/**
|
|
69325
|
+
/**
|
|
69326
|
+
* Leave this field blank and specify the subscription ID for which a usage is reported in the `subscriptionId` field.
|
|
69327
|
+
*
|
|
69328
|
+
* > **Note:** This field is deprecated and will be removed from this operation shortly. In the response, the plan ID will be returned in this field until the deprecation is complete.
|
|
69329
|
+
*/
|
|
69081
69330
|
planId: string;
|
|
69082
69331
|
/** ID of the invoice to which usage is applied. This value is populated when the invoice is issued. */
|
|
69083
69332
|
invoiceId?: string | null;
|
|
@@ -83765,7 +84014,7 @@ declare module "resources/credit-memos-resource" {
|
|
|
83765
84014
|
export default function CreditMemosResource({ apiHandler }: {
|
|
83766
84015
|
apiHandler: any;
|
|
83767
84016
|
}): {
|
|
83768
|
-
getAll({ filter, sort, limit, offset, q, }?: rebilly.GetCreditMemoCollectionRequest): rebilly.GetCreditMemoCollectionResponsePromise;
|
|
84017
|
+
getAll({ filter, sort, limit, offset, q, expand, }?: rebilly.GetCreditMemoCollectionRequest): rebilly.GetCreditMemoCollectionResponsePromise;
|
|
83769
84018
|
create({ id, data }: rebilly.CreateCreditMemoRequest): rebilly.PostCreditMemoResponsePromise;
|
|
83770
84019
|
get({ id }: {
|
|
83771
84020
|
id: any;
|
|
@@ -84492,6 +84741,31 @@ declare module "resources/journal-entries-resource" {
|
|
|
84492
84741
|
id: any;
|
|
84493
84742
|
data: any;
|
|
84494
84743
|
}): rebilly.PutJournalEntryResponsePromise;
|
|
84744
|
+
getAllRecordsBC({ id, limit, offset, filter, sort, expand, }: {
|
|
84745
|
+
id: any;
|
|
84746
|
+
limit?: any;
|
|
84747
|
+
offset?: any;
|
|
84748
|
+
filter?: any;
|
|
84749
|
+
sort?: any;
|
|
84750
|
+
expand?: any;
|
|
84751
|
+
}): rebilly.GetJournalRecordCollectionBCResponsePromise;
|
|
84752
|
+
createRecordBC({ id, data }: {
|
|
84753
|
+
id: any;
|
|
84754
|
+
data: any;
|
|
84755
|
+
}): any;
|
|
84756
|
+
getRecordBC({ id, journalRecordId }: {
|
|
84757
|
+
id: any;
|
|
84758
|
+
journalRecordId: any;
|
|
84759
|
+
}): rebilly.GetJournalRecordBCResponsePromise;
|
|
84760
|
+
updateRecordBC({ id, journalRecordId, data }: {
|
|
84761
|
+
id: any;
|
|
84762
|
+
journalRecordId: any;
|
|
84763
|
+
data: any;
|
|
84764
|
+
}): rebilly.PutJournalRecordBCResponsePromise;
|
|
84765
|
+
deleteRecordBC({ id, journalRecordId }: {
|
|
84766
|
+
id: any;
|
|
84767
|
+
journalRecordId: any;
|
|
84768
|
+
}): any;
|
|
84495
84769
|
getAllRecords({ id, limit, offset, filter, sort, expand, }: rebilly.GetJournalRecordCollectionRequest): rebilly.GetJournalRecordCollectionResponsePromise;
|
|
84496
84770
|
createRecord({ id, data }: {
|
|
84497
84771
|
id: any;
|
|
@@ -85536,7 +85810,7 @@ declare module "resources/api-instance" {
|
|
|
85536
85810
|
}): any;
|
|
85537
85811
|
};
|
|
85538
85812
|
creditMemos: {
|
|
85539
|
-
getAll({ filter, sort, limit, offset, q, }?: rebilly.GetCreditMemoCollectionRequest): rebilly.GetCreditMemoCollectionResponsePromise;
|
|
85813
|
+
getAll({ filter, sort, limit, offset, q, expand, }?: rebilly.GetCreditMemoCollectionRequest): rebilly.GetCreditMemoCollectionResponsePromise;
|
|
85540
85814
|
create({ id, data }: rebilly.CreateCreditMemoRequest): rebilly.PostCreditMemoResponsePromise;
|
|
85541
85815
|
get({ id }: {
|
|
85542
85816
|
id: any;
|
|
@@ -86175,6 +86449,31 @@ declare module "resources/api-instance" {
|
|
|
86175
86449
|
id: any;
|
|
86176
86450
|
data: any;
|
|
86177
86451
|
}): rebilly.PutJournalEntryResponsePromise;
|
|
86452
|
+
getAllRecordsBC({ id, limit, offset, filter, sort, expand, }: {
|
|
86453
|
+
id: any;
|
|
86454
|
+
limit?: any;
|
|
86455
|
+
offset?: any;
|
|
86456
|
+
filter?: any;
|
|
86457
|
+
sort?: any;
|
|
86458
|
+
expand?: any;
|
|
86459
|
+
}): rebilly.GetJournalRecordCollectionBCResponsePromise;
|
|
86460
|
+
createRecordBC({ id, data }: {
|
|
86461
|
+
id: any;
|
|
86462
|
+
data: any;
|
|
86463
|
+
}): any;
|
|
86464
|
+
getRecordBC({ id, journalRecordId }: {
|
|
86465
|
+
id: any;
|
|
86466
|
+
journalRecordId: any;
|
|
86467
|
+
}): rebilly.GetJournalRecordBCResponsePromise;
|
|
86468
|
+
updateRecordBC({ id, journalRecordId, data }: {
|
|
86469
|
+
id: any;
|
|
86470
|
+
journalRecordId: any;
|
|
86471
|
+
data: any;
|
|
86472
|
+
}): rebilly.PutJournalRecordBCResponsePromise;
|
|
86473
|
+
deleteRecordBC({ id, journalRecordId }: {
|
|
86474
|
+
id: any;
|
|
86475
|
+
journalRecordId: any;
|
|
86476
|
+
}): any;
|
|
86178
86477
|
getAllRecords({ id, limit, offset, filter, sort, expand, }: rebilly.GetJournalRecordCollectionRequest): rebilly.GetJournalRecordCollectionResponsePromise;
|
|
86179
86478
|
createRecord({ id, data }: {
|
|
86180
86479
|
id: any;
|