@cloudcommerce/app-pagaleve 2.21.2 → 2.21.4
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AppModuleBody, CreateTransactionResponse } from '@cloudcommerce/types';
|
|
2
|
-
declare const pagaleveCreateTransaction: (body: AppModuleBody<
|
|
2
|
+
declare const pagaleveCreateTransaction: (body: AppModuleBody<"create_transaction">) => Promise<CreateTransactionResponse | {
|
|
3
3
|
status: number;
|
|
4
4
|
error: string;
|
|
5
5
|
message: any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AppModuleBody, ListPaymentsResponse } from '@cloudcommerce/types';
|
|
2
|
-
declare const pagaleveListPayments: (body: AppModuleBody<
|
|
2
|
+
declare const pagaleveListPayments: (body: AppModuleBody<"list_payments">) => ListPaymentsResponse | {
|
|
3
3
|
status: number;
|
|
4
4
|
error: string;
|
|
5
5
|
message: string;
|
package/lib/pagaleve.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import '@cloudcommerce/firebase/lib/init';
|
|
2
2
|
import type { AppModuleBody } from '@cloudcommerce/types';
|
|
3
|
-
export declare const listPayments: (modBody: AppModuleBody<
|
|
3
|
+
export declare const listPayments: (modBody: AppModuleBody<"list_payments">) => Promise<import("@cloudcommerce/types").ListPaymentsResponse | {
|
|
4
4
|
status: number;
|
|
5
5
|
error: string;
|
|
6
6
|
message: string;
|
|
7
7
|
}>;
|
|
8
|
-
export declare const createTransaction: (modBody: AppModuleBody<
|
|
8
|
+
export declare const createTransaction: (modBody: AppModuleBody<"create_transaction">) => Promise<import("@cloudcommerce/types").CreateTransactionResponse | {
|
|
9
9
|
status: number;
|
|
10
10
|
error: string;
|
|
11
11
|
message: any;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/app-pagaleve",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.21.
|
|
4
|
+
"version": "2.21.4",
|
|
5
5
|
"description": "e-com.plus Cloud Commerce app to integrate Pagaleve",
|
|
6
6
|
"main": "lib/pagaleve.js",
|
|
7
7
|
"exports": {
|
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@ecomplus/utils": "1.5.0-rc.6",
|
|
31
31
|
"axios": "^1.7.2",
|
|
32
|
-
"firebase-admin": "^12.
|
|
32
|
+
"firebase-admin": "^12.2.0",
|
|
33
33
|
"firebase-functions": "^5.0.1",
|
|
34
|
-
"@cloudcommerce/api": "2.21.
|
|
35
|
-
"@cloudcommerce/firebase": "2.21.
|
|
34
|
+
"@cloudcommerce/api": "2.21.4",
|
|
35
|
+
"@cloudcommerce/firebase": "2.21.4"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@cloudcommerce/types": "2.21.
|
|
38
|
+
"@cloudcommerce/types": "2.21.4"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
41
|
"build": "bash ../../../scripts/build-lib.sh"
|