cityworks 2.2.0 → 2.2.2
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/dist/case_financial.d.ts +24 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.m.js +1 -1
- package/dist/index.m.js.map +1 -1
- package/dist/index.modern.mjs +1 -1
- package/dist/index.modern.mjs.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +4 -3
package/dist/case_financial.d.ts
CHANGED
|
@@ -30,8 +30,8 @@ export declare class CaseFinancial {
|
|
|
30
30
|
* Make a Payment. Adds a payment to the case fee(s) specified.
|
|
31
31
|
*
|
|
32
32
|
* @category Case Payments
|
|
33
|
-
* @param {Array<Array<string>>} payments -
|
|
34
|
-
* @param {Array<number>} caseFees -
|
|
33
|
+
* @param {Array<Array<string>>} payments - A collection of Payments to add: [Payment Tender Type, Amount, Comment, Date Received, Reference String] (All as strings)
|
|
34
|
+
* @param {Array<number>} caseFees - The Ca Fee IDs to which to apply the payment.
|
|
35
35
|
* @param {stringName:string,AddressLine1?:string,AddressLine2?:string,AddressLine3?:string,CityName?:string,CommentText?:string,Email?:string,FaxNumber?:string,PhoneHome?:string,PhoneMobile?:string,PhoneWork?:string,PhoneWorkExt?:string,StateCode?:string,WebSiteUrl?:string,ZipCode?:string,CountryCode?:string} payerInfo - Payer info for the payment being made.
|
|
36
36
|
* @return {Object} Returns Promise that represents an object describing the newly-added payment.
|
|
37
37
|
*/
|
|
@@ -155,6 +155,28 @@ export declare class CaseFinancial {
|
|
|
155
155
|
* @return {Object} Returns Promise that represents a collection of Case Payments.
|
|
156
156
|
*/
|
|
157
157
|
getPayments(caObjectId: number): Promise<unknown>;
|
|
158
|
+
/**
|
|
159
|
+
* Get Receipts by Case ObjectId
|
|
160
|
+
*
|
|
161
|
+
* @category Case Payments
|
|
162
|
+
* @param {number} caObjectId - The Case Object ID for the case to get the payment receipts for
|
|
163
|
+
* @return {Object} Returns Promise that represents a collection of Case Receipts.
|
|
164
|
+
*/
|
|
165
|
+
getReceipts(caObjectId: number): Promise<unknown>;
|
|
166
|
+
/**
|
|
167
|
+
* @hidden
|
|
168
|
+
*/
|
|
169
|
+
static downloadUrls(): {
|
|
170
|
+
receipt: string;
|
|
171
|
+
};
|
|
172
|
+
/**
|
|
173
|
+
* Download a Receipt by Receipt Id or Receipt Name.
|
|
174
|
+
*
|
|
175
|
+
* @category Case Payments
|
|
176
|
+
* @param {string | number} receipt - The Receipt Name or Receipt ID for the receipt to download
|
|
177
|
+
* @return {Object} Returns Promise that represents the downloaded Receipt PDF and Filename.
|
|
178
|
+
*/
|
|
179
|
+
downloadReceipt(receipt: string | number): Promise<unknown>;
|
|
158
180
|
/**
|
|
159
181
|
* Gets the instruments from the case specified by the CaObectId.
|
|
160
182
|
*
|