gitlab_support_readiness 1.0.81 → 1.0.83
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/support_readiness/repos/zendesk_salesforce_sync.rb +4 -0
- data/lib/support_readiness/salesforce/accounts.rb +6 -0
- data/lib/support_readiness/salesforce/subscription_definitions.rb +30 -0
- data/lib/support_readiness/ticket_processor/organization_notes.rb +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a5aafc6f45666ac5ce8d48b3c409afc3ce8c3c4807dfd5455c3ffe38030dedc
|
4
|
+
data.tar.gz: 9beca917e0b0e1e014f11bb7117eaaefd663be7bb1198a5b6067c1d0cd83a18b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f139993fe87bb14b05f4df232b816f6b0be1dc709d870ba9afcdda18536437cc98b1be881f5d12dee4551ab16d1879492f3b79c6b3e779e9920b9ebaa84a2ca1
|
7
|
+
data.tar.gz: c3edb752b546f350b1ffd6ad33aedb3646046959f78c46380a619afba9ff178ee14ecfcc223d687d70342c811ec129394ef707574579c6141712089db7ac936c
|
@@ -766,6 +766,8 @@ module Readiness
|
|
766
766
|
'sub_oss' => org.organization_fields['sub_oss'],
|
767
767
|
'sub_community_other' => org.organization_fields['sub_community_other'],
|
768
768
|
'sub_ss_ase' => org.organization_fields['sub_ss_ase'],
|
769
|
+
'sub_ss_growth' => org.organization_fields['sub_ss_growth'],
|
770
|
+
'sub_ss_enterprise' => org.organization_fields['sub_ss_enterprise'],
|
769
771
|
'sub_other' => org.organization_fields['sub_other'],
|
770
772
|
'partner_customer' => org.organization_fields['partner_customer'],
|
771
773
|
'not_in_sfdc' => org.organization_fields['not_in_sfdc'],
|
@@ -1010,6 +1012,8 @@ module Readiness
|
|
1010
1012
|
'sub_sm_starter' => account['sub_sm_starter'],
|
1011
1013
|
'sub_sm_ultimate' => account['sub_sm_ultimate'],
|
1012
1014
|
'sub_ss_ase' => account['sub_ss_ase'],
|
1015
|
+
'sub_ss_growth' => account['sub_ss_growth'],
|
1016
|
+
'sub_ss_enterprise' => account['sub_ss_enterprise'],
|
1013
1017
|
'sub_usgov_12x5' => account['sub_usgov_12x5'],
|
1014
1018
|
'sub_usgov_24x7' => account['sub_usgov_24x7'],
|
1015
1019
|
'support_hold' => account['support_hold'],
|
@@ -170,6 +170,8 @@ module Readiness
|
|
170
170
|
"sub_oss" => subscriptions.include?('sub_oss'),
|
171
171
|
"sub_community_other" => subscriptions.include?('sub_community_other'),
|
172
172
|
"sub_ss_ase" => subscriptions.include?('sub_ss_ase'),
|
173
|
+
'sub_ss_growth' => subscriptions.include?('sub_ss_growth'),
|
174
|
+
'sub_ss_enterprise' => subscriptions.include?('sub_ss_enterprise'),
|
173
175
|
"sub_other" => subscriptions.include?('sub_other'),
|
174
176
|
"partner_customer" => account_is_partner_customer?(account, type),
|
175
177
|
"not_in_sfdc" => false,
|
@@ -262,6 +264,8 @@ module Readiness
|
|
262
264
|
sub_types.push('sub_oss') if SubscriptionDefinitions.oss.include? sub.Name
|
263
265
|
sub_types.push('sub_community_other') if SubscriptionDefinitions.community_other.include? sub.Name
|
264
266
|
sub_types.push('sub_ss_ase') if SubscriptionDefinitions.ss_ase.include? sub.Name
|
267
|
+
sub_types.push('sub_ss_growth') if SubscriptionDefinitions.ss_success_advanced.include? sub.Name
|
268
|
+
sub_types.push('sub_ss_enterprise') if SubscriptionDefinitions.ss_success_signature.include? sub.Name
|
265
269
|
sub_types.push('sub_usgov_24x7') if SubscriptionDefinitions.fedramp.include? sub.Name
|
266
270
|
sub_types.push('sub_gitlab_dedicated') if SubscriptionDefinitions.fedramp.include? sub.Name
|
267
271
|
sub_types.push('sub_other') if sub_types.count.zero?
|
@@ -396,6 +400,8 @@ module Readiness
|
|
396
400
|
return 'custom' if subscriptions.include? 'sub_usgov_12x5'
|
397
401
|
return 'custom' if subscriptions.include? 'sub_usgov_24x7'
|
398
402
|
return 'custom' if subscriptions.include? 'sub_ss_ase'
|
403
|
+
return 'custom' if subscriptions.include? 'sub_ss_growth'
|
404
|
+
return 'custom' if subscriptions.include? 'sub_ss_enterprise'
|
399
405
|
return 'community' if subscriptions.include? 'sub_edu'
|
400
406
|
return 'community' if subscriptions.include? 'sub_oss'
|
401
407
|
return 'community' if subscriptions.include? 'sub_community_other'
|
@@ -628,6 +628,36 @@ module Readiness
|
|
628
628
|
'Success Essentials - 1 Year'
|
629
629
|
]
|
630
630
|
end
|
631
|
+
|
632
|
+
##
|
633
|
+
# Defines Support Services => Success Advanced subscriptions
|
634
|
+
#
|
635
|
+
# @author Jason Colyer
|
636
|
+
# @since 1.0.82
|
637
|
+
# @return [Array]
|
638
|
+
def self.ss_success_advanced
|
639
|
+
[
|
640
|
+
'Success Advanced - 1 Year',
|
641
|
+
'Success Advanced - 2 Year',
|
642
|
+
'Success Advanced - 3 Year',
|
643
|
+
'Success Advanced - Monthly'
|
644
|
+
]
|
645
|
+
end
|
646
|
+
|
647
|
+
##
|
648
|
+
# Defines Support Services => Success Signature subscriptions
|
649
|
+
#
|
650
|
+
# @author Jason Colyer
|
651
|
+
# @since 1.0.82
|
652
|
+
# @return [Array]
|
653
|
+
def self.ss_success_signature
|
654
|
+
[
|
655
|
+
'Success Signature - 1 Year',
|
656
|
+
'Success Signature - 2 Year',
|
657
|
+
'Success Signature - 3 Year',
|
658
|
+
'Success Signature - Monthly'
|
659
|
+
]
|
660
|
+
end
|
631
661
|
end
|
632
662
|
end
|
633
663
|
end
|
@@ -360,6 +360,8 @@ module Readiness
|
|
360
360
|
addons.push('GitLab Duo Premium') if @organization.organization_fields['sub_consumption_duo_premium']
|
361
361
|
addons.push('GitLab Duo Enterprise') if @organization.organization_fields['sub_consumption_duo_enterprise']
|
362
362
|
addons.push('AI addon') if @organization.organization_fields['sub_consumption_ai']
|
363
|
+
addons.push('Success Advanced') if @organization.organization_fields['sub_ss_success_growth']
|
364
|
+
addons.push('Success Signature') if @organization.organization_fields['sub_ss_success_enterprise']
|
363
365
|
addons.push('Consumption (CI/CD Minutes)') if @organization.organization_fields['sub_consumption_cicd_minutes']
|
364
366
|
addons.push('Consumption (Storage)') if @organization.organization_fields['sub_consumption_storage']
|
365
367
|
addons.push('Enterprise Agile Planning') if @organization.organization_fields['sub_consumption_eap']
|
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.83
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Colyer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-12-
|
11
|
+
date: 2024-12-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|