gitlab_support_readiness 1.0.114 → 1.0.116
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e23c1f8ff61d3f65049356c43811a965f9bbe12adcf59521f7a791fe6ca1c41d
|
4
|
+
data.tar.gz: 7f955a7330e1206f7da3daaf55d16a1e39ecf0f6283e92520a209da187b2022f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e7650d5e50d31d9f330aab54d5d8892ff2fbc356aaa32b32a4eec158eb75f91fe6b5494533948b4ab96862722c68e3f90c4220c38eb5e8f69673670cc798f87
|
7
|
+
data.tar.gz: f83d87bd5ce911651308c694b2ccddd9453fcfb5b6bfa11976aee4fd46e4a4287b37c0b61ab51edc6008a433adea8640b32ad689ef7f008e7731ee9bf63419fd
|
@@ -48,6 +48,7 @@ module Readiness
|
|
48
48
|
# pp diffs[:updates.count]
|
49
49
|
# # => 1
|
50
50
|
def self.compare(zendesk_client, location = 'data', verbose = false)
|
51
|
+
@zendesk_client = zendesk_client
|
51
52
|
diffs = {
|
52
53
|
updates: [],
|
53
54
|
creates: []
|
@@ -129,6 +130,14 @@ module Readiness
|
|
129
130
|
# pp repo.count
|
130
131
|
# # => 35
|
131
132
|
def self.gather(location = 'data')
|
133
|
+
@categories = Readiness::Zendesk::TriggerCategories.list(@zendesk_client)
|
134
|
+
@groups = Readiness::Zendesk::Groups.list(@zendesk_client)
|
135
|
+
@schedules = Readiness::Zendesk::Schedules.list(@zendesk_client)
|
136
|
+
@satisfaction_reasons = Readiness::Zendesk::SatisfactionReasons.list(@zendesk_client)
|
137
|
+
@targets = Readiness::Zendesk::Targets.list(@zendesk_client)
|
138
|
+
@ticket_fields = Readiness::Zendesk::TicketFields.list(@zendesk_client)
|
139
|
+
@ticket_forms = Readiness::Zendesk::TicketForms.list(@zendesk_client)
|
140
|
+
@webhooks = Readiness::Zendesk::Webhooks.list(@zendesk_client)
|
132
141
|
@errors = []
|
133
142
|
@location = location
|
134
143
|
array = []
|
@@ -136,6 +145,7 @@ module Readiness
|
|
136
145
|
object = YAML.safe_load_file(f)
|
137
146
|
object = convert_managed_content(object) if object['contains_managed_content']
|
138
147
|
object = convert_managed_webhook(object) if object['contains_managed_webhook']
|
148
|
+
object = convert_standard_names_to_ids(object)
|
139
149
|
validity_check(f, object)
|
140
150
|
object['id'] = nil
|
141
151
|
array.push(Zendesk::Automations.new(object))
|
@@ -773,7 +773,8 @@ module Readiness
|
|
773
773
|
'sub_other' => org.organization_fields['sub_other'],
|
774
774
|
'partner_customer' => org.organization_fields['partner_customer'],
|
775
775
|
'not_in_sfdc' => org.organization_fields['not_in_sfdc'],
|
776
|
-
'support_hold' => org.organization_fields['support_hold']
|
776
|
+
'support_hold' => org.organization_fields['support_hold'],
|
777
|
+
'org_in_escalated_state' => org.organization_fields['org_in_escalated_state']
|
777
778
|
}
|
778
779
|
end
|
779
780
|
|
@@ -990,6 +991,7 @@ module Readiness
|
|
990
991
|
'greatly_expired' => account['greatly_expired'],
|
991
992
|
'health_score' => account['health_score'],
|
992
993
|
'not_in_sfdc' => account['not_in_sfdc'],
|
994
|
+
'org_in_escalated_state' => account['org_in_escalated_state'],
|
993
995
|
'org_region' => account['org_region'],
|
994
996
|
'partner_customer' => account['partner_customer'],
|
995
997
|
'restricted_account' => account['restricted_account'],
|
@@ -171,7 +171,8 @@ module Readiness
|
|
171
171
|
"partner_customer" => account_is_partner_customer?(account, type),
|
172
172
|
"not_in_sfdc" => false,
|
173
173
|
"support_hold" => account.Support_Hold__c,
|
174
|
-
"sold_to" => account_sold_to(account)
|
174
|
+
"sold_to" => account_sold_to(account),
|
175
|
+
"org_in_escalated_state" => (account.Account_Risk_Level__c == 'At Risk - Escalated')
|
175
176
|
}
|
176
177
|
end
|
177
178
|
|
@@ -500,6 +501,7 @@ module Readiness
|
|
500
501
|
Partner_Track__c,
|
501
502
|
Partners_Partner_Type__c,
|
502
503
|
Support_Hold__c,
|
504
|
+
Account_Risk_Level__c,
|
503
505
|
(
|
504
506
|
SELECT
|
505
507
|
Id,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitlab_support_readiness
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.116
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Colyer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-02-
|
11
|
+
date: 2025-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|