Skip to content

Commit da9deb9

Browse files
authored
Merge branch 'main' into del-cart-ps-workflow
2 parents a0fc72d + 3d26b84 commit da9deb9

File tree

6 files changed

+3538
-3469
lines changed

6 files changed

+3538
-3469
lines changed
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
<div id="welcome" class="doc-row">
2+
<div class="doc-copy">
3+
{{md info.description}}
4+
</div>
5+
<div class="doc-examples">
6+
{{#if info.contact}}
7+
<div class="example-section welcome-contact-section">
8+
<h5>Contact</h5>
9+
{{#if info.contact.name}}
10+
<p class="contact-name">{{info.contact.name}}</p>
11+
{{/if}}
12+
{{#if info.contact.email}}
13+
<p class="contact-email"><a href="mailto:{{info.contact.email}}">{{info.contact.email}}</a></p>
14+
{{/if}}
15+
{{#if info.contact.url}}
16+
<p class="contact-url"><a href="{{info.contact.url}}">{{info.contact.url}}</a></p>
17+
{{/if}}
18+
</div>
19+
{{/if}}
20+
21+
{{#if info.license}}
22+
<div class="example-section welcome-license-section">
23+
<h5>License</h5>
24+
{{#if info.license.name}}
25+
<p class="license-name">{{info.license.name}}</p>
26+
{{/if}}
27+
{{#if info.license.url}}
28+
<p class="license-url"><a href="{{info.license.url}}">{{info.license.url}}</a></p>
29+
{{/if}}
30+
</div>
31+
{{/if}}
32+
33+
{{#if info.termsOfService}}
34+
<div class="example-section welcome-tos-section">
35+
<h5>Terms of Service</h5>
36+
<p><a href="{{info.termsOfService}}">{{info.termsOfService}}</a></p>
37+
</div>
38+
{{/if}}
39+
40+
{{#if (or url server servers)}}
41+
<div class="example-section welcome-api-endpoints-section example-section-is-code">
42+
<h5>API Endpoint</h5>
43+
<pre><code>{{generateApiEndpoints}}</code></pre>
44+
</div>
45+
{{/if}}
46+
47+
{{#if (and servers servers.[0].headers)}}
48+
<div class="example-section welcome-api-endpoints-section">
49+
<h5>Headers</h5>
50+
{{#each servers.[0].headers}}
51+
{{#if comment}}
52+
<div style="color: #222;">{{{comment}}}</div>
53+
{{/if}}
54+
{{/each}}
55+
</div>
56+
{{/if}}
57+
58+
{{#if info.version}}
59+
<div class="example-section welcome-version-section">
60+
<h5>Version</h5>
61+
<p>{{info.version}}</p>
62+
</div>
63+
{{/if}}
64+
</div>
65+
</div>

spectaql/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ servers:
391391
headers:
392392
- name: Authorization
393393
example: Bearer <YOUR_TOKEN_HERE>
394-
comment: Your API token from the dashboard. Must be included in all API calls.
394+
comment: For header information, refer to <a href="https://developer.adobe.com/commerce/webapi/graphql/usage/headers">GraphQL headers</a>.
395395

396396
info:
397397
# Tries to adhere to OpenAPI Specification https://swagger.io/specification/#info-object

spectaql/config_saas.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -388,10 +388,10 @@ servers:
388388
# If no server entries are defined at all, the Introspection URL will be used.
389389
# production: true
390390
# A place to list any Headers for your GraphQL API calls
391-
# headers:
392-
# - name: Authorization
393-
# example: Bearer <YOUR_TOKEN_HERE>
394-
# comment: Your API token from the dashboard. Must be included in all API calls.
391+
headers:
392+
- name: Authorization
393+
example: Bearer <YOUR_TOKEN_HERE>
394+
comment: For header information, refer to <a href="https://developer.adobe.com/commerce/webapi/graphql/usage/headers">GraphQL headers</a>.
395395

396396
info:
397397
# Tries to adhere to OpenAPI Specification https://swagger.io/specification/#info-object

spectaql/schema_saas.json

Lines changed: 58 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -6068,13 +6068,9 @@
60686068
"description": "The ProductInterface object, which contains details about the base product",
60696069
"args": [],
60706070
"type": {
6071-
"kind": "NON_NULL",
6072-
"name": null,
6073-
"ofType": {
6074-
"kind": "INTERFACE",
6075-
"name": "ProductInterface",
6076-
"ofType": null
6077-
}
6071+
"kind": "INTERFACE",
6072+
"name": "ProductInterface",
6073+
"ofType": null
60786074
},
60796075
"isDeprecated": true,
60806076
"deprecationReason": "Product information is part of a composable Catalog Service."
@@ -15663,13 +15659,9 @@
1566315659
"description": "The ProductInterface object, which contains details about the base product",
1566415660
"args": [],
1566515661
"type": {
15666-
"kind": "NON_NULL",
15667-
"name": null,
15668-
"ofType": {
15669-
"kind": "INTERFACE",
15670-
"name": "ProductInterface",
15671-
"ofType": null
15672-
}
15662+
"kind": "INTERFACE",
15663+
"name": "ProductInterface",
15664+
"ofType": null
1567315665
},
1567415666
"isDeprecated": true,
1567515667
"deprecationReason": "Product information is part of a composable Catalog Service."
@@ -28505,13 +28497,9 @@
2850528497
"description": "The ProductInterface object, which contains details about the base product",
2850628498
"args": [],
2850728499
"type": {
28508-
"kind": "NON_NULL",
28509-
"name": null,
28510-
"ofType": {
28511-
"kind": "INTERFACE",
28512-
"name": "ProductInterface",
28513-
"ofType": null
28514-
}
28500+
"kind": "INTERFACE",
28501+
"name": "ProductInterface",
28502+
"ofType": null
2851528503
},
2851628504
"isDeprecated": true,
2851728505
"deprecationReason": "Product information is part of a composable Catalog Service."
@@ -31932,13 +31920,9 @@
3193231920
"description": "The ProductInterface object, which contains details about the base product",
3193331921
"args": [],
3193431922
"type": {
31935-
"kind": "NON_NULL",
31936-
"name": null,
31937-
"ofType": {
31938-
"kind": "INTERFACE",
31939-
"name": "ProductInterface",
31940-
"ofType": null
31941-
}
31923+
"kind": "INTERFACE",
31924+
"name": "ProductInterface",
31925+
"ofType": null
3194231926
},
3194331927
"isDeprecated": true,
3194431928
"deprecationReason": "Product information is part of a composable Catalog Service."
@@ -46652,13 +46636,9 @@
4665246636
"description": "The ProductInterface object, which contains details about the base product",
4665346637
"args": [],
4665446638
"type": {
46655-
"kind": "NON_NULL",
46656-
"name": null,
46657-
"ofType": {
46658-
"kind": "INTERFACE",
46659-
"name": "ProductInterface",
46660-
"ofType": null
46661-
}
46639+
"kind": "INTERFACE",
46640+
"name": "ProductInterface",
46641+
"ofType": null
4666246642
},
4666346643
"isDeprecated": true,
4666446644
"deprecationReason": "Product information is part of a composable Catalog Service."
@@ -46977,13 +46957,9 @@
4697746957
"description": "The ProductInterface object, which contains details about the base product",
4697846958
"args": [],
4697946959
"type": {
46980-
"kind": "NON_NULL",
46981-
"name": null,
46982-
"ofType": {
46983-
"kind": "INTERFACE",
46984-
"name": "ProductInterface",
46985-
"ofType": null
46986-
}
46960+
"kind": "INTERFACE",
46961+
"name": "ProductInterface",
46962+
"ofType": null
4698746963
},
4698846964
"isDeprecated": true,
4698946965
"deprecationReason": "Product information is part of a composable Catalog Service."
@@ -47666,6 +47642,22 @@
4766647642
"isDeprecated": false,
4766747643
"deprecationReason": null
4766847644
},
47645+
{
47646+
"name": "grand_total_excl_tax",
47647+
"description": "The grand total of the order, excluding taxes.",
47648+
"args": [],
47649+
"type": {
47650+
"kind": "NON_NULL",
47651+
"name": null,
47652+
"ofType": {
47653+
"kind": "OBJECT",
47654+
"name": "Money",
47655+
"ofType": null
47656+
}
47657+
},
47658+
"isDeprecated": false,
47659+
"deprecationReason": null
47660+
},
4766947661
{
4767047662
"name": "shipping_handling",
4767147663
"description": "Details about the shipping and handling costs for the order.",
@@ -56571,11 +56563,11 @@
5657156563
},
5657256564
{
5657356565
"name": "recommendationsByUnitIds",
56574-
"description": "Get Recommendations by Unit IDs",
56566+
"description": null,
5657556567
"args": [
5657656568
{
5657756569
"name": "unitIds",
56578-
"description": "List unit IDs of the preconfigured units",
56570+
"description": "List unit IDs of preconfigured units",
5657956571
"type": {
5658056572
"kind": "NON_NULL",
5658156573
"name": null,
@@ -65918,6 +65910,22 @@
6591865910
"isDeprecated": false,
6591965911
"deprecationReason": null
6592065912
},
65913+
{
65914+
"name": "cart_merge_preference",
65915+
"description": "Configuration data from checkout/cart/cart_merge_preference",
65916+
"args": [],
65917+
"type": {
65918+
"kind": "NON_NULL",
65919+
"name": null,
65920+
"ofType": {
65921+
"kind": "SCALAR",
65922+
"name": "String",
65923+
"ofType": null
65924+
}
65925+
},
65926+
"isDeprecated": false,
65927+
"deprecationReason": null
65928+
},
6592165929
{
6592265930
"name": "cart_printed_card",
6592365931
"description": "Indicates if printed card prices are displayed on the Shopping Cart page. Possible values: 1 (Yes) and 0 (No).",
@@ -70952,6 +70960,12 @@
7095270960
"description": "",
7095370961
"isDeprecated": false,
7095470962
"deprecationReason": null
70963+
},
70964+
{
70965+
"name": "REQUIRED_PARAMETER_MISSING",
70966+
"description": "",
70967+
"isDeprecated": false,
70968+
"deprecationReason": null
7095570969
}
7095670970
],
7095770971
"possibleTypes": null

0 commit comments

Comments
 (0)