boxx_client 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +7 -0
  3. data/README.md +109 -0
  4. data/Rakefile +8 -0
  5. data/boxx_client.gemspec +46 -0
  6. data/dist/boxx_client-1.4.0.gem +0 -0
  7. data/dist/examples/upload_customer.rb +76 -0
  8. data/dist/examples/upload_product.rb +54 -0
  9. data/dist/examples/upload_transaction.rb +56 -0
  10. data/docs/DeleteAll.md +10 -0
  11. data/docs/DeleteAllApi.md +56 -0
  12. data/docs/DeleteSpecific.md +11 -0
  13. data/docs/DeleteSpecificApi.md +56 -0
  14. data/docs/InlineResponse200.md +9 -0
  15. data/docs/InlineResponse2001.md +9 -0
  16. data/docs/InlineResponse2001Response.md +9 -0
  17. data/docs/InlineResponse200Response.md +11 -0
  18. data/docs/InlineResponse400.md +9 -0
  19. data/docs/InlineResponse4001.md +9 -0
  20. data/docs/UploadCustomer.md +14 -0
  21. data/docs/UploadCustomerDeviceTokens.md +11 -0
  22. data/docs/UploadCustomerMobileTokens.md +10 -0
  23. data/docs/UploadCustomerRequest.md +11 -0
  24. data/docs/UploadDataApi.md +149 -0
  25. data/docs/UploadOkResponse.md +9 -0
  26. data/docs/UploadOkResponseResult.md +11 -0
  27. data/docs/UploadProduct.md +13 -0
  28. data/docs/UploadProductRequest.md +11 -0
  29. data/docs/UploadTransaction.md +16 -0
  30. data/docs/UploadTransactionRequest.md +11 -0
  31. data/git_push.sh +55 -0
  32. data/lib/boxx_client.rb +60 -0
  33. data/lib/boxx_client/api/delete_all_api.rb +78 -0
  34. data/lib/boxx_client/api/delete_specific_api.rb +78 -0
  35. data/lib/boxx_client/api/upload_data_api.rb +188 -0
  36. data/lib/boxx_client/api_client.rb +388 -0
  37. data/lib/boxx_client/api_error.rb +38 -0
  38. data/lib/boxx_client/configuration.rb +202 -0
  39. data/lib/boxx_client/models/delete_all.rb +224 -0
  40. data/lib/boxx_client/models/delete_specific.rb +241 -0
  41. data/lib/boxx_client/models/inline_response_200.rb +197 -0
  42. data/lib/boxx_client/models/inline_response_200_1.rb +197 -0
  43. data/lib/boxx_client/models/inline_response_200_1_response.rb +199 -0
  44. data/lib/boxx_client/models/inline_response_200_response.rb +217 -0
  45. data/lib/boxx_client/models/inline_response_400.rb +197 -0
  46. data/lib/boxx_client/models/inline_response_400_1.rb +197 -0
  47. data/lib/boxx_client/models/upload_customer.rb +255 -0
  48. data/lib/boxx_client/models/upload_customer_device_tokens.rb +215 -0
  49. data/lib/boxx_client/models/upload_customer_mobile_tokens.rb +206 -0
  50. data/lib/boxx_client/models/upload_customer_request.rb +236 -0
  51. data/lib/boxx_client/models/upload_ok_response.rb +197 -0
  52. data/lib/boxx_client/models/upload_ok_response_result.rb +217 -0
  53. data/lib/boxx_client/models/upload_product.rb +244 -0
  54. data/lib/boxx_client/models/upload_product_request.rb +236 -0
  55. data/lib/boxx_client/models/upload_transaction.rb +279 -0
  56. data/lib/boxx_client/models/upload_transaction_request.rb +236 -0
  57. data/lib/boxx_client/version.rb +15 -0
  58. data/spec/api/delete_all_api_spec.rb +47 -0
  59. data/spec/api/delete_specific_api_spec.rb +47 -0
  60. data/spec/api/upload_data_api_spec.rb +71 -0
  61. data/spec/api_client_spec.rb +226 -0
  62. data/spec/configuration_spec.rb +42 -0
  63. data/spec/models/delete_all_spec.rb +54 -0
  64. data/spec/models/delete_specific_spec.rb +60 -0
  65. data/spec/models/inline_response_200_1_response_spec.rb +48 -0
  66. data/spec/models/inline_response_200_1_spec.rb +48 -0
  67. data/spec/models/inline_response_200_response_spec.rb +60 -0
  68. data/spec/models/inline_response_200_spec.rb +48 -0
  69. data/spec/models/inline_response_400_1_spec.rb +48 -0
  70. data/spec/models/inline_response_400_spec.rb +48 -0
  71. data/spec/models/upload_customer_device_tokens_spec.rb +60 -0
  72. data/spec/models/upload_customer_mobile_tokens_spec.rb +54 -0
  73. data/spec/models/upload_customer_request_spec.rb +60 -0
  74. data/spec/models/upload_customer_spec.rb +78 -0
  75. data/spec/models/upload_ok_response_result_spec.rb +60 -0
  76. data/spec/models/upload_ok_response_spec.rb +48 -0
  77. data/spec/models/upload_product_request_spec.rb +60 -0
  78. data/spec/models/upload_product_spec.rb +72 -0
  79. data/spec/models/upload_transaction_request_spec.rb +60 -0
  80. data/spec/models/upload_transaction_spec.rb +90 -0
  81. data/spec/spec_helper.rb +111 -0
  82. metadata +327 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: cdcc7974b8242f66a2184c6c48a555203bee419a
