-
Notifications
You must be signed in to change notification settings - Fork 4
/
quickbooks.cabal
140 lines (125 loc) · 4.62 KB
/
quickbooks.cabal
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
name: quickbooks
version: 1.1.0.0
synopsis: QuickBooks API binding.
-- description:
license: BSD3
license-file: LICENSE
author: Juan Villa
maintainer: [email protected]
copyright: plowtechnologies
category: Web
build-type: Simple
-- extra-source-files:
cabal-version: >=1.10
description: This package is a binding to the QuickBooks API. The
documentation can be test using the `cabal test doctests`
command. However, the documentation tests are run against
an Intuit sandbox which you must create.
.
Visit Intuit's developer site to create an "app":
<https://developer.intuit.com/>
.
After creating an app you can use your "app token" and
consumer information to aquire credentials here:
<https://appcenter.intuit.com/Playground/OAuth>
.
This package is configure by environment variables. Once
you have your credentials please export the following
environment:
.
* INTUIT_COMPANY_ID (your app's company ID)
.
* INTUIT_CONSUMER_KEY (your app's consumer key)
.
* INTUIT_CONSUMER_SECRET (your app's consumer secret)
.
* INTUIT_TOKEN (the OAuth1.0 Token you created above *used for tests*)
.
* INTUIT_SECRET (the OAuth1.0 Secret you created above *used for tests*)
.
* INTUIT_HOSTNAME (which will be
sandbox-quickbooks.api.intuit.com for development/test
environments. See the developer website for production)
.
You can now run verify the documentation using `cabal test`.
source-repository head
type: git
location: https://github.com/plow-technologies/quickbooks
library
exposed-modules: QuickBooks
QuickBooks.Authentication
QuickBooks.Bundle
QuickBooks.Category
QuickBooks.Customer
QuickBooks.Invoice
QuickBooks.Item
QuickBooks.Logging
QuickBooks.QBText
QuickBooks.Types
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
build-depends: base >= 4.7 && < 5,
uri-bytestring >= 0.2.3.3
-- We restrict the version of aeson until
-- https://github.com/bos/aeson/issues/293
-- is fixed.
, aeson
, hoauth2 >= 1.16.0
, authenticate-oauth
, bytestring
, http-client
, http-types
, http-client-tls
, interpolate
, MissingH
, network-uri
, text
, fast-logger
, time
, thyme
, old-locale
, email-validate
, yaml
test-suite api-tests
type: exitcode-stdio-1.0
default-language: Haskell2010
ghc-options: -Wall -threaded
hs-source-dirs: src, test
main-is: Main.hs
other-modules: QuickBooks
, QuickBooks.Authentication
, QuickBooks.Bundle
, QuickBooks.Category
, QuickBooks.Customer
, QuickBooks.Invoice
, QuickBooks.Item
, QuickBooks.Logging
, QuickBooks.QBText
, QuickBooks.Types
build-depends:
base >= 4.7 && < 5
, MissingH
, QuickCheck
, aeson
, aeson-qq
, authenticate-oauth
, bytestring
, email-validate
, fast-logger
, hoauth2
, http-client
, http-client-tls
, http-types
, interpolate
, network-uri
, old-locale
, tasty
, tasty-hunit
, tasty-quickcheck
, tasty-smallcheck
, text
, thyme
, time
, uri-bytestring >= 0.2.3.3
, yaml