jamdesk 1.1.13 → 1.1.14

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.
@@ -1,25 +0,0 @@
1
- // Auto-generated file - do not edit manually
2
- // @ts-nocheck
3
-
4
- import React from 'react';
5
-
6
- // Import built-in MDX components that snippets can use
7
- import { Note, Info, Warning, Tip, Check, Danger, Callout } from '@/components/mdx/Callouts';
8
- import { Card } from '@/components/mdx/Card';
9
- import { CardGroup } from '@/components/mdx/CardGroup';
10
- import { ParamField } from '@/components/mdx/ParamField';
11
- import { ResponseField } from '@/components/mdx/ResponseField';
12
- import { Accordion, AccordionGroup } from '@/components/mdx/Accordion';
13
- import { CodeGroup } from '@/components/mdx/CodeGroup';
14
- import { Steps, Step } from '@/components/mdx/Steps';
15
-
16
-
17
- const CodeLink = ({ title, href }: any) => {
18
- return (
19
- <Card title={`${title}`} href={`${href}`} horizontal icon="code">
20
- {" "}
21
- </Card>
22
- );
23
- };
24
-
25
- export default CodeLink;
@@ -1,44 +0,0 @@
1
- // Auto-generated file - do not edit manually
2
- // @ts-nocheck
3
-
4
- import React from 'react';
5
-
6
- // Import built-in MDX components that snippets can use
7
- import { Note, Info, Warning, Tip, Check, Danger, Callout } from '@/components/mdx/Callouts';
8
- import { Card } from '@/components/mdx/Card';
9
- import { CardGroup } from '@/components/mdx/CardGroup';
10
- import { ParamField } from '@/components/mdx/ParamField';
11
- import { ResponseField } from '@/components/mdx/ResponseField';
12
- import { Accordion, AccordionGroup } from '@/components/mdx/Accordion';
13
- import { CodeGroup } from '@/components/mdx/CodeGroup';
14
- import { Steps, Step } from '@/components/mdx/Steps';
15
-
16
-
17
- const HeaderAPI = ({ noProfileKey, profileKeyRequired }: any) => (
18
- <>
19
- <ParamField header="Authorization" type="string" required>
20
- <a href="/apis/overview#authorization">API Key</a> of the Primary Profile.
21
- <br />
22
- <br />
23
- Format: <code>Authorization: Bearer API_KEY</code>
24
- </ParamField>
25
- {!noProfileKey &&
26
- (profileKeyRequired ? (
27
- <ParamField header="Profile-Key" type="string" required>
28
- <a href="/apis/overview#profile-key-format">Profile Key</a> of a User Profile.
29
- <br />
30
- <br />
31
- Format: <code>Profile-Key: PROFILE_KEY</code>
32
- </ParamField>
33
- ) : (
34
- <ParamField header="Profile-Key" type="string">
35
- <a href="/apis/overview#profile-key-format">Profile Key</a> of a User Profile.
36
- <br />
37
- <br />
38
- Format: <code>Profile-Key: PROFILE_KEY</code>
39
- </ParamField>
40
- ))}
41
- </>
42
- );
43
-
44
- export default HeaderAPI;
@@ -1,53 +0,0 @@
1
- // Auto-generated file - do not edit manually
2
- // @ts-nocheck
3
-
4
- import React from 'react';
5
-
6
- // Import built-in MDX components that snippets can use
7
- import { Note, Info, Warning, Tip, Check, Danger, Callout } from '@/components/mdx/Callouts';
8
- import { Card } from '@/components/mdx/Card';
9
- import { CardGroup } from '@/components/mdx/CardGroup';
10
- import { ParamField } from '@/components/mdx/ParamField';
11
- import { ResponseField } from '@/components/mdx/ResponseField';
12
- import { Accordion, AccordionGroup } from '@/components/mdx/Accordion';
13
- import { CodeGroup } from '@/components/mdx/CodeGroup';
14
- import { Steps, Step } from '@/components/mdx/Steps';
15
-
16
-
17
- const PlansAvailable = ({ plans, maxPackRequired }: any) => {
18
- let displayPlans = plans;
19
-
20
- if (plans.length === 1) {
21
- const lowerCasePlan = plans[0].toLowerCase();
22
- if (lowerCasePlan === "basic") {
23
- displayPlans = ["Basic", "Premium", "Business", "Enterprise"];
24
- } else if (lowerCasePlan === "business") {
25
- displayPlans = ["Business", "Enterprise"];
26
- } else if (lowerCasePlan === "premium") {
27
- displayPlans = ["Premium", "Business", "Enterprise"];
28
- }
29
- }
30
-
31
- return (
32
-
33
- <Note>
34
- Available on {displayPlans.length === 1 ? "the " : ""}
35
- {displayPlans.join(", ").replace(/\b\w/g, (l) => l.toUpperCase())}{" "}
36
- {displayPlans.length > 1 ? "plans" : "plan"}.
37
-
38
- {maxPackRequired && (
39
-
40
- <a href="https://www.acme.com/docs/additional/maxpack"
41
- className="flex items-center mt-2 cursor-pointer"
42
- >
43
- <span className="px-1.5 py-0.5 rounded text-sm" style={{backgroundColor: '#C264B6', color: 'white', fontSize: '12px'}}>
44
- Max Pack required
45
- </span>
46
- </a>
47
- )}
48
- </Note>
49
-
50
- );
51
- };
52
-
53
- export default PlansAvailable;