embulk-input-zendesk-all 0.4.4 → 0.4.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 37e52925707ef8d5c559e3ba7e786317b5886755
4
- data.tar.gz: 46fc3666e0797d4327ccbacaca800d1068000af5
3
+ metadata.gz: 0bfa12fca52df30c6d53c787b0c1fbcc3607d83e
4
+ data.tar.gz: 9366de09a25cc4a53db47131de1381edd136bcda
5
5
  SHA512:
6
- metadata.gz: eb74fcafd28d8b024ba20f2c9ec39312f434bb3ca81f602117a04bbef1c4071ac8200a84bf4b929a0b4dc5c66cbd8ef84f0aae278ce918932be8d2864599307b
7
- data.tar.gz: 08ee355dd457cfdd455b606f6d25bc1059c59c6f60183185125cf303eaed1edf8283cd330681f0f550631759580bf9970250b4a0d3c20c6e210fefa6bdbae2a3
6
+ metadata.gz: ac55e4011b761639f55d3fcbd1fd2f9f3d54556114d164cbd4bf13eb51fa5ad5dd3d0ed2d8840303274c6e6348dc835a6026fac4d6ed0d5db4d1f321cfec6bf8
7
+ data.tar.gz: 935c10be956e9ef20c5cbf761f3f90e800d37f0bb8e844813926b03aab90fd9bedb8ddcf3b8f71963ecef2b7342ee8a0df4d2de590eb6a36fa7fdabca09379a8
data/README.md CHANGED
@@ -16,6 +16,7 @@ Required Embulk version >= 0.9.6.
16
16
  * Supports satisfaction_ratings API
17
17
  * Supports ticket_metric_events API
18
18
  * Supports SLA Policies API
19
+ * Supports Groups API
19
20
 
20
21
 
21
22
  * **Plugin type**: input
data/build.gradle CHANGED
@@ -15,7 +15,7 @@ configurations {
15
15
  provided
16
16
  }
17
17
 
18
- version = "0.4.4"
18
+ version = "0.4.5"
19
19
 
20
20
  sourceCompatibility = 1.8
21
21
  targetCompatibility = 1.8
@@ -374,6 +374,8 @@ public class ZendeskInputPlugin implements InputPlugin
374
374
  return new ZendeskCustomObjectService(task);
375
375
  case USER_EVENTS:
376
376
  return new ZendeskUserEventService(task);
377
+ case GROUPS:
378
+ return new ZendeskSupportAPIService(task);
377
379
  default:
378
380
  throw new ConfigException("Unsupported " + task.getTarget() + ", supported values: '" + Arrays.toString(Target.values()) + "'");
379
381
  }
@@ -14,7 +14,7 @@ public enum Target
14
14
  TICKET_METRICS("metric_sets"), TICKET_FIELDS("ticket_fields"), TICKET_FORMS("ticket_forms"),
15
15
  TICKET_METRIC_EVENTS("ticket_metric_events"), SATISFACTION_RATINGS("satisfaction_ratings"),
16
16
  SLA_POLICIES("sla_policies"), SCORES("responses"), OBJECT_RECORDS("data"),
17
- RECIPIENTS("recipients"), RELATIONSHIP_RECORDS("data"), USER_EVENTS("data");
17
+ RECIPIENTS("recipients"), RELATIONSHIP_RECORDS("data"), USER_EVENTS("data"), GROUPS("groups");
18
18
 
19
19
  String jsonName;
20
20
 
@@ -18,7 +18,8 @@ public class ZendeskSupportAPIService extends ZendeskNormalServices
18
18
  return !(task.getTarget().equals(Target.TICKET_FORMS)
19
19
  || task.getTarget().equals(Target.SLA_POLICIES)
20
20
  || task.getTarget().equals(Target.TICKET_FIELDS)
21
- || task.getTarget().equals(Target.SATISFACTION_RATINGS));
21
+ || task.getTarget().equals(Target.SATISFACTION_RATINGS)
22
+ || task.getTarget().equals(Target.GROUPS));
22
23
  }
23
24
 
24
25
  @Override
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-input-zendesk-all
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - hieu.duong
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-14 00:00:00.000000000 Z
11
+ date: 2021-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -138,7 +138,7 @@ files:
138
138
  - src/test/resources/data/util_page.json
139
139
  - classpath/commons-logging-1.2.jar
140
140
  - classpath/httpcore-4.4.10.jar
141
- - classpath/embulk-input-zendesk-all-0.4.4.jar
141
+ - classpath/embulk-input-zendesk-all-0.4.5.jar
142
142
  - classpath/httpclient-4.5.6.jar
143
143
  - classpath/commons-codec-1.10.jar
144
144
  homepage: https://github.com/treasure-data/embulk-input-zendesk