@salesforce/lds-adapters-revenue-place-quote 0.131.0
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/LICENSE.txt +82 -0
- package/dist/es/es2018/revenue-place-quote.js +341 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +66 -0
- package/dist/es/es2018/types/src/generated/adapters/updateQuote.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/resources/postCommerceQuotesActionsPlace.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/types/PlaceQuoteErrorResponseRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/PlaceQuoteInputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/PlaceQuoteInputWrapperRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/PlaceQuoteOutputRepresentation.d.ts +52 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +39 -0
- package/package.json +68 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +368 -0
- package/src/raml/api.raml +96 -0
- package/src/raml/luvio.raml +72 -0
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
#%RAML 1.0 Overlay
|
|
2
|
+
extends: ./api.raml
|
|
3
|
+
|
|
4
|
+
uses:
|
|
5
|
+
luvio: luvio://annotations.raml
|
|
6
|
+
|
|
7
|
+
(luvio.keyPrefix): 'place-quote'
|
|
8
|
+
|
|
9
|
+
types:
|
|
10
|
+
PlaceQuoteOutputRepresentation:
|
|
11
|
+
(luvio.ttl): 1000
|
|
12
|
+
(luvio.opaque): true
|
|
13
|
+
(luvio.key):
|
|
14
|
+
quoteId: quoteId
|
|
15
|
+
|
|
16
|
+
/commerce/quotes/actions/place:
|
|
17
|
+
post:
|
|
18
|
+
(luvio.adapter):
|
|
19
|
+
name: updateQuote
|
|
20
|
+
tests:
|
|
21
|
+
validConfigs:
|
|
22
|
+
- |
|
|
23
|
+
{ "PlaceQuoteInput":
|
|
24
|
+
{
|
|
25
|
+
"pricingPref": "Force",
|
|
26
|
+
"graph": {
|
|
27
|
+
"graphId": "updateQuote",
|
|
28
|
+
"records": [{
|
|
29
|
+
"referenceId": "refQuote",
|
|
30
|
+
"record": {
|
|
31
|
+
"attributes": {
|
|
32
|
+
"type": "Quote",
|
|
33
|
+
"method": "PATCH",
|
|
34
|
+
"id": "0Q0RO00000033pc0AA"
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"referenceId": "refQLIId",
|
|
40
|
+
"record": {
|
|
41
|
+
"attributes": {
|
|
42
|
+
"type": "QuoteLineItem",
|
|
43
|
+
"method": "PATCH",
|
|
44
|
+
"id": "0QLT30000000145OAA"
|
|
45
|
+
},
|
|
46
|
+
"Discount": 2
|
|
47
|
+
}
|
|
48
|
+
}]
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
invalidConfigs:
|
|
53
|
+
- |
|
|
54
|
+
{
|
|
55
|
+
"pricingPref": "Skip"
|
|
56
|
+
}
|
|
57
|
+
- |
|
|
58
|
+
{
|
|
59
|
+
"graph": {}
|
|
60
|
+
}
|
|
61
|
+
- |
|
|
62
|
+
{ "PlaceQuoteInput":
|
|
63
|
+
{
|
|
64
|
+
"graph": {}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
- |
|
|
68
|
+
{ "PlaceQuoteInput":
|
|
69
|
+
{
|
|
70
|
+
"pricingPref": "force"
|
|
71
|
+
}
|
|
72
|
+
}
|