4
+ data.tar.gz: c8d814711f8377c2e7de5a6900d48634806416c4
5
+ SHA512:
6
+ metadata.gz: 75ffd455f3a9c0f5651463c22558578d3e6f585baaa829fa3a18edcdb95ca5351ffcf351252d3eb16981bf884f71aa9b34d6e7764067f99c74043352962f8df3
7
+ data.tar.gz: 19e0fc246592625e5abfec4dc9a1762d4bac14c3a988afbfbbae48616a75628b96fbdf446ad4c7b9ed697c2ba77bbd168cc2edd479802a4c4012681713d91715
data/Gemfile ADDED
@@ -0,0 +1,7 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
4
+
5
+ group :development, :test do
6
+ gem 'rake', '~> 12.0.0'
7
+ end
@@ -0,0 +1,109 @@
1
+ # boxx_client
2
+
3
+ BoxxClient - the Ruby gem for the Upload and Delete Data API
4
+
5
+ Boxx.ai's customer, product and interaction data ingestion sdk
6
+
7
+ This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
+
9
+ - API version: 1.4.1
10
+ - Package version: 1.4.1
11
+ - Build package: io.swagger.codegen.languages.RubyClientCodegen
12
+
13
+ ## Installation
14
+
15
+ ### Build a gem
16
+
17
+ To build the Ruby code into a gem:
18
+
19
+ ```shell
20
+ gem build boxx_client.gemspec
21
+ ```
22
+
23
+ Then either install the gem locally:
24
+
25
+ ```shell
26
+ gem install ./boxx_client-1.4.1.gem
27
+ ```
28
+ (for development, run `gem install --dev ./boxx_client-1.4.1.gem` to install the development dependencies)
29
+
30
+ or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
31
+
32
+ Finally add this to the Gemfile:
33
+
34
+ gem 'boxx_client', '~> 1.4.1'
35
+
36
+ ### Install from Git
37
+
38
+ If the Ruby gem is hosted at a git repository: https://github.com/YOUR_GIT_USERNAME/YOUR_GIT_REPO, then add the following in the Gemfile:
39
+
40
+ gem 'boxx_client', :git => 'https://github.com/YOUR_GIT_USERNAME/YOUR_GIT_REPO.git'
41
+
42
+ ### Include the Ruby code directly
43
+
44
+ Include the Ruby code directly using `-I` as follows:
45
+
46
+ ```shell
47
+ ruby -Ilib script.rb
48
+ ```
49
+
50
+ ## Getting Started
51
+
52
+ Please follow the [installation](#installation) procedure and then run the following code:
53
+ ```ruby
54
+ # Load the gem
55
+ require 'boxx_client'
56
+
57
+ api_instance = BoxxClient::DeleteAllApi.new
58
+
59
+ request_data = BoxxClient::DeleteAll.new # DeleteAll | request data
60
+
61
+
62
+ begin
63
+ #Delete all documents
64
+ result = api_instance.api_data_alldelete_delete(request_data)
65
+ p result
66
+ rescue BoxxClient::ApiError => e
67
+ puts "Exception when calling DeleteAllApi->api_data_alldelete_delete: #{e}"
68
+ end
69
+
70
+ ```
71
+
72
+ ## Documentation for API Endpoints
73
+
74
+ All URIs are relative to *http://data.boxx.ai*
75
+
76
+ Class | Method | HTTP request | Description
77
+ ------------ | ------------- | ------------- | -------------
78
+ *BoxxClient::DeleteAllApi* | [**api_data_alldelete_delete**](docs/DeleteAllApi.md#api_data_alldelete_delete) | **DELETE** /api/data/alldelete/ | Delete all documents
79
+ *BoxxClient::DeleteSpecificApi* | [**api_data_delete_delete**](docs/DeleteSpecificApi.md#api_data_delete_delete) | **DELETE** /api/data/delete/ | Delete selected documents
80
+ *BoxxClient::UploadDataApi* | [**api_upload_customer_put**](docs/UploadDataApi.md#api_upload_customer_put) | **PUT** /api/upload/customer/ |
81
+ *BoxxClient::UploadDataApi* | [**api_upload_product_put**](docs/UploadDataApi.md#api_upload_product_put) | **PUT** /api/upload/product/ |
82
+ *BoxxClient::UploadDataApi* | [**api_upload_transaction_put**](docs/UploadDataApi.md#api_upload_transaction_put) | **PUT** /api/upload/transaction/ |
83
+
84
+
85
+ ## Documentation for Models
86
+
87
+ - [BoxxClient::DeleteAll](docs/DeleteAll.md)
88
+ - [BoxxClient::DeleteSpecific](docs/DeleteSpecific.md)
89
+ - [BoxxClient::InlineResponse200](docs/InlineResponse200.md)
90
+ - [BoxxClient::InlineResponse2001](docs/InlineResponse2001.md)
91
+ - [BoxxClient::InlineResponse2001Response](docs/InlineResponse2001Response.md)
92
+ - [BoxxClient::InlineResponse200Response](docs/InlineResponse200Response.md)
93
+ - [BoxxClient::InlineResponse400](docs/InlineResponse400.md)
94
+ - [BoxxClient::InlineResponse4001](docs/InlineResponse4001.md)
95
+ - [BoxxClient::UploadCustomer](docs/UploadCustomer.md)
96
+ - [BoxxClient::UploadCustomerDeviceTokens](docs/UploadCustomerDeviceTokens.md)
97
+ - [BoxxClient::UploadCustomerMobileTokens](docs/UploadCustomerMobileTokens.md)
98
+ - [BoxxClient::UploadCustomerRequest](docs/UploadCustomerRequest.md)
99
+ - [BoxxClient::UploadOkResponse](docs/UploadOkResponse.md)
100
+ - [BoxxClient::UploadOkResponseResult](docs/UploadOkResponseResult.md)
101
+ - [BoxxClient::UploadProduct](docs/UploadProduct.md)
102
+ - [BoxxClient::UploadProductRequest](docs/UploadProductRequest.md)
103
+ - [BoxxClient::UploadTransaction](docs/UploadTransaction.md)
104
+ - [BoxxClient::UploadTransactionRequest](docs/UploadTransactionRequest.md)
105
+
106
+
107
+ ## Documentation for Authorization
108
+
109
+ All endpoints do not require authorization.
@@ -0,0 +1,8 @@
1
+ begin
2
+ require 'rspec/core/rake_task'
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+ task default: :spec
6
+ rescue LoadError
7
+ # no rspec available
8
+ end
@@ -0,0 +1,46 @@
1
+ # -*- encoding: utf-8 -*-
2
+ #
3
+ =begin
4
+ #Upload and Delete Data API
5
+
6
+ #Boxx.ai's customer, product and interaction data ingestion sdk
7
+
8
+ OpenAPI spec version: 1.4.1
9
+ Contact: aida@boxx.ai
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ Swagger Codegen version: 2.3.1
12
+
13
+ =end
14
+
15
+ $:.push File.expand_path("../lib", __FILE__)
16
+ require "boxx_client/version"
17
+
18
+ Gem::Specification.new do |s|
19
+ s.name = "boxx_client"
20
+ s.version = BoxxClient::VERSION
21
+ s.platform = Gem::Platform::RUBY
22
+ s.authors = ["Rajat Mhetre"]
23
+ s.email = ["aida@boxx.ai"]
24
+ s.homepage = "https://github.com/swagger-api/swagger-codegen"
25
+ s.summary = "Upload and Delete Data API Ruby Gem"
26
+ s.description = "Boxx.ai's customer, product and interaction data ingestion sdk"
27
+ # TODO uncommnet and update below with a proper license
28
+ #s.license = "Apache 2.0"
29
+ s.required_ruby_version = ">= 1.9"
30
+
31
+ s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
32
+ s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
33
+
34
+ s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
35
+ s.add_development_dependency 'vcr', '~> 3.0', '>= 3.0.1'
36
+ s.add_development_dependency 'webmock', '~> 1.24', '>= 1.24.3'
37
+ s.add_development_dependency 'autotest', '~> 4.4', '>= 4.4.6'
38
+ s.add_development_dependency 'autotest-rails-pure', '~> 4.1', '>= 4.1.2'
39
+ s.add_development_dependency 'autotest-growl', '~> 0.2', '>= 0.2.16'
40
+ s.add_development_dependency 'autotest-fsevent', '~> 0.2', '>= 0.2.12'
41
+
42
+ s.files = `find *`.split("\n").uniq.sort.select{|f| !f.empty? }
43
+ s.test_files = `find spec/*`.split("\n")
44
+ s.executables = []
45
+ s.require_paths = ["lib"]
46
+ end
@@ -0,0 +1,76 @@
1
+ require "boxx_client"
2
+
3
+ CLIENT_ID = "YOUR_CLIENT_ID"
4
+ ACCESS_TOKEN = "YOUR_ACCESS_TOKEN"
5
+
6
+
7
+
8
+ api_instance = BoxxClient::UploadDataApi.new
9
+
10
+
11
+ location = [
12
+ "25.23, 43.2", # longitude, latitude
13
+ ] # List of longitude and latitude pairs
14
+ properties = {
15
+ "name"=> "some_customer",
16
+ "age"=> 234
17
+ } # Its a key:value pair of customer attributes
18
+
19
+
20
+ # Device tokens, optional
21
+ # If you want to push notifications then this is required
22
+ device_token = BoxxClient::UploadCustomerDeviceTokens.new({
23
+ "endpoint" => "some_endpoint",
24
+ "p256dh" => "some_valid_value",
25
+ "auth" => "some_valid_value_of_auth",
26
+ "browser" => "some_valid_browser_name"
27
+ })
28
+ device_tokens = [device_token] # List of device_token
29
+
30
+ # Mobile tokens, optional
31
+ # If you want to send app push notifications then this is required
32
+ mobile_token = BoxxClient::UploadCustomerMobileTokens.new({
33
+ "device_registration" => "some_device_registration_value",
34
+ "device_platform" => "Android", # Android or iOS
35
+ "source" => "FCM" # FCM or APNS
36
+ })
37
+ mobile_tokens = [mobile_token] # List of mobile_token
38
+
39
+
40
+ data_instance = BoxxClient::UploadCustomer.new({
41
+ "customerid"=> "some_customer_id", # customerid
42
+ "email"=> "hello@example.com", # Email address of the customer, optional
43
+ "phone"=> 8899776655, # mobile number of the customer, optional
44
+ "location"=> location, # locations of the customer, optional
45
+ "properties"=> properties, # customer properties, optional
46
+ "device_tokens" => device_tokens, # optional
47
+ "mobile_tokens" => mobile_tokens
48
+ })
49
+
50
+ # You can upload more than 1 customer in one request
51
+ # Its recommended to upload atleast 50 customers in every request
52
+ upload_data = [data_instance] # Its a list of data_instance
53
+
54
+
55
+ # Its a key:value pair of customer attribute name and its datatype
56
+ # datatype can be 'number', 'string', 'date', 'location', 'integer'
57
+ data_format = {
58
+ 'name'=> 'string',
59
+ 'age'=> 'integer'
60
+ }
61
+
62
+ request_data = BoxxClient::UploadCustomerRequest.new({
63
+ "client_id"=> CLIENT_ID,
64
+ "access_token"=> ACCESS_TOKEN,
65
+ "data"=> upload_data,
66
+ "data_format"=> data_format
67
+ })
68
+
69
+
70
+ begin
71
+ result = api_instance.api_upload_customer_put(request_data)
72
+ p result.to_s
73
+ rescue BoxxClient::ApiError => e
74
+ p e.response_body
75
+ puts "Exception when calling Boxx's API: #{e}"
76
+ end
@@ -0,0 +1,54 @@
1
+ require "boxx_client"
2
+
3
+ CLIENT_ID = "YOUR_CLIENT_ID"
4
+ ACCESS_TOKEN = "YOUR_ACCESS_TOKEN"
5
+
6
+
7
+ api_instance = BoxxClient::UploadDataApi.new
8
+
9
+
10
+ start_date = Time.utc(2018, 1, 4) # utc time
11
+ end_date = Time.utc(2019, 1, 4) # utc time
12
+ location = [
13
+ "25.23, 43.2", # longitude, latitude
14
+ ] # List of longitude and latitude pairs
15
+ properties = {
16
+ "name"=> "some_product",
17
+ "price"=> 234
18
+ } # Its a key:value pair of product attributes
19
+ data_instance = BoxxClient::UploadProduct.new({
20
+ "productid"=> "some_product_id", # productid
21
+ "active"=> TRUE, # Whether this product is available for sale right now, default is TRUE
22
+ "start_date"=> start_date, # optional
23
+ "end_date" => end_date, # start_date and end_date is the date range where product is available for sale, optional
24
+ "location"=> location, # location where this product is available, optional
25
+ "properties"=> properties # product properties, optional
26
+ })
27
+
28
+ # You can upload more than 1 product in one request
29
+ # Its recommended to upload atleast 50 products in every request
30
+ upload_data = [data_instance] # Its a list of data_instance
31
+
32
+
33
+ # Its a key:value pair of product attribute name and its datatype
34
+ # datatype can be 'number', 'string', 'date', 'location', 'integer'
35
+ data_format = {
36
+ 'name'=> 'string',
37
+ 'price'=> 'integer'
38
+ }
39
+
40
+ request_data = BoxxClient::UploadProductRequest.new({
41
+ "client_id"=> CLIENT_ID,
42
+ "access_token"=> ACCESS_TOKEN,
43
+ "data"=> upload_data,
44
+ "data_format"=> data_format
45
+ })
46
+
47
+
48
+ begin
49
+ result = api_instance.api_upload_product_put(request_data)
50
+ p result.to_s
51
+ rescue BoxxClient::ApiError => e
52
+ p e.response_body
53
+ puts "Exception when calling Boxx's API: #{e}"
54
+ end
@@ -0,0 +1,56 @@
1
+ require "boxx_client"
2
+
3
+ CLIENT_ID = "YOUR_CLIENT_ID"
4
+ ACCESS_TOKEN = "YOUR_ACCESS_TOKEN"
5
+
6
+ api_instance = BoxxClient::UploadDataApi.new
7
+
8
+
9
+ location = [
10
+ "25.23, 43.2", # longitude, latitude
11
+ ] # List of longitude and latitude pairs
12
+ properties = {
13
+ "some_attribute": "attributes_value"
14
+ } # Its a key:value pair of attributes
15
+
16
+ # datetime when transaction has been done. Value should be in UTC
17
+ transactiondate = Time.new(2018, 4, 14)
18
+
19
+ data_instance = BoxxClient::UploadTransaction.new({
20
+ "productid"=>"some_product_id", # product's id on which some transaction/interaction has been done
21
+ "customerid"=> "some_customer_id", # customerid
22
+ "type"=>"some_valid_action_type", # interaction type i.e ProductView, Buy, AddToCart etc
23
+ "cookieid" => "some_cookieid", # cookie id of the customer, optional
24
+ "boxx_token_id" => "some_token_id", # token_id of the device like mobile, tablets etc, optional
25
+ "location"=> location, # location where transaction has been done, optional
26
+ "properties"=> properties, # properties, optional
27
+ "transactiondate" => transactiondate, # datetime when transaction has been done, optional, default value is current time
28
+
29
+ })
30
+
31
+ # You can upload more than 1 transactions in one request
32
+ # Its recommended to upload atleast 50 transactions in every request
33
+ upload_data = [data_instance] # Its a list of data_instance
34
+
35
+
36
+ # Its a key:value pair of properties' name and its datatype
37
+ # datatype can be 'number', 'string', 'date', 'location', 'integer'
38
+ data_format = {
39
+ 'some_attribute'=> 'string'
40
+ }
41
+
42
+ request_data = BoxxClient::UploadTransactionRequest.new({
43
+ "client_id"=> CLIENT_ID,
44
+ "access_token"=> ACCESS_TOKEN,
45
+ "data"=> upload_data,
46
+ "data_format"=> data_format
47
+ })
48
+
49
+
50
+ begin
51
+ result = api_instance.api_upload_transaction_put(request_data)
52
+ p result.to_s
53
+ rescue BoxxClient::ApiError => e
54
+ p e.response_body
55
+ puts "Exception when calling Boxx's API: #{e}"
56
+ end
@@ -0,0 +1,10 @@
1
+ # SwaggerClient::DeleteAll
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **client_id** | **String** | client id of the user |
7
+ **access_token** | **String** | access token of the user |
8
+ **data_type** | **String** | Type of data. Possible values are ‘customer’, ‘product’ and ‘transaction’ |
9
+
10
+
@@ -0,0 +1,56 @@
1
+ # SwaggerClient::DeleteAllApi
2
+
3
+ All URIs are relative to *http://data.boxx.ai*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**api_data_alldelete_delete**](DeleteAllApi.md#api_data_alldelete_delete) | **DELETE** /api/data/alldelete/ | Delete all documents
8
+
9
+
10
+ # **api_data_alldelete_delete**
11
+ > InlineResponse2001 api_data_alldelete_delete(request_data)
12
+
13
+ Delete all documents
14
+
15
+ It will delete all rows/documents according to the ‘data_type’ mentioned in request.
16
+
17
+ ### Example
18
+ ```ruby
19
+ # load the gem
20
+ require 'boxx_client'
21
+
22
+ api_instance = SwaggerClient::DeleteAllApi.new
23
+
24
+ request_data = SwaggerClient::DeleteAll.new # DeleteAll | request data
25
+
26
+
27
+ begin
28
+ #Delete all documents
29
+ result = api_instance.api_data_alldelete_delete(request_data)
30
+ p result
31
+ rescue SwaggerClient::ApiError => e
32
+ puts "Exception when calling DeleteAllApi->api_data_alldelete_delete: #{e}"
33
+ end
34
+ ```
35
+
36
+ ### Parameters
37
+
38
+ Name | Type | Description | Notes
39
+ ------------- | ------------- | ------------- | -------------
40
+ **request_data** | [**DeleteAll**](DeleteAll.md)| request data |
41
+
42
+ ### Return type
43
+
44
+ [**InlineResponse2001**](InlineResponse2001.md)
45
+
46
+ ### Authorization
47
+
48
+ No authorization required
49
+
50
+ ### HTTP request headers
51
+
52
+ - **Content-Type**: application/json
53
+ - **Accept**: application/json
54
+
55
+
56
+
@@ -0,0 +1,11 @@
1
+ # SwaggerClient::DeleteSpecific
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **client_id** | **String** | client id of the user |
7
+ **access_token** | **String** | access token of the user |
8
+ **data_type** | **String** | Type of data. Possible values are ‘customer’, ‘product’ and ‘transaction’ |
9
+ **data** | **Array<String>** | list of id of documents/rows, you wish to delete |
10
+
11
+