basecrm 1.3.9 → 1.3.10

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
  SHA256:
3
- metadata.gz: afa9bee39abea53bd2f89300e5e50cb638021d64b31372c0de31f8658f52a21b
4
- data.tar.gz: e2f9681713ab28c138f64355ea069f95774b705cb85466ff26b69874bd2a7200
3
+ metadata.gz: c9c7c2b6f189115331790b2027167f24bdf1622b7e7ac9118194c12de64f5546
4
+ data.tar.gz: 9c6344acf5d6453a8e856e1e897167c71d4da90ae3fbf0c3926ca47f7164f67b
5
5
  SHA512:
6
- metadata.gz: 43f0e183a4f134c48347cbad9866ea8dd7f59f9cbf7df06c185f9e22279c630673d9889a2efb10367564c6241914f38144cf6f322484ff9c244dca87dfb43786
7
- data.tar.gz: 431333dce4e47268eb3f43d41b2206bb7befdadf60f7ca4dc152fa32c56b4cfeab18284876a81fa17bdfcc6450108c033693be823277a3adaa328dd949e57202
6
+ metadata.gz: 228dbe4fae8b33c86f6441f2719d87f122be51c8d53188392585b93b541609f9095ee3c978c4d09c72fd4a187d7f709665283579c51869f2064bea051e0e7dfb
7
+ data.tar.gz: a08d41e8009afcc221cd0b602bff61c51c1ec141ea0df3b99ddf57156b02af340721c8620a06033c677fc8767b798842603b7e65d3f64e8888a98da9b250db39
@@ -34,7 +34,7 @@ module BaseCRM
34
34
  # @return [Hash] Custom fields are key-value data attached to a deal. See more at [Custom Fields](/docs/rest/articles/requests#custom_fields).
35
35
  # attr_accessor :custom_fields
36
36
  # @!attribute [rw] customized_win_likelihood
37
- # @return [Integer] User-provided win likelihood with value range 0100.
37
+ # @return [Integer] User-provided win likelihood with value range 0-100.
38
38
  # attr_accessor :customized_win_likelihood
39
39
  # @!attribute [rw] estimated_close_date
40
40
  # @return [String] Estimated close date of the deal
@@ -63,6 +63,9 @@ module BaseCRM
63
63
  # @!attribute [rw] tags
64
64
  # @return [Array<String>] An array of tags for a deal. See more at [Tags](/docs/rest/articles/requests#tags).
65
65
  # attr_accessor :tags
66
+ # @!attribute [rw] added_on
67
+ # @return [DateTime] Date and time when the deal was added in UTC (ISO8601 format).
68
+ # attr_accessor :added_on
66
69
  # @!attribute [rw] value
67
70
  # @return [BigDecimal] Value of the deal in a currency specified in the `currency` field.
68
71
  # attr_accessor :value
@@ -2,7 +2,9 @@
2
2
 
3
3
  module BaseCRM
4
4
  class DealsService
5
- OPTS_KEYS_TO_PERSIST = Set[:contact_id, :currency, :custom_fields, :hot, :loss_reason_id, :unqualified_reason_id, :name, :owner_id, :source_id, :stage_id, :tags, :value, :last_stage_change_at, :estimated_close_date, :customized_win_likelihood]
5
+ OPTS_KEYS_TO_PERSIST = Set[:contact_id, :currency, :custom_fields, :hot, :loss_reason_id,
6
+ :unqualified_reason_id, :name, :owner_id, :source_id, :stage_id, :tags, :value, :last_stage_change_at,
7
+ :estimated_close_date, :customized_win_likelihood, :added_on]
6
8
 
7
9
  def initialize(client)
8
10
  @client = client
@@ -1,3 +1,3 @@
1
1
  module BaseCRM
2
- VERSION = "1.3.9"
2
+ VERSION = "1.3.10"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: basecrm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.9
4
+ version: 1.3.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zendesk
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-30 00:00:00.000000000 Z
11
+ date: 2021-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -262,59 +262,59 @@ required_rubygems_version: !ruby/object:Gem::Requirement
262
262
  - !ruby/object:Gem::Version
263
263
  version: '0'
264
264
  requirements: []
265
- rubygems_version: 3.0.3
265
+ rubygems_version: 3.0.3.1
266
266
  signing_key:
267
267
  specification_version: 4
268
268
  summary: Zendesk Sell Official API V2 library client for ruby
269
269
  test_files:
