@roxyapi/n8n-nodes-roxyapi 1.0.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 +21 -0
- package/README.md +470 -0
- package/dist/credentials/RoxyApiApi.credentials.js +39 -0
- package/dist/icons/roxyapi.dark.svg +4 -0
- package/dist/icons/roxyapi.svg +4 -0
- package/dist/nodes/RoxyApi/RoxyApi.node.js +43 -0
- package/dist/nodes/RoxyApi/RoxyApi.node.json +38 -0
- package/dist/nodes/RoxyApi/resources/angelNumbers.gen.js +523 -0
- package/dist/nodes/RoxyApi/resources/astrology.gen.js +7388 -0
- package/dist/nodes/RoxyApi/resources/ayurveda.gen.js +1261 -0
- package/dist/nodes/RoxyApi/resources/biorhythm.gen.js +762 -0
- package/dist/nodes/RoxyApi/resources/chineseAstrology.gen.js +2893 -0
- package/dist/nodes/RoxyApi/resources/crystals.gen.js +1579 -0
- package/dist/nodes/RoxyApi/resources/dreams.gen.js +246 -0
- package/dist/nodes/RoxyApi/resources/fengShui.gen.js +1583 -0
- package/dist/nodes/RoxyApi/resources/forecast.gen.js +993 -0
- package/dist/nodes/RoxyApi/resources/humanDesign.gen.js +2047 -0
- package/dist/nodes/RoxyApi/resources/iching.gen.js +915 -0
- package/dist/nodes/RoxyApi/resources/index.gen.js +155 -0
- package/dist/nodes/RoxyApi/resources/kabbalah.gen.js +1964 -0
- package/dist/nodes/RoxyApi/resources/languages.gen.js +114 -0
- package/dist/nodes/RoxyApi/resources/location.gen.js +236 -0
- package/dist/nodes/RoxyApi/resources/mesoamericanAstrology.gen.js +2450 -0
- package/dist/nodes/RoxyApi/resources/numerology.gen.js +2577 -0
- package/dist/nodes/RoxyApi/resources/tarot.gen.js +1254 -0
- package/dist/nodes/RoxyApi/resources/usage.gen.js +32 -0
- package/dist/nodes/RoxyApi/resources/vastu.gen.js +2094 -0
- package/dist/nodes/RoxyApi/resources/vedicAstrology.gen.js +13541 -0
- package/dist/nodes/RoxyApi/spec.gen.js +5 -0
- package/dist/nodes/RoxyApi/version.js +5 -0
- package/package.json +96 -0
|
@@ -0,0 +1,2893 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.chineseAstrologyDescription = void 0;
|
|
4
|
+
exports.chineseAstrologyDescription = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Operation',
|
|
7
|
+
name: 'operation',
|
|
8
|
+
type: 'options',
|
|
9
|
+
noDataExpression: true,
|
|
10
|
+
displayOptions: {
|
|
11
|
+
show: {
|
|
12
|
+
resource: ['chineseAstrology'],
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
options: [
|
|
16
|
+
{
|
|
17
|
+
name: 'Calculate Annual Forecast',
|
|
18
|
+
value: 'calculateAnnualForecast',
|
|
19
|
+
action: 'Calculate annual forecast',
|
|
20
|
+
description: 'Calculate BaZi annual forecast: Liu Nian yearly pillar API',
|
|
21
|
+
routing: {
|
|
22
|
+
request: {
|
|
23
|
+
method: 'POST',
|
|
24
|
+
url: '/chinese-astrology/bazi/annual-forecast',
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: 'Calculate Bazi Compatibility',
|
|
30
|
+
value: 'calculateBaziCompatibility',
|
|
31
|
+
action: 'Calculate bazi compatibility',
|
|
32
|
+
description: 'Calculate BaZi compatibility: Four Pillars matchmaking API',
|
|
33
|
+
routing: {
|
|
34
|
+
request: {
|
|
35
|
+
method: 'POST',
|
|
36
|
+
url: '/chinese-astrology/bazi/compatibility',
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
name: 'Calculate Day Master Strength',
|
|
42
|
+
value: 'calculateDayMasterStrength',
|
|
43
|
+
action: 'Calculate day master strength',
|
|
44
|
+
description: 'Calculate Day Master strength: BaZi favorable element API',
|
|
45
|
+
routing: {
|
|
46
|
+
request: {
|
|
47
|
+
method: 'POST',
|
|
48
|
+
url: '/chinese-astrology/bazi/day-master',
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
name: 'Calculate Luck Pillars',
|
|
54
|
+
value: 'calculateLuckPillars',
|
|
55
|
+
action: 'Calculate luck pillars',
|
|
56
|
+
description: 'Calculate luck pillars: BaZi Da Yun ten-year cycle API',
|
|
57
|
+
routing: {
|
|
58
|
+
request: {
|
|
59
|
+
method: 'POST',
|
|
60
|
+
url: '/chinese-astrology/bazi/luck-pillars',
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
name: 'Calculate Lunar Date',
|
|
66
|
+
value: 'calculateLunarDate',
|
|
67
|
+
action: 'Calculate lunar date',
|
|
68
|
+
description: 'Convert lunar and Gregorian dates: Chinese lunisolar calendar API',
|
|
69
|
+
routing: {
|
|
70
|
+
request: {
|
|
71
|
+
method: 'POST',
|
|
72
|
+
url: '/chinese-astrology/calendar/lunar-date',
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
name: 'Calculate Zodiac Animal',
|
|
78
|
+
value: 'calculateZodiacAnimal',
|
|
79
|
+
action: 'Calculate zodiac animal',
|
|
80
|
+
description: 'Find the Chinese zodiac animal for a birth date: Sheng Xiao calculator',
|
|
81
|
+
routing: {
|
|
82
|
+
request: {
|
|
83
|
+
method: 'POST',
|
|
84
|
+
url: '/chinese-astrology/zodiac/sign',
|
|
85
|
+
},
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
name: 'Generate Bazi Chart',
|
|
90
|
+
value: 'generateBaziChart',
|
|
91
|
+
action: 'Generate bazi chart',
|
|
92
|
+
description: 'Generate BaZi chart: Four Pillars of Destiny calculator API',
|
|
93
|
+
routing: {
|
|
94
|
+
request: {
|
|
95
|
+
method: 'POST',
|
|
96
|
+
url: '/chinese-astrology/bazi/chart',
|
|
97
|
+
},
|
|
98
|
+
},
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
name: 'Get Almanac Day',
|
|
102
|
+
value: 'getAlmanacDay',
|
|
103
|
+
action: 'Get almanac day',
|
|
104
|
+
description: 'Get the almanac for a day: Tong Shu API with day officers and mansions',
|
|
105
|
+
routing: {
|
|
106
|
+
request: {
|
|
107
|
+
method: 'GET',
|
|
108
|
+
url: '=/chinese-astrology/calendar/day/{{encodeURIComponent($parameter["date"])}}',
|
|
109
|
+
},
|
|
110
|
+
},
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
name: 'Get Daily Zodiac Reading',
|
|
114
|
+
value: 'getDailyZodiacReading',
|
|
115
|
+
action: 'Get daily zodiac reading',
|
|
116
|
+
description: 'Daily Chinese zodiac reading: Day pillar forecast by animal sign',
|
|
117
|
+
routing: {
|
|
118
|
+
request: {
|
|
119
|
+
method: 'GET',
|
|
120
|
+
url: '=/chinese-astrology/zodiac/{{encodeURIComponent($parameter["id"])}}/daily',
|
|
121
|
+
},
|
|
122
|
+
},
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
name: 'Get Monthly Almanac',
|
|
126
|
+
value: 'getMonthlyAlmanac',
|
|
127
|
+
action: 'Get monthly almanac',
|
|
128
|
+
description: 'Get a month of almanac days: Chinese calendar month view API',
|
|
129
|
+
routing: {
|
|
130
|
+
request: {
|
|
131
|
+
method: 'GET',
|
|
132
|
+
url: '/chinese-astrology/calendar/monthly',
|
|
133
|
+
},
|
|
134
|
+
},
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
name: 'Get Zodiac Animal',
|
|
138
|
+
value: 'getZodiacAnimal',
|
|
139
|
+
action: 'Get zodiac animal',
|
|
140
|
+
description: 'Get one Chinese zodiac animal: Full sign profile with compatibility partners',
|
|
141
|
+
routing: {
|
|
142
|
+
request: {
|
|
143
|
+
method: 'GET',
|
|
144
|
+
url: '=/chinese-astrology/zodiac/animals/{{encodeURIComponent($parameter["id"])}}',
|
|
145
|
+
},
|
|
146
|
+
},
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
name: 'Get Zodiac Compatibility',
|
|
150
|
+
value: 'getZodiacCompatibility',
|
|
151
|
+
action: 'Get zodiac compatibility',
|
|
152
|
+
description: 'Chinese zodiac compatibility: Trine, six harmony, clash and harm analysis',
|
|
153
|
+
routing: {
|
|
154
|
+
request: {
|
|
155
|
+
method: 'GET',
|
|
156
|
+
url: '=/chinese-astrology/zodiac/compatibility/{{encodeURIComponent($parameter["sign1"])}}/{{encodeURIComponent($parameter["sign2"])}}',
|
|
157
|
+
},
|
|
158
|
+
},
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
name: 'List Five Elements',
|
|
162
|
+
value: 'listFiveElements',
|
|
163
|
+
action: 'List five elements',
|
|
164
|
+
description: 'List the five elements: Wu Xing API with generating and controlling cycles',
|
|
165
|
+
routing: {
|
|
166
|
+
request: {
|
|
167
|
+
method: 'GET',
|
|
168
|
+
url: '/chinese-astrology/elements',
|
|
169
|
+
},
|
|
170
|
+
},
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
name: 'List Solar Terms',
|
|
174
|
+
value: 'listSolarTerms',
|
|
175
|
+
action: 'List solar terms',
|
|
176
|
+
description: 'List the 24 solar terms: Jie Qi calendar API with exact instants',
|
|
177
|
+
routing: {
|
|
178
|
+
request: {
|
|
179
|
+
method: 'GET',
|
|
180
|
+
url: '=/chinese-astrology/calendar/solar-terms/{{encodeURIComponent($parameter["year"])}}',
|
|
181
|
+
},
|
|
182
|
+
},
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
name: 'List Zodiac Animals',
|
|
186
|
+
value: 'listZodiacAnimals',
|
|
187
|
+
action: 'List zodiac animals',
|
|
188
|
+
description: 'List the 12 Chinese zodiac animals: Sheng Xiao sign catalogue',
|
|
189
|
+
routing: {
|
|
190
|
+
request: {
|
|
191
|
+
method: 'GET',
|
|
192
|
+
url: '/chinese-astrology/zodiac/animals',
|
|
193
|
+
},
|
|
194
|
+
},
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
name: 'Lookup Auspicious Days',
|
|
198
|
+
value: 'lookupAuspiciousDays',
|
|
199
|
+
action: 'Lookup auspicious days',
|
|
200
|
+
description: 'Find auspicious days: Chinese date selection API for weddings and openings',
|
|
201
|
+
routing: {
|
|
202
|
+
request: {
|
|
203
|
+
method: 'POST',
|
|
204
|
+
url: '/chinese-astrology/calendar/auspicious-days',
|
|
205
|
+
},
|
|
206
|
+
},
|
|
207
|
+
},
|
|
208
|
+
],
|
|
209
|
+
default: 'calculateAnnualForecast',
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
displayName: 'Date',
|
|
213
|
+
name: 'date',
|
|
214
|
+
type: 'string',
|
|
215
|
+
default: '',
|
|
216
|
+
placeholder: 'e.g. 1990-06-15',
|
|
217
|
+
required: true,
|
|
218
|
+
description: 'Birth date in YYYY-MM-DD format. Sets the year, month and day pillars.',
|
|
219
|
+
routing: {
|
|
220
|
+
send: {
|
|
221
|
+
type: 'body',
|
|
222
|
+
property: 'date',
|
|
223
|
+
},
|
|
224
|
+
},
|
|
225
|
+
displayOptions: {
|
|
226
|
+
show: {
|
|
227
|
+
resource: ['chineseAstrology'],
|
|
228
|
+
operation: ['calculateAnnualForecast'],
|
|
229
|
+
},
|
|
230
|
+
},
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
displayName: 'Time',
|
|
234
|
+
name: 'time',
|
|
235
|
+
type: 'string',
|
|
236
|
+
default: '',
|
|
237
|
+
placeholder: 'e.g. 14:30:00',
|
|
238
|
+
required: true,
|
|
239
|
+
description: 'Birth time in 24-hour HH:MM:SS format. Sets the hour pillar, which is one of the four and carries the whole picture of later life and offspring.',
|
|
240
|
+
routing: {
|
|
241
|
+
send: {
|
|
242
|
+
type: 'body',
|
|
243
|
+
property: 'time',
|
|
244
|
+
},
|
|
245
|
+
},
|
|
246
|
+
displayOptions: {
|
|
247
|
+
show: {
|
|
248
|
+
resource: ['chineseAstrology'],
|
|
249
|
+
operation: ['calculateAnnualForecast'],
|
|
250
|
+
},
|
|
251
|
+
},
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
displayName: 'Timezone',
|
|
255
|
+
name: 'timezone',
|
|
256
|
+
type: 'string',
|
|
257
|
+
default: '',
|
|
258
|
+
placeholder: 'e.g. America/New_York or America/New_York',
|
|
259
|
+
required: true,
|
|
260
|
+
description: 'IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a...',
|
|
261
|
+
routing: {
|
|
262
|
+
send: {
|
|
263
|
+
type: 'body',
|
|
264
|
+
property: 'timezone',
|
|
265
|
+
value: '={{ $value !== "" && !isNaN(Number($value)) ? Number($value) : $value }}',
|
|
266
|
+
},
|
|
267
|
+
},
|
|
268
|
+
displayOptions: {
|
|
269
|
+
show: {
|
|
270
|
+
resource: ['chineseAstrology'],
|
|
271
|
+
operation: ['calculateAnnualForecast'],
|
|
272
|
+
},
|
|
273
|
+
},
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
displayName: 'Year',
|
|
277
|
+
name: 'year',
|
|
278
|
+
type: 'number',
|
|
279
|
+
default: 2026,
|
|
280
|
+
typeOptions: {
|
|
281
|
+
minValue: 1900,
|
|
282
|
+
maxValue: 2100,
|
|
283
|
+
},
|
|
284
|
+
required: true,
|
|
285
|
+
description: 'Gregorian year to read against the natal chart. The annual pillar for that year is resolved under the same year boundary the request selected, so a li-chun reading and a lunar-new-year reading of the same calendar year can differ.',
|
|
286
|
+
routing: {
|
|
287
|
+
send: {
|
|
288
|
+
type: 'body',
|
|
289
|
+
property: 'year',
|
|
290
|
+
},
|
|
291
|
+
},
|
|
292
|
+
displayOptions: {
|
|
293
|
+
show: {
|
|
294
|
+
resource: ['chineseAstrology'],
|
|
295
|
+
operation: ['calculateAnnualForecast'],
|
|
296
|
+
},
|
|
297
|
+
},
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
displayName: 'Options',
|
|
301
|
+
name: 'options',
|
|
302
|
+
type: 'collection',
|
|
303
|
+
placeholder: 'Add Option',
|
|
304
|
+
default: {},
|
|
305
|
+
displayOptions: {
|
|
306
|
+
show: {
|
|
307
|
+
resource: ['chineseAstrology'],
|
|
308
|
+
operation: ['calculateAnnualForecast'],
|
|
309
|
+
},
|
|
310
|
+
},
|
|
311
|
+
options: [
|
|
312
|
+
{
|
|
313
|
+
displayName: 'Day Boundary',
|
|
314
|
+
name: 'dayBoundary',
|
|
315
|
+
type: 'options',
|
|
316
|
+
options: [
|
|
317
|
+
{
|
|
318
|
+
name: 'Early Zi',
|
|
319
|
+
value: 'early-zi',
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
name: 'Midnight',
|
|
323
|
+
value: 'midnight',
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
name: 'Split Zi',
|
|
327
|
+
value: 'split-zi',
|
|
328
|
+
},
|
|
329
|
+
],
|
|
330
|
+
default: 'split-zi',
|
|
331
|
+
description: 'Which instant starts the sexagenary DAY, which only matters for a birth between 23:00 and 23:59. "midnight" is the classical position of the Ming compendium San Ming Tong Hui: the day turns at 00:00 and 23:00 to 23:59 is the late zi hour of the day that is ending, so the hour stem is taken from...',
|
|
332
|
+
routing: {
|
|
333
|
+
send: {
|
|
334
|
+
type: 'body',
|
|
335
|
+
property: 'dayBoundary',
|
|
336
|
+
},
|
|
337
|
+
},
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
displayName: 'Hour Clock',
|
|
341
|
+
name: 'hourClock',
|
|
342
|
+
type: 'options',
|
|
343
|
+
options: [
|
|
344
|
+
{
|
|
345
|
+
name: 'Clock',
|
|
346
|
+
value: 'clock',
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
name: 'Local Mean',
|
|
350
|
+
value: 'local-mean',
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
name: 'Solar',
|
|
354
|
+
value: 'solar',
|
|
355
|
+
},
|
|
356
|
+
],
|
|
357
|
+
default: 'clock',
|
|
358
|
+
description: 'Which clock the HOUR branch is read from. "clock" is civil time exactly as a birth certificate records it, which is what most calculators use and the default here. "local-mean" shifts to the mean sun over the birth longitude, a correction of up to 59 minutes at the edge of a wide time zone....',
|
|
359
|
+
routing: {
|
|
360
|
+
send: {
|
|
361
|
+
type: 'body',
|
|
362
|
+
property: 'hourClock',
|
|
363
|
+
},
|
|
364
|
+
},
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
displayName: 'Language',
|
|
368
|
+
name: 'lang',
|
|
369
|
+
type: 'options',
|
|
370
|
+
options: [
|
|
371
|
+
{
|
|
372
|
+
name: 'English',
|
|
373
|
+
value: 'en',
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
name: 'French',
|
|
377
|
+
value: 'fr',
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
name: 'German',
|
|
381
|
+
value: 'de',
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
name: 'Hindi',
|
|
385
|
+
value: 'hi',
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
name: 'Portuguese',
|
|
389
|
+
value: 'pt',
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
name: 'Russian',
|
|
393
|
+
value: 'ru',
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
name: 'Simplified Chinese',
|
|
397
|
+
value: 'zh-Hans',
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
name: 'Spanish',
|
|
401
|
+
value: 'es',
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
name: 'Traditional Chinese',
|
|
405
|
+
value: 'zh-Hant',
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
name: 'Turkish',
|
|
409
|
+
value: 'tr',
|
|
410
|
+
},
|
|
411
|
+
],
|
|
412
|
+
default: 'en',
|
|
413
|
+
description: 'Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant.',
|
|
414
|
+
routing: {
|
|
415
|
+
send: {
|
|
416
|
+
type: 'query',
|
|
417
|
+
property: 'lang',
|
|
418
|
+
},
|
|
419
|
+
},
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
displayName: 'Latitude',
|
|
423
|
+
name: 'latitude',
|
|
424
|
+
type: 'number',
|
|
425
|
+
default: 0,
|
|
426
|
+
typeOptions: {
|
|
427
|
+
minValue: -90,
|
|
428
|
+
maxValue: 90,
|
|
429
|
+
numberPrecision: 6,
|
|
430
|
+
},
|
|
431
|
+
description: 'Birth latitude in decimal degrees. Accepted for consistency with the other birth-data endpoints and does not affect any part of a BaZi chart.',
|
|
432
|
+
routing: {
|
|
433
|
+
send: {
|
|
434
|
+
type: 'body',
|
|
435
|
+
property: 'latitude',
|
|
436
|
+
},
|
|
437
|
+
},
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
displayName: 'Longitude',
|
|
441
|
+
name: 'longitude',
|
|
442
|
+
type: 'number',
|
|
443
|
+
default: 116.4,
|
|
444
|
+
typeOptions: {
|
|
445
|
+
minValue: -180,
|
|
446
|
+
maxValue: 180,
|
|
447
|
+
numberPrecision: 6,
|
|
448
|
+
},
|
|
449
|
+
description: 'Birth longitude in decimal degrees. Positive is East, negative is West.',
|
|
450
|
+
routing: {
|
|
451
|
+
send: {
|
|
452
|
+
type: 'body',
|
|
453
|
+
property: 'longitude',
|
|
454
|
+
},
|
|
455
|
+
},
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
displayName: 'Year Boundary',
|
|
459
|
+
name: 'yearBoundary',
|
|
460
|
+
type: 'options',
|
|
461
|
+
options: [
|
|
462
|
+
{
|
|
463
|
+
name: 'Li Chun',
|
|
464
|
+
value: 'li-chun',
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
name: 'Lunar New Year',
|
|
468
|
+
value: 'lunar-new-year',
|
|
469
|
+
},
|
|
470
|
+
],
|
|
471
|
+
default: 'li-chun',
|
|
472
|
+
description: 'Which instant starts the sexagenary YEAR. "li-chun" is Beginning of Spring, around 4 February, and is the classical rule every BaZi text uses, so it is the default on this endpoint. "lunar-new-year" is the folk rule people mean when they say which animal they are, and it falls between late...',
|
|
473
|
+
routing: {
|
|
474
|
+
send: {
|
|
475
|
+
type: 'body',
|
|
476
|
+
property: 'yearBoundary',
|
|
477
|
+
},
|
|
478
|
+
},
|
|
479
|
+
},
|
|
480
|
+
],
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
displayName: 'Person A',
|
|
484
|
+
name: 'personA',
|
|
485
|
+
type: 'json',
|
|
486
|
+
default: '{\n "date": "1990-06-15",\n "time": "14:30:00",\n "timezone": "America/New_York",\n "latitude": 0,\n "longitude": 116.4,\n "dayBoundary": "split-zi",\n "yearBoundary": "li-chun",\n "hourClock": "clock"\n}',
|
|
487
|
+
required: true,
|
|
488
|
+
description: 'Birth moment of the first person. Each subject carries its own school switches, so two charts built under different conventions can still be compared.',
|
|
489
|
+
routing: {
|
|
490
|
+
send: {
|
|
491
|
+
type: 'body',
|
|
492
|
+
property: 'personA',
|
|
493
|
+
value: '={{ typeof $value === "string" ? JSON.parse($value) : $value }}',
|
|
494
|
+
},
|
|
495
|
+
},
|
|
496
|
+
displayOptions: {
|
|
497
|
+
show: {
|
|
498
|
+
resource: ['chineseAstrology'],
|
|
499
|
+
operation: ['calculateBaziCompatibility'],
|
|
500
|
+
},
|
|
501
|
+
},
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
displayName: 'Person B',
|
|
505
|
+
name: 'personB',
|
|
506
|
+
type: 'json',
|
|
507
|
+
default: '{\n "date": "1990-06-15",\n "time": "14:30:00",\n "timezone": "America/New_York",\n "latitude": 0,\n "longitude": 116.4,\n "dayBoundary": "split-zi",\n "yearBoundary": "li-chun",\n "hourClock": "clock"\n}',
|
|
508
|
+
required: true,
|
|
509
|
+
description: 'Birth moment of the second person',
|
|
510
|
+
routing: {
|
|
511
|
+
send: {
|
|
512
|
+
type: 'body',
|
|
513
|
+
property: 'personB',
|
|
514
|
+
value: '={{ typeof $value === "string" ? JSON.parse($value) : $value }}',
|
|
515
|
+
},
|
|
516
|
+
},
|
|
517
|
+
displayOptions: {
|
|
518
|
+
show: {
|
|
519
|
+
resource: ['chineseAstrology'],
|
|
520
|
+
operation: ['calculateBaziCompatibility'],
|
|
521
|
+
},
|
|
522
|
+
},
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
displayName: 'Options',
|
|
526
|
+
name: 'options',
|
|
527
|
+
type: 'collection',
|
|
528
|
+
placeholder: 'Add Option',
|
|
529
|
+
default: {},
|
|
530
|
+
displayOptions: {
|
|
531
|
+
show: {
|
|
532
|
+
resource: ['chineseAstrology'],
|
|
533
|
+
operation: ['calculateBaziCompatibility'],
|
|
534
|
+
},
|
|
535
|
+
},
|
|
536
|
+
options: [
|
|
537
|
+
{
|
|
538
|
+
displayName: 'Language',
|
|
539
|
+
name: 'lang',
|
|
540
|
+
type: 'options',
|
|
541
|
+
options: [
|
|
542
|
+
{
|
|
543
|
+
name: 'English',
|
|
544
|
+
value: 'en',
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
name: 'French',
|
|
548
|
+
value: 'fr',
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
name: 'German',
|
|
552
|
+
value: 'de',
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
name: 'Hindi',
|
|
556
|
+
value: 'hi',
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
name: 'Portuguese',
|
|
560
|
+
value: 'pt',
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
name: 'Russian',
|
|
564
|
+
value: 'ru',
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
name: 'Simplified Chinese',
|
|
568
|
+
value: 'zh-Hans',
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
name: 'Spanish',
|
|
572
|
+
value: 'es',
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
name: 'Traditional Chinese',
|
|
576
|
+
value: 'zh-Hant',
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
name: 'Turkish',
|
|
580
|
+
value: 'tr',
|
|
581
|
+
},
|
|
582
|
+
],
|
|
583
|
+
default: 'en',
|
|
584
|
+
description: 'Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant.',
|
|
585
|
+
routing: {
|
|
586
|
+
send: {
|
|
587
|
+
type: 'query',
|
|
588
|
+
property: 'lang',
|
|
589
|
+
},
|
|
590
|
+
},
|
|
591
|
+
},
|
|
592
|
+
],
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
displayName: 'Date',
|
|
596
|
+
name: 'date',
|
|
597
|
+
type: 'string',
|
|
598
|
+
default: '',
|
|
599
|
+
placeholder: 'e.g. 1990-06-15',
|
|
600
|
+
required: true,
|
|
601
|
+
description: 'Birth date in YYYY-MM-DD format. Sets the year, month and day pillars.',
|
|
602
|
+
routing: {
|
|
603
|
+
send: {
|
|
604
|
+
type: 'body',
|
|
605
|
+
property: 'date',
|
|
606
|
+
},
|
|
607
|
+
},
|
|
608
|
+
displayOptions: {
|
|
609
|
+
show: {
|
|
610
|
+
resource: ['chineseAstrology'],
|
|
611
|
+
operation: ['calculateDayMasterStrength'],
|
|
612
|
+
},
|
|
613
|
+
},
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
displayName: 'Time',
|
|
617
|
+
name: 'time',
|
|
618
|
+
type: 'string',
|
|
619
|
+
default: '',
|
|
620
|
+
placeholder: 'e.g. 14:30:00',
|
|
621
|
+
required: true,
|
|
622
|
+
description: 'Birth time in 24-hour HH:MM:SS format. Sets the hour pillar, which is one of the four and carries the whole picture of later life and offspring.',
|
|
623
|
+
routing: {
|
|
624
|
+
send: {
|
|
625
|
+
type: 'body',
|
|
626
|
+
property: 'time',
|
|
627
|
+
},
|
|
628
|
+
},
|
|
629
|
+
displayOptions: {
|
|
630
|
+
show: {
|
|
631
|
+
resource: ['chineseAstrology'],
|
|
632
|
+
operation: ['calculateDayMasterStrength'],
|
|
633
|
+
},
|
|
634
|
+
},
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
displayName: 'Timezone',
|
|
638
|
+
name: 'timezone',
|
|
639
|
+
type: 'string',
|
|
640
|
+
default: '',
|
|
641
|
+
placeholder: 'e.g. America/New_York or America/New_York',
|
|
642
|
+
required: true,
|
|
643
|
+
description: 'IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a...',
|
|
644
|
+
routing: {
|
|
645
|
+
send: {
|
|
646
|
+
type: 'body',
|
|
647
|
+
property: 'timezone',
|
|
648
|
+
value: '={{ $value !== "" && !isNaN(Number($value)) ? Number($value) : $value }}',
|
|
649
|
+
},
|
|
650
|
+
},
|
|
651
|
+
displayOptions: {
|
|
652
|
+
show: {
|
|
653
|
+
resource: ['chineseAstrology'],
|
|
654
|
+
operation: ['calculateDayMasterStrength'],
|
|
655
|
+
},
|
|
656
|
+
},
|
|
657
|
+
},
|
|
658
|
+
{
|
|
659
|
+
displayName: 'Options',
|
|
660
|
+
name: 'options',
|
|
661
|
+
type: 'collection',
|
|
662
|
+
placeholder: 'Add Option',
|
|
663
|
+
default: {},
|
|
664
|
+
displayOptions: {
|
|
665
|
+
show: {
|
|
666
|
+
resource: ['chineseAstrology'],
|
|
667
|
+
operation: ['calculateDayMasterStrength'],
|
|
668
|
+
},
|
|
669
|
+
},
|
|
670
|
+
options: [
|
|
671
|
+
{
|
|
672
|
+
displayName: 'Day Boundary',
|
|
673
|
+
name: 'dayBoundary',
|
|
674
|
+
type: 'options',
|
|
675
|
+
options: [
|
|
676
|
+
{
|
|
677
|
+
name: 'Early Zi',
|
|
678
|
+
value: 'early-zi',
|
|
679
|
+
},
|
|
680
|
+
{
|
|
681
|
+
name: 'Midnight',
|
|
682
|
+
value: 'midnight',
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
name: 'Split Zi',
|
|
686
|
+
value: 'split-zi',
|
|
687
|
+
},
|
|
688
|
+
],
|
|
689
|
+
default: 'split-zi',
|
|
690
|
+
description: 'Which instant starts the sexagenary DAY, which only matters for a birth between 23:00 and 23:59. "midnight" is the classical position of the Ming compendium San Ming Tong Hui: the day turns at 00:00 and 23:00 to 23:59 is the late zi hour of the day that is ending, so the hour stem is taken from...',
|
|
691
|
+
routing: {
|
|
692
|
+
send: {
|
|
693
|
+
type: 'body',
|
|
694
|
+
property: 'dayBoundary',
|
|
695
|
+
},
|
|
696
|
+
},
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
displayName: 'Hour Clock',
|
|
700
|
+
name: 'hourClock',
|
|
701
|
+
type: 'options',
|
|
702
|
+
options: [
|
|
703
|
+
{
|
|
704
|
+
name: 'Clock',
|
|
705
|
+
value: 'clock',
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
name: 'Local Mean',
|
|
709
|
+
value: 'local-mean',
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
name: 'Solar',
|
|
713
|
+
value: 'solar',
|
|
714
|
+
},
|
|
715
|
+
],
|
|
716
|
+
default: 'clock',
|
|
717
|
+
description: 'Which clock the HOUR branch is read from. "clock" is civil time exactly as a birth certificate records it, which is what most calculators use and the default here. "local-mean" shifts to the mean sun over the birth longitude, a correction of up to 59 minutes at the edge of a wide time zone....',
|
|
718
|
+
routing: {
|
|
719
|
+
send: {
|
|
720
|
+
type: 'body',
|
|
721
|
+
property: 'hourClock',
|
|
722
|
+
},
|
|
723
|
+
},
|
|
724
|
+
},
|
|
725
|
+
{
|
|
726
|
+
displayName: 'Language',
|
|
727
|
+
name: 'lang',
|
|
728
|
+
type: 'options',
|
|
729
|
+
options: [
|
|
730
|
+
{
|
|
731
|
+
name: 'English',
|
|
732
|
+
value: 'en',
|
|
733
|
+
},
|
|
734
|
+
{
|
|
735
|
+
name: 'French',
|
|
736
|
+
value: 'fr',
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
name: 'German',
|
|
740
|
+
value: 'de',
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
name: 'Hindi',
|
|
744
|
+
value: 'hi',
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
name: 'Portuguese',
|
|
748
|
+
value: 'pt',
|
|
749
|
+
},
|
|
750
|
+
{
|
|
751
|
+
name: 'Russian',
|
|
752
|
+
value: 'ru',
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
name: 'Simplified Chinese',
|
|
756
|
+
value: 'zh-Hans',
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
name: 'Spanish',
|
|
760
|
+
value: 'es',
|
|
761
|
+
},
|
|
762
|
+
{
|
|
763
|
+
name: 'Traditional Chinese',
|
|
764
|
+
value: 'zh-Hant',
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
name: 'Turkish',
|
|
768
|
+
value: 'tr',
|
|
769
|
+
},
|
|
770
|
+
],
|
|
771
|
+
default: 'en',
|
|
772
|
+
description: 'Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant.',
|
|
773
|
+
routing: {
|
|
774
|
+
send: {
|
|
775
|
+
type: 'query',
|
|
776
|
+
property: 'lang',
|
|
777
|
+
},
|
|
778
|
+
},
|
|
779
|
+
},
|
|
780
|
+
{
|
|
781
|
+
displayName: 'Latitude',
|
|
782
|
+
name: 'latitude',
|
|
783
|
+
type: 'number',
|
|
784
|
+
default: 0,
|
|
785
|
+
typeOptions: {
|
|
786
|
+
minValue: -90,
|
|
787
|
+
maxValue: 90,
|
|
788
|
+
numberPrecision: 6,
|
|
789
|
+
},
|
|
790
|
+
description: 'Birth latitude in decimal degrees. Accepted for consistency with the other birth-data endpoints and does not affect any part of a BaZi chart.',
|
|
791
|
+
routing: {
|
|
792
|
+
send: {
|
|
793
|
+
type: 'body',
|
|
794
|
+
property: 'latitude',
|
|
795
|
+
},
|
|
796
|
+
},
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
displayName: 'Longitude',
|
|
800
|
+
name: 'longitude',
|
|
801
|
+
type: 'number',
|
|
802
|
+
default: 116.4,
|
|
803
|
+
typeOptions: {
|
|
804
|
+
minValue: -180,
|
|
805
|
+
maxValue: 180,
|
|
806
|
+
numberPrecision: 6,
|
|
807
|
+
},
|
|
808
|
+
description: 'Birth longitude in decimal degrees. Positive is East, negative is West.',
|
|
809
|
+
routing: {
|
|
810
|
+
send: {
|
|
811
|
+
type: 'body',
|
|
812
|
+
property: 'longitude',
|
|
813
|
+
},
|
|
814
|
+
},
|
|
815
|
+
},
|
|
816
|
+
{
|
|
817
|
+
displayName: 'Year Boundary',
|
|
818
|
+
name: 'yearBoundary',
|
|
819
|
+
type: 'options',
|
|
820
|
+
options: [
|
|
821
|
+
{
|
|
822
|
+
name: 'Li Chun',
|
|
823
|
+
value: 'li-chun',
|
|
824
|
+
},
|
|
825
|
+
{
|
|
826
|
+
name: 'Lunar New Year',
|
|
827
|
+
value: 'lunar-new-year',
|
|
828
|
+
},
|
|
829
|
+
],
|
|
830
|
+
default: 'li-chun',
|
|
831
|
+
description: 'Which instant starts the sexagenary YEAR. "li-chun" is Beginning of Spring, around 4 February, and is the classical rule every BaZi text uses, so it is the default on this endpoint. "lunar-new-year" is the folk rule people mean when they say which animal they are, and it falls between late...',
|
|
832
|
+
routing: {
|
|
833
|
+
send: {
|
|
834
|
+
type: 'body',
|
|
835
|
+
property: 'yearBoundary',
|
|
836
|
+
},
|
|
837
|
+
},
|
|
838
|
+
},
|
|
839
|
+
],
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
displayName: 'Date',
|
|
843
|
+
name: 'date',
|
|
844
|
+
type: 'string',
|
|
845
|
+
default: '',
|
|
846
|
+
placeholder: 'e.g. 1990-06-15',
|
|
847
|
+
required: true,
|
|
848
|
+
description: 'Birth date in YYYY-MM-DD format. Sets the year, month and day pillars.',
|
|
849
|
+
routing: {
|
|
850
|
+
send: {
|
|
851
|
+
type: 'body',
|
|
852
|
+
property: 'date',
|
|
853
|
+
},
|
|
854
|
+
},
|
|
855
|
+
displayOptions: {
|
|
856
|
+
show: {
|
|
857
|
+
resource: ['chineseAstrology'],
|
|
858
|
+
operation: ['calculateLuckPillars'],
|
|
859
|
+
},
|
|
860
|
+
},
|
|
861
|
+
},
|
|
862
|
+
{
|
|
863
|
+
displayName: 'Time',
|
|
864
|
+
name: 'time',
|
|
865
|
+
type: 'string',
|
|
866
|
+
default: '',
|
|
867
|
+
placeholder: 'e.g. 14:30:00',
|
|
868
|
+
required: true,
|
|
869
|
+
description: 'Birth time in 24-hour HH:MM:SS format. Sets the hour pillar, which is one of the four and carries the whole picture of later life and offspring.',
|
|
870
|
+
routing: {
|
|
871
|
+
send: {
|
|
872
|
+
type: 'body',
|
|
873
|
+
property: 'time',
|
|
874
|
+
},
|
|
875
|
+
},
|
|
876
|
+
displayOptions: {
|
|
877
|
+
show: {
|
|
878
|
+
resource: ['chineseAstrology'],
|
|
879
|
+
operation: ['calculateLuckPillars'],
|
|
880
|
+
},
|
|
881
|
+
},
|
|
882
|
+
},
|
|
883
|
+
{
|
|
884
|
+
displayName: 'Timezone',
|
|
885
|
+
name: 'timezone',
|
|
886
|
+
type: 'string',
|
|
887
|
+
default: '',
|
|
888
|
+
placeholder: 'e.g. America/New_York or America/New_York',
|
|
889
|
+
required: true,
|
|
890
|
+
description: 'IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a...',
|
|
891
|
+
routing: {
|
|
892
|
+
send: {
|
|
893
|
+
type: 'body',
|
|
894
|
+
property: 'timezone',
|
|
895
|
+
value: '={{ $value !== "" && !isNaN(Number($value)) ? Number($value) : $value }}',
|
|
896
|
+
},
|
|
897
|
+
},
|
|
898
|
+
displayOptions: {
|
|
899
|
+
show: {
|
|
900
|
+
resource: ['chineseAstrology'],
|
|
901
|
+
operation: ['calculateLuckPillars'],
|
|
902
|
+
},
|
|
903
|
+
},
|
|
904
|
+
},
|
|
905
|
+
{
|
|
906
|
+
displayName: 'Gender',
|
|
907
|
+
name: 'gender',
|
|
908
|
+
type: 'options',
|
|
909
|
+
options: [
|
|
910
|
+
{
|
|
911
|
+
name: 'Female',
|
|
912
|
+
value: 'female',
|
|
913
|
+
},
|
|
914
|
+
{
|
|
915
|
+
name: 'Male',
|
|
916
|
+
value: 'male',
|
|
917
|
+
},
|
|
918
|
+
],
|
|
919
|
+
default: 'male',
|
|
920
|
+
required: true,
|
|
921
|
+
description: 'Subject sex, used only to pick the luck-pillar direction: a male born in a yang-stem year and a female born in a yin-stem year run forward through the sexagenary cycle, and the other two combinations run backward. It affects nothing else in the response.',
|
|
922
|
+
routing: {
|
|
923
|
+
send: {
|
|
924
|
+
type: 'body',
|
|
925
|
+
property: 'gender',
|
|
926
|
+
},
|
|
927
|
+
},
|
|
928
|
+
displayOptions: {
|
|
929
|
+
show: {
|
|
930
|
+
resource: ['chineseAstrology'],
|
|
931
|
+
operation: ['calculateLuckPillars'],
|
|
932
|
+
},
|
|
933
|
+
},
|
|
934
|
+
},
|
|
935
|
+
{
|
|
936
|
+
displayName: 'Options',
|
|
937
|
+
name: 'options',
|
|
938
|
+
type: 'collection',
|
|
939
|
+
placeholder: 'Add Option',
|
|
940
|
+
default: {},
|
|
941
|
+
displayOptions: {
|
|
942
|
+
show: {
|
|
943
|
+
resource: ['chineseAstrology'],
|
|
944
|
+
operation: ['calculateLuckPillars'],
|
|
945
|
+
},
|
|
946
|
+
},
|
|
947
|
+
options: [
|
|
948
|
+
{
|
|
949
|
+
displayName: 'Annual From Year',
|
|
950
|
+
name: 'annualFromYear',
|
|
951
|
+
type: 'number',
|
|
952
|
+
default: 2026,
|
|
953
|
+
typeOptions: {
|
|
954
|
+
minValue: 1900,
|
|
955
|
+
maxValue: 2100,
|
|
956
|
+
},
|
|
957
|
+
description: 'First Gregorian year of the annual pillar overlay. Omit it to leave annualPillars out of the response entirely.',
|
|
958
|
+
routing: {
|
|
959
|
+
send: {
|
|
960
|
+
type: 'body',
|
|
961
|
+
property: 'annualFromYear',
|
|
962
|
+
},
|
|
963
|
+
},
|
|
964
|
+
},
|
|
965
|
+
{
|
|
966
|
+
displayName: 'Annual Years',
|
|
967
|
+
name: 'annualYears',
|
|
968
|
+
type: 'number',
|
|
969
|
+
default: 10,
|
|
970
|
+
typeOptions: {
|
|
971
|
+
minValue: 1,
|
|
972
|
+
maxValue: 20,
|
|
973
|
+
},
|
|
974
|
+
description: 'How many consecutive years the annual overlay covers, 1 to 20. Ignored unless annualFromYear is present.',
|
|
975
|
+
routing: {
|
|
976
|
+
send: {
|
|
977
|
+
type: 'body',
|
|
978
|
+
property: 'annualYears',
|
|
979
|
+
},
|
|
980
|
+
},
|
|
981
|
+
},
|
|
982
|
+
{
|
|
983
|
+
displayName: 'Count',
|
|
984
|
+
name: 'count',
|
|
985
|
+
type: 'number',
|
|
986
|
+
default: 8,
|
|
987
|
+
typeOptions: {
|
|
988
|
+
minValue: 1,
|
|
989
|
+
maxValue: 12,
|
|
990
|
+
},
|
|
991
|
+
description: 'How many ten-year luck pillars to return, 1 to 12. Eight covers eighty years from the start age, which reaches past a normal lifetime for most start ages.',
|
|
992
|
+
routing: {
|
|
993
|
+
send: {
|
|
994
|
+
type: 'body',
|
|
995
|
+
property: 'count',
|
|
996
|
+
},
|
|
997
|
+
},
|
|
998
|
+
},
|
|
999
|
+
{
|
|
1000
|
+
displayName: 'Day Boundary',
|
|
1001
|
+
name: 'dayBoundary',
|
|
1002
|
+
type: 'options',
|
|
1003
|
+
options: [
|
|
1004
|
+
{
|
|
1005
|
+
name: 'Early Zi',
|
|
1006
|
+
value: 'early-zi',
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
name: 'Midnight',
|
|
1010
|
+
value: 'midnight',
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
name: 'Split Zi',
|
|
1014
|
+
value: 'split-zi',
|
|
1015
|
+
},
|
|
1016
|
+
],
|
|
1017
|
+
default: 'split-zi',
|
|
1018
|
+
description: 'Which instant starts the sexagenary DAY, which only matters for a birth between 23:00 and 23:59. "midnight" is the classical position of the Ming compendium San Ming Tong Hui: the day turns at 00:00 and 23:00 to 23:59 is the late zi hour of the day that is ending, so the hour stem is taken from...',
|
|
1019
|
+
routing: {
|
|
1020
|
+
send: {
|
|
1021
|
+
type: 'body',
|
|
1022
|
+
property: 'dayBoundary',
|
|
1023
|
+
},
|
|
1024
|
+
},
|
|
1025
|
+
},
|
|
1026
|
+
{
|
|
1027
|
+
displayName: 'Hour Clock',
|
|
1028
|
+
name: 'hourClock',
|
|
1029
|
+
type: 'options',
|
|
1030
|
+
options: [
|
|
1031
|
+
{
|
|
1032
|
+
name: 'Clock',
|
|
1033
|
+
value: 'clock',
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
1036
|
+
name: 'Local Mean',
|
|
1037
|
+
value: 'local-mean',
|
|
1038
|
+
},
|
|
1039
|
+
{
|
|
1040
|
+
name: 'Solar',
|
|
1041
|
+
value: 'solar',
|
|
1042
|
+
},
|
|
1043
|
+
],
|
|
1044
|
+
default: 'clock',
|
|
1045
|
+
description: 'Which clock the HOUR branch is read from. "clock" is civil time exactly as a birth certificate records it, which is what most calculators use and the default here. "local-mean" shifts to the mean sun over the birth longitude, a correction of up to 59 minutes at the edge of a wide time zone....',
|
|
1046
|
+
routing: {
|
|
1047
|
+
send: {
|
|
1048
|
+
type: 'body',
|
|
1049
|
+
property: 'hourClock',
|
|
1050
|
+
},
|
|
1051
|
+
},
|
|
1052
|
+
},
|
|
1053
|
+
{
|
|
1054
|
+
displayName: 'Language',
|
|
1055
|
+
name: 'lang',
|
|
1056
|
+
type: 'options',
|
|
1057
|
+
options: [
|
|
1058
|
+
{
|
|
1059
|
+
name: 'English',
|
|
1060
|
+
value: 'en',
|
|
1061
|
+
},
|
|
1062
|
+
{
|
|
1063
|
+
name: 'French',
|
|
1064
|
+
value: 'fr',
|
|
1065
|
+
},
|
|
1066
|
+
{
|
|
1067
|
+
name: 'German',
|
|
1068
|
+
value: 'de',
|
|
1069
|
+
},
|
|
1070
|
+
{
|
|
1071
|
+
name: 'Hindi',
|
|
1072
|
+
value: 'hi',
|
|
1073
|
+
},
|
|
1074
|
+
{
|
|
1075
|
+
name: 'Portuguese',
|
|
1076
|
+
value: 'pt',
|
|
1077
|
+
},
|
|
1078
|
+
{
|
|
1079
|
+
name: 'Russian',
|
|
1080
|
+
value: 'ru',
|
|
1081
|
+
},
|
|
1082
|
+
{
|
|
1083
|
+
name: 'Simplified Chinese',
|
|
1084
|
+
value: 'zh-Hans',
|
|
1085
|
+
},
|
|
1086
|
+
{
|
|
1087
|
+
name: 'Spanish',
|
|
1088
|
+
value: 'es',
|
|
1089
|
+
},
|
|
1090
|
+
{
|
|
1091
|
+
name: 'Traditional Chinese',
|
|
1092
|
+
value: 'zh-Hant',
|
|
1093
|
+
},
|
|
1094
|
+
{
|
|
1095
|
+
name: 'Turkish',
|
|
1096
|
+
value: 'tr',
|
|
1097
|
+
},
|
|
1098
|
+
],
|
|
1099
|
+
default: 'en',
|
|
1100
|
+
description: 'Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant.',
|
|
1101
|
+
routing: {
|
|
1102
|
+
send: {
|
|
1103
|
+
type: 'query',
|
|
1104
|
+
property: 'lang',
|
|
1105
|
+
},
|
|
1106
|
+
},
|
|
1107
|
+
},
|
|
1108
|
+
{
|
|
1109
|
+
displayName: 'Latitude',
|
|
1110
|
+
name: 'latitude',
|
|
1111
|
+
type: 'number',
|
|
1112
|
+
default: 0,
|
|
1113
|
+
typeOptions: {
|
|
1114
|
+
minValue: -90,
|
|
1115
|
+
maxValue: 90,
|
|
1116
|
+
numberPrecision: 6,
|
|
1117
|
+
},
|
|
1118
|
+
description: 'Birth latitude in decimal degrees. Accepted for consistency with the other birth-data endpoints and does not affect any part of a BaZi chart.',
|
|
1119
|
+
routing: {
|
|
1120
|
+
send: {
|
|
1121
|
+
type: 'body',
|
|
1122
|
+
property: 'latitude',
|
|
1123
|
+
},
|
|
1124
|
+
},
|
|
1125
|
+
},
|
|
1126
|
+
{
|
|
1127
|
+
displayName: 'Longitude',
|
|
1128
|
+
name: 'longitude',
|
|
1129
|
+
type: 'number',
|
|
1130
|
+
default: 116.4,
|
|
1131
|
+
typeOptions: {
|
|
1132
|
+
minValue: -180,
|
|
1133
|
+
maxValue: 180,
|
|
1134
|
+
numberPrecision: 6,
|
|
1135
|
+
},
|
|
1136
|
+
description: 'Birth longitude in decimal degrees. Positive is East, negative is West.',
|
|
1137
|
+
routing: {
|
|
1138
|
+
send: {
|
|
1139
|
+
type: 'body',
|
|
1140
|
+
property: 'longitude',
|
|
1141
|
+
},
|
|
1142
|
+
},
|
|
1143
|
+
},
|
|
1144
|
+
{
|
|
1145
|
+
displayName: 'Year Boundary',
|
|
1146
|
+
name: 'yearBoundary',
|
|
1147
|
+
type: 'options',
|
|
1148
|
+
options: [
|
|
1149
|
+
{
|
|
1150
|
+
name: 'Li Chun',
|
|
1151
|
+
value: 'li-chun',
|
|
1152
|
+
},
|
|
1153
|
+
{
|
|
1154
|
+
name: 'Lunar New Year',
|
|
1155
|
+
value: 'lunar-new-year',
|
|
1156
|
+
},
|
|
1157
|
+
],
|
|
1158
|
+
default: 'li-chun',
|
|
1159
|
+
description: 'Which instant starts the sexagenary YEAR. "li-chun" is Beginning of Spring, around 4 February, and is the classical rule every BaZi text uses, so it is the default on this endpoint. "lunar-new-year" is the folk rule people mean when they say which animal they are, and it falls between late...',
|
|
1160
|
+
routing: {
|
|
1161
|
+
send: {
|
|
1162
|
+
type: 'body',
|
|
1163
|
+
property: 'yearBoundary',
|
|
1164
|
+
},
|
|
1165
|
+
},
|
|
1166
|
+
},
|
|
1167
|
+
],
|
|
1168
|
+
},
|
|
1169
|
+
{
|
|
1170
|
+
displayName: 'Options',
|
|
1171
|
+
name: 'options',
|
|
1172
|
+
type: 'collection',
|
|
1173
|
+
placeholder: 'Add Option',
|
|
1174
|
+
default: {},
|
|
1175
|
+
displayOptions: {
|
|
1176
|
+
show: {
|
|
1177
|
+
resource: ['chineseAstrology'],
|
|
1178
|
+
operation: ['calculateLunarDate'],
|
|
1179
|
+
},
|
|
1180
|
+
},
|
|
1181
|
+
options: [
|
|
1182
|
+
{
|
|
1183
|
+
displayName: 'Date',
|
|
1184
|
+
name: 'date',
|
|
1185
|
+
type: 'string',
|
|
1186
|
+
default: '',
|
|
1187
|
+
placeholder: 'e.g. 1990-06-15',
|
|
1188
|
+
description: 'Gregorian date to convert to the lunisolar calendar. Send this OR the lunar fields, never both.',
|
|
1189
|
+
routing: {
|
|
1190
|
+
send: {
|
|
1191
|
+
type: 'body',
|
|
1192
|
+
property: 'date',
|
|
1193
|
+
},
|
|
1194
|
+
},
|
|
1195
|
+
},
|
|
1196
|
+
{
|
|
1197
|
+
displayName: 'Is Leap Month',
|
|
1198
|
+
name: 'isLeapMonth',
|
|
1199
|
+
type: 'boolean',
|
|
1200
|
+
default: false,
|
|
1201
|
+
description: 'Whether to address the leap repetition of lunarMonth rather than the first pass. Requesting a leap month a year does not have returns 400.',
|
|
1202
|
+
routing: {
|
|
1203
|
+
send: {
|
|
1204
|
+
type: 'body',
|
|
1205
|
+
property: 'isLeapMonth',
|
|
1206
|
+
},
|
|
1207
|
+
},
|
|
1208
|
+
},
|
|
1209
|
+
{
|
|
1210
|
+
displayName: 'Language',
|
|
1211
|
+
name: 'lang',
|
|
1212
|
+
type: 'options',
|
|
1213
|
+
options: [
|
|
1214
|
+
{
|
|
1215
|
+
name: 'English',
|
|
1216
|
+
value: 'en',
|
|
1217
|
+
},
|
|
1218
|
+
{
|
|
1219
|
+
name: 'French',
|
|
1220
|
+
value: 'fr',
|
|
1221
|
+
},
|
|
1222
|
+
{
|
|
1223
|
+
name: 'German',
|
|
1224
|
+
value: 'de',
|
|
1225
|
+
},
|
|
1226
|
+
{
|
|
1227
|
+
name: 'Hindi',
|
|
1228
|
+
value: 'hi',
|
|
1229
|
+
},
|
|
1230
|
+
{
|
|
1231
|
+
name: 'Portuguese',
|
|
1232
|
+
value: 'pt',
|
|
1233
|
+
},
|
|
1234
|
+
{
|
|
1235
|
+
name: 'Russian',
|
|
1236
|
+
value: 'ru',
|
|
1237
|
+
},
|
|
1238
|
+
{
|
|
1239
|
+
name: 'Simplified Chinese',
|
|
1240
|
+
value: 'zh-Hans',
|
|
1241
|
+
},
|
|
1242
|
+
{
|
|
1243
|
+
name: 'Spanish',
|
|
1244
|
+
value: 'es',
|
|
1245
|
+
},
|
|
1246
|
+
{
|
|
1247
|
+
name: 'Traditional Chinese',
|
|
1248
|
+
value: 'zh-Hant',
|
|
1249
|
+
},
|
|
1250
|
+
{
|
|
1251
|
+
name: 'Turkish',
|
|
1252
|
+
value: 'tr',
|
|
1253
|
+
},
|
|
1254
|
+
],
|
|
1255
|
+
default: 'en',
|
|
1256
|
+
description: 'Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant.',
|
|
1257
|
+
routing: {
|
|
1258
|
+
send: {
|
|
1259
|
+
type: 'query',
|
|
1260
|
+
property: 'lang',
|
|
1261
|
+
},
|
|
1262
|
+
},
|
|
1263
|
+
},
|
|
1264
|
+
{
|
|
1265
|
+
displayName: 'Lunar Day',
|
|
1266
|
+
name: 'lunarDay',
|
|
1267
|
+
type: 'number',
|
|
1268
|
+
default: 23,
|
|
1269
|
+
typeOptions: {
|
|
1270
|
+
minValue: 1,
|
|
1271
|
+
maxValue: 30,
|
|
1272
|
+
},
|
|
1273
|
+
description: 'Day of the lunar month, 1 to 30. Requires lunarYear and lunarMonth.',
|
|
1274
|
+
routing: {
|
|
1275
|
+
send: {
|
|
1276
|
+
type: 'body',
|
|
1277
|
+
property: 'lunarDay',
|
|
1278
|
+
},
|
|
1279
|
+
},
|
|
1280
|
+
},
|
|
1281
|
+
{
|
|
1282
|
+
displayName: 'Lunar Month',
|
|
1283
|
+
name: 'lunarMonth',
|
|
1284
|
+
type: 'number',
|
|
1285
|
+
default: 5,
|
|
1286
|
+
typeOptions: {
|
|
1287
|
+
minValue: 1,
|
|
1288
|
+
maxValue: 12,
|
|
1289
|
+
},
|
|
1290
|
+
description: 'Lunar month, 1 to 12. Requires lunarYear and lunarDay.',
|
|
1291
|
+
routing: {
|
|
1292
|
+
send: {
|
|
1293
|
+
type: 'body',
|
|
1294
|
+
property: 'lunarMonth',
|
|
1295
|
+
},
|
|
1296
|
+
},
|
|
1297
|
+
},
|
|
1298
|
+
{
|
|
1299
|
+
displayName: 'Lunar Year',
|
|
1300
|
+
name: 'lunarYear',
|
|
1301
|
+
type: 'number',
|
|
1302
|
+
default: 1990,
|
|
1303
|
+
typeOptions: {
|
|
1304
|
+
minValue: 1900,
|
|
1305
|
+
maxValue: 2100,
|
|
1306
|
+
},
|
|
1307
|
+
description: 'Lunisolar year to convert back to a Gregorian date. Requires lunarMonth and lunarDay.',
|
|
1308
|
+
routing: {
|
|
1309
|
+
send: {
|
|
1310
|
+
type: 'body',
|
|
1311
|
+
property: 'lunarYear',
|
|
1312
|
+
},
|
|
1313
|
+
},
|
|
1314
|
+
},
|
|
1315
|
+
],
|
|
1316
|
+
},
|
|
1317
|
+
{
|
|
1318
|
+
displayName: 'Date',
|
|
1319
|
+
name: 'date',
|
|
1320
|
+
type: 'string',
|
|
1321
|
+
default: '',
|
|
1322
|
+
placeholder: 'e.g. 1990-06-15',
|
|
1323
|
+
required: true,
|
|
1324
|
+
description: 'Birth date in YYYY-MM-DD format. Only the date is needed: the zodiac animal is a property of the year, so no time, timezone or place changes the answer.',
|
|
1325
|
+
routing: {
|
|
1326
|
+
send: {
|
|
1327
|
+
type: 'body',
|
|
1328
|
+
property: 'date',
|
|
1329
|
+
},
|
|
1330
|
+
},
|
|
1331
|
+
displayOptions: {
|
|
1332
|
+
show: {
|
|
1333
|
+
resource: ['chineseAstrology'],
|
|
1334
|
+
operation: ['calculateZodiacAnimal'],
|
|
1335
|
+
},
|
|
1336
|
+
},
|
|
1337
|
+
},
|
|
1338
|
+
{
|
|
1339
|
+
displayName: 'Options',
|
|
1340
|
+
name: 'options',
|
|
1341
|
+
type: 'collection',
|
|
1342
|
+
placeholder: 'Add Option',
|
|
1343
|
+
default: {},
|
|
1344
|
+
displayOptions: {
|
|
1345
|
+
show: {
|
|
1346
|
+
resource: ['chineseAstrology'],
|
|
1347
|
+
operation: ['calculateZodiacAnimal'],
|
|
1348
|
+
},
|
|
1349
|
+
},
|
|
1350
|
+
options: [
|
|
1351
|
+
{
|
|
1352
|
+
displayName: 'Language',
|
|
1353
|
+
name: 'lang',
|
|
1354
|
+
type: 'options',
|
|
1355
|
+
options: [
|
|
1356
|
+
{
|
|
1357
|
+
name: 'English',
|
|
1358
|
+
value: 'en',
|
|
1359
|
+
},
|
|
1360
|
+
{
|
|
1361
|
+
name: 'French',
|
|
1362
|
+
value: 'fr',
|
|
1363
|
+
},
|
|
1364
|
+
{
|
|
1365
|
+
name: 'German',
|
|
1366
|
+
value: 'de',
|
|
1367
|
+
},
|
|
1368
|
+
{
|
|
1369
|
+
name: 'Hindi',
|
|
1370
|
+
value: 'hi',
|
|
1371
|
+
},
|
|
1372
|
+
{
|
|
1373
|
+
name: 'Portuguese',
|
|
1374
|
+
value: 'pt',
|
|
1375
|
+
},
|
|
1376
|
+
{
|
|
1377
|
+
name: 'Russian',
|
|
1378
|
+
value: 'ru',
|
|
1379
|
+
},
|
|
1380
|
+
{
|
|
1381
|
+
name: 'Simplified Chinese',
|
|
1382
|
+
value: 'zh-Hans',
|
|
1383
|
+
},
|
|
1384
|
+
{
|
|
1385
|
+
name: 'Spanish',
|
|
1386
|
+
value: 'es',
|
|
1387
|
+
},
|
|
1388
|
+
{
|
|
1389
|
+
name: 'Traditional Chinese',
|
|
1390
|
+
value: 'zh-Hant',
|
|
1391
|
+
},
|
|
1392
|
+
{
|
|
1393
|
+
name: 'Turkish',
|
|
1394
|
+
value: 'tr',
|
|
1395
|
+
},
|
|
1396
|
+
],
|
|
1397
|
+
default: 'en',
|
|
1398
|
+
description: 'Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant.',
|
|
1399
|
+
routing: {
|
|
1400
|
+
send: {
|
|
1401
|
+
type: 'query',
|
|
1402
|
+
property: 'lang',
|
|
1403
|
+
},
|
|
1404
|
+
},
|
|
1405
|
+
},
|
|
1406
|
+
{
|
|
1407
|
+
displayName: 'Year Boundary',
|
|
1408
|
+
name: 'yearBoundary',
|
|
1409
|
+
type: 'options',
|
|
1410
|
+
options: [
|
|
1411
|
+
{
|
|
1412
|
+
name: 'Li Chun',
|
|
1413
|
+
value: 'li-chun',
|
|
1414
|
+
},
|
|
1415
|
+
{
|
|
1416
|
+
name: 'Lunar New Year',
|
|
1417
|
+
value: 'lunar-new-year',
|
|
1418
|
+
},
|
|
1419
|
+
],
|
|
1420
|
+
default: 'lunar-new-year',
|
|
1421
|
+
description: 'Which instant starts the zodiac year. lunar-new-year is the folk rule and the default on this route, because it is the rule people mean when they say what animal they are: the sign turns on Chinese New Year, between late January and late February. li-chun is the classical rule every Four Pillars...',
|
|
1422
|
+
routing: {
|
|
1423
|
+
send: {
|
|
1424
|
+
type: 'body',
|
|
1425
|
+
property: 'yearBoundary',
|
|
1426
|
+
},
|
|
1427
|
+
},
|
|
1428
|
+
},
|
|
1429
|
+
],
|
|
1430
|
+
},
|
|
1431
|
+
{
|
|
1432
|
+
displayName: 'Date',
|
|
1433
|
+
name: 'date',
|
|
1434
|
+
type: 'string',
|
|
1435
|
+
default: '',
|
|
1436
|
+
placeholder: 'e.g. 1990-06-15',
|
|
1437
|
+
required: true,
|
|
1438
|
+
description: 'Birth date in YYYY-MM-DD format. Sets the year, month and day pillars.',
|
|
1439
|
+
routing: {
|
|
1440
|
+
send: {
|
|
1441
|
+
type: 'body',
|
|
1442
|
+
property: 'date',
|
|
1443
|
+
},
|
|
1444
|
+
},
|
|
1445
|
+
displayOptions: {
|
|
1446
|
+
show: {
|
|
1447
|
+
resource: ['chineseAstrology'],
|
|
1448
|
+
operation: ['generateBaziChart'],
|
|
1449
|
+
},
|
|
1450
|
+
},
|
|
1451
|
+
},
|
|
1452
|
+
{
|
|
1453
|
+
displayName: 'Time',
|
|
1454
|
+
name: 'time',
|
|
1455
|
+
type: 'string',
|
|
1456
|
+
default: '',
|
|
1457
|
+
placeholder: 'e.g. 14:30:00',
|
|
1458
|
+
required: true,
|
|
1459
|
+
description: 'Birth time in 24-hour HH:MM:SS format. Sets the hour pillar, which is one of the four and carries the whole picture of later life and offspring.',
|
|
1460
|
+
routing: {
|
|
1461
|
+
send: {
|
|
1462
|
+
type: 'body',
|
|
1463
|
+
property: 'time',
|
|
1464
|
+
},
|
|
1465
|
+
},
|
|
1466
|
+
displayOptions: {
|
|
1467
|
+
show: {
|
|
1468
|
+
resource: ['chineseAstrology'],
|
|
1469
|
+
operation: ['generateBaziChart'],
|
|
1470
|
+
},
|
|
1471
|
+
},
|
|
1472
|
+
},
|
|
1473
|
+
{
|
|
1474
|
+
displayName: 'Timezone',
|
|
1475
|
+
name: 'timezone',
|
|
1476
|
+
type: 'string',
|
|
1477
|
+
default: '',
|
|
1478
|
+
placeholder: 'e.g. America/New_York or America/New_York',
|
|
1479
|
+
required: true,
|
|
1480
|
+
description: 'IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the offset in force at the birth date and time, historical daylight-saving rules included, while a...',
|
|
1481
|
+
routing: {
|
|
1482
|
+
send: {
|
|
1483
|
+
type: 'body',
|
|
1484
|
+
property: 'timezone',
|
|
1485
|
+
value: '={{ $value !== "" && !isNaN(Number($value)) ? Number($value) : $value }}',
|
|
1486
|
+
},
|
|
1487
|
+
},
|
|
1488
|
+
displayOptions: {
|
|
1489
|
+
show: {
|
|
1490
|
+
resource: ['chineseAstrology'],
|
|
1491
|
+
operation: ['generateBaziChart'],
|
|
1492
|
+
},
|
|
1493
|
+
},
|
|
1494
|
+
},
|
|
1495
|
+
{
|
|
1496
|
+
displayName: 'Options',
|
|
1497
|
+
name: 'options',
|
|
1498
|
+
type: 'collection',
|
|
1499
|
+
placeholder: 'Add Option',
|
|
1500
|
+
default: {},
|
|
1501
|
+
displayOptions: {
|
|
1502
|
+
show: {
|
|
1503
|
+
resource: ['chineseAstrology'],
|
|
1504
|
+
operation: ['generateBaziChart'],
|
|
1505
|
+
},
|
|
1506
|
+
},
|
|
1507
|
+
options: [
|
|
1508
|
+
{
|
|
1509
|
+
displayName: 'Day Boundary',
|
|
1510
|
+
name: 'dayBoundary',
|
|
1511
|
+
type: 'options',
|
|
1512
|
+
options: [
|
|
1513
|
+
{
|
|
1514
|
+
name: 'Early Zi',
|
|
1515
|
+
value: 'early-zi',
|
|
1516
|
+
},
|
|
1517
|
+
{
|
|
1518
|
+
name: 'Midnight',
|
|
1519
|
+
value: 'midnight',
|
|
1520
|
+
},
|
|
1521
|
+
{
|
|
1522
|
+
name: 'Split Zi',
|
|
1523
|
+
value: 'split-zi',
|
|
1524
|
+
},
|
|
1525
|
+
],
|
|
1526
|
+
default: 'split-zi',
|
|
1527
|
+
description: 'Which instant starts the sexagenary DAY, which only matters for a birth between 23:00 and 23:59. "midnight" is the classical position of the Ming compendium San Ming Tong Hui: the day turns at 00:00 and 23:00 to 23:59 is the late zi hour of the day that is ending, so the hour stem is taken from...',
|
|
1528
|
+
routing: {
|
|
1529
|
+
send: {
|
|
1530
|
+
type: 'body',
|
|
1531
|
+
property: 'dayBoundary',
|
|
1532
|
+
},
|
|
1533
|
+
},
|
|
1534
|
+
},
|
|
1535
|
+
{
|
|
1536
|
+
displayName: 'Hour Clock',
|
|
1537
|
+
name: 'hourClock',
|
|
1538
|
+
type: 'options',
|
|
1539
|
+
options: [
|
|
1540
|
+
{
|
|
1541
|
+
name: 'Clock',
|
|
1542
|
+
value: 'clock',
|
|
1543
|
+
},
|
|
1544
|
+
{
|
|
1545
|
+
name: 'Local Mean',
|
|
1546
|
+
value: 'local-mean',
|
|
1547
|
+
},
|
|
1548
|
+
{
|
|
1549
|
+
name: 'Solar',
|
|
1550
|
+
value: 'solar',
|
|
1551
|
+
},
|
|
1552
|
+
],
|
|
1553
|
+
default: 'clock',
|
|
1554
|
+
description: 'Which clock the HOUR branch is read from. "clock" is civil time exactly as a birth certificate records it, which is what most calculators use and the default here. "local-mean" shifts to the mean sun over the birth longitude, a correction of up to 59 minutes at the edge of a wide time zone....',
|
|
1555
|
+
routing: {
|
|
1556
|
+
send: {
|
|
1557
|
+
type: 'body',
|
|
1558
|
+
property: 'hourClock',
|
|
1559
|
+
},
|
|
1560
|
+
},
|
|
1561
|
+
},
|
|
1562
|
+
{
|
|
1563
|
+
displayName: 'Language',
|
|
1564
|
+
name: 'lang',
|
|
1565
|
+
type: 'options',
|
|
1566
|
+
options: [
|
|
1567
|
+
{
|
|
1568
|
+
name: 'English',
|
|
1569
|
+
value: 'en',
|
|
1570
|
+
},
|
|
1571
|
+
{
|
|
1572
|
+
name: 'French',
|
|
1573
|
+
value: 'fr',
|
|
1574
|
+
},
|
|
1575
|
+
{
|
|
1576
|
+
name: 'German',
|
|
1577
|
+
value: 'de',
|
|
1578
|
+
},
|
|
1579
|
+
{
|
|
1580
|
+
name: 'Hindi',
|
|
1581
|
+
value: 'hi',
|
|
1582
|
+
},
|
|
1583
|
+
{
|
|
1584
|
+
name: 'Portuguese',
|
|
1585
|
+
value: 'pt',
|
|
1586
|
+
},
|
|
1587
|
+
{
|
|
1588
|
+
name: 'Russian',
|
|
1589
|
+
value: 'ru',
|
|
1590
|
+
},
|
|
1591
|
+
{
|
|
1592
|
+
name: 'Simplified Chinese',
|
|
1593
|
+
value: 'zh-Hans',
|
|
1594
|
+
},
|
|
1595
|
+
{
|
|
1596
|
+
name: 'Spanish',
|
|
1597
|
+
value: 'es',
|
|
1598
|
+
},
|
|
1599
|
+
{
|
|
1600
|
+
name: 'Traditional Chinese',
|
|
1601
|
+
value: 'zh-Hant',
|
|
1602
|
+
},
|
|
1603
|
+
{
|
|
1604
|
+
name: 'Turkish',
|
|
1605
|
+
value: 'tr',
|
|
1606
|
+
},
|
|
1607
|
+
],
|
|
1608
|
+
default: 'en',
|
|
1609
|
+
description: 'Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant.',
|
|
1610
|
+
routing: {
|
|
1611
|
+
send: {
|
|
1612
|
+
type: 'query',
|
|
1613
|
+
property: 'lang',
|
|
1614
|
+
},
|
|
1615
|
+
},
|
|
1616
|
+
},
|
|
1617
|
+
{
|
|
1618
|
+
displayName: 'Latitude',
|
|
1619
|
+
name: 'latitude',
|
|
1620
|
+
type: 'number',
|
|
1621
|
+
default: 0,
|
|
1622
|
+
typeOptions: {
|
|
1623
|
+
minValue: -90,
|
|
1624
|
+
maxValue: 90,
|
|
1625
|
+
numberPrecision: 6,
|
|
1626
|
+
},
|
|
1627
|
+
description: 'Birth latitude in decimal degrees. Accepted for consistency with the other birth-data endpoints and does not affect any part of a BaZi chart.',
|
|
1628
|
+
routing: {
|
|
1629
|
+
send: {
|
|
1630
|
+
type: 'body',
|
|
1631
|
+
property: 'latitude',
|
|
1632
|
+
},
|
|
1633
|
+
},
|
|
1634
|
+
},
|
|
1635
|
+
{
|
|
1636
|
+
displayName: 'Longitude',
|
|
1637
|
+
name: 'longitude',
|
|
1638
|
+
type: 'number',
|
|
1639
|
+
default: 116.4,
|
|
1640
|
+
typeOptions: {
|
|
1641
|
+
minValue: -180,
|
|
1642
|
+
maxValue: 180,
|
|
1643
|
+
numberPrecision: 6,
|
|
1644
|
+
},
|
|
1645
|
+
description: 'Birth longitude in decimal degrees. Positive is East, negative is West.',
|
|
1646
|
+
routing: {
|
|
1647
|
+
send: {
|
|
1648
|
+
type: 'body',
|
|
1649
|
+
property: 'longitude',
|
|
1650
|
+
},
|
|
1651
|
+
},
|
|
1652
|
+
},
|
|
1653
|
+
{
|
|
1654
|
+
displayName: 'Year Boundary',
|
|
1655
|
+
name: 'yearBoundary',
|
|
1656
|
+
type: 'options',
|
|
1657
|
+
options: [
|
|
1658
|
+
{
|
|
1659
|
+
name: 'Li Chun',
|
|
1660
|
+
value: 'li-chun',
|
|
1661
|
+
},
|
|
1662
|
+
{
|
|
1663
|
+
name: 'Lunar New Year',
|
|
1664
|
+
value: 'lunar-new-year',
|
|
1665
|
+
},
|
|
1666
|
+
],
|
|
1667
|
+
default: 'li-chun',
|
|
1668
|
+
description: 'Which instant starts the sexagenary YEAR. "li-chun" is Beginning of Spring, around 4 February, and is the classical rule every BaZi text uses, so it is the default on this endpoint. "lunar-new-year" is the folk rule people mean when they say which animal they are, and it falls between late...',
|
|
1669
|
+
routing: {
|
|
1670
|
+
send: {
|
|
1671
|
+
type: 'body',
|
|
1672
|
+
property: 'yearBoundary',
|
|
1673
|
+
},
|
|
1674
|
+
},
|
|
1675
|
+
},
|
|
1676
|
+
],
|
|
1677
|
+
},
|
|
1678
|
+
{
|
|
1679
|
+
displayName: 'Date',
|
|
1680
|
+
name: 'date',
|
|
1681
|
+
type: 'string',
|
|
1682
|
+
default: '',
|
|
1683
|
+
placeholder: 'e.g. 1990-06-15',
|
|
1684
|
+
required: true,
|
|
1685
|
+
description: 'Gregorian date in YYYY-MM-DD format, evaluated at the reference meridian. Years 1900 to 2100.',
|
|
1686
|
+
displayOptions: {
|
|
1687
|
+
show: {
|
|
1688
|
+
resource: ['chineseAstrology'],
|
|
1689
|
+
operation: ['getAlmanacDay'],
|
|
1690
|
+
},
|
|
1691
|
+
},
|
|
1692
|
+
},
|
|
1693
|
+
{
|
|
1694
|
+
displayName: 'Options',
|
|
1695
|
+
name: 'options',
|
|
1696
|
+
type: 'collection',
|
|
1697
|
+
placeholder: 'Add Option',
|
|
1698
|
+
default: {},
|
|
1699
|
+
displayOptions: {
|
|
1700
|
+
show: {
|
|
1701
|
+
resource: ['chineseAstrology'],
|
|
1702
|
+
operation: ['getAlmanacDay'],
|
|
1703
|
+
},
|
|
1704
|
+
},
|
|
1705
|
+
options: [
|
|
1706
|
+
{
|
|
1707
|
+
displayName: 'Language',
|
|
1708
|
+
name: 'lang',
|
|
1709
|
+
type: 'options',
|
|
1710
|
+
options: [
|
|
1711
|
+
{
|
|
1712
|
+
name: 'English',
|
|
1713
|
+
value: 'en',
|
|
1714
|
+
},
|
|
1715
|
+
{
|
|
1716
|
+
name: 'French',
|
|
1717
|
+
value: 'fr',
|
|
1718
|
+
},
|
|
1719
|
+
{
|
|
1720
|
+
name: 'German',
|
|
1721
|
+
value: 'de',
|
|
1722
|
+
},
|
|
1723
|
+
{
|
|
1724
|
+
name: 'Hindi',
|
|
1725
|
+
value: 'hi',
|
|
1726
|
+
},
|
|
1727
|
+
{
|
|
1728
|
+
name: 'Portuguese',
|
|
1729
|
+
value: 'pt',
|
|
1730
|
+
},
|
|
1731
|
+
{
|
|
1732
|
+
name: 'Russian',
|
|
1733
|
+
value: 'ru',
|
|
1734
|
+
},
|
|
1735
|
+
{
|
|
1736
|
+
name: 'Simplified Chinese',
|
|
1737
|
+
value: 'zh-Hans',
|
|
1738
|
+
},
|
|
1739
|
+
{
|
|
1740
|
+
name: 'Spanish',
|
|
1741
|
+
value: 'es',
|
|
1742
|
+
},
|
|
1743
|
+
{
|
|
1744
|
+
name: 'Traditional Chinese',
|
|
1745
|
+
value: 'zh-Hant',
|
|
1746
|
+
},
|
|
1747
|
+
{
|
|
1748
|
+
name: 'Turkish',
|
|
1749
|
+
value: 'tr',
|
|
1750
|
+
},
|
|
1751
|
+
],
|
|
1752
|
+
default: 'en',
|
|
1753
|
+
description: 'Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant.',
|
|
1754
|
+
routing: {
|
|
1755
|
+
send: {
|
|
1756
|
+
type: 'query',
|
|
1757
|
+
property: 'lang',
|
|
1758
|
+
},
|
|
1759
|
+
},
|
|
1760
|
+
},
|
|
1761
|
+
],
|
|
1762
|
+
},
|
|
1763
|
+
{
|
|
1764
|
+
displayName: 'ID',
|
|
1765
|
+
name: 'id',
|
|
1766
|
+
type: 'options',
|
|
1767
|
+
options: [
|
|
1768
|
+
{
|
|
1769
|
+
name: 'Dog',
|
|
1770
|
+
value: 'dog',
|
|
1771
|
+
},
|
|
1772
|
+
{
|
|
1773
|
+
name: 'Dragon',
|
|
1774
|
+
value: 'dragon',
|
|
1775
|
+
},
|
|
1776
|
+
{
|
|
1777
|
+
name: 'Goat',
|
|
1778
|
+
value: 'goat',
|
|
1779
|
+
},
|
|
1780
|
+
{
|
|
1781
|
+
name: 'Horse',
|
|
1782
|
+
value: 'horse',
|
|
1783
|
+
},
|
|
1784
|
+
{
|
|
1785
|
+
name: 'Monkey',
|
|
1786
|
+
value: 'monkey',
|
|
1787
|
+
},
|
|
1788
|
+
{
|
|
1789
|
+
name: 'Ox',
|
|
1790
|
+
value: 'ox',
|
|
1791
|
+
},
|
|
1792
|
+
{
|
|
1793
|
+
name: 'Pig',
|
|
1794
|
+
value: 'pig',
|
|
1795
|
+
},
|
|
1796
|
+
{
|
|
1797
|
+
name: 'Rabbit',
|
|
1798
|
+
value: 'rabbit',
|
|
1799
|
+
},
|
|
1800
|
+
{
|
|
1801
|
+
name: 'Rat',
|
|
1802
|
+
value: 'rat',
|
|
1803
|
+
},
|
|
1804
|
+
{
|
|
1805
|
+
name: 'Rooster',
|
|
1806
|
+
value: 'rooster',
|
|
1807
|
+
},
|
|
1808
|
+
{
|
|
1809
|
+
name: 'Snake',
|
|
1810
|
+
value: 'snake',
|
|
1811
|
+
},
|
|
1812
|
+
{
|
|
1813
|
+
name: 'Tiger',
|
|
1814
|
+
value: 'tiger',
|
|
1815
|
+
},
|
|
1816
|
+
],
|
|
1817
|
+
default: 'rat',
|
|
1818
|
+
required: true,
|
|
1819
|
+
description: 'Animal ID, case-insensitive. One of rat, ox, tiger, rabbit, dragon, snake, horse, goat, monkey, rooster, dog, pig.',
|
|
1820
|
+
displayOptions: {
|
|
1821
|
+
show: {
|
|
1822
|
+
resource: ['chineseAstrology'],
|
|
1823
|
+
operation: ['getDailyZodiacReading'],
|
|
1824
|
+
},
|
|
1825
|
+
},
|
|
1826
|
+
},
|
|
1827
|
+
{
|
|
1828
|
+
displayName: 'Options',
|
|
1829
|
+
name: 'options',
|
|
1830
|
+
type: 'collection',
|
|
1831
|
+
placeholder: 'Add Option',
|
|
1832
|
+
default: {},
|
|
1833
|
+
displayOptions: {
|
|
1834
|
+
show: {
|
|
1835
|
+
resource: ['chineseAstrology'],
|
|
1836
|
+
operation: ['getDailyZodiacReading'],
|
|
1837
|
+
},
|
|
1838
|
+
},
|
|
1839
|
+
options: [
|
|
1840
|
+
{
|
|
1841
|
+
displayName: 'Date',
|
|
1842
|
+
name: 'date',
|
|
1843
|
+
type: 'string',
|
|
1844
|
+
default: '',
|
|
1845
|
+
placeholder: 'e.g. 2026-04-03',
|
|
1846
|
+
description: 'Reading date in YYYY-MM-DD format. Past and future dates are both supported, for editorial scheduling and backfill.',
|
|
1847
|
+
routing: {
|
|
1848
|
+
send: {
|
|
1849
|
+
type: 'query',
|
|
1850
|
+
property: 'date',
|
|
1851
|
+
},
|
|
1852
|
+
},
|
|
1853
|
+
},
|
|
1854
|
+
{
|
|
1855
|
+
displayName: 'Language',
|
|
1856
|
+
name: 'lang',
|
|
1857
|
+
type: 'options',
|
|
1858
|
+
options: [
|
|
1859
|
+
{
|
|
1860
|
+
name: 'English',
|
|
1861
|
+
value: 'en',
|
|
1862
|
+
},
|
|
1863
|
+
{
|
|
1864
|
+
name: 'French',
|
|
1865
|
+
value: 'fr',
|
|
1866
|
+
},
|
|
1867
|
+
{
|
|
1868
|
+
name: 'German',
|
|
1869
|
+
value: 'de',
|
|
1870
|
+
},
|
|
1871
|
+
{
|
|
1872
|
+
name: 'Hindi',
|
|
1873
|
+
value: 'hi',
|
|
1874
|
+
},
|
|
1875
|
+
{
|
|
1876
|
+
name: 'Portuguese',
|
|
1877
|
+
value: 'pt',
|
|
1878
|
+
},
|
|
1879
|
+
{
|
|
1880
|
+
name: 'Russian',
|
|
1881
|
+
value: 'ru',
|
|
1882
|
+
},
|
|
1883
|
+
{
|
|
1884
|
+
name: 'Simplified Chinese',
|
|
1885
|
+
value: 'zh-Hans',
|
|
1886
|
+
},
|
|
1887
|
+
{
|
|
1888
|
+
name: 'Spanish',
|
|
1889
|
+
value: 'es',
|
|
1890
|
+
},
|
|
1891
|
+
{
|
|
1892
|
+
name: 'Traditional Chinese',
|
|
1893
|
+
value: 'zh-Hant',
|
|
1894
|
+
},
|
|
1895
|
+
{
|
|
1896
|
+
name: 'Turkish',
|
|
1897
|
+
value: 'tr',
|
|
1898
|
+
},
|
|
1899
|
+
],
|
|
1900
|
+
default: 'en',
|
|
1901
|
+
description: 'Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant.',
|
|
1902
|
+
routing: {
|
|
1903
|
+
send: {
|
|
1904
|
+
type: 'query',
|
|
1905
|
+
property: 'lang',
|
|
1906
|
+
},
|
|
1907
|
+
},
|
|
1908
|
+
},
|
|
1909
|
+
{
|
|
1910
|
+
displayName: 'Timezone',
|
|
1911
|
+
name: 'timezone',
|
|
1912
|
+
type: 'string',
|
|
1913
|
+
default: '',
|
|
1914
|
+
placeholder: 'e.g. America/New_York',
|
|
1915
|
+
description: 'Selects which day counts as current when date is omitted. Defaults to UTC, so the reading rolls over at 00:00 UTC each day.',
|
|
1916
|
+
routing: {
|
|
1917
|
+
send: {
|
|
1918
|
+
type: 'query',
|
|
1919
|
+
property: 'timezone',
|
|
1920
|
+
},
|
|
1921
|
+
},
|
|
1922
|
+
},
|
|
1923
|
+
],
|
|
1924
|
+
},
|
|
1925
|
+
{
|
|
1926
|
+
displayName: 'Options',
|
|
1927
|
+
name: 'options',
|
|
1928
|
+
type: 'collection',
|
|
1929
|
+
placeholder: 'Add Option',
|
|
1930
|
+
default: {},
|
|
1931
|
+
displayOptions: {
|
|
1932
|
+
show: {
|
|
1933
|
+
resource: ['chineseAstrology'],
|
|
1934
|
+
operation: ['getMonthlyAlmanac'],
|
|
1935
|
+
},
|
|
1936
|
+
},
|
|
1937
|
+
options: [
|
|
1938
|
+
{
|
|
1939
|
+
displayName: 'Language',
|
|
1940
|
+
name: 'lang',
|
|
1941
|
+
type: 'options',
|
|
1942
|
+
options: [
|
|
1943
|
+
{
|
|
1944
|
+
name: 'English',
|
|
1945
|
+
value: 'en',
|
|
1946
|
+
},
|
|
1947
|
+
{
|
|
1948
|
+
name: 'French',
|
|
1949
|
+
value: 'fr',
|
|
1950
|
+
},
|
|
1951
|
+
{
|
|
1952
|
+
name: 'German',
|
|
1953
|
+
value: 'de',
|
|
1954
|
+
},
|
|
1955
|
+
{
|
|
1956
|
+
name: 'Hindi',
|
|
1957
|
+
value: 'hi',
|
|
1958
|
+
},
|
|
1959
|
+
{
|
|
1960
|
+
name: 'Portuguese',
|
|
1961
|
+
value: 'pt',
|
|
1962
|
+
},
|
|
1963
|
+
{
|
|
1964
|
+
name: 'Russian',
|
|
1965
|
+
value: 'ru',
|
|
1966
|
+
},
|
|
1967
|
+
{
|
|
1968
|
+
name: 'Simplified Chinese',
|
|
1969
|
+
value: 'zh-Hans',
|
|
1970
|
+
},
|
|
1971
|
+
{
|
|
1972
|
+
name: 'Spanish',
|
|
1973
|
+
value: 'es',
|
|
1974
|
+
},
|
|
1975
|
+
{
|
|
1976
|
+
name: 'Traditional Chinese',
|
|
1977
|
+
value: 'zh-Hant',
|
|
1978
|
+
},
|
|
1979
|
+
{
|
|
1980
|
+
name: 'Turkish',
|
|
1981
|
+
value: 'tr',
|
|
1982
|
+
},
|
|
1983
|
+
],
|
|
1984
|
+
default: 'en',
|
|
1985
|
+
description: 'Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant.',
|
|
1986
|
+
routing: {
|
|
1987
|
+
send: {
|
|
1988
|
+
type: 'query',
|
|
1989
|
+
property: 'lang',
|
|
1990
|
+
},
|
|
1991
|
+
},
|
|
1992
|
+
},
|
|
1993
|
+
{
|
|
1994
|
+
displayName: 'Month',
|
|
1995
|
+
name: 'month',
|
|
1996
|
+
type: 'number',
|
|
1997
|
+
default: 6,
|
|
1998
|
+
typeOptions: {
|
|
1999
|
+
minValue: 1,
|
|
2000
|
+
maxValue: 12,
|
|
2001
|
+
},
|
|
2002
|
+
description: 'Gregorian month, 1 to 12. Defaults to the current UTC month when omitted, together with year.',
|
|
2003
|
+
routing: {
|
|
2004
|
+
send: {
|
|
2005
|
+
type: 'query',
|
|
2006
|
+
property: 'month',
|
|
2007
|
+
},
|
|
2008
|
+
},
|
|
2009
|
+
},
|
|
2010
|
+
{
|
|
2011
|
+
displayName: 'Year',
|
|
2012
|
+
name: 'year',
|
|
2013
|
+
type: 'number',
|
|
2014
|
+
default: 1990,
|
|
2015
|
+
typeOptions: {
|
|
2016
|
+
minValue: 1900,
|
|
2017
|
+
maxValue: 2100,
|
|
2018
|
+
},
|
|
2019
|
+
description: 'Gregorian year, 1900 to 2100. Defaults to the current UTC year when omitted, together with month.',
|
|
2020
|
+
routing: {
|
|
2021
|
+
send: {
|
|
2022
|
+
type: 'query',
|
|
2023
|
+
property: 'year',
|
|
2024
|
+
},
|
|
2025
|
+
},
|
|
2026
|
+
},
|
|
2027
|
+
],
|
|
2028
|
+
},
|
|
2029
|
+
{
|
|
2030
|
+
displayName: 'ID',
|
|
2031
|
+
name: 'id',
|
|
2032
|
+
type: 'options',
|
|
2033
|
+
options: [
|
|
2034
|
+
{
|
|
2035
|
+
name: 'Dog',
|
|
2036
|
+
value: 'dog',
|
|
2037
|
+
},
|
|
2038
|
+
{
|
|
2039
|
+
name: 'Dragon',
|
|
2040
|
+
value: 'dragon',
|
|
2041
|
+
},
|
|
2042
|
+
{
|
|
2043
|
+
name: 'Goat',
|
|
2044
|
+
value: 'goat',
|
|
2045
|
+
},
|
|
2046
|
+
{
|
|
2047
|
+
name: 'Horse',
|
|
2048
|
+
value: 'horse',
|
|
2049
|
+
},
|
|
2050
|
+
{
|
|
2051
|
+
name: 'Monkey',
|
|
2052
|
+
value: 'monkey',
|
|
2053
|
+
},
|
|
2054
|
+
{
|
|
2055
|
+
name: 'Ox',
|
|
2056
|
+
value: 'ox',
|
|
2057
|
+
},
|
|
2058
|
+
{
|
|
2059
|
+
name: 'Pig',
|
|
2060
|
+
value: 'pig',
|
|
2061
|
+
},
|
|
2062
|
+
{
|
|
2063
|
+
name: 'Rabbit',
|
|
2064
|
+
value: 'rabbit',
|
|
2065
|
+
},
|
|
2066
|
+
{
|
|
2067
|
+
name: 'Rat',
|
|
2068
|
+
value: 'rat',
|
|
2069
|
+
},
|
|
2070
|
+
{
|
|
2071
|
+
name: 'Rooster',
|
|
2072
|
+
value: 'rooster',
|
|
2073
|
+
},
|
|
2074
|
+
{
|
|
2075
|
+
name: 'Snake',
|
|
2076
|
+
value: 'snake',
|
|
2077
|
+
},
|
|
2078
|
+
{
|
|
2079
|
+
name: 'Tiger',
|
|
2080
|
+
value: 'tiger',
|
|
2081
|
+
},
|
|
2082
|
+
],
|
|
2083
|
+
default: 'rat',
|
|
2084
|
+
required: true,
|
|
2085
|
+
description: 'Animal ID, case-insensitive and punctuation-insensitive. One of rat, ox, tiger, rabbit, dragon, snake, horse, goat, monkey, rooster, dog, pig.',
|
|
2086
|
+
displayOptions: {
|
|
2087
|
+
show: {
|
|
2088
|
+
resource: ['chineseAstrology'],
|
|
2089
|
+
operation: ['getZodiacAnimal'],
|
|
2090
|
+
},
|
|
2091
|
+
},
|
|
2092
|
+
},
|
|
2093
|
+
{
|
|
2094
|
+
displayName: 'Options',
|
|
2095
|
+
name: 'options',
|
|
2096
|
+
type: 'collection',
|
|
2097
|
+
placeholder: 'Add Option',
|
|
2098
|
+
default: {},
|
|
2099
|
+
displayOptions: {
|
|
2100
|
+
show: {
|
|
2101
|
+
resource: ['chineseAstrology'],
|
|
2102
|
+
operation: ['getZodiacAnimal'],
|
|
2103
|
+
},
|
|
2104
|
+
},
|
|
2105
|
+
options: [
|
|
2106
|
+
{
|
|
2107
|
+
displayName: 'Language',
|
|
2108
|
+
name: 'lang',
|
|
2109
|
+
type: 'options',
|
|
2110
|
+
options: [
|
|
2111
|
+
{
|
|
2112
|
+
name: 'English',
|
|
2113
|
+
value: 'en',
|
|
2114
|
+
},
|
|
2115
|
+
{
|
|
2116
|
+
name: 'French',
|
|
2117
|
+
value: 'fr',
|
|
2118
|
+
},
|
|
2119
|
+
{
|
|
2120
|
+
name: 'German',
|
|
2121
|
+
value: 'de',
|
|
2122
|
+
},
|
|
2123
|
+
{
|
|
2124
|
+
name: 'Hindi',
|
|
2125
|
+
value: 'hi',
|
|
2126
|
+
},
|
|
2127
|
+
{
|
|
2128
|
+
name: 'Portuguese',
|
|
2129
|
+
value: 'pt',
|
|
2130
|
+
},
|
|
2131
|
+
{
|
|
2132
|
+
name: 'Russian',
|
|
2133
|
+
value: 'ru',
|
|
2134
|
+
},
|
|
2135
|
+
{
|
|
2136
|
+
name: 'Simplified Chinese',
|
|
2137
|
+
value: 'zh-Hans',
|
|
2138
|
+
},
|
|
2139
|
+
{
|
|
2140
|
+
name: 'Spanish',
|
|
2141
|
+
value: 'es',
|
|
2142
|
+
},
|
|
2143
|
+
{
|
|
2144
|
+
name: 'Traditional Chinese',
|
|
2145
|
+
value: 'zh-Hant',
|
|
2146
|
+
},
|
|
2147
|
+
{
|
|
2148
|
+
name: 'Turkish',
|
|
2149
|
+
value: 'tr',
|
|
2150
|
+
},
|
|
2151
|
+
],
|
|
2152
|
+
default: 'en',
|
|
2153
|
+
description: 'Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant.',
|
|
2154
|
+
routing: {
|
|
2155
|
+
send: {
|
|
2156
|
+
type: 'query',
|
|
2157
|
+
property: 'lang',
|
|
2158
|
+
},
|
|
2159
|
+
},
|
|
2160
|
+
},
|
|
2161
|
+
],
|
|
2162
|
+
},
|
|
2163
|
+
{
|
|
2164
|
+
displayName: 'Sign1',
|
|
2165
|
+
name: 'sign1',
|
|
2166
|
+
type: 'options',
|
|
2167
|
+
options: [
|
|
2168
|
+
{
|
|
2169
|
+
name: 'Dog',
|
|
2170
|
+
value: 'dog',
|
|
2171
|
+
},
|
|
2172
|
+
{
|
|
2173
|
+
name: 'Dragon',
|
|
2174
|
+
value: 'dragon',
|
|
2175
|
+
},
|
|
2176
|
+
{
|
|
2177
|
+
name: 'Goat',
|
|
2178
|
+
value: 'goat',
|
|
2179
|
+
},
|
|
2180
|
+
{
|
|
2181
|
+
name: 'Horse',
|
|
2182
|
+
value: 'horse',
|
|
2183
|
+
},
|
|
2184
|
+
{
|
|
2185
|
+
name: 'Monkey',
|
|
2186
|
+
value: 'monkey',
|
|
2187
|
+
},
|
|
2188
|
+
{
|
|
2189
|
+
name: 'Ox',
|
|
2190
|
+
value: 'ox',
|
|
2191
|
+
},
|
|
2192
|
+
{
|
|
2193
|
+
name: 'Pig',
|
|
2194
|
+
value: 'pig',
|
|
2195
|
+
},
|
|
2196
|
+
{
|
|
2197
|
+
name: 'Rabbit',
|
|
2198
|
+
value: 'rabbit',
|
|
2199
|
+
},
|
|
2200
|
+
{
|
|
2201
|
+
name: 'Rat',
|
|
2202
|
+
value: 'rat',
|
|
2203
|
+
},
|
|
2204
|
+
{
|
|
2205
|
+
name: 'Rooster',
|
|
2206
|
+
value: 'rooster',
|
|
2207
|
+
},
|
|
2208
|
+
{
|
|
2209
|
+
name: 'Snake',
|
|
2210
|
+
value: 'snake',
|
|
2211
|
+
},
|
|
2212
|
+
{
|
|
2213
|
+
name: 'Tiger',
|
|
2214
|
+
value: 'tiger',
|
|
2215
|
+
},
|
|
2216
|
+
],
|
|
2217
|
+
default: 'rat',
|
|
2218
|
+
required: true,
|
|
2219
|
+
description: 'First animal ID, case-insensitive. One of rat, ox, tiger, rabbit, dragon, snake, horse, goat, monkey, rooster, dog, pig.',
|
|
2220
|
+
displayOptions: {
|
|
2221
|
+
show: {
|
|
2222
|
+
resource: ['chineseAstrology'],
|
|
2223
|
+
operation: ['getZodiacCompatibility'],
|
|
2224
|
+
},
|
|
2225
|
+
},
|
|
2226
|
+
},
|
|
2227
|
+
{
|
|
2228
|
+
displayName: 'Sign2',
|
|
2229
|
+
name: 'sign2',
|
|
2230
|
+
type: 'options',
|
|
2231
|
+
options: [
|
|
2232
|
+
{
|
|
2233
|
+
name: 'Dog',
|
|
2234
|
+
value: 'dog',
|
|
2235
|
+
},
|
|
2236
|
+
{
|
|
2237
|
+
name: 'Dragon',
|
|
2238
|
+
value: 'dragon',
|
|
2239
|
+
},
|
|
2240
|
+
{
|
|
2241
|
+
name: 'Goat',
|
|
2242
|
+
value: 'goat',
|
|
2243
|
+
},
|
|
2244
|
+
{
|
|
2245
|
+
name: 'Horse',
|
|
2246
|
+
value: 'horse',
|
|
2247
|
+
},
|
|
2248
|
+
{
|
|
2249
|
+
name: 'Monkey',
|
|
2250
|
+
value: 'monkey',
|
|
2251
|
+
},
|
|
2252
|
+
{
|
|
2253
|
+
name: 'Ox',
|
|
2254
|
+
value: 'ox',
|
|
2255
|
+
},
|
|
2256
|
+
{
|
|
2257
|
+
name: 'Pig',
|
|
2258
|
+
value: 'pig',
|
|
2259
|
+
},
|
|
2260
|
+
{
|
|
2261
|
+
name: 'Rabbit',
|
|
2262
|
+
value: 'rabbit',
|
|
2263
|
+
},
|
|
2264
|
+
{
|
|
2265
|
+
name: 'Rat',
|
|
2266
|
+
value: 'rat',
|
|
2267
|
+
},
|
|
2268
|
+
{
|
|
2269
|
+
name: 'Rooster',
|
|
2270
|
+
value: 'rooster',
|
|
2271
|
+
},
|
|
2272
|
+
{
|
|
2273
|
+
name: 'Snake',
|
|
2274
|
+
value: 'snake',
|
|
2275
|
+
},
|
|
2276
|
+
{
|
|
2277
|
+
name: 'Tiger',
|
|
2278
|
+
value: 'tiger',
|
|
2279
|
+
},
|
|
2280
|
+
],
|
|
2281
|
+
default: 'dragon',
|
|
2282
|
+
required: true,
|
|
2283
|
+
description: 'Second animal ID, case-insensitive. The relation is symmetric, so swapping the two returns the same relationship and the same score, with the reading written from the first sign point of view.',
|
|
2284
|
+
displayOptions: {
|
|
2285
|
+
show: {
|
|
2286
|
+
resource: ['chineseAstrology'],
|
|
2287
|
+
operation: ['getZodiacCompatibility'],
|
|
2288
|
+
},
|
|
2289
|
+
},
|
|
2290
|
+
},
|
|
2291
|
+
{
|
|
2292
|
+
displayName: 'Options',
|
|
2293
|
+
name: 'options',
|
|
2294
|
+
type: 'collection',
|
|
2295
|
+
placeholder: 'Add Option',
|
|
2296
|
+
default: {},
|
|
2297
|
+
displayOptions: {
|
|
2298
|
+
show: {
|
|
2299
|
+
resource: ['chineseAstrology'],
|
|
2300
|
+
operation: ['getZodiacCompatibility'],
|
|
2301
|
+
},
|
|
2302
|
+
},
|
|
2303
|
+
options: [
|
|
2304
|
+
{
|
|
2305
|
+
displayName: 'Language',
|
|
2306
|
+
name: 'lang',
|
|
2307
|
+
type: 'options',
|
|
2308
|
+
options: [
|
|
2309
|
+
{
|
|
2310
|
+
name: 'English',
|
|
2311
|
+
value: 'en',
|
|
2312
|
+
},
|
|
2313
|
+
{
|
|
2314
|
+
name: 'French',
|
|
2315
|
+
value: 'fr',
|
|
2316
|
+
},
|
|
2317
|
+
{
|
|
2318
|
+
name: 'German',
|
|
2319
|
+
value: 'de',
|
|
2320
|
+
},
|
|
2321
|
+
{
|
|
2322
|
+
name: 'Hindi',
|
|
2323
|
+
value: 'hi',
|
|
2324
|
+
},
|
|
2325
|
+
{
|
|
2326
|
+
name: 'Portuguese',
|
|
2327
|
+
value: 'pt',
|
|
2328
|
+
},
|
|
2329
|
+
{
|
|
2330
|
+
name: 'Russian',
|
|
2331
|
+
value: 'ru',
|
|
2332
|
+
},
|
|
2333
|
+
{
|
|
2334
|
+
name: 'Simplified Chinese',
|
|
2335
|
+
value: 'zh-Hans',
|
|
2336
|
+
},
|
|
2337
|
+
{
|
|
2338
|
+
name: 'Spanish',
|
|
2339
|
+
value: 'es',
|
|
2340
|
+
},
|
|
2341
|
+
{
|
|
2342
|
+
name: 'Traditional Chinese',
|
|
2343
|
+
value: 'zh-Hant',
|
|
2344
|
+
},
|
|
2345
|
+
{
|
|
2346
|
+
name: 'Turkish',
|
|
2347
|
+
value: 'tr',
|
|
2348
|
+
},
|
|
2349
|
+
],
|
|
2350
|
+
default: 'en',
|
|
2351
|
+
description: 'Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant.',
|
|
2352
|
+
routing: {
|
|
2353
|
+
send: {
|
|
2354
|
+
type: 'query',
|
|
2355
|
+
property: 'lang',
|
|
2356
|
+
},
|
|
2357
|
+
},
|
|
2358
|
+
},
|
|
2359
|
+
],
|
|
2360
|
+
},
|
|
2361
|
+
{
|
|
2362
|
+
displayName: 'Options',
|
|
2363
|
+
name: 'options',
|
|
2364
|
+
type: 'collection',
|
|
2365
|
+
placeholder: 'Add Option',
|
|
2366
|
+
default: {},
|
|
2367
|
+
displayOptions: {
|
|
2368
|
+
show: {
|
|
2369
|
+
resource: ['chineseAstrology'],
|
|
2370
|
+
operation: ['listFiveElements'],
|
|
2371
|
+
},
|
|
2372
|
+
},
|
|
2373
|
+
options: [
|
|
2374
|
+
{
|
|
2375
|
+
displayName: 'Language',
|
|
2376
|
+
name: 'lang',
|
|
2377
|
+
type: 'options',
|
|
2378
|
+
options: [
|
|
2379
|
+
{
|
|
2380
|
+
name: 'English',
|
|
2381
|
+
value: 'en',
|
|
2382
|
+
},
|
|
2383
|
+
{
|
|
2384
|
+
name: 'French',
|
|
2385
|
+
value: 'fr',
|
|
2386
|
+
},
|
|
2387
|
+
{
|
|
2388
|
+
name: 'German',
|
|
2389
|
+
value: 'de',
|
|
2390
|
+
},
|
|
2391
|
+
{
|
|
2392
|
+
name: 'Hindi',
|
|
2393
|
+
value: 'hi',
|
|
2394
|
+
},
|
|
2395
|
+
{
|
|
2396
|
+
name: 'Portuguese',
|
|
2397
|
+
value: 'pt',
|
|
2398
|
+
},
|
|
2399
|
+
{
|
|
2400
|
+
name: 'Russian',
|
|
2401
|
+
value: 'ru',
|
|
2402
|
+
},
|
|
2403
|
+
{
|
|
2404
|
+
name: 'Simplified Chinese',
|
|
2405
|
+
value: 'zh-Hans',
|
|
2406
|
+
},
|
|
2407
|
+
{
|
|
2408
|
+
name: 'Spanish',
|
|
2409
|
+
value: 'es',
|
|
2410
|
+
},
|
|
2411
|
+
{
|
|
2412
|
+
name: 'Traditional Chinese',
|
|
2413
|
+
value: 'zh-Hant',
|
|
2414
|
+
},
|
|
2415
|
+
{
|
|
2416
|
+
name: 'Turkish',
|
|
2417
|
+
value: 'tr',
|
|
2418
|
+
},
|
|
2419
|
+
],
|
|
2420
|
+
default: 'en',
|
|
2421
|
+
description: 'Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant.',
|
|
2422
|
+
routing: {
|
|
2423
|
+
send: {
|
|
2424
|
+
type: 'query',
|
|
2425
|
+
property: 'lang',
|
|
2426
|
+
},
|
|
2427
|
+
},
|
|
2428
|
+
},
|
|
2429
|
+
{
|
|
2430
|
+
displayName: 'Limit',
|
|
2431
|
+
name: 'maxResults',
|
|
2432
|
+
type: 'number',
|
|
2433
|
+
default: 5,
|
|
2434
|
+
typeOptions: {
|
|
2435
|
+
minValue: 1,
|
|
2436
|
+
maxValue: 5,
|
|
2437
|
+
},
|
|
2438
|
+
description: 'Maximum items to return per page. Range: 1-5, default 5.',
|
|
2439
|
+
routing: {
|
|
2440
|
+
send: {
|
|
2441
|
+
type: 'query',
|
|
2442
|
+
property: 'limit',
|
|
2443
|
+
},
|
|
2444
|
+
},
|
|
2445
|
+
},
|
|
2446
|
+
{
|
|
2447
|
+
displayName: 'Offset',
|
|
2448
|
+
name: 'offset',
|
|
2449
|
+
type: 'number',
|
|
2450
|
+
default: 0,
|
|
2451
|
+
typeOptions: {
|
|
2452
|
+
minValue: 0,
|
|
2453
|
+
},
|
|
2454
|
+
description: 'Number of items to skip for pagination. Default 0.',
|
|
2455
|
+
routing: {
|
|
2456
|
+
send: {
|
|
2457
|
+
type: 'query',
|
|
2458
|
+
property: 'offset',
|
|
2459
|
+
},
|
|
2460
|
+
},
|
|
2461
|
+
},
|
|
2462
|
+
],
|
|
2463
|
+
},
|
|
2464
|
+
{
|
|
2465
|
+
displayName: 'Year',
|
|
2466
|
+
name: 'year',
|
|
2467
|
+
type: 'number',
|
|
2468
|
+
default: 2026,
|
|
2469
|
+
typeOptions: {
|
|
2470
|
+
minValue: 1900,
|
|
2471
|
+
maxValue: 2100,
|
|
2472
|
+
},
|
|
2473
|
+
required: true,
|
|
2474
|
+
description: 'Solar year, 1900 to 2100. The year opens at Li Chun rather than on 1 January, so its last two terms fall in the following January.',
|
|
2475
|
+
displayOptions: {
|
|
2476
|
+
show: {
|
|
2477
|
+
resource: ['chineseAstrology'],
|
|
2478
|
+
operation: ['listSolarTerms'],
|
|
2479
|
+
},
|
|
2480
|
+
},
|
|
2481
|
+
},
|
|
2482
|
+
{
|
|
2483
|
+
displayName: 'Options',
|
|
2484
|
+
name: 'options',
|
|
2485
|
+
type: 'collection',
|
|
2486
|
+
placeholder: 'Add Option',
|
|
2487
|
+
default: {},
|
|
2488
|
+
displayOptions: {
|
|
2489
|
+
show: {
|
|
2490
|
+
resource: ['chineseAstrology'],
|
|
2491
|
+
operation: ['listSolarTerms'],
|
|
2492
|
+
},
|
|
2493
|
+
},
|
|
2494
|
+
options: [
|
|
2495
|
+
{
|
|
2496
|
+
displayName: 'Language',
|
|
2497
|
+
name: 'lang',
|
|
2498
|
+
type: 'options',
|
|
2499
|
+
options: [
|
|
2500
|
+
{
|
|
2501
|
+
name: 'English',
|
|
2502
|
+
value: 'en',
|
|
2503
|
+
},
|
|
2504
|
+
{
|
|
2505
|
+
name: 'French',
|
|
2506
|
+
value: 'fr',
|
|
2507
|
+
},
|
|
2508
|
+
{
|
|
2509
|
+
name: 'German',
|
|
2510
|
+
value: 'de',
|
|
2511
|
+
},
|
|
2512
|
+
{
|
|
2513
|
+
name: 'Hindi',
|
|
2514
|
+
value: 'hi',
|
|
2515
|
+
},
|
|
2516
|
+
{
|
|
2517
|
+
name: 'Portuguese',
|
|
2518
|
+
value: 'pt',
|
|
2519
|
+
},
|
|
2520
|
+
{
|
|
2521
|
+
name: 'Russian',
|
|
2522
|
+
value: 'ru',
|
|
2523
|
+
},
|
|
2524
|
+
{
|
|
2525
|
+
name: 'Simplified Chinese',
|
|
2526
|
+
value: 'zh-Hans',
|
|
2527
|
+
},
|
|
2528
|
+
{
|
|
2529
|
+
name: 'Spanish',
|
|
2530
|
+
value: 'es',
|
|
2531
|
+
},
|
|
2532
|
+
{
|
|
2533
|
+
name: 'Traditional Chinese',
|
|
2534
|
+
value: 'zh-Hant',
|
|
2535
|
+
},
|
|
2536
|
+
{
|
|
2537
|
+
name: 'Turkish',
|
|
2538
|
+
value: 'tr',
|
|
2539
|
+
},
|
|
2540
|
+
],
|
|
2541
|
+
default: 'en',
|
|
2542
|
+
description: 'Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant.',
|
|
2543
|
+
routing: {
|
|
2544
|
+
send: {
|
|
2545
|
+
type: 'query',
|
|
2546
|
+
property: 'lang',
|
|
2547
|
+
},
|
|
2548
|
+
},
|
|
2549
|
+
},
|
|
2550
|
+
],
|
|
2551
|
+
},
|
|
2552
|
+
{
|
|
2553
|
+
displayName: 'Options',
|
|
2554
|
+
name: 'options',
|
|
2555
|
+
type: 'collection',
|
|
2556
|
+
placeholder: 'Add Option',
|
|
2557
|
+
default: {},
|
|
2558
|
+
displayOptions: {
|
|
2559
|
+
show: {
|
|
2560
|
+
resource: ['chineseAstrology'],
|
|
2561
|
+
operation: ['listZodiacAnimals'],
|
|
2562
|
+
},
|
|
2563
|
+
},
|
|
2564
|
+
options: [
|
|
2565
|
+
{
|
|
2566
|
+
displayName: 'Language',
|
|
2567
|
+
name: 'lang',
|
|
2568
|
+
type: 'options',
|
|
2569
|
+
options: [
|
|
2570
|
+
{
|
|
2571
|
+
name: 'English',
|
|
2572
|
+
value: 'en',
|
|
2573
|
+
},
|
|
2574
|
+
{
|
|
2575
|
+
name: 'French',
|
|
2576
|
+
value: 'fr',
|
|
2577
|
+
},
|
|
2578
|
+
{
|
|
2579
|
+
name: 'German',
|
|
2580
|
+
value: 'de',
|
|
2581
|
+
},
|
|
2582
|
+
{
|
|
2583
|
+
name: 'Hindi',
|
|
2584
|
+
value: 'hi',
|
|
2585
|
+
},
|
|
2586
|
+
{
|
|
2587
|
+
name: 'Portuguese',
|
|
2588
|
+
value: 'pt',
|
|
2589
|
+
},
|
|
2590
|
+
{
|
|
2591
|
+
name: 'Russian',
|
|
2592
|
+
value: 'ru',
|
|
2593
|
+
},
|
|
2594
|
+
{
|
|
2595
|
+
name: 'Simplified Chinese',
|
|
2596
|
+
value: 'zh-Hans',
|
|
2597
|
+
},
|
|
2598
|
+
{
|
|
2599
|
+
name: 'Spanish',
|
|
2600
|
+
value: 'es',
|
|
2601
|
+
},
|
|
2602
|
+
{
|
|
2603
|
+
name: 'Traditional Chinese',
|
|
2604
|
+
value: 'zh-Hant',
|
|
2605
|
+
},
|
|
2606
|
+
{
|
|
2607
|
+
name: 'Turkish',
|
|
2608
|
+
value: 'tr',
|
|
2609
|
+
},
|
|
2610
|
+
],
|
|
2611
|
+
default: 'en',
|
|
2612
|
+
description: 'Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant.',
|
|
2613
|
+
routing: {
|
|
2614
|
+
send: {
|
|
2615
|
+
type: 'query',
|
|
2616
|
+
property: 'lang',
|
|
2617
|
+
},
|
|
2618
|
+
},
|
|
2619
|
+
},
|
|
2620
|
+
{
|
|
2621
|
+
displayName: 'Limit',
|
|
2622
|
+
name: 'maxResults',
|
|
2623
|
+
type: 'number',
|
|
2624
|
+
default: 12,
|
|
2625
|
+
typeOptions: {
|
|
2626
|
+
minValue: 1,
|
|
2627
|
+
maxValue: 12,
|
|
2628
|
+
},
|
|
2629
|
+
description: 'Maximum items to return per page. Range: 1-12, default 12.',
|
|
2630
|
+
routing: {
|
|
2631
|
+
send: {
|
|
2632
|
+
type: 'query',
|
|
2633
|
+
property: 'limit',
|
|
2634
|
+
},
|
|
2635
|
+
},
|
|
2636
|
+
},
|
|
2637
|
+
{
|
|
2638
|
+
displayName: 'Offset',
|
|
2639
|
+
name: 'offset',
|
|
2640
|
+
type: 'number',
|
|
2641
|
+
default: 0,
|
|
2642
|
+
typeOptions: {
|
|
2643
|
+
minValue: 0,
|
|
2644
|
+
},
|
|
2645
|
+
description: 'Number of items to skip for pagination. Default 0.',
|
|
2646
|
+
routing: {
|
|
2647
|
+
send: {
|
|
2648
|
+
type: 'query',
|
|
2649
|
+
property: 'offset',
|
|
2650
|
+
},
|
|
2651
|
+
},
|
|
2652
|
+
},
|
|
2653
|
+
],
|
|
2654
|
+
},
|
|
2655
|
+
{
|
|
2656
|
+
displayName: 'Activity',
|
|
2657
|
+
name: 'activity',
|
|
2658
|
+
type: 'options',
|
|
2659
|
+
options: [
|
|
2660
|
+
{
|
|
2661
|
+
name: 'Burial',
|
|
2662
|
+
value: 'burial',
|
|
2663
|
+
},
|
|
2664
|
+
{
|
|
2665
|
+
name: 'Construction',
|
|
2666
|
+
value: 'construction',
|
|
2667
|
+
},
|
|
2668
|
+
{
|
|
2669
|
+
name: 'Groundbreaking',
|
|
2670
|
+
value: 'groundbreaking',
|
|
2671
|
+
},
|
|
2672
|
+
{
|
|
2673
|
+
name: 'Medical Treatment',
|
|
2674
|
+
value: 'medical-treatment',
|
|
2675
|
+
},
|
|
2676
|
+
{
|
|
2677
|
+
name: 'Moving House',
|
|
2678
|
+
value: 'moving-house',
|
|
2679
|
+
},
|
|
2680
|
+
{
|
|
2681
|
+
name: 'Opening Business',
|
|
2682
|
+
value: 'opening-business',
|
|
2683
|
+
},
|
|
2684
|
+
{
|
|
2685
|
+
name: 'Praying',
|
|
2686
|
+
value: 'praying',
|
|
2687
|
+
},
|
|
2688
|
+
{
|
|
2689
|
+
name: 'Signing Contracts',
|
|
2690
|
+
value: 'signing-contracts',
|
|
2691
|
+
},
|
|
2692
|
+
{
|
|
2693
|
+
name: 'Travel',
|
|
2694
|
+
value: 'travel',
|
|
2695
|
+
},
|
|
2696
|
+
{
|
|
2697
|
+
name: 'Wedding',
|
|
2698
|
+
value: 'wedding',
|
|
2699
|
+
},
|
|
2700
|
+
],
|
|
2701
|
+
default: 'wedding',
|
|
2702
|
+
required: true,
|
|
2703
|
+
description: 'Activity to choose a date for. One of wedding, travel, moving-house, opening-business, signing-contracts, construction, groundbreaking, burial, medical-treatment, praying.',
|
|
2704
|
+
routing: {
|
|
2705
|
+
send: {
|
|
2706
|
+
type: 'body',
|
|
2707
|
+
property: 'activity',
|
|
2708
|
+
},
|
|
2709
|
+
},
|
|
2710
|
+
displayOptions: {
|
|
2711
|
+
show: {
|
|
2712
|
+
resource: ['chineseAstrology'],
|
|
2713
|
+
operation: ['lookupAuspiciousDays'],
|
|
2714
|
+
},
|
|
2715
|
+
},
|
|
2716
|
+
},
|
|
2717
|
+
{
|
|
2718
|
+
displayName: 'Start Date',
|
|
2719
|
+
name: 'startDate',
|
|
2720
|
+
type: 'string',
|
|
2721
|
+
default: '',
|
|
2722
|
+
placeholder: 'e.g. 2026-03-01',
|
|
2723
|
+
required: true,
|
|
2724
|
+
description: 'First date of the range to search, inclusive',
|
|
2725
|
+
routing: {
|
|
2726
|
+
send: {
|
|
2727
|
+
type: 'body',
|
|
2728
|
+
property: 'startDate',
|
|
2729
|
+
},
|
|
2730
|
+
},
|
|
2731
|
+
displayOptions: {
|
|
2732
|
+
show: {
|
|
2733
|
+
resource: ['chineseAstrology'],
|
|
2734
|
+
operation: ['lookupAuspiciousDays'],
|
|
2735
|
+
},
|
|
2736
|
+
},
|
|
2737
|
+
},
|
|
2738
|
+
{
|
|
2739
|
+
displayName: 'End Date',
|
|
2740
|
+
name: 'endDate',
|
|
2741
|
+
type: 'string',
|
|
2742
|
+
default: '',
|
|
2743
|
+
placeholder: 'e.g. 2026-04-30',
|
|
2744
|
+
required: true,
|
|
2745
|
+
description: 'Last date of the range to search, inclusive. The range may not exceed 93 days.',
|
|
2746
|
+
routing: {
|
|
2747
|
+
send: {
|
|
2748
|
+
type: 'body',
|
|
2749
|
+
property: 'endDate',
|
|
2750
|
+
},
|
|
2751
|
+
},
|
|
2752
|
+
displayOptions: {
|
|
2753
|
+
show: {
|
|
2754
|
+
resource: ['chineseAstrology'],
|
|
2755
|
+
operation: ['lookupAuspiciousDays'],
|
|
2756
|
+
},
|
|
2757
|
+
},
|
|
2758
|
+
},
|
|
2759
|
+
{
|
|
2760
|
+
displayName: 'Options',
|
|
2761
|
+
name: 'options',
|
|
2762
|
+
type: 'collection',
|
|
2763
|
+
placeholder: 'Add Option',
|
|
2764
|
+
default: {},
|
|
2765
|
+
displayOptions: {
|
|
2766
|
+
show: {
|
|
2767
|
+
resource: ['chineseAstrology'],
|
|
2768
|
+
operation: ['lookupAuspiciousDays'],
|
|
2769
|
+
},
|
|
2770
|
+
},
|
|
2771
|
+
options: [
|
|
2772
|
+
{
|
|
2773
|
+
displayName: 'Avoid Animal',
|
|
2774
|
+
name: 'avoidAnimal',
|
|
2775
|
+
type: 'options',
|
|
2776
|
+
options: [
|
|
2777
|
+
{
|
|
2778
|
+
name: 'Dog',
|
|
2779
|
+
value: 'dog',
|
|
2780
|
+
},
|
|
2781
|
+
{
|
|
2782
|
+
name: 'Dragon',
|
|
2783
|
+
value: 'dragon',
|
|
2784
|
+
},
|
|
2785
|
+
{
|
|
2786
|
+
name: 'Goat',
|
|
2787
|
+
value: 'goat',
|
|
2788
|
+
},
|
|
2789
|
+
{
|
|
2790
|
+
name: 'Horse',
|
|
2791
|
+
value: 'horse',
|
|
2792
|
+
},
|
|
2793
|
+
{
|
|
2794
|
+
name: 'Monkey',
|
|
2795
|
+
value: 'monkey',
|
|
2796
|
+
},
|
|
2797
|
+
{
|
|
2798
|
+
name: 'Ox',
|
|
2799
|
+
value: 'ox',
|
|
2800
|
+
},
|
|
2801
|
+
{
|
|
2802
|
+
name: 'Pig',
|
|
2803
|
+
value: 'pig',
|
|
2804
|
+
},
|
|
2805
|
+
{
|
|
2806
|
+
name: 'Rabbit',
|
|
2807
|
+
value: 'rabbit',
|
|
2808
|
+
},
|
|
2809
|
+
{
|
|
2810
|
+
name: 'Rat',
|
|
2811
|
+
value: 'rat',
|
|
2812
|
+
},
|
|
2813
|
+
{
|
|
2814
|
+
name: 'Rooster',
|
|
2815
|
+
value: 'rooster',
|
|
2816
|
+
},
|
|
2817
|
+
{
|
|
2818
|
+
name: 'Snake',
|
|
2819
|
+
value: 'snake',
|
|
2820
|
+
},
|
|
2821
|
+
{
|
|
2822
|
+
name: 'Tiger',
|
|
2823
|
+
value: 'tiger',
|
|
2824
|
+
},
|
|
2825
|
+
],
|
|
2826
|
+
default: 'rat',
|
|
2827
|
+
description: 'Zodiac animal to protect. Days that clash with this animal are dropped from the results, which is how a date is chosen around the people attending rather than in the abstract.',
|
|
2828
|
+
routing: {
|
|
2829
|
+
send: {
|
|
2830
|
+
type: 'body',
|
|
2831
|
+
property: 'avoidAnimal',
|
|
2832
|
+
},
|
|
2833
|
+
},
|
|
2834
|
+
},
|
|
2835
|
+
{
|
|
2836
|
+
displayName: 'Language',
|
|
2837
|
+
name: 'lang',
|
|
2838
|
+
type: 'options',
|
|
2839
|
+
options: [
|
|
2840
|
+
{
|
|
2841
|
+
name: 'English',
|
|
2842
|
+
value: 'en',
|
|
2843
|
+
},
|
|
2844
|
+
{
|
|
2845
|
+
name: 'French',
|
|
2846
|
+
value: 'fr',
|
|
2847
|
+
},
|
|
2848
|
+
{
|
|
2849
|
+
name: 'German',
|
|
2850
|
+
value: 'de',
|
|
2851
|
+
},
|
|
2852
|
+
{
|
|
2853
|
+
name: 'Hindi',
|
|
2854
|
+
value: 'hi',
|
|
2855
|
+
},
|
|
2856
|
+
{
|
|
2857
|
+
name: 'Portuguese',
|
|
2858
|
+
value: 'pt',
|
|
2859
|
+
},
|
|
2860
|
+
{
|
|
2861
|
+
name: 'Russian',
|
|
2862
|
+
value: 'ru',
|
|
2863
|
+
},
|
|
2864
|
+
{
|
|
2865
|
+
name: 'Simplified Chinese',
|
|
2866
|
+
value: 'zh-Hans',
|
|
2867
|
+
},
|
|
2868
|
+
{
|
|
2869
|
+
name: 'Spanish',
|
|
2870
|
+
value: 'es',
|
|
2871
|
+
},
|
|
2872
|
+
{
|
|
2873
|
+
name: 'Traditional Chinese',
|
|
2874
|
+
value: 'zh-Hant',
|
|
2875
|
+
},
|
|
2876
|
+
{
|
|
2877
|
+
name: 'Turkish',
|
|
2878
|
+
value: 'tr',
|
|
2879
|
+
},
|
|
2880
|
+
],
|
|
2881
|
+
default: 'en',
|
|
2882
|
+
description: 'Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant.',
|
|
2883
|
+
routing: {
|
|
2884
|
+
send: {
|
|
2885
|
+
type: 'query',
|
|
2886
|
+
property: 'lang',
|
|
2887
|
+
},
|
|
2888
|
+
},
|
|
2889
|
+
},
|
|
2890
|
+
],
|
|
2891
|
+
},
|
|
2892
|
+
];
|
|
2893
|
+
//# sourceMappingURL=chineseAstrology.gen.js.map
|