@hawk.so/types 0.1.22 → 0.1.24
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/build/src/base/businessOperation/businessOperation.d.ts +9 -1
- package/build/src/base/businessOperation/businessOperation.js +8 -0
- package/build/src/notifications/receiveTypes.d.ts +5 -1
- package/build/src/notifications/receiveTypes.js +4 -0
- package/package.json +1 -1
- package/src/base/businessOperation/businessOperation.ts +10 -2
- package/src/notifications/receiveTypes.ts +5 -0
|
@@ -27,7 +27,15 @@ export declare enum BusinessOperationType {
|
|
|
27
27
|
/**
|
|
28
28
|
* Workspace deposit balance by user
|
|
29
29
|
*/
|
|
30
|
-
DepositByUser = "DEPOSIT_BY_USER"
|
|
30
|
+
DepositByUser = "DEPOSIT_BY_USER",
|
|
31
|
+
/**
|
|
32
|
+
* Charge minimal amount of money to link a card for further recurrent payments
|
|
33
|
+
*/
|
|
34
|
+
CardLinkCharge = "CARD_LINK_CHARGE",
|
|
35
|
+
/**
|
|
36
|
+
* Refund the money that were charged to link a card
|
|
37
|
+
*/
|
|
38
|
+
CardLinkRefund = "CARD_LINK_REFUND"
|
|
31
39
|
}
|
|
32
40
|
/**
|
|
33
41
|
* Business operation payload type for `DepositByUser` operation type
|
|
@@ -32,4 +32,12 @@ var BusinessOperationType;
|
|
|
32
32
|
* Workspace deposit balance by user
|
|
33
33
|
*/
|
|
34
34
|
BusinessOperationType["DepositByUser"] = "DEPOSIT_BY_USER";
|
|
35
|
+
/**
|
|
36
|
+
* Charge minimal amount of money to link a card for further recurrent payments
|
|
37
|
+
*/
|
|
38
|
+
BusinessOperationType["CardLinkCharge"] = "CARD_LINK_CHARGE";
|
|
39
|
+
/**
|
|
40
|
+
* Refund the money that were charged to link a card
|
|
41
|
+
*/
|
|
42
|
+
BusinessOperationType["CardLinkRefund"] = "CARD_LINK_REFUND";
|
|
35
43
|
})(BusinessOperationType = exports.BusinessOperationType || (exports.BusinessOperationType = {}));
|
package/package.json
CHANGED
|
@@ -27,12 +27,20 @@ export enum BusinessOperationType {
|
|
|
27
27
|
/**
|
|
28
28
|
* Workspace plan purchase by payment worker
|
|
29
29
|
*/
|
|
30
|
-
WorkspacePlanPurchase='WORKSPACE_PLAN_PURCHASE',
|
|
30
|
+
WorkspacePlanPurchase = 'WORKSPACE_PLAN_PURCHASE',
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
33
|
* Workspace deposit balance by user
|
|
34
34
|
*/
|
|
35
|
-
DepositByUser='DEPOSIT_BY_USER'
|
|
35
|
+
DepositByUser = 'DEPOSIT_BY_USER',
|
|
36
|
+
/**
|
|
37
|
+
* Charge minimal amount of money to link a card for further recurrent payments
|
|
38
|
+
*/
|
|
39
|
+
CardLinkCharge = 'CARD_LINK_CHARGE',
|
|
40
|
+
/**
|
|
41
|
+
* Refund the money that were charged to link a card
|
|
42
|
+
*/
|
|
43
|
+
CardLinkRefund = 'CARD_LINK_REFUND',
|
|
36
44
|
}
|
|
37
45
|
|
|
38
46
|
/**
|