rebilly-js-sdk 62.220.1 → 62.220.3
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 +60 -60
- package/dist/rebilly-js-sdk.d.mts +60 -60
- package/dist/rebilly-js-sdk.d.ts +60 -60
- package/dist/rebilly-js-sdk.es.mjs +69 -72
- package/dist/rebilly-js-sdk.umd.js +1 -1
- package/package.json +1 -1
- package/src/resources/files-resource.js +5 -8
package/CHANGELOG.md
CHANGED
|
@@ -6390,10 +6390,6 @@ export interface coreComponents {
|
|
|
6390
6390
|
/** Type of link. */
|
|
6391
6391
|
rel?: "self" | "file";
|
|
6392
6392
|
}[];
|
|
6393
|
-
/** Embedded objects that are requested by the `expand` query parameter. */
|
|
6394
|
-
_embedded?: {
|
|
6395
|
-
file?: { [key: string]: any };
|
|
6396
|
-
};
|
|
6397
6393
|
};
|
|
6398
6394
|
Conflict: { [key: string]: any } & {
|
|
6399
6395
|
/** HTTP status code. */
|
|
@@ -28638,14 +28634,6 @@ export interface coreComponents {
|
|
|
28638
28634
|
collectionQuery: string;
|
|
28639
28635
|
/** ID of the resource. */
|
|
28640
28636
|
resourceId: string;
|
|
28641
|
-
/**
|
|
28642
|
-
* Expands a request to include embedded objects within the `_embedded`
|
|
28643
|
-
* property of the response. This field accepts a comma-separated list of objects.
|
|
28644
|
-
*
|
|
28645
|
-
* For more information, see
|
|
28646
|
-
* [Embedded resources](https://www.rebilly.com/docs/dev-docs/expand-embedded-resources).
|
|
28647
|
-
*/
|
|
28648
|
-
collectionExpand: string;
|
|
28649
28637
|
/**
|
|
28650
28638
|
* Limits the returned fields to the specified list, each field separated by a comma.
|
|
28651
28639
|
* The ID value is always returned.
|
|
@@ -28663,6 +28651,14 @@ export interface coreComponents {
|
|
|
28663
28651
|
| "plans"
|
|
28664
28652
|
| "gateway-accounts"
|
|
28665
28653
|
| "deposit-requests";
|
|
28654
|
+
/**
|
|
28655
|
+
* Expands a request to include embedded objects within the `_embedded`
|
|
28656
|
+
* property of the response. This field accepts a comma-separated list of objects.
|
|
28657
|
+
*
|
|
28658
|
+
* For more information, see
|
|
28659
|
+
* [Embedded resources](https://www.rebilly.com/docs/dev-docs/expand-embedded-resources).
|
|
28660
|
+
*/
|
|
28661
|
+
collectionExpand: string;
|
|
28666
28662
|
/** Type of resource. */
|
|
28667
28663
|
externalIdentifierResource:
|
|
28668
28664
|
| "customers"
|
|
@@ -31284,14 +31280,6 @@ export interface operations {
|
|
|
31284
31280
|
filter?: coreComponents["parameters"]["collectionFilter"];
|
|
31285
31281
|
/** Use this field to perform a partial search of text fields. */
|
|
31286
31282
|
q?: coreComponents["parameters"]["collectionQuery"];
|
|
31287
|
-
/**
|
|
31288
|
-
* Expands a request to include embedded objects within the `_embedded`
|
|
31289
|
-
* property of the response. This field accepts a comma-separated list of objects.
|
|
31290
|
-
*
|
|
31291
|
-
* For more information, see
|
|
31292
|
-
* [Embedded resources](https://www.rebilly.com/docs/dev-docs/expand-embedded-resources).
|
|
31293
|
-
*/
|
|
31294
|
-
expand?: coreComponents["parameters"]["collectionExpand"];
|
|
31295
31283
|
/**
|
|
31296
31284
|
* Limits the returned fields to the specified list, each field separated by a comma.
|
|
31297
31285
|
* The ID value is always returned.
|
|
@@ -46329,10 +46317,6 @@ export interface storefrontComponents {
|
|
|
46329
46317
|
/** Type of link. */
|
|
46330
46318
|
rel?: "self" | "file";
|
|
46331
46319
|
}[];
|
|
46332
|
-
/** Embedded objects that are requested by the `expand` query parameter. */
|
|
46333
|
-
_embedded?: {
|
|
46334
|
-
file?: { [key: string]: any };
|
|
46335
|
-
};
|
|
46336
46320
|
};
|
|
46337
46321
|
Conflict: { [key: string]: any } & {
|
|
46338
46322
|
/** HTTP status code. */
|
|
@@ -68577,14 +68561,6 @@ export interface storefrontComponents {
|
|
|
68577
68561
|
collectionQuery: string;
|
|
68578
68562
|
/** ID of the resource. */
|
|
68579
68563
|
resourceId: string;
|
|
68580
|
-
/**
|
|
68581
|
-
* Expands a request to include embedded objects within the `_embedded`
|
|
68582
|
-
* property of the response. This field accepts a comma-separated list of objects.
|
|
68583
|
-
*
|
|
68584
|
-
* For more information, see
|
|
68585
|
-
* [Embedded resources](https://www.rebilly.com/docs/dev-docs/expand-embedded-resources).
|
|
68586
|
-
*/
|
|
68587
|
-
collectionExpand: string;
|
|
68588
68564
|
/**
|
|
68589
68565
|
* Limits the returned fields to the specified list, each field separated by a comma.
|
|
68590
68566
|
* The ID value is always returned.
|
|
@@ -68602,6 +68578,14 @@ export interface storefrontComponents {
|
|
|
68602
68578
|
| "plans"
|
|
68603
68579
|
| "gateway-accounts"
|
|
68604
68580
|
| "deposit-requests";
|
|
68581
|
+
/**
|
|
68582
|
+
* Expands a request to include embedded objects within the `_embedded`
|
|
68583
|
+
* property of the response. This field accepts a comma-separated list of objects.
|
|
68584
|
+
*
|
|
68585
|
+
* For more information, see
|
|
68586
|
+
* [Embedded resources](https://www.rebilly.com/docs/dev-docs/expand-embedded-resources).
|
|
68587
|
+
*/
|
|
68588
|
+
collectionExpand: string;
|
|
68605
68589
|
/** Type of resource. */
|
|
68606
68590
|
externalIdentifierResource:
|
|
68607
68591
|
| "customers"
|
|
@@ -72880,15 +72864,27 @@ export interface reportsPaths {
|
|
|
72880
72864
|
"/data-exports": {
|
|
72881
72865
|
/** Retrieves a list of data export requests. */
|
|
72882
72866
|
get: operations["GetDataExportCollection"];
|
|
72883
|
-
/**
|
|
72867
|
+
/**
|
|
72868
|
+
* Requests the export of a specific data resource.
|
|
72869
|
+
* Requires permission to retrieve the collection of the exported resource, such as `GetTransactionCollection` for transactions.
|
|
72870
|
+
* Invoice items require `GetInvoiceCollection`.
|
|
72871
|
+
*/
|
|
72884
72872
|
post: operations["PostDataExport"];
|
|
72885
72873
|
};
|
|
72886
72874
|
"/data-exports/{id}": {
|
|
72887
72875
|
/** Retrieves a data export request. */
|
|
72888
72876
|
get: operations["GetDataExport"];
|
|
72889
|
-
/**
|
|
72877
|
+
/**
|
|
72878
|
+
* Modifies a pending data export.
|
|
72879
|
+
* Requires permission to retrieve the collection of the exported resource, such as `GetTransactionCollection` for transactions.
|
|
72880
|
+
* Invoice items require `GetInvoiceCollection`.
|
|
72881
|
+
*/
|
|
72890
72882
|
put: operations["PutDataExport"];
|
|
72891
|
-
/**
|
|
72883
|
+
/**
|
|
72884
|
+
* Deletes a data export.
|
|
72885
|
+
* Requires permission to retrieve the collection of the exported resource, such as `GetTransactionCollection` for transactions.
|
|
72886
|
+
* Invoice items require `GetInvoiceCollection`.
|
|
72887
|
+
*/
|
|
72892
72888
|
delete: operations["DeleteDataExport"];
|
|
72893
72889
|
parameters: {
|
|
72894
72890
|
path: {
|
|
@@ -73576,10 +73572,6 @@ export interface reportsComponents {
|
|
|
73576
73572
|
/** Type of link. */
|
|
73577
73573
|
rel?: "self" | "file";
|
|
73578
73574
|
}[];
|
|
73579
|
-
/** Embedded objects that are requested by the `expand` query parameter. */
|
|
73580
|
-
_embedded?: {
|
|
73581
|
-
file?: { [key: string]: any };
|
|
73582
|
-
};
|
|
73583
73575
|
};
|
|
73584
73576
|
Conflict: { [key: string]: any } & {
|
|
73585
73577
|
/** HTTP status code. */
|
|
@@ -95824,14 +95816,6 @@ export interface reportsComponents {
|
|
|
95824
95816
|
collectionQuery: string;
|
|
95825
95817
|
/** ID of the resource. */
|
|
95826
95818
|
resourceId: string;
|
|
95827
|
-
/**
|
|
95828
|
-
* Expands a request to include embedded objects within the `_embedded`
|
|
95829
|
-
* property of the response. This field accepts a comma-separated list of objects.
|
|
95830
|
-
*
|
|
95831
|
-
* For more information, see
|
|
95832
|
-
* [Embedded resources](https://www.rebilly.com/docs/dev-docs/expand-embedded-resources).
|
|
95833
|
-
*/
|
|
95834
|
-
collectionExpand: string;
|
|
95835
95819
|
/**
|
|
95836
95820
|
* Limits the returned fields to the specified list, each field separated by a comma.
|
|
95837
95821
|
* The ID value is always returned.
|
|
@@ -95849,6 +95833,14 @@ export interface reportsComponents {
|
|
|
95849
95833
|
| "plans"
|
|
95850
95834
|
| "gateway-accounts"
|
|
95851
95835
|
| "deposit-requests";
|
|
95836
|
+
/**
|
|
95837
|
+
* Expands a request to include embedded objects within the `_embedded`
|
|
95838
|
+
* property of the response. This field accepts a comma-separated list of objects.
|
|
95839
|
+
*
|
|
95840
|
+
* For more information, see
|
|
95841
|
+
* [Embedded resources](https://www.rebilly.com/docs/dev-docs/expand-embedded-resources).
|
|
95842
|
+
*/
|
|
95843
|
+
collectionExpand: string;
|
|
95852
95844
|
/** Type of resource. */
|
|
95853
95845
|
externalIdentifierResource:
|
|
95854
95846
|
| "customers"
|
|
@@ -98317,7 +98309,11 @@ export interface operations {
|
|
|
98317
98309
|
404: reportsComponents["responses"]["NotFound"];
|
|
98318
98310
|
};
|
|
98319
98311
|
};
|
|
98320
|
-
/**
|
|
98312
|
+
/**
|
|
98313
|
+
* Requests the export of a specific data resource.
|
|
98314
|
+
* Requires permission to retrieve the collection of the exported resource, such as `GetTransactionCollection` for transactions.
|
|
98315
|
+
* Invoice items require `GetInvoiceCollection`.
|
|
98316
|
+
*/
|
|
98321
98317
|
PostDataExport: {
|
|
98322
98318
|
parameters: {
|
|
98323
98319
|
query: {
|
|
@@ -98377,7 +98373,11 @@ export interface operations {
|
|
|
98377
98373
|
404: reportsComponents["responses"]["NotFound"];
|
|
98378
98374
|
};
|
|
98379
98375
|
};
|
|
98380
|
-
/**
|
|
98376
|
+
/**
|
|
98377
|
+
* Modifies a pending data export.
|
|
98378
|
+
* Requires permission to retrieve the collection of the exported resource, such as `GetTransactionCollection` for transactions.
|
|
98379
|
+
* Invoice items require `GetInvoiceCollection`.
|
|
98380
|
+
*/
|
|
98381
98381
|
PutDataExport: {
|
|
98382
98382
|
parameters: {
|
|
98383
98383
|
path: {
|
|
@@ -98417,7 +98417,11 @@ export interface operations {
|
|
|
98417
98417
|
};
|
|
98418
98418
|
requestBody: reportsComponents["requestBodies"]["DataExport"];
|
|
98419
98419
|
};
|
|
98420
|
-
/**
|
|
98420
|
+
/**
|
|
98421
|
+
* Deletes a data export.
|
|
98422
|
+
* Requires permission to retrieve the collection of the exported resource, such as `GetTransactionCollection` for transactions.
|
|
98423
|
+
* Invoice items require `GetInvoiceCollection`.
|
|
98424
|
+
*/
|
|
98421
98425
|
DeleteDataExport: {
|
|
98422
98426
|
parameters: {
|
|
98423
98427
|
path: {
|
|
@@ -102781,19 +102785,17 @@ declare module "resources/files-resource" {
|
|
|
102781
102785
|
export default function FilesResource({ apiHandler }: {
|
|
102782
102786
|
apiHandler: any;
|
|
102783
102787
|
}): {
|
|
102784
|
-
getAllAttachments({ limit, offset, filter, q,
|
|
102785
|
-
attach({ id, data
|
|
102788
|
+
getAllAttachments({ limit, offset, filter, q, fields, sort, }?: rebilly.GetAttachmentCollectionRequest): rebilly.GetAttachmentCollectionResponsePromise;
|
|
102789
|
+
attach({ id, data }: {
|
|
102786
102790
|
id?: string;
|
|
102787
102791
|
data: any;
|
|
102788
|
-
expand?: any;
|
|
102789
102792
|
}): rebilly.PostAttachmentResponsePromise;
|
|
102790
102793
|
getAttachment({ id }: {
|
|
102791
102794
|
id: any;
|
|
102792
102795
|
}): rebilly.GetAttachmentResponsePromise;
|
|
102793
|
-
updateAttachment({ id, data
|
|
102796
|
+
updateAttachment({ id, data }: {
|
|
102794
102797
|
id: any;
|
|
102795
102798
|
data: any;
|
|
102796
|
-
expand?: any;
|
|
102797
102799
|
}): rebilly.PutAttachmentResponsePromise;
|
|
102798
102800
|
detach({ id }: {
|
|
102799
102801
|
id: any;
|
|
@@ -104672,19 +104674,17 @@ declare module "resources/api-instance" {
|
|
|
104672
104674
|
}): any;
|
|
104673
104675
|
};
|
|
104674
104676
|
files: {
|
|
104675
|
-
getAllAttachments({ limit, offset, filter, q,
|
|
104676
|
-
attach({ id, data
|
|
104677
|
+
getAllAttachments({ limit, offset, filter, q, fields, sort, }?: rebilly.GetAttachmentCollectionRequest): rebilly.GetAttachmentCollectionResponsePromise;
|
|
104678
|
+
attach({ id, data }: {
|
|
104677
104679
|
id?: string;
|
|
104678
104680
|
data: any;
|
|
104679
|
-
expand?: any;
|
|
104680
104681
|
}): rebilly.PostAttachmentResponsePromise;
|
|
104681
104682
|
getAttachment({ id }: {
|
|
104682
104683
|
id: any;
|
|
104683
104684
|
}): rebilly.GetAttachmentResponsePromise;
|
|
104684
|
-
updateAttachment({ id, data
|
|
104685
|
+
updateAttachment({ id, data }: {
|
|
104685
104686
|
id: any;
|
|
104686
104687
|
data: any;
|
|
104687
|
-
expand?: any;
|
|
104688
104688
|
}): rebilly.PutAttachmentResponsePromise;
|
|
104689
104689
|
detach({ id }: {
|
|
104690
104690
|
id: any;
|
|
@@ -6390,10 +6390,6 @@ export interface coreComponents {
|
|
|
6390
6390
|
/** Type of link. */
|
|
6391
6391
|
rel?: "self" | "file";
|
|
6392
6392
|
}[];
|
|
6393
|
-
/** Embedded objects that are requested by the `expand` query parameter. */
|
|
6394
|
-
_embedded?: {
|
|
6395
|
-
file?: { [key: string]: any };
|
|
6396
|
-
};
|
|
6397
6393
|
};
|
|
6398
6394
|
Conflict: { [key: string]: any } & {
|
|
6399
6395
|
/** HTTP status code. */
|
|
@@ -28638,14 +28634,6 @@ export interface coreComponents {
|
|
|
28638
28634
|
collectionQuery: string;
|
|
28639
28635
|
/** ID of the resource. */
|
|
28640
28636
|
resourceId: string;
|
|
28641
|
-
/**
|
|
28642
|
-
* Expands a request to include embedded objects within the `_embedded`
|
|
28643
|
-
* property of the response. This field accepts a comma-separated list of objects.
|
|
28644
|
-
*
|
|
28645
|
-
* For more information, see
|
|
28646
|
-
* [Embedded resources](https://www.rebilly.com/docs/dev-docs/expand-embedded-resources).
|
|
28647
|
-
*/
|
|
28648
|
-
collectionExpand: string;
|
|
28649
28637
|
/**
|
|
28650
28638
|
* Limits the returned fields to the specified list, each field separated by a comma.
|
|
28651
28639
|
* The ID value is always returned.
|
|
@@ -28663,6 +28651,14 @@ export interface coreComponents {
|
|
|
28663
28651
|
| "plans"
|
|
28664
28652
|
| "gateway-accounts"
|
|
28665
28653
|
| "deposit-requests";
|
|
28654
|
+
/**
|
|
28655
|
+
* Expands a request to include embedded objects within the `_embedded`
|
|
28656
|
+
* property of the response. This field accepts a comma-separated list of objects.
|
|
28657
|
+
*
|
|
28658
|
+
* For more information, see
|
|
28659
|
+
* [Embedded resources](https://www.rebilly.com/docs/dev-docs/expand-embedded-resources).
|
|
28660
|
+
*/
|
|
28661
|
+
collectionExpand: string;
|
|
28666
28662
|
/** Type of resource. */
|
|
28667
28663
|
externalIdentifierResource:
|
|
28668
28664
|
| "customers"
|
|
@@ -31284,14 +31280,6 @@ export interface operations {
|
|
|
31284
31280
|
filter?: coreComponents["parameters"]["collectionFilter"];
|
|
31285
31281
|
/** Use this field to perform a partial search of text fields. */
|
|
31286
31282
|
q?: coreComponents["parameters"]["collectionQuery"];
|
|
31287
|
-
/**
|
|
31288
|
-
* Expands a request to include embedded objects within the `_embedded`
|
|
31289
|
-
* property of the response. This field accepts a comma-separated list of objects.
|
|
31290
|
-
*
|
|
31291
|
-
* For more information, see
|
|
31292
|
-
* [Embedded resources](https://www.rebilly.com/docs/dev-docs/expand-embedded-resources).
|
|
31293
|
-
*/
|
|
31294
|
-
expand?: coreComponents["parameters"]["collectionExpand"];
|
|
31295
31283
|
/**
|
|
31296
31284
|
* Limits the returned fields to the specified list, each field separated by a comma.
|
|
31297
31285
|
* The ID value is always returned.
|
|
@@ -46329,10 +46317,6 @@ export interface storefrontComponents {
|
|
|
46329
46317
|
/** Type of link. */
|
|
46330
46318
|
rel?: "self" | "file";
|
|
46331
46319
|
}[];
|
|
46332
|
-
/** Embedded objects that are requested by the `expand` query parameter. */
|
|
46333
|
-
_embedded?: {
|
|
46334
|
-
file?: { [key: string]: any };
|
|
46335
|
-
};
|
|
46336
46320
|
};
|
|
46337
46321
|
Conflict: { [key: string]: any } & {
|
|
46338
46322
|
/** HTTP status code. */
|
|
@@ -68577,14 +68561,6 @@ export interface storefrontComponents {
|
|
|
68577
68561
|
collectionQuery: string;
|
|
68578
68562
|
/** ID of the resource. */
|
|
68579
68563
|
resourceId: string;
|
|
68580
|
-
/**
|
|
68581
|
-
* Expands a request to include embedded objects within the `_embedded`
|
|
68582
|
-
* property of the response. This field accepts a comma-separated list of objects.
|
|
68583
|
-
*
|
|
68584
|
-
* For more information, see
|
|
68585
|
-
* [Embedded resources](https://www.rebilly.com/docs/dev-docs/expand-embedded-resources).
|
|
68586
|
-
*/
|
|
68587
|
-
collectionExpand: string;
|
|
68588
68564
|
/**
|
|
68589
68565
|
* Limits the returned fields to the specified list, each field separated by a comma.
|
|
68590
68566
|
* The ID value is always returned.
|
|
@@ -68602,6 +68578,14 @@ export interface storefrontComponents {
|
|
|
68602
68578
|
| "plans"
|
|
68603
68579
|
| "gateway-accounts"
|
|
68604
68580
|
| "deposit-requests";
|
|
68581
|
+
/**
|
|
68582
|
+
* Expands a request to include embedded objects within the `_embedded`
|
|
68583
|
+
* property of the response. This field accepts a comma-separated list of objects.
|
|
68584
|
+
*
|
|
68585
|
+
* For more information, see
|
|
68586
|
+
* [Embedded resources](https://www.rebilly.com/docs/dev-docs/expand-embedded-resources).
|
|
68587
|
+
*/
|
|
68588
|
+
collectionExpand: string;
|
|
68605
68589
|
/** Type of resource. */
|
|
68606
68590
|
externalIdentifierResource:
|
|
68607
68591
|
| "customers"
|
|
@@ -72880,15 +72864,27 @@ export interface reportsPaths {
|
|
|
72880
72864
|
"/data-exports": {
|
|
72881
72865
|
/** Retrieves a list of data export requests. */
|
|
72882
72866
|
get: operations["GetDataExportCollection"];
|
|
72883
|
-
/**
|
|
72867
|
+
/**
|
|
72868
|
+
* Requests the export of a specific data resource.
|
|
72869
|
+
* Requires permission to retrieve the collection of the exported resource, such as `GetTransactionCollection` for transactions.
|
|
72870
|
+
* Invoice items require `GetInvoiceCollection`.
|
|
72871
|
+
*/
|
|
72884
72872
|
post: operations["PostDataExport"];
|
|
72885
72873
|
};
|
|
72886
72874
|
"/data-exports/{id}": {
|
|
72887
72875
|
/** Retrieves a data export request. */
|
|
72888
72876
|
get: operations["GetDataExport"];
|
|
72889
|
-
/**
|
|
72877
|
+
/**
|
|
72878
|
+
* Modifies a pending data export.
|
|
72879
|
+
* Requires permission to retrieve the collection of the exported resource, such as `GetTransactionCollection` for transactions.
|
|
72880
|
+
* Invoice items require `GetInvoiceCollection`.
|
|
72881
|
+
*/
|
|
72890
72882
|
put: operations["PutDataExport"];
|
|
72891
|
-
/**
|
|
72883
|
+
/**
|
|
72884
|
+
* Deletes a data export.
|
|
72885
|
+
* Requires permission to retrieve the collection of the exported resource, such as `GetTransactionCollection` for transactions.
|
|
72886
|
+
* Invoice items require `GetInvoiceCollection`.
|
|
72887
|
+
*/
|
|
72892
72888
|
delete: operations["DeleteDataExport"];
|
|
72893
72889
|
parameters: {
|
|
72894
72890
|
path: {
|
|
@@ -73576,10 +73572,6 @@ export interface reportsComponents {
|
|
|
73576
73572
|
/** Type of link. */
|
|
73577
73573
|
rel?: "self" | "file";
|
|
73578
73574
|
}[];
|
|
73579
|
-
/** Embedded objects that are requested by the `expand` query parameter. */
|
|
73580
|
-
_embedded?: {
|
|
73581
|
-
file?: { [key: string]: any };
|
|
73582
|
-
};
|
|
73583
73575
|
};
|
|
73584
73576
|
Conflict: { [key: string]: any } & {
|
|
73585
73577
|
/** HTTP status code. */
|
|
@@ -95824,14 +95816,6 @@ export interface reportsComponents {
|
|
|
95824
95816
|
collectionQuery: string;
|
|
95825
95817
|
/** ID of the resource. */
|
|
95826
95818
|
resourceId: string;
|
|
95827
|
-
/**
|
|
95828
|
-
* Expands a request to include embedded objects within the `_embedded`
|
|
95829
|
-
* property of the response. This field accepts a comma-separated list of objects.
|
|
95830
|
-
*
|
|
95831
|
-
* For more information, see
|
|
95832
|
-
* [Embedded resources](https://www.rebilly.com/docs/dev-docs/expand-embedded-resources).
|
|
95833
|
-
*/
|
|
95834
|
-
collectionExpand: string;
|
|
95835
95819
|
/**
|
|
95836
95820
|
* Limits the returned fields to the specified list, each field separated by a comma.
|
|
95837
95821
|
* The ID value is always returned.
|
|
@@ -95849,6 +95833,14 @@ export interface reportsComponents {
|
|
|
95849
95833
|
| "plans"
|
|
95850
95834
|
| "gateway-accounts"
|
|
95851
95835
|
| "deposit-requests";
|
|
95836
|
+
/**
|
|
95837
|
+
* Expands a request to include embedded objects within the `_embedded`
|
|
95838
|
+
* property of the response. This field accepts a comma-separated list of objects.
|
|
95839
|
+
*
|
|
95840
|
+
* For more information, see
|
|
95841
|
+
* [Embedded resources](https://www.rebilly.com/docs/dev-docs/expand-embedded-resources).
|
|
95842
|
+
*/
|
|
95843
|
+
collectionExpand: string;
|
|
95852
95844
|
/** Type of resource. */
|
|
95853
95845
|
externalIdentifierResource:
|
|
95854
95846
|
| "customers"
|
|
@@ -98317,7 +98309,11 @@ export interface operations {
|
|
|
98317
98309
|
404: reportsComponents["responses"]["NotFound"];
|
|
98318
98310
|
};
|
|
98319
98311
|
};
|
|
98320
|
-
/**
|
|
98312
|
+
/**
|
|
98313
|
+
* Requests the export of a specific data resource.
|
|
98314
|
+
* Requires permission to retrieve the collection of the exported resource, such as `GetTransactionCollection` for transactions.
|
|
98315
|
+
* Invoice items require `GetInvoiceCollection`.
|
|
98316
|
+
*/
|
|
98321
98317
|
PostDataExport: {
|
|
98322
98318
|
parameters: {
|
|
98323
98319
|
query: {
|
|
@@ -98377,7 +98373,11 @@ export interface operations {
|
|
|
98377
98373
|
404: reportsComponents["responses"]["NotFound"];
|
|
98378
98374
|
};
|
|
98379
98375
|
};
|
|
98380
|
-
/**
|
|
98376
|
+
/**
|
|
98377
|
+
* Modifies a pending data export.
|
|
98378
|
+
* Requires permission to retrieve the collection of the exported resource, such as `GetTransactionCollection` for transactions.
|
|
98379
|
+
* Invoice items require `GetInvoiceCollection`.
|
|
98380
|
+
*/
|
|
98381
98381
|
PutDataExport: {
|
|
98382
98382
|
parameters: {
|
|
98383
98383
|
path: {
|
|
@@ -98417,7 +98417,11 @@ export interface operations {
|
|
|
98417
98417
|
};
|
|
98418
98418
|
requestBody: reportsComponents["requestBodies"]["DataExport"];
|
|
98419
98419
|
};
|
|
98420
|
-
/**
|
|
98420
|
+
/**
|
|
98421
|
+
* Deletes a data export.
|
|
98422
|
+
* Requires permission to retrieve the collection of the exported resource, such as `GetTransactionCollection` for transactions.
|
|
98423
|
+
* Invoice items require `GetInvoiceCollection`.
|
|
98424
|
+
*/
|
|
98421
98425
|
DeleteDataExport: {
|
|
98422
98426
|
parameters: {
|
|
98423
98427
|
path: {
|
|
@@ -102781,19 +102785,17 @@ declare module "resources/files-resource" {
|
|
|
102781
102785
|
export default function FilesResource({ apiHandler }: {
|
|
102782
102786
|
apiHandler: any;
|
|
102783
102787
|
}): {
|
|
102784
|
-
getAllAttachments({ limit, offset, filter, q,
|
|
102785
|
-
attach({ id, data
|
|
102788
|
+
getAllAttachments({ limit, offset, filter, q, fields, sort, }?: rebilly.GetAttachmentCollectionRequest): rebilly.GetAttachmentCollectionResponsePromise;
|
|
102789
|
+
attach({ id, data }: {
|
|
102786
102790
|
id?: string;
|
|
102787
102791
|
data: any;
|
|
102788
|
-
expand?: any;
|
|
102789
102792
|
}): rebilly.PostAttachmentResponsePromise;
|
|
102790
102793
|
getAttachment({ id }: {
|
|
102791
102794
|
id: any;
|
|
102792
102795
|
}): rebilly.GetAttachmentResponsePromise;
|
|
102793
|
-
updateAttachment({ id, data
|
|
102796
|
+
updateAttachment({ id, data }: {
|
|
102794
102797
|
id: any;
|
|
102795
102798
|
data: any;
|
|
102796
|
-
expand?: any;
|
|
102797
102799
|
}): rebilly.PutAttachmentResponsePromise;
|
|
102798
102800
|
detach({ id }: {
|
|
102799
102801
|
id: any;
|
|
@@ -104672,19 +104674,17 @@ declare module "resources/api-instance" {
|
|
|
104672
104674
|
}): any;
|
|
104673
104675
|
};
|
|
104674
104676
|
files: {
|
|
104675
|
-
getAllAttachments({ limit, offset, filter, q,
|
|
104676
|
-
attach({ id, data
|
|
104677
|
+
getAllAttachments({ limit, offset, filter, q, fields, sort, }?: rebilly.GetAttachmentCollectionRequest): rebilly.GetAttachmentCollectionResponsePromise;
|
|
104678
|
+
attach({ id, data }: {
|
|
104677
104679
|
id?: string;
|
|
104678
104680
|
data: any;
|
|
104679
|
-
expand?: any;
|
|
104680
104681
|
}): rebilly.PostAttachmentResponsePromise;
|
|
104681
104682
|
getAttachment({ id }: {
|
|
104682
104683
|
id: any;
|
|
104683
104684
|
}): rebilly.GetAttachmentResponsePromise;
|
|
104684
|
-
updateAttachment({ id, data
|
|
104685
|
+
updateAttachment({ id, data }: {
|
|
104685
104686
|
id: any;
|
|
104686
104687
|
data: any;
|
|
104687
|
-
expand?: any;
|
|
104688
104688
|
}): rebilly.PutAttachmentResponsePromise;
|
|
104689
104689
|
detach({ id }: {
|
|
104690
104690
|
id: any;
|