270
- - spec/factories/lead_source.rb
271
- - spec/factories/call.rb
272
- - spec/factories/note.rb
273
- - spec/factories/tag.rb
270
+ - spec/models/sync_meta_spec.rb
274
271
  - spec/factories/associated_contact.rb
275
- - spec/factories/task.rb
276
- - spec/factories/lead.rb
277
- - spec/factories/product.rb
278
- - spec/factories/loss_reason.rb
279
- - spec/factories/source.rb
272
+ - spec/factories/tag.rb
280
273
  - spec/factories/contact.rb
274
+ - spec/factories/deal_source.rb
281
275
  - spec/factories/lead_unqualified_reason.rb
282
- - spec/factories/text_message.rb
276
+ - spec/factories/loss_reason.rb
277
+ - spec/factories/line_item.rb
278
+ - spec/factories/product.rb
279
+ - spec/factories/deal_unqualified_reason.rb
283
280
  - spec/factories/order.rb
281
+ - spec/factories/source.rb
282
+ - spec/factories/task.rb
283
+ - spec/factories/lead_source.rb
284
+ - spec/factories/text_message.rb
285
+ - spec/factories/call.rb
284
286
  - spec/factories/deal.rb
285
- - spec/factories/deal_unqualified_reason.rb
286
- - spec/factories/deal_source.rb
287
- - spec/factories/line_item.rb
287
+ - spec/factories/note.rb
288
+ - spec/factories/lead.rb
288
289
  - spec/basecrm/sync_spec.rb
289
290
  - spec/support/client_helpers.rb
290
- - spec/utils/coercion_spec.rb
291
- - spec/utils/coercion.rb
292
291
  - spec/spec_helper.rb
293
292
  - spec/middlewares/raise_error_spec.rb
294
- - spec/services/deals_service_spec.rb
295
- - spec/services/sync_service_spec.rb
296
- - spec/services/loss_reasons_service_spec.rb
293
+ - spec/utils/coercion_spec.rb
294
+ - spec/utils/coercion.rb
295
+ - spec/services/line_items_service_spec.rb
296
+ - spec/services/deal_unqualified_reasons_service_spec.rb
297
297
  - spec/services/stages_service_spec.rb
298
- - spec/services/products_service_spec.rb
299
- - spec/services/tasks_service_spec.rb
300
- - spec/services/notes_service_spec.rb
301
- - spec/services/lead_unqualified_reasons_service_spec.rb
302
- - spec/services/deal_sources_service_spec.rb
303
- - spec/services/visit_outcomes_service_spec.rb
298
+ - spec/services/call_outcomes_service_spec.rb
299
+ - spec/services/lead_sources_service_spec.rb
304
300
  - spec/services/pipelines_service_spec.rb
301
+ - spec/services/lead_unqualified_reasons_service_spec.rb
302
+ - spec/services/text_messages_service_spec.rb
305
303
  - spec/services/sources_service_spec.rb
306
- - spec/services/lead_sources_service_spec.rb
307
- - spec/services/tags_service_spec.rb
308
304
  - spec/services/contacts_service_spec.rb
305
+ - spec/services/loss_reasons_service_spec.rb
306
+ - spec/services/deals_service_spec.rb
307
+ - spec/services/calls_service_spec.rb
308
+ - spec/services/sync_service_spec.rb
309
309
  - spec/services/associated_contacts_service_spec.rb
310
- - spec/services/deal_unqualified_reasons_service_spec.rb
311
310
  - spec/services/orders_service_spec.rb
312
- - spec/services/calls_service_spec.rb
313
- - spec/services/visits_service_spec.rb
314
- - spec/services/text_messages_service_spec.rb
311
+ - spec/services/leads_service_spec.rb
312
+ - spec/services/tasks_service_spec.rb
313
+ - spec/services/deal_sources_service_spec.rb
314
+ - spec/services/notes_service_spec.rb
315
315
  - spec/services/accounts_service_spec.rb
316
- - spec/services/line_items_service_spec.rb
317
- - spec/services/call_outcomes_service_spec.rb
316
+ - spec/services/visit_outcomes_service_spec.rb
317
+ - spec/services/visits_service_spec.rb
318
+ - spec/services/products_service_spec.rb
319
+ - spec/services/tags_service_spec.rb
318
320
  - spec/services/users_service_spec.rb
319
- - spec/services/leads_service_spec.rb
320
- - spec/models/sync_meta_spec.rb