@adminide-stack/yantra-help-browser 12.0.16-alpha.2 → 12.0.16-alpha.20
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.
- package/lib/components/HelpCenterFooter.d.ts.map +1 -1
- package/lib/components/HelpCenterFooter.js +3 -15
- package/lib/components/HelpCenterFooter.js.map +1 -1
- package/lib/components/HelpCenterHeader.d.ts +1 -5
- package/lib/components/HelpCenterHeader.d.ts.map +1 -1
- package/lib/components/HelpCenterHeader.js +11 -58
- package/lib/components/HelpCenterHeader.js.map +1 -1
- package/lib/components/Logo.d.ts.map +1 -1
- package/lib/components/Logo.js +3 -2
- package/lib/components/Logo.js.map +1 -1
- package/lib/components/SearchBar.d.ts +8 -0
- package/lib/components/SearchBar.d.ts.map +1 -0
- package/lib/components/SearchBar.js +234 -0
- package/lib/components/SearchBar.js.map +1 -0
- package/lib/components/SidebarSearch.d.ts +8 -0
- package/lib/components/SidebarSearch.d.ts.map +1 -0
- package/lib/components/SidebarSearch.js +114 -0
- package/lib/components/SidebarSearch.js.map +1 -0
- package/lib/components/navbar/index.d.ts.map +1 -1
- package/lib/components/navbar/index.js +5 -4
- package/lib/components/navbar/index.js.map +1 -1
- package/lib/compute.d.ts.map +1 -1
- package/lib/compute.js +19 -1
- package/lib/compute.js.map +1 -1
- package/lib/pages/CategoryCollection/index.d.ts.map +1 -1
- package/lib/pages/CategoryCollection/index.js +5 -11
- package/lib/pages/CategoryCollection/index.js.map +1 -1
- package/lib/pages/HelpCenter/index.d.ts.map +1 -1
- package/lib/pages/HelpCenter/index.js +3 -9
- package/lib/pages/HelpCenter/index.js.map +1 -1
- package/lib/pages/LandingPage/components/HeroSection.d.ts +0 -1
- package/lib/pages/LandingPage/components/HeroSection.d.ts.map +1 -1
- package/lib/pages/LandingPage/components/HeroSection.js +3 -6
- package/lib/pages/LandingPage/components/HeroSection.js.map +1 -1
- package/lib/pages/LandingPage/index.d.ts.map +1 -1
- package/lib/pages/LandingPage/index.js +1 -6
- package/lib/pages/LandingPage/index.js.map +1 -1
- package/lib/pages/Markdown/MarkdownPageLayout.d.ts +3 -0
- package/lib/pages/Markdown/MarkdownPageLayout.d.ts.map +1 -0
- package/lib/pages/Markdown/MarkdownPageLayout.js +314 -0
- package/lib/pages/Markdown/MarkdownPageLayout.js.map +1 -0
- package/lib/pages/Markdown/MarkdownPageWithParams.d.ts +9 -0
- package/lib/pages/Markdown/MarkdownPageWithParams.d.ts.map +1 -0
- package/lib/pages/Markdown/MarkdownPageWithParams.js +65 -0
- package/lib/pages/Markdown/MarkdownPageWithParams.js.map +1 -0
- package/lib/pages/Markdown/index.d.ts +3 -0
- package/lib/pages/Markdown/index.d.ts.map +1 -0
- package/lib/pages/Markdown/index.js +5 -0
- package/lib/pages/Markdown/index.js.map +1 -0
- package/lib/routes.json +28 -1
- package/lib/{content → templates/content}/account-management/account-setup.md +10 -0
- package/lib/{content → templates/content}/account-management/delete-account.md +10 -0
- package/lib/{content → templates/content}/account-management/preferences.md +10 -0
- package/lib/{content → templates/content}/account-management/privacy-settings.md +10 -0
- package/lib/{content → templates/content}/account-management/profile-settings.md +8 -0
- package/lib/templates/content/content-manifest.json +3681 -0
- package/lib/{content → templates/content}/data-privacy/data-collection.md +9 -0
- package/lib/{content → templates/content}/data-privacy/privacy-policy.md +10 -0
- package/lib/{content → templates/content}/data-subject-privacy/data-access.md +12 -0
- package/lib/{content → templates/content}/data-subject-privacy/data-portability.md +15 -0
- package/lib/{content → templates/content}/data-subject-privacy/privacy-requests.md +11 -0
- package/lib/{content → templates/content}/file-uploads/file-upload-overview.md +9 -0
- package/lib/{content → templates/content}/getting-started/getting-started-guide.md +9 -0
- package/lib/{content → templates/content}/product-features/ai-models.md +1 -1
- package/lib/{content → templates/content}/product-features/collaboration-tools.md +8 -0
- package/lib/{content → templates/content}/product-features/conversation-features.md +6 -0
- package/lib/{content → templates/content}/product-features/export-features.md +8 -0
- package/lib/{content → templates/content}/product-features/follow-up-questions.md +8 -0
- package/lib/{content → templates/content}/product-features/real-time-search.md +8 -0
- package/lib/{content → templates/content}/product-features/saved-searches.md +8 -0
- package/lib/{content → templates/content}/product-features/search-features.md +1 -1
- package/lib/{content → templates/content}/product-features/search-history.md +8 -0
- package/lib/{content → templates/content}/product-features/source-citations.md +8 -0
- package/lib/{content → templates/content}/scope-api/api-overview.md +8 -0
- package/lib/{content → templates/content}/search-modes/deep-research.md +8 -0
- package/lib/{content → templates/content}/search-modes/labs-features.md +10 -0
- package/lib/{content → templates/content}/search-modes/pro-search.md +8 -0
- package/lib/{content → templates/content}/search-modes/regular-search.md +8 -0
- package/lib/{content → templates/content}/spaces-library/spaces-overview.md +8 -0
- package/lib/{content → templates/content}/student-hub/academic-research.md +8 -0
- package/lib/{content → templates/content}/student-hub/student-discounts.md +10 -0
- package/lib/{content → templates/content}/student-hub/student-overview.md +8 -0
- package/lib/{content → templates/content}/student-hub/study-tools.md +8 -0
- package/lib/{content → templates/content}/subscription-billing/billing-cycle.md +8 -0
- package/lib/{content → templates/content}/subscription-billing/billing-overview.md +6 -0
- package/lib/{content → templates/content}/subscription-billing/billing-support.md +8 -0
- package/lib/{content → templates/content}/subscription-billing/currency-support.md +10 -0
- package/lib/{content → templates/content}/subscription-billing/enterprise-pricing.md +8 -0
- package/lib/{content → templates/content}/subscription-billing/invoice-management.md +8 -0
- package/lib/{content → templates/content}/subscription-billing/payment-methods.md +9 -0
- package/lib/{content → templates/content}/subscription-billing/promotional-offers.md +8 -0
- package/lib/{content → templates/content}/subscription-billing/refund-policy.md +10 -0
- package/lib/{content → templates/content}/subscription-billing/student-discounts.md +10 -0
- package/lib/{content → templates/content}/subscription-billing/tax-information.md +8 -0
- package/lib/{content → templates/content}/technical-questions/ai-models-technical.md +10 -0
- package/lib/{content → templates/content}/technical-questions/api-technical.md +10 -0
- package/lib/{content → templates/content}/technical-questions/data-processing.md +10 -0
- package/lib/{content → templates/content}/technical-questions/database-architecture.md +10 -0
- package/lib/{content → templates/content}/technical-questions/infrastructure.md +10 -0
- package/lib/{content → templates/content}/technical-questions/performance-optimization.md +10 -0
- package/lib/{content → templates/content}/technical-questions/search-algorithms.md +10 -0
- package/lib/{content → templates/content}/technical-questions/technical-overview.md +10 -0
- package/lib/{content → templates/content}/threads/conversation-management.md +8 -0
- package/lib/{content → templates/content}/threads/threads-overview.md +8 -0
- package/lib/{content → templates/content}/troubleshooting/common-issues.md +8 -0
- package/lib/{content → templates/content}/what-is-yantra/getting-started-yantra.md +1 -1
- package/lib/{content → templates/content}/what-is-yantra/how-yantra-works.md +1 -1
- package/lib/{content → templates/content}/what-is-yantra/practical-tips-yantra.md +2 -1
- package/lib/{content → templates/content}/what-is-yantra/what-is-yantra-intro.md +1 -1
- package/lib/{content → templates/content}/what-is-yantra/yantra-discord-community.md +4 -1
- package/lib/{content → templates/content}/yantra-assistant/android-app.md +10 -0
- package/lib/{content → templates/content}/yantra-assistant/ios-app.md +10 -0
- package/lib/{content → templates/content}/yantra-assistant/mobile-app-overview.md +8 -0
- package/lib/{content → templates/content}/yantra-assistant/voice-assistant.md +10 -0
- package/lib/{content → templates/content}/yantra-enterprise/admin-dashboard.md +10 -0
- package/lib/{content → templates/content}/yantra-enterprise/custom-branding.md +10 -0
- package/lib/{content → templates/content}/yantra-enterprise/dedicated-support.md +10 -0
- package/lib/{content → templates/content}/yantra-enterprise/enterprise-overview.md +8 -0
- package/lib/{content → templates/content}/yantra-enterprise/sso-integration.md +10 -0
- package/lib/{content → templates/content}/yantra-enterprise/user-management.md +10 -0
- package/lib/{content → templates/content}/yantra-pro-max/billing-management.md +13 -0
- package/lib/{content → templates/content}/yantra-pro-max/cancellation-refund.md +13 -0
- package/lib/{content → templates/content}/yantra-pro-max/pro-pricing.md +13 -9
- package/lib/{content → templates/content}/yantra-pro-max/subscription-benefits.md +8 -0
- package/lib/{content → templates/content}/yantra-pro-max/upgrade-process.md +13 -0
- package/lib/{content → templates/content}/yantra-pro-max/yantra-max-features.md +8 -8
- package/lib/{content → templates/content}/yantra-pro-max/yantra-pro-overview.md +8 -8
- package/lib/utils/docsNavigation.d.ts +10 -0
- package/lib/utils/docsNavigation.d.ts.map +1 -0
- package/lib/utils/docsNavigation.js +151 -0
- package/lib/utils/docsNavigation.js.map +1 -0
- package/lib/utils/helpCenterUtils.d.ts.map +1 -1
- package/lib/utils/markdownLoader.d.ts +12 -4
- package/lib/utils/markdownLoader.d.ts.map +1 -1
- package/lib/utils/markdownLoader.js +362 -1163
- package/lib/utils/markdownLoader.js.map +1 -1
- package/package.json +23 -6
- package/lib/pages/ArticlePage/index.d.ts +0 -4
- package/lib/pages/ArticlePage/index.d.ts.map +0 -1
- package/lib/pages/ArticlePage/index.js +0 -190
- package/lib/pages/ArticlePage/index.js.map +0 -1
- package/lib/pages/LandingPage/components/SearchBar.d.ts +0 -8
- package/lib/pages/LandingPage/components/SearchBar.d.ts.map +0 -1
- package/lib/pages/LandingPage/components/SearchBar.js +0 -58
- package/lib/pages/LandingPage/components/SearchBar.js.map +0 -1
|
@@ -5,6 +5,7 @@ Information about canceling subscriptions and refund policies.
|
|
|
5
5
|
## Cancellation Policy
|
|
6
6
|
|
|
7
7
|
### How to Cancel
|
|
8
|
+
|
|
8
9
|
1. **Account Settings**: Navigate to subscription settings
|
|
9
10
|
2. **Cancel Option**: Click "Cancel Subscription"
|
|
10
11
|
3. **Reason Selection**: Choose cancellation reason
|
|
@@ -12,12 +13,14 @@ Information about canceling subscriptions and refund policies.
|
|
|
12
13
|
5. **Email Confirmation**: Receive cancellation email
|
|
13
14
|
|
|
14
15
|
### Cancellation Timing
|
|
16
|
+
|
|
15
17
|
- **Immediate**: Cancellation takes effect immediately
|
|
16
18
|
- **Billing Cycle**: No refunds for current period
|
|
17
19
|
- **Access**: Features available until period end
|
|
18
20
|
- **Data**: Account data preserved for 30 days
|
|
19
21
|
|
|
20
22
|
### Post-Cancellation
|
|
23
|
+
|
|
21
24
|
- **Feature Access**: Available until period end
|
|
22
25
|
- **Data Export**: Export data before cancellation
|
|
23
26
|
- **Account Deletion**: Automatic after 30 days
|
|
@@ -26,12 +29,14 @@ Information about canceling subscriptions and refund policies.
|
|
|
26
29
|
## Refund Policy
|
|
27
30
|
|
|
28
31
|
### Refund Eligibility
|
|
32
|
+
|
|
29
33
|
- **New Subscriptions**: 7-day refund window
|
|
30
34
|
- **Annual Plans**: Prorated refunds available
|
|
31
35
|
- **Technical Issues**: Refunds for service problems
|
|
32
36
|
- **Duplicate Charges**: Full refunds for duplicates
|
|
33
37
|
|
|
34
38
|
### Refund Process
|
|
39
|
+
|
|
35
40
|
1. **Contact Support**: Reach out to billing support
|
|
36
41
|
2. **Provide Details**: Explain refund reason
|
|
37
42
|
3. **Review Request**: Support team reviews
|
|
@@ -39,6 +44,7 @@ Information about canceling subscriptions and refund policies.
|
|
|
39
44
|
5. **Confirmation**: Email confirmation sent
|
|
40
45
|
|
|
41
46
|
### Refund Timeline
|
|
47
|
+
|
|
42
48
|
- **Processing Time**: 3-5 business days
|
|
43
49
|
- **Credit Card**: 5-10 business days
|
|
44
50
|
- **PayPal**: 1-3 business days
|
|
@@ -47,12 +53,14 @@ Information about canceling subscriptions and refund policies.
|
|
|
47
53
|
## Subscription Changes
|
|
48
54
|
|
|
49
55
|
### Downgrading
|
|
56
|
+
|
|
50
57
|
- **Immediate Effect**: Downgrade takes effect immediately
|
|
51
58
|
- **Prorated Refund**: Refund for unused portion
|
|
52
59
|
- **Feature Loss**: Some features may be lost
|
|
53
60
|
- **Data Access**: Data remains accessible
|
|
54
61
|
|
|
55
62
|
### Upgrading
|
|
63
|
+
|
|
56
64
|
- **Immediate Access**: New features available immediately
|
|
57
65
|
- **Prorated Billing**: Charge for upgrade difference
|
|
58
66
|
- **No Refund**: No refund for current period
|
|
@@ -61,12 +69,14 @@ Information about canceling subscriptions and refund policies.
|
|
|
61
69
|
## Account Management
|
|
62
70
|
|
|
63
71
|
### Data Retention
|
|
72
|
+
|
|
64
73
|
- **30 Days**: Account data kept for 30 days
|
|
65
74
|
- **Export Options**: Download data before cancellation
|
|
66
75
|
- **Search History**: Preserved during retention period
|
|
67
76
|
- **Saved Searches**: Available for export
|
|
68
77
|
|
|
69
78
|
### Reactivation
|
|
79
|
+
|
|
70
80
|
- **30-Day Window**: Can reactivate within 30 days
|
|
71
81
|
- **Same Plan**: Reactivate with same plan
|
|
72
82
|
- **Data Restoration**: All data restored
|
|
@@ -75,18 +85,21 @@ Information about canceling subscriptions and refund policies.
|
|
|
75
85
|
## Support and Assistance
|
|
76
86
|
|
|
77
87
|
### Cancellation Support
|
|
88
|
+
|
|
78
89
|
- **Live Chat**: Real-time assistance
|
|
79
90
|
- **Email Support**: Detailed help via email
|
|
80
91
|
- **Phone Support**: For urgent cancellations
|
|
81
92
|
- **Self-Service**: Online cancellation tools
|
|
82
93
|
|
|
83
94
|
### Refund Support
|
|
95
|
+
|
|
84
96
|
- **Billing Team**: Dedicated refund support
|
|
85
97
|
- **Quick Response**: Fast refund processing
|
|
86
98
|
- **Transparent Process**: Clear refund policies
|
|
87
99
|
- **Multiple Channels**: Various support options
|
|
88
100
|
|
|
89
101
|
### General Support
|
|
102
|
+
|
|
90
103
|
- **FAQ**: Common questions answered
|
|
91
104
|
- **Documentation**: Comprehensive guides
|
|
92
105
|
- **Community**: User forums and discussions
|
|
@@ -5,11 +5,13 @@ Detailed pricing information for Yantra Pro and Max subscriptions.
|
|
|
5
5
|
## Yantra Pro Pricing
|
|
6
6
|
|
|
7
7
|
### Monthly Subscription
|
|
8
|
+
|
|
8
9
|
- **Price**: $20/month
|
|
9
10
|
- **Features**: All Pro features included
|
|
10
11
|
- **Billing**: Monthly recurring
|
|
11
12
|
|
|
12
13
|
### Annual Subscription
|
|
14
|
+
|
|
13
15
|
- **Price**: $200/year (2 months free)
|
|
14
16
|
- **Savings**: $40 compared to monthly
|
|
15
17
|
- **Billing**: Annual recurring
|
|
@@ -17,26 +19,28 @@ Detailed pricing information for Yantra Pro and Max subscriptions.
|
|
|
17
19
|
## Yantra Max Pricing
|
|
18
20
|
|
|
19
21
|
### Monthly Subscription
|
|
22
|
+
|
|
20
23
|
- **Price**: $40/month
|
|
21
24
|
- **Features**: All Max features included
|
|
22
25
|
- **Billing**: Monthly recurring
|
|
23
26
|
|
|
24
27
|
### Annual Subscription
|
|
28
|
+
|
|
25
29
|
- **Price**: $400/year (2 months free)
|
|
26
30
|
- **Savings**: $80 compared to monthly
|
|
27
31
|
- **Billing**: Annual recurring
|
|
28
32
|
|
|
29
33
|
## Feature Comparison
|
|
30
34
|
|
|
31
|
-
| Feature
|
|
32
|
-
|
|
33
|
-
| Daily Searches
|
|
34
|
-
| AI Models
|
|
35
|
-
| File Uploads
|
|
36
|
-
| API Access
|
|
37
|
-
| Priority Support | ❌
|
|
38
|
-
| Team Features
|
|
39
|
-
| Custom Branding
|
|
35
|
+
| Feature | Free | Pro | Max |
|
|
36
|
+
| ---------------- | ------- | -------------- | ------------- |
|
|
37
|
+
| Daily Searches | 5 | Unlimited | Maximum |
|
|
38
|
+
| AI Models | GPT-3.5 | GPT-4 + Claude | Latest models |
|
|
39
|
+
| File Uploads | ❌ | ✅ | ✅ |
|
|
40
|
+
| API Access | ❌ | ✅ | ✅ |
|
|
41
|
+
| Priority Support | ❌ | ✅ | ✅ |
|
|
42
|
+
| Team Features | ❌ | ❌ | ✅ |
|
|
43
|
+
| Custom Branding | ❌ | ❌ | ✅ |
|
|
40
44
|
|
|
41
45
|
## Payment Methods
|
|
42
46
|
|
|
@@ -5,12 +5,14 @@ Compare features across different subscription tiers.
|
|
|
5
5
|
## Free Tier Benefits
|
|
6
6
|
|
|
7
7
|
### Basic Features
|
|
8
|
+
|
|
8
9
|
- **5 Daily Searches**: Limited search capacity
|
|
9
10
|
- **GPT-3.5 Access**: Basic AI model access
|
|
10
11
|
- **Standard Support**: Community support
|
|
11
12
|
- **Basic Search**: Standard search functionality
|
|
12
13
|
|
|
13
14
|
### Limitations
|
|
15
|
+
|
|
14
16
|
- **Search Limits**: 5 searches per day
|
|
15
17
|
- **Model Access**: Limited to GPT-3.5
|
|
16
18
|
- **No File Uploads**: Cannot upload documents
|
|
@@ -19,6 +21,7 @@ Compare features across different subscription tiers.
|
|
|
19
21
|
## Pro Tier Benefits
|
|
20
22
|
|
|
21
23
|
### Enhanced Features
|
|
24
|
+
|
|
22
25
|
- **Unlimited Searches**: No daily limits
|
|
23
26
|
- **Advanced AI Models**: GPT-4 and Claude access
|
|
24
27
|
- **File Uploads**: Analyze documents and files
|
|
@@ -26,6 +29,7 @@ Compare features across different subscription tiers.
|
|
|
26
29
|
- **Priority Support**: Faster customer support
|
|
27
30
|
|
|
28
31
|
### Additional Capabilities
|
|
32
|
+
|
|
29
33
|
- **Export Options**: Save and export research
|
|
30
34
|
- **Advanced Search**: Pro search modes
|
|
31
35
|
- **Custom Searches**: Tailored search options
|
|
@@ -34,6 +38,7 @@ Compare features across different subscription tiers.
|
|
|
34
38
|
## Max Tier Benefits
|
|
35
39
|
|
|
36
40
|
### Premium Features
|
|
41
|
+
|
|
37
42
|
- **Maximum Search Limits**: Highest daily limits
|
|
38
43
|
- **Latest AI Models**: Access to newest models
|
|
39
44
|
- **Team Collaboration**: Share with team members
|
|
@@ -41,6 +46,7 @@ Compare features across different subscription tiers.
|
|
|
41
46
|
- **Dedicated Support**: Personal account manager
|
|
42
47
|
|
|
43
48
|
### Enterprise Features
|
|
49
|
+
|
|
44
50
|
- **Advanced Analytics**: Detailed usage insights
|
|
45
51
|
- **API Priority**: Highest API rate limits
|
|
46
52
|
- **Custom Training**: Train models on your data
|
|
@@ -49,12 +55,14 @@ Compare features across different subscription tiers.
|
|
|
49
55
|
## Upgrade Benefits
|
|
50
56
|
|
|
51
57
|
### Immediate Access
|
|
58
|
+
|
|
52
59
|
- **Instant Activation**: Features available immediately
|
|
53
60
|
- **No Downtime**: Seamless upgrade process
|
|
54
61
|
- **Data Preservation**: All data maintained
|
|
55
62
|
- **Prorated Billing**: Fair billing for mid-cycle upgrades
|
|
56
63
|
|
|
57
64
|
### Long-term Value
|
|
65
|
+
|
|
58
66
|
- **Cost Savings**: Better value for heavy users
|
|
59
67
|
- **Productivity**: Enhanced capabilities
|
|
60
68
|
- **Support**: Priority assistance
|
|
@@ -5,12 +5,14 @@ Step-by-step guide to upgrading your Yantra subscription.
|
|
|
5
5
|
## Before You Upgrade
|
|
6
6
|
|
|
7
7
|
### Check Your Usage
|
|
8
|
+
|
|
8
9
|
- **Current Plan**: Review your current subscription
|
|
9
10
|
- **Usage Patterns**: Analyze your search frequency
|
|
10
11
|
- **Feature Needs**: Identify required features
|
|
11
12
|
- **Budget**: Consider pricing options
|
|
12
13
|
|
|
13
14
|
### Plan Comparison
|
|
15
|
+
|
|
14
16
|
- **Feature Matrix**: Compare available features
|
|
15
17
|
- **Pricing Calculator**: Calculate costs
|
|
16
18
|
- **Support Options**: Review support levels
|
|
@@ -19,24 +21,28 @@ Step-by-step guide to upgrading your Yantra subscription.
|
|
|
19
21
|
## Upgrade Steps
|
|
20
22
|
|
|
21
23
|
### 1. Access Account Settings
|
|
24
|
+
|
|
22
25
|
1. Log into your Yantra account
|
|
23
26
|
2. Navigate to Account Settings
|
|
24
27
|
3. Click on "Subscription" tab
|
|
25
28
|
4. Review current plan details
|
|
26
29
|
|
|
27
30
|
### 2. Choose New Plan
|
|
31
|
+
|
|
28
32
|
1. Select desired subscription tier
|
|
29
33
|
2. Choose billing cycle (monthly/annual)
|
|
30
34
|
3. Review feature differences
|
|
31
35
|
4. Confirm pricing details
|
|
32
36
|
|
|
33
37
|
### 3. Payment Information
|
|
38
|
+
|
|
34
39
|
1. Enter payment method
|
|
35
40
|
2. Verify billing address
|
|
36
41
|
3. Review tax information
|
|
37
42
|
4. Confirm payment details
|
|
38
43
|
|
|
39
44
|
### 4. Complete Upgrade
|
|
45
|
+
|
|
40
46
|
1. Review upgrade summary
|
|
41
47
|
2. Accept terms and conditions
|
|
42
48
|
3. Confirm upgrade
|
|
@@ -45,18 +51,21 @@ Step-by-step guide to upgrading your Yantra subscription.
|
|
|
45
51
|
## Upgrade Options
|
|
46
52
|
|
|
47
53
|
### Free to Pro
|
|
54
|
+
|
|
48
55
|
- **Cost**: $20/month or $200/year
|
|
49
56
|
- **Benefits**: Unlimited searches, GPT-4 access
|
|
50
57
|
- **Activation**: Immediate
|
|
51
58
|
- **Billing**: Prorated for current month
|
|
52
59
|
|
|
53
60
|
### Free to Max
|
|
61
|
+
|
|
54
62
|
- **Cost**: $40/month or $400/year
|
|
55
63
|
- **Benefits**: All features, team collaboration
|
|
56
64
|
- **Activation**: Immediate
|
|
57
65
|
- **Billing**: Prorated for current month
|
|
58
66
|
|
|
59
67
|
### Pro to Max
|
|
68
|
+
|
|
60
69
|
- **Cost**: Additional $20/month or $200/year
|
|
61
70
|
- **Benefits**: Team features, custom branding
|
|
62
71
|
- **Activation**: Immediate
|
|
@@ -65,12 +74,14 @@ Step-by-step guide to upgrading your Yantra subscription.
|
|
|
65
74
|
## Post-Upgrade
|
|
66
75
|
|
|
67
76
|
### Immediate Access
|
|
77
|
+
|
|
68
78
|
- **New Features**: Available immediately
|
|
69
79
|
- **Search Limits**: Updated instantly
|
|
70
80
|
- **API Access**: Activated automatically
|
|
71
81
|
- **Support Level**: Upgraded immediately
|
|
72
82
|
|
|
73
83
|
### Account Updates
|
|
84
|
+
|
|
74
85
|
- **Billing**: New billing cycle starts
|
|
75
86
|
- **Invoices**: Updated invoice format
|
|
76
87
|
- **Usage Tracking**: Enhanced analytics
|
|
@@ -79,12 +90,14 @@ Step-by-step guide to upgrading your Yantra subscription.
|
|
|
79
90
|
## Troubleshooting
|
|
80
91
|
|
|
81
92
|
### Common Issues
|
|
93
|
+
|
|
82
94
|
- **Payment Failed**: Check payment method
|
|
83
95
|
- **Billing Questions**: Contact support
|
|
84
96
|
- **Feature Access**: Refresh account
|
|
85
97
|
- **Downgrade**: Available in settings
|
|
86
98
|
|
|
87
99
|
### Getting Help
|
|
100
|
+
|
|
88
101
|
- **Support Team**: Priority support available
|
|
89
102
|
- **Documentation**: Comprehensive guides
|
|
90
103
|
- **Community**: User forums
|
|
@@ -38,11 +38,11 @@ Yantra Max is available for $40/month or $400/year with a 2-month discount.
|
|
|
38
38
|
|
|
39
39
|
## Max vs Pro
|
|
40
40
|
|
|
41
|
-
| Feature
|
|
42
|
-
|
|
43
|
-
| Daily Searches
|
|
44
|
-
| AI Models
|
|
45
|
-
| Team Features
|
|
46
|
-
| Custom Branding
|
|
47
|
-
| Dedicated Support | ❌
|
|
48
|
-
| Custom Training
|
|
41
|
+
| Feature | Pro | Max |
|
|
42
|
+
| ----------------- | -------------- | ------------- |
|
|
43
|
+
| Daily Searches | Unlimited | Maximum |
|
|
44
|
+
| AI Models | GPT-4 + Claude | Latest models |
|
|
45
|
+
| Team Features | ❌ | ✅ |
|
|
46
|
+
| Custom Branding | ❌ | ✅ |
|
|
47
|
+
| Dedicated Support | ❌ | ✅ |
|
|
48
|
+
| Custom Training | ❌ | ✅ |
|
|
@@ -37,11 +37,11 @@ Yantra Pro is available for $20/month or $200/year with a 2-month discount.
|
|
|
37
37
|
|
|
38
38
|
## Pro vs Free
|
|
39
39
|
|
|
40
|
-
| Feature
|
|
41
|
-
|
|
42
|
-
| Daily Searches
|
|
43
|
-
| Search Modes
|
|
44
|
-
| AI Models
|
|
45
|
-
| File Uploads
|
|
46
|
-
| API Access
|
|
47
|
-
| Priority Support | ❌
|
|
40
|
+
| Feature | Free | Pro |
|
|
41
|
+
| ---------------- | ------- | -------------- |
|
|
42
|
+
| Daily Searches | 5 | Unlimited |
|
|
43
|
+
| Search Modes | Basic | All modes |
|
|
44
|
+
| AI Models | GPT-3.5 | GPT-4 + Claude |
|
|
45
|
+
| File Uploads | ❌ | ✅ |
|
|
46
|
+
| API Access | ❌ | ✅ |
|
|
47
|
+
| Priority Support | ❌ | ✅ |
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface NavItem {
|
|
2
|
+
title: string;
|
|
3
|
+
path: string | null;
|
|
4
|
+
children?: NavItem[];
|
|
5
|
+
isFile: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare function getDocsNavigation(): NavItem[];
|
|
8
|
+
export declare function getDocsNavigationAsync(): Promise<NavItem[]>;
|
|
9
|
+
export declare function clearNavigationCache(): void;
|
|
10
|
+
//# sourceMappingURL=docsNavigation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"docsNavigation.d.ts","sourceRoot":"","sources":["../../src/utils/docsNavigation.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,OAAO;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IACrB,MAAM,EAAE,OAAO,CAAC;CACnB;AAwJD,wBAAgB,iBAAiB,IAAI,OAAO,EAAE,CAmB7C;AAGD,wBAAsB,sBAAsB,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC,CAyBjE;AAGD,wBAAgB,oBAAoB,IAAI,IAAI,CAI3C"}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import {getAllCategoriesMetadataSync}from'./markdownLoader.js';// Utility to build navigation tree from folder structure in manifest
|
|
2
|
+
// Cache for manifest
|
|
3
|
+
let cachedManifest = null;
|
|
4
|
+
let manifestLoadPromise = null;
|
|
5
|
+
// Note: Direct import of JSON requires build-time configuration
|
|
6
|
+
// For now, we rely on async fetch or window.__CONTENT_MANIFEST__
|
|
7
|
+
// Function to load content manifest synchronously (for initial render)
|
|
8
|
+
function loadContentManifestSync() {
|
|
9
|
+
if (cachedManifest) {
|
|
10
|
+
return cachedManifest;
|
|
11
|
+
}
|
|
12
|
+
// In browser, try to load from window if available (set by initial page load)
|
|
13
|
+
if (typeof window !== 'undefined' && window.__CONTENT_MANIFEST__) {
|
|
14
|
+
cachedManifest = window.__CONTENT_MANIFEST__;
|
|
15
|
+
console.log('✅ Manifest loaded from window.__CONTENT_MANIFEST__');
|
|
16
|
+
return cachedManifest;
|
|
17
|
+
}
|
|
18
|
+
// Try to load from the static file path
|
|
19
|
+
// This will only work if the manifest is already loaded
|
|
20
|
+
return null;
|
|
21
|
+
}
|
|
22
|
+
// Function to load content manifest asynchronously
|
|
23
|
+
async function loadContentManifest() {
|
|
24
|
+
if (cachedManifest) {
|
|
25
|
+
return cachedManifest;
|
|
26
|
+
}
|
|
27
|
+
if (manifestLoadPromise) {
|
|
28
|
+
return manifestLoadPromise;
|
|
29
|
+
}
|
|
30
|
+
const isBrowser = typeof window !== 'undefined' && typeof window.location !== 'undefined';
|
|
31
|
+
if (!isBrowser) {
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
34
|
+
manifestLoadPromise = (async () => {
|
|
35
|
+
try {
|
|
36
|
+
const baseUrl = window.location.origin;
|
|
37
|
+
const possiblePaths = [`${baseUrl}/content/content-manifest.json`, '/content/content-manifest.json', './content/content-manifest.json', '../content/content-manifest.json'];
|
|
38
|
+
for (const manifestPath of possiblePaths) {
|
|
39
|
+
try {
|
|
40
|
+
const response = await fetch(manifestPath);
|
|
41
|
+
if (response.ok) {
|
|
42
|
+
const manifest = await response.json();
|
|
43
|
+
cachedManifest = manifest;
|
|
44
|
+
// Also set on window for sync access
|
|
45
|
+
if (typeof window !== 'undefined') {
|
|
46
|
+
window.__CONTENT_MANIFEST__ = manifest;
|
|
47
|
+
}
|
|
48
|
+
console.log('✅ Successfully loaded content manifest from:', manifestPath);
|
|
49
|
+
console.log('📦 Navigation items found:', manifest.navigationItems?.length || 0);
|
|
50
|
+
return manifest;
|
|
51
|
+
} else {
|
|
52
|
+
console.log(`⚠️ Manifest not found at ${manifestPath} (status: ${response.status})`);
|
|
53
|
+
}
|
|
54
|
+
} catch (fetchError) {
|
|
55
|
+
console.log(`⚠️ Error fetching ${manifestPath}:`, fetchError);
|
|
56
|
+
continue;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
console.error('❌ Could not load content manifest from any path. Tried:', possiblePaths);
|
|
60
|
+
return null;
|
|
61
|
+
} catch (error) {
|
|
62
|
+
console.error('❌ Error loading content manifest:', error);
|
|
63
|
+
return null;
|
|
64
|
+
} finally {
|
|
65
|
+
manifestLoadPromise = null;
|
|
66
|
+
}
|
|
67
|
+
})();
|
|
68
|
+
return manifestLoadPromise;
|
|
69
|
+
}
|
|
70
|
+
// Build navigation tree from manifest navigationItems (preferred method)
|
|
71
|
+
function buildNavigationFromManifest(manifest) {
|
|
72
|
+
if (manifest && manifest.navigationItems && manifest.navigationItems.length > 0) {
|
|
73
|
+
console.log('✅ Using navigationItems from manifest:', manifest.navigationItems.length, 'top-level items');
|
|
74
|
+
return manifest.navigationItems;
|
|
75
|
+
}
|
|
76
|
+
if (manifest) {
|
|
77
|
+
console.warn('⚠️ Manifest loaded but navigationItems is empty or missing');
|
|
78
|
+
}
|
|
79
|
+
return null;
|
|
80
|
+
}
|
|
81
|
+
// Build navigation tree from category metadata (fallback method)
|
|
82
|
+
function buildDocsNavigationFromCategories() {
|
|
83
|
+
const categories = getAllCategoriesMetadataSync();
|
|
84
|
+
const navItems = [];
|
|
85
|
+
for (const category of categories) {
|
|
86
|
+
// Create category node
|
|
87
|
+
const categoryItem = {
|
|
88
|
+
title: category.title,
|
|
89
|
+
path: `/help-center/${category.id}`,
|
|
90
|
+
children: [],
|
|
91
|
+
isFile: false
|
|
92
|
+
};
|
|
93
|
+
// Create a flat list of articles under each category
|
|
94
|
+
// Path format: /help/:categoryId/:slug (e.g., /help/adminide-modules/adminide-modules-account-auth0-login)
|
|
95
|
+
const articleItems = category.articles.map(article => ({
|
|
96
|
+
title: article.title,
|
|
97
|
+
path: `/help-center/${category.id}/${article.slug}`,
|
|
98
|
+
children: [],
|
|
99
|
+
isFile: true
|
|
100
|
+
}));
|
|
101
|
+
// If there are articles, add them as children
|
|
102
|
+
if (articleItems.length > 0) {
|
|
103
|
+
categoryItem.children = articleItems;
|
|
104
|
+
}
|
|
105
|
+
navItems.push(categoryItem);
|
|
106
|
+
}
|
|
107
|
+
return navItems;
|
|
108
|
+
}
|
|
109
|
+
// Get navigation tree (cached, tries manifest first, falls back to categories)
|
|
110
|
+
let cachedNavigation = null;
|
|
111
|
+
function getDocsNavigation() {
|
|
112
|
+
if (cachedNavigation) {
|
|
113
|
+
return cachedNavigation;
|
|
114
|
+
}
|
|
115
|
+
// Try to load from manifest synchronously first
|
|
116
|
+
const manifest = loadContentManifestSync();
|
|
117
|
+
const navFromManifest = buildNavigationFromManifest(manifest);
|
|
118
|
+
if (navFromManifest) {
|
|
119
|
+
cachedNavigation = navFromManifest;
|
|
120
|
+
console.log('✅ Navigation loaded from manifest (sync)');
|
|
121
|
+
return cachedNavigation;
|
|
122
|
+
}
|
|
123
|
+
// Fallback to category-based navigation
|
|
124
|
+
console.warn('⚠️ Falling back to category-based navigation (manifest not available sync)');
|
|
125
|
+
cachedNavigation = buildDocsNavigationFromCategories();
|
|
126
|
+
return cachedNavigation;
|
|
127
|
+
}
|
|
128
|
+
// Async version that ensures manifest is loaded
|
|
129
|
+
async function getDocsNavigationAsync() {
|
|
130
|
+
// Try sync first
|
|
131
|
+
const syncNav = getDocsNavigation();
|
|
132
|
+
// Check if we already have manifest-based navigation
|
|
133
|
+
const manifest = loadContentManifestSync();
|
|
134
|
+
if (manifest && manifest.navigationItems && manifest.navigationItems.length > 0) {
|
|
135
|
+
console.log('✅ Navigation already loaded from manifest');
|
|
136
|
+
return syncNav;
|
|
137
|
+
}
|
|
138
|
+
// Load manifest asynchronously
|
|
139
|
+
console.log('🔄 Loading manifest asynchronously...');
|
|
140
|
+
const asyncManifest = await loadContentManifest();
|
|
141
|
+
const navFromManifest = buildNavigationFromManifest(asyncManifest);
|
|
142
|
+
if (navFromManifest) {
|
|
143
|
+
cachedNavigation = navFromManifest;
|
|
144
|
+
console.log('✅ Navigation loaded from manifest (async)');
|
|
145
|
+
return cachedNavigation;
|
|
146
|
+
}
|
|
147
|
+
// Fallback to category-based navigation
|
|
148
|
+
console.warn('⚠️ Falling back to category-based navigation (manifest not available async)');
|
|
149
|
+
cachedNavigation = buildDocsNavigationFromCategories();
|
|
150
|
+
return cachedNavigation;
|
|
151
|
+
}export{getDocsNavigation,getDocsNavigationAsync};//# sourceMappingURL=docsNavigation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"docsNavigation.js","sources":["../../src/utils/docsNavigation.ts"],"sourcesContent":[null],"names":[],"mappings":"+DAAA;AA0BA;AACA,IAAI,cAAc,GAA2B,IAAI;AACjD,IAAI,mBAAmB,GAA2C,IAAI;AAEtE;AACA;AAEA;AACA,SAAS,uBAAuB,GAAA;MACxB,cAAA,EAAc;AACd,IAAA,OAAA;;;MAIA,OAAA,WAAkB,WAAA,UAA8B,CAAA,oBAAqB,EAAA;AACrE,IAAA,cAAA,GAAA,MAAkB,CAAA,oBAAe;AACjC,IAAA,OAAA,CAAA,GAAO,CAAC,oDAAI,CAAA;AACZ,IAAA,OAAA;;;;AAKJ,EAAA,OAAA;AACJ;AAEA;AACA,eAAe,mBAAmB,GAAA;MAC1B,cAAA,EAAc;AACd,IAAA,OAAA;;MAGA,mBAAA,EAAmB;AACnB,IAAA,OAAA;;AAGJ,EAAA,MAAA,SAAe,GAAA,OAAU,MAAA,KAAW,WAAA,IAAe,OAAA,MAAa,CAAA,QAAS,KAAA;MAErE,CAAA,SAAU,EAAA;AACV,IAAA,OAAA,IAAO;;AAGX,EAAA,mBAAA,GAAsB,CAAA,YAAY;AAC9B,IAAA,IAAA;AACI,MAAA,MAAA,gBAAgB,CAAA,QAAe,CAAA,MAAC;AAChC,MAAA,MAAA,oBAAsB,OAAA,CAAA,8BAAA,CAAA,EAAA,gCAAA,EAAA,iCAAA,EAAA,kCAAA,CAAA;AAClB,MAAA,KAAA,MAAA,YAA0C,IAAA,aAAA,EAAA;;gBAE1C,QAAiC,GAAA,MAAA,KAAA,CAAA,YAAA,CAAA;sBACC,CAAA,EAAA,EAAA;kBACpC,QAAA,GAAA,MAAA,QAAA,CAAA,IAAA,EAAA;AAEF,YAAA,cAAW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AAA,eAAiB,EAAuB;AACxC,IAAA,gBAAgB,GAAQ;AACpB,IAAA,OAAA,CAAA,GAAO,CAAC,2CAAI,CAAA;AACZ,IAAA,OAAA,gBAAe;;;AAInB,EAAA,OAAA,CAAA,IAAQ,CAAG,6EAA0C,CAAA;AACrD,EAAA,gBAAmB,GAAA,iCAA+B,EAAA;AAClD,EAAA,OAAA,gBAAqB;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpCenterUtils.d.ts","sourceRoot":"","sources":["../../src/utils/helpCenterUtils.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,OAAO;
|
|
1
|
+
{"version":3,"file":"helpCenterUtils.d.ts","sourceRoot":"","sources":["../../src/utils/helpCenterUtils.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,OAAO;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,QAAQ;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,OAAO,EAAE,CAAC;CACvB;AAGD,eAAO,MAAM,cAAc,GAAI,YAAY,QAAQ,EAAE,aAcpD,CAAC;AAGF,eAAO,MAAM,eAAe,GAAI,YAAY,MAAM,EAAE,YAAY,QAAQ,EAAE,KAAG,QAAQ,GAAG,IAEvF,CAAC;AAGF,eAAO,MAAM,gBAAgB,GAAI,aAAa,MAAM,EAAE,YAAY,QAAQ,EAAE,KAAG,OAAO,GAAG,IAMxF,CAAC;AAGF,eAAO,MAAM,qBAAqB,GAAI,YAAY,MAAM,EAAE,YAAY,QAAQ,EAAE,KAAG,OAAO,EAGzF,CAAC;AAGF,eAAO,MAAM,mBAAmB,GAAI,YAAY,MAAM,EAAE,YAAY,QAAQ,EAAE,EAAE,cAAc,MAAM;;;GAsBnG,CAAC"}
|
|
@@ -24,9 +24,17 @@ export interface Category {
|
|
|
24
24
|
iconType: string;
|
|
25
25
|
articles: Article[];
|
|
26
26
|
}
|
|
27
|
-
export declare const getAllCategoriesMetadata: () => Category[]
|
|
28
|
-
export declare const
|
|
29
|
-
export declare const
|
|
27
|
+
export declare const getAllCategoriesMetadata: () => Promise<Category[]>;
|
|
28
|
+
export declare const getAllCategoriesMetadataSync: () => Category[];
|
|
29
|
+
export declare const getCategoryById: (categoryId: string) => Promise<Category | null>;
|
|
30
|
+
export declare const getCategoryByIdSync: (categoryId: string) => Category | null;
|
|
31
|
+
export declare const getArticleBySlug: (articleSlug: string) => Promise<Article | null>;
|
|
32
|
+
export declare const getArticleBySlugSync: (articleSlug: string) => Article | null;
|
|
30
33
|
export declare const loadArticleContent: (articleSlug: string) => Promise<Article | null>;
|
|
31
|
-
export declare const
|
|
34
|
+
export declare const loadDocContent: (docSlug: string) => Promise<Article | null>;
|
|
35
|
+
export declare const loadBlogContent: (blogSlug: string) => Promise<Article | null>;
|
|
36
|
+
export declare const parseMarkdownToHtml: (markdownContent: string) => Promise<string>;
|
|
37
|
+
export declare const searchArticles: (query: string) => Promise<Article[]>;
|
|
38
|
+
export declare const getAllArticles: () => Promise<Article[]>;
|
|
39
|
+
export declare const getAllArticlesSync: () => Article[];
|
|
32
40
|
//# sourceMappingURL=markdownLoader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markdownLoader.d.ts","sourceRoot":"","sources":["../../src/utils/markdownLoader.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"markdownLoader.d.ts","sourceRoot":"","sources":["../../src/utils/markdownLoader.ts"],"names":[],"mappings":"AAiIA,MAAM,WA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