@pushwoosh/rpc-gateway-payment-data 0.2.194 → 0.2.195
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/data.js +36 -0
- package/package.json +1 -1
- package/pushwoosh_accounts_payment_processor.d.ts +12 -0
package/data.js
CHANGED
|
@@ -630,6 +630,9 @@ export const data = {
|
|
|
630
630
|
},
|
|
631
631
|
"dateTo": {
|
|
632
632
|
"type": "Date"
|
|
633
|
+
},
|
|
634
|
+
"includeAccountBreakdown": {
|
|
635
|
+
"type": "boolean"
|
|
633
636
|
}
|
|
634
637
|
}
|
|
635
638
|
},
|
|
@@ -653,12 +656,39 @@ export const data = {
|
|
|
653
656
|
}
|
|
654
657
|
}
|
|
655
658
|
},
|
|
659
|
+
"pushwoosh.accounts.payment_processor.RevenueStreamResponse.AccountRevenueStream": {
|
|
660
|
+
"type": "I",
|
|
661
|
+
"fields": {
|
|
662
|
+
"accountId": {
|
|
663
|
+
"type": "number"
|
|
664
|
+
},
|
|
665
|
+
"amountPaid": {
|
|
666
|
+
"type": "number"
|
|
667
|
+
},
|
|
668
|
+
"amountUnpaid": {
|
|
669
|
+
"type": "number"
|
|
670
|
+
},
|
|
671
|
+
"currency": {
|
|
672
|
+
"type": "string"
|
|
673
|
+
},
|
|
674
|
+
"dateFrom": {
|
|
675
|
+
"type": "Date"
|
|
676
|
+
},
|
|
677
|
+
"dateTo": {
|
|
678
|
+
"type": "Date"
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
},
|
|
656
682
|
"pushwoosh.accounts.payment_processor.RevenueStreamResponse": {
|
|
657
683
|
"type": "I",
|
|
658
684
|
"fields": {
|
|
659
685
|
"revenueStreams": {
|
|
660
686
|
"type": "pushwoosh.accounts.payment_processor.RevenueStreamResponse.RevenueStream",
|
|
661
687
|
"array": true
|
|
688
|
+
},
|
|
689
|
+
"accountRevenueStreams": {
|
|
690
|
+
"type": "pushwoosh.accounts.payment_processor.RevenueStreamResponse.AccountRevenueStream",
|
|
691
|
+
"array": true
|
|
662
692
|
}
|
|
663
693
|
}
|
|
664
694
|
},
|
|
@@ -1054,6 +1084,12 @@ export const data = {
|
|
|
1054
1084
|
},
|
|
1055
1085
|
"cvv": {
|
|
1056
1086
|
"type": "string"
|
|
1087
|
+
},
|
|
1088
|
+
"paymentMethodNonce": {
|
|
1089
|
+
"type": "string"
|
|
1090
|
+
},
|
|
1091
|
+
"threeDSecureAuthenticationId": {
|
|
1092
|
+
"type": "string"
|
|
1057
1093
|
}
|
|
1058
1094
|
}
|
|
1059
1095
|
},
|
package/package.json
CHANGED
|
@@ -175,6 +175,7 @@ export type CreateShopifySubscriptionResponse = {};
|
|
|
175
175
|
export type RevenueStreamRequest = {
|
|
176
176
|
dateFrom?: Date;
|
|
177
177
|
dateTo?: Date;
|
|
178
|
+
includeAccountBreakdown?: boolean;
|
|
178
179
|
};
|
|
179
180
|
export type RevenueStreamResponse_RevenueStream = {
|
|
180
181
|
amountPaid: number;
|
|
@@ -183,8 +184,17 @@ export type RevenueStreamResponse_RevenueStream = {
|
|
|
183
184
|
dateFrom: Date;
|
|
184
185
|
dateTo: Date;
|
|
185
186
|
};
|
|
187
|
+
export type RevenueStreamResponse_AccountRevenueStream = {
|
|
188
|
+
accountId: number;
|
|
189
|
+
amountPaid: number;
|
|
190
|
+
amountUnpaid: number;
|
|
191
|
+
currency: string;
|
|
192
|
+
dateFrom: Date;
|
|
193
|
+
dateTo: Date;
|
|
194
|
+
};
|
|
186
195
|
export type RevenueStreamResponse = {
|
|
187
196
|
revenueStreams: RevenueStreamResponse_RevenueStream[];
|
|
197
|
+
accountRevenueStreams: RevenueStreamResponse_AccountRevenueStream[];
|
|
188
198
|
};
|
|
189
199
|
export type GetMRRRequest = {
|
|
190
200
|
includeAccountBreakdown?: boolean;
|
|
@@ -303,6 +313,8 @@ export type SaveCardRequest = {
|
|
|
303
313
|
expirationMonth?: string;
|
|
304
314
|
expirationYear?: string;
|
|
305
315
|
cvv?: string;
|
|
316
|
+
paymentMethodNonce?: string;
|
|
317
|
+
threeDSecureAuthenticationId?: string;
|
|
306
318
|
};
|
|
307
319
|
export type SaveCardResponse = {
|
|
308
320
|
token: string;
|