Skip to content

Commit bc9549c

Browse files
committed
Bump version to v2.0.0
1 parent a6e6d43 commit bc9549c

File tree

373 files changed

+38929
-9909
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

373 files changed

+38929
-9909
lines changed

CHANGELOG.md

Lines changed: 0 additions & 42 deletions
This file was deleted.

README.md

Lines changed: 356 additions & 54 deletions
Large diffs are not rendered by default.

build.gradle

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
apply plugin: 'idea'
2+
apply plugin: 'eclipse'
3+
4+
group = 'one.talon'
5+
version = '3.0.0'
6+
7+
buildscript {
8+
repositories {
9+
jcenter()
10+
}
11+
dependencies {
12+
classpath 'com.android.tools.build:gradle:2.3.+'
13+
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
14+
}
15+
}
16+
17+
repositories {
18+
jcenter()
19+
}
20+
21+
22+
if(hasProperty('target') && target == 'android') {
23+
24+
apply plugin: 'com.android.library'
25+
apply plugin: 'com.github.dcendents.android-maven'
26+
27+
android {
28+
compileSdkVersion 25
29+
buildToolsVersion '25.0.2'
30+
defaultConfig {
31+
minSdkVersion 14
32+
targetSdkVersion 25
33+
}
34+
compileOptions {
35+
sourceCompatibility JavaVersion.VERSION_1_7
36+
targetCompatibility JavaVersion.VERSION_1_7
37+
}
38+
39+
// Rename the aar correctly
40+
libraryVariants.all { variant ->
41+
variant.outputs.each { output ->
42+
def outputFile = output.outputFile
43+
if (outputFile != null && outputFile.name.endsWith('.aar')) {
44+
def fileName = "${project.name}-${variant.baseName}-${version}.aar"
45+
output.outputFile = new File(outputFile.parent, fileName)
46+
}
47+
}
48+
}
49+
50+
dependencies {
51+
provided 'javax.annotation:jsr250-api:1.0'
52+
}
53+
}
54+
55+
afterEvaluate {
56+
android.libraryVariants.all { variant ->
57+
def task = project.tasks.create "jar${variant.name.capitalize()}", Jar
58+
task.description = "Create jar artifact for ${variant.name}"
59+
task.dependsOn variant.javaCompile
60+
task.from variant.javaCompile.destinationDir
61+
task.destinationDir = project.file("${project.buildDir}/outputs/jar")
62+
task.archiveName = "${project.name}-${variant.baseName}-${version}.jar"
63+
artifacts.add('archives', task);
64+
}
65+
}
66+
67+
task sourcesJar(type: Jar) {
68+
from android.sourceSets.main.java.srcDirs
69+
classifier = 'sources'
70+
}
71+
72+
artifacts {
73+
archives sourcesJar
74+
}
75+
76+
} else {
77+
78+
apply plugin: 'java'
79+
apply plugin: 'maven'
80+
81+
sourceCompatibility = JavaVersion.VERSION_1_7
82+
targetCompatibility = JavaVersion.VERSION_1_7
83+
84+
install {
85+
repositories.mavenInstaller {
86+
pom.artifactId = 'talon-one-client'
87+
}
88+
}
89+
90+
task execute(type:JavaExec) {
91+
main = System.getProperty('mainClass')
92+
classpath = sourceSets.main.runtimeClasspath
93+
}
94+
}
95+
96+
dependencies {
97+
compile 'io.swagger:swagger-annotations:1.5.17'
98+
compile 'com.squareup.okhttp:okhttp:2.7.5'
99+
compile 'com.squareup.okhttp:logging-interceptor:2.7.5'
100+
compile 'com.google.code.gson:gson:2.8.1'
101+
compile 'io.gsonfire:gson-fire:1.8.0'
102+
compile group: 'org.apache.oltu.oauth2', name: 'org.apache.oltu.oauth2.client', version: '1.0.1'
103+
compile 'org.threeten:threetenbp:1.3.5'
104+
testCompile 'junit:junit:4.12'
105+
}

build.sbt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
lazy val root = (project in file(".")).
2+
settings(
3+
organization := "one.talon",
4+
name := "talon-one-client",
5+
version := "3.0.0",
6+
scalaVersion := "2.11.4",
7+
scalacOptions ++= Seq("-feature"),
8+
javacOptions in compile ++= Seq("-Xlint:deprecation"),
9+
publishArtifact in (Compile, packageDoc) := false,
10+
resolvers += Resolver.mavenLocal,
11+
libraryDependencies ++= Seq(
12+
"io.swagger" % "swagger-annotations" % "1.5.17",
13+
"com.squareup.okhttp" % "okhttp" % "2.7.5",
14+
"com.squareup.okhttp" % "logging-interceptor" % "2.7.5",
15+
"com.google.code.gson" % "gson" % "2.8.1",
16+
"org.threeten" % "threetenbp" % "1.3.5" % "compile",
17+
"io.gsonfire" % "gson-fire" % "1.8.0" % "compile",
18+
"junit" % "junit" % "4.12" % "test",
19+
"com.novocode" % "junit-interface" % "0.10" % "test"
20+
)
21+
)

