File size: 1,350 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
export const billingTransactionsSchema = {
type: 'object',
additionalProperties: false,
properties: {
past: {
type: 'array',
items: {
type: 'object',
properties: {
id: { type: 'string' },
service: { type: 'string' },
amount: { type: 'string' },
tax_amount: { type: 'string' },
icon: { type: 'string' },
date: { type: 'string' },
desc: { type: 'string' },
org: { type: 'string' },
url: { type: 'string' },
support: { type: 'string' },
pay_ref: { type: 'string' },
pay_part: { type: 'string' },
cc_type: { type: 'string' },
cc_display_type: { type: [ 'string', 'null' ] },
cc_num: { type: 'string' },
cc_name: { type: 'string' },
cc_email: { type: 'string' },
credit: { type: 'string' },
items: {
type: 'array',
items: {
type: 'object',
},
},
},
},
},
upcoming: {
type: 'array',
items: {
type: 'object',
properties: {
id: { type: 'string' },
blog_id: { type: 'string' },
plan: { type: 'string' },
amount: { type: 'string' },
tax_amount: { type: 'string' },
date: { type: 'string' },
product: { type: 'string' },
interval: { type: 'string' },
icon: { type: 'string' },
domain: { type: [ 'string', 'null' ] },
},
},
},
},
};
|