@pax2pay/client 0.11.0 → 0.11.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/Client/Batch/index.ts
CHANGED
|
@@ -17,7 +17,7 @@ export class Batch extends List<model.Batch.Response> {
|
|
|
17
17
|
return await this.connection.get<model.Batch.Response>(`${this.folder}/${batchId}`)
|
|
18
18
|
}
|
|
19
19
|
async listByType(
|
|
20
|
-
type: model.Batch.Type,
|
|
20
|
+
type: model.Batch.Type[],
|
|
21
21
|
previous?: Paginated<model.Batch.Response>,
|
|
22
22
|
page?: number,
|
|
23
23
|
size?: number,
|
|
@@ -8,7 +8,7 @@ export declare class Batch extends List<model.Batch.Response> {
|
|
|
8
8
|
static create(connection: Connection): Batch;
|
|
9
9
|
create(type: model.Batch.Type, request: Blob): Promise<model.Batch.Response | model.ErrorResponse>;
|
|
10
10
|
get(batchId: string): Promise<model.Batch.Response | model.ErrorResponse>;
|
|
11
|
-
listByType(type: model.Batch.Type, previous?: Paginated<model.Batch.Response>, page?: number, size?: number, sort?: string): Promise<Paginated<model.Batch.Response> | model.ErrorResponse>;
|
|
11
|
+
listByType(type: model.Batch.Type[], previous?: Paginated<model.Batch.Response>, page?: number, size?: number, sort?: string): Promise<Paginated<model.Batch.Response> | model.ErrorResponse>;
|
|
12
12
|
run(batchId: string, otp?: string): Promise<model.Batch.Response | model.ErrorResponse>;
|
|
13
13
|
cancel(batchId: string): Promise<model.Batch.Response | model.ErrorResponse>;
|
|
14
14
|
listItems<I extends model.Batch.Item = model.Batch.Item>(batchId: string, previous?: Paginated<I>, page?: number, size?: number, sort?: string): Promise<Paginated<I> | model.ErrorResponse>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Batch/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAE9B,MAAM,OAAO,KAAM,SAAQ,IAA0B;IA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