docs/APIError.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
# APIError
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**title** | **String** | Short description of the problem. |
8+
**details** | **String** | Longer description of this specific instance of the problem. | [optional]
9+
**source** | [**ErrorSource**](ErrorSource.md) | |
10+
11+
12+

docs/AccessLogEntry.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
# AccessLogEntry
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**uuid** | **String** | UUID reference of request |
8+
**status** | **Integer** | HTTP status code of response |
9+
**method** | **String** | HTTP method of request |
10+
**requestUri** | **String** | target URI of request |
11+
**time** | [**OffsetDateTime**](OffsetDateTime.md) | timestamp of request |
12+
**requestPayload** | **String** | payload of request |
13+
**responsePayload** | **String** | payload of response |
14+
15+
16+

docs/Account.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
2+
# Account
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**id** | **Integer** | Unique ID for this entity. |
8+
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The exact moment this entity was created. |
9+
**modified** | [**OffsetDateTime**](OffsetDateTime.md) | The exact moment this entity was last modified. |
10+
**companyName** | **String** | |
11+
**domainName** | **String** | Subdomain Name for yourcompany.talon.one |
12+
**state** | [**StateEnum**](#StateEnum) | State of the account (trial, active, trial_expired) |
13+
**billingEmail** | **String** | The billing email address associated with your company account. |
14+
**planName** | **String** | The name of your booked plan. | [optional]
15+
**planExpires** | [**OffsetDateTime**](OffsetDateTime.md) | The point in time at which your current plan expires. | [optional]
16+
**applicationLimit** | **Integer** | The maximum number of Applications covered by your plan. | [optional]
17+
**userLimit** | **Integer** | The maximum number of Campaign Manager Users covered by your plan. | [optional]
18+
**campaignLimit** | **Integer** | The maximum number of Campaigns covered by your plan. | [optional]
19+
**apiLimit** | **Integer** | The maximum number of Integration API calls covered by your plan per billing period. | [optional]
20+
**applicationCount** | **Integer** | The current number of Applications in your account. |
21+
**userCount** | **Integer** | The current number of Campaign Manager Users in your account. |
22+
**campaignsActiveCount** | **Integer** | The current number of active Campaigns in your account. |
23+
**campaignsInactiveCount** | **Integer** | The current number of inactive Campaigns in your account. |
24+
**attributes** | [**Object**](.md) | Arbitrary properties associated with this campaign | [optional]
25+
26+
27+
<a name="StateEnum"></a>
28+
## Enum: StateEnum
29+
Name | Value
30+
---- | -----
31+
TRIAL | &quot;trial&quot;
32+
ACTIVE | &quot;active&quot;
33+
TRIAL_EXPIRED | &quot;trial_expired&quot;
34+
35+
36+

docs/AccountAnalytics.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
2+
# AccountAnalytics
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**applications** | **Integer** | Total Number of Applications inside the account |
8+
**activeCampaigns** | **Integer** | Total Number of Active Applications inside the account |
9+
**campaigns** | **Integer** | Total Number of campaigns inside the account |
10+
**coupons** | **Integer** | Total Number of coupons inside the account |
11+
**activeCoupons** | **Integer** | Total Number of active coupons inside the account |
12+
**expiredCoupons** | **Integer** | Total Number of expired coupons inside the account |
13+
**customAttributes** | **Integer** | Total Number of custom attributes inside the account |
14+
**referralCodes** | **Integer** | Total Number of referral codes inside the account |
15+
**activeReferralCodes** | **Integer** | Total Number of active referral codes inside the account |
16+
**expiredReferralCodes** | **Integer** | Total Number of expired referral codes inside the account |
17+
**users** | **Integer** | Total Number of users inside the account |
18+
**roles** | **Integer** | Total Number of roles inside the account |
19+
**webhooks** | **Integer** | Total Number of webhooks inside the account |
20+
**loyaltyPrograms** | **Integer** | Total Number of loyalty programs inside the account |
21+
22+
23+

docs/AccountEntity.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
# AccountEntity
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**accountId** | **Integer** | The ID of the account that owns this entity. |
8+
9+
10+

docs/AccountLimits.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
2+
# AccountLimits
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**liveApplications** | **Integer** | Total Number of allowed live applications in the account |
8+
**sandboxApplications** | **Integer** | Total Number of allowed sandbox applications in the account |
9+
**activeCampaigns** | **Integer** | Total Number of allowed active campaigns in the account |
10+
**coupons** | **Integer** | Total Number of allowed coupons in the account |
11+
**referralCodes** | **Integer** | Total Number of allowed referral codes in the account |
12+
**liveLoyaltyPrograms** | **Integer** | Total Number of allowed live loyalty programs in the account |
13+
**sandboxLoyaltyPrograms** | **Integer** | Total Number of allowed sandbox loyalty programs in the account |
14+
**webhooks** | **Integer** | Total Number of allowed webhooks in the account |
15+
**users** | **Integer** | Total Number of allowed users in the account |
16+
**apiVolume** | **Integer** | Total allowed api volume |
17+
**promotionTypes** | **List&lt;String&gt;** | array of rulesets where webhook is used |
18+
19+
20+

0 commit comments

Comments
 (0)