-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoverlay.yaml
76 lines (76 loc) · 3.05 KB
/
overlay.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
overlay: 1.0.0
info:
title: Overlay epilot journey to make a journey resource
version: 0.0.1
actions:
- target: $
update:
x-speakeasy-retries:
strategy: backoff
backoff:
initialInterval: 5000 # 5 seconds
maxInterval: 60000 # 60 seconds
maxElapsedTime: 3600000 # 5 minutes
exponent: 1.5
statusCodes:
- 5XX
retryConnectionErrors: true
- target: $["paths"]["/v2/journey/configuration/{id}"]["get"]
update:
x-speakeasy-entity-operation: Journey#get
- target: $["paths"]["/v2/journey/configuration/{id}"]["get"]["parameters"][0]
update:
x-speakeasy-match: journeyId
- target: $["paths"]["/v2/journey/configuration"]["post"]
update:
x-speakeasy-entity-operation: Journey#create
- target: $["paths"]["/v2/journey/configuration"]["put"]
update:
x-speakeasy-entity-operation: Journey#update
- target: $["paths"]["/v2/journey/configuration/{id}"]["get"]["parameters"][0]
update:
x-speakeasy-match: journeyId
- target: $["paths"]["/v2/journey/configuration/{id}"]["delete"]
update:
x-speakeasy-entity-operation: Journey#delete
- target: $["paths"]["/v2/journey/configuration/{id}"]["delete"]["parameters"][0]
update:
x-speakeasy-match: journeyId
- target: $["components"]["schemas"]["JourneyProductsResponse"]["items"]["properties"]["feature"]
update:
items: {}
- target: $["components"]["schemas"]["JourneyProductsResponse"]["items"]["properties"]["product_images"]
update:
items: {}
- target: $["components"]["schemas"]["JourneyProductsResponse"]["items"]["properties"]["product_downloads"]
update:
items: {}
- target: $["components"]["schemas"]["JourneyCreationRequestV2"]
update:
x-speakeasy-entity: Journey
- target: $["components"]["schemas"]["JourneyCreationRequestV2"]["properties"]["organizationId"]
remove: true
- target: $["components"]["schemas"]["JourneyCreationRequestV2"]["properties"]["createdBy"]
remove: true
- target: $["components"]["schemas"]["JourneyCreationRequestV2"]["properties"]["createdAt"]
remove: true
- target: $["components"]["schemas"]["JourneyCreationRequestV2"]["properties"]["lastModifiedAt"]
remove: true
- target: $["components"]["schemas"]["JourneyCreationRequestV2"]["properties"]["version"]
remove: true
- target: $["components"]["schemas"]["JourneyCreationRequestV2"]["properties"]["revisions"]
remove: true
- target: $["paths"]["/v2/journey/configuration"]["post"]["parameters"]
remove: true
- target: $["paths"]["/v2/journey/configuration/{id}"]["get"]["security"]
remove: true
- target: $["components"]["schemas"]["JourneyCreationRequestV2"]["properties"]["steps"]
remove: true
- target: $["components"]["schemas"]["JourneyCreationRequestV2"]["properties"]
update:
steps: {}
- target: $["components"]["schemas"]["JourneyCreationRequestV2"]["properties"]["logics"]
remove: true
- target: $["components"]["schemas"]["JourneyCreationRequestV2"]["properties"]
update:
logics: {}