-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
94 lines (93 loc) · 3.81 KB
/
index.js
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
module.exports = {
ad: {
create: require('./api/ad/create')
},
adCampaign: {
activate: require('./api/adCampaign/activate'),
create: require('./api/adCampaign/create'),
getAll: require('./api/adCampaign/get-all'),
get: require('./api/adCampaign/get'),
update: require('./api/adCampaign/update')
},
advertiser: {
get: require('./api/advertiser/get'),
login: require('./api/advertiser/login'),
logout: require('./api/advertiser/logout'),
register: require('./api/advertiser/register'),
updateBilling: require('./api/advertiser/updateBilling'),
verify: require('./api/advertiser/verify')
},
maintainer: {
updateUsername: require('./api/maintainer/update-username'),
updatePayout: require('./api/maintainer/updatePayout'),
ownedPackages: require('./api/maintainer/owned-packages'),
updateIlpPointer: require('./api/maintainer/update-ilp-pointer'),
pendingPayout: require('./api/maintainer/get-pending-payout')
},
package: {
searchByName: require('./api/package/search-by-name'),
updateMaintainerRevenueShares: require('./api/package/update-maintainer-revenue-shares'),
get: require('./api/package/get'),
getSupportingCompanies: require('./api/package/get-supporting-companies'),
update: require('./api/package/update'),
npm: {
deleteOwnership: require('./api/package/npm/delete-ownership'),
refreshOwnership: require('./api/package/npm/refresh-ownership'),
ownership: require('./api/package/npm/ownership')
},
rubygems: {
deleteOwnership: require('./api/package/npm/delete-ownership'),
refreshOwnership: require('./api/package/npm/refresh-ownership'),
ownership: require('./api/package/rubygems/ownership')
}
},
session: {
start: require('./api/session/start'),
complete: require('./api/session/complete')
},
subscribe: {
betaSubscribe: require('./api/subscribe/betaSubscribe'),
betaUnsubscribe: require('./api/subscribe/betaUnsubscribe')
},
url: {
create: require('./api/url/create')
},
user: {
completeLogin: require('./api/user/complete-login'),
requestLogin: require('./api/user/request-login'),
logout: require('./api/user/logout'),
register: require('./api/user/register'),
newInstall: require('./api/user/new-install'),
completeInstall: require('./api/user/complete-install'),
updateBilling: require('./api/user/update-billing'),
verifyRegistration: require('./api/user/verify-registration'),
createDonation: require('./api/user/create-donation'),
updateDonation: require('./api/user/update-donation'),
deleteDonation: require('./api/user/delete-donation'),
getInstalledPackages: require('./api/user/get-installed-packages'),
getDonationInfo: require('./api/user/get-donation-info'),
getSessions: require('./api/user/get-sessions'),
resumeSession: require('./api/user/resume'),
githubAuth: require('./api/user/github-auth'),
isGithubOrgAdmin: require('./api/user/is-github-org-admin')
},
stripe: {
webhooks: require('./api/stripe/webhook-event')
},
support: {
feedback: require('./api/customer/feedback')
},
organization: {
githubAuth: require('./api/organization/github-auth'),
githubCreate: require('./api/organization/github-create'),
chooseOrg: require('./api/organization/choose'),
createDonation: require('./api/organization/create-donation'),
updateDonation: require('./api/organization/update-donation'),
deleteDonation: require('./api/organization/delete-donation'),
getDonationInfo: require('./api/organization/get-donation-info'),
getOssUsage: require('./api/organization/get-oss-usage'),
getByName: require('./api/organization/get-by-name'),
update: require('./api/organization/update'),
getDonationLedger: require('./api/organization/get-donation-ledger')
}
}