airbyte-faros-destination 0.6.20 → 0.6.21

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "airbyte-faros-destination",
3
- "version": "0.6.20",
3
+ "version": "0.6.21",
4
4
  "description": "Faros Destination for Airbyte",
5
5
  "keywords": [
6
6
  "airbyte",
@@ -36,10 +36,10 @@
36
36
  "analytics-node": "^6.0.0",
37
37
  "axios": "^0.26.0",
38
38
  "date-format": "^4.0.6",
39
- "faros-airbyte-cdk": "0.6.20",
40
- "faros-airbyte-common": "0.6.20",
39
+ "faros-airbyte-cdk": "0.6.21",
40
+ "faros-airbyte-common": "0.6.21",
41
41
  "faros-feeds-sdk": "^1.3.0",
42
- "faros-js-client": "^0.3.1",
42
+ "faros-js-client": "^0.3.6",
43
43
  "fs-extra": "^11.1.0",
44
44
  "git-url-parse": "^13.0.0",
45
45
  "graphql": "^16.8.1",
@@ -69,6 +69,9 @@
69
69
  "statuspage": {
70
70
  "$ref": "statuspage.json"
71
71
  },
72
+ "surveys": {
73
+ "$ref": "surveys.json"
74
+ },
72
75
  "victorops": {
73
76
  "$ref": "victorops.json"
74
77
  }
@@ -0,0 +1,149 @@
1
+ {
2
+ "title": "Surveys",
3
+ "description": "Configuration options that apply to records generated by sources pulling survey data.",
4
+ "type": "object",
5
+ "oneOf": [
6
+ {
7
+ "title": "Configuration",
8
+ "type": "object",
9
+ "properties": {
10
+ "source_type": {
11
+ "type": "string",
12
+ "const": "Surveys",
13
+ "order": 0
14
+ },
15
+ "survey_responses_table_name": {
16
+ "title": "Survey Responses Table Name",
17
+ "description": "The name of the table that contains survey responses.",
18
+ "type": "string",
19
+ "default": "Survey Responses",
20
+ "order": 1
21
+ },
22
+ "survey_metadata_table_name": {
23
+ "title": "Survey Metadata Table Name",
24
+ "description": "The name of the table that contains survey metadata.",
25
+ "type": "string",
26
+ "default": "Survey Metadata",
27
+ "order": 2
28
+ },
29
+ "question_metadata_table_name": {
30
+ "title": "Question Metadata Table Name",
31
+ "description": "The name of the table that contains question metadata.",
32
+ "type": "string",
33
+ "default": "Question Metadata",
34
+ "order": 3
35
+ },
36
+ "column_names_mapping": {
37
+ "title": "Column Names Mapping",
38
+ "description": "Indicates the columns that contain the survey data in the source records.",
39
+ "type": "object",
40
+ "properties": {
41
+ "survey_name_column_name": {
42
+ "title": "Survey Name Column Name",
43
+ "description": "The name of the column that contains the survey name.",
44
+ "type": "string",
45
+ "default": "Survey Name",
46
+ "order": 0
47
+ },
48
+ "survey_description_column_name": {
49
+ "title": "Survey Description Column Name",
50
+ "description": "The name of the column that contains the survey description.",
51
+ "type": "string",
52
+ "default": "Survey Description",
53
+ "order": 1
54
+ },
55
+ "survey_type_column_name": {
56
+ "title": "Survey Type Column Name",
57
+ "description": "The name of the column that contains the survey type.",
58
+ "type": "string",
59
+ "default": "Survey Type",
60
+ "order": 2
61
+ },
62
+ "survey_status_column_name": {
63
+ "title": "Survey Status Column Name",
64
+ "description": "The name of the column that contains the survey status.",
65
+ "type": "string",
66
+ "default": "Survey Status",
67
+ "order": 3
68
+ },
69
+ "survey_started_at_column_name": {
70
+ "title": "Survey Started At Column Name",
71
+ "description": "The name of the column that contains the survey started at timestamp.",
72
+ "type": "string",
73
+ "default": "Survey Started At",
74
+ "order": 4
75
+ },
76
+ "survey_ended_at_column_name": {
77
+ "title": "Survey Ended At Column Name",
78
+ "description": "The name of the column that contains the survey ended at timestamp.",
79
+ "type": "string",
80
+ "default": "Survey Ended At",
81
+ "order": 5
82
+ },
83
+ "respondent_name_column_name": {
84
+ "title": "Name Column Name",
85
+ "description": "The name of the column that contains the respondent name.",
86
+ "type": "string",
87
+ "default": "Name",
88
+ "order": 6
89
+ },
90
+ "respondent_email_column_name": {
91
+ "title": "Email Column Name",
92
+ "description": "The name of the column that contains the respondent email.",
93
+ "type": "string",
94
+ "default": "Email",
95
+ "order": 7
96
+ },
97
+ "respondent_team_id_column_name": {
98
+ "title": "Respondent Team ID Column Name",
99
+ "description": "The name of the column that contains the unique identifier for the respondent's team.",
100
+ "type": "string",
101
+ "default": "Team ID",
102
+ "order": 8
103
+ },
104
+ "respondent_team_name_column_name": {
105
+ "title": "Team Name Column Name",
106
+ "description": "The name of the column that contains the name of the respondent's team.",
107
+ "type": "string",
108
+ "default": "Team Name",
109
+ "order": 9
110
+ },
111
+ "question_column_name": {
112
+ "title": "Question Column Name",
113
+ "description": "The name of the column that contains the question text.",
114
+ "type": "string",
115
+ "default": "Question",
116
+ "order": 10
117
+ },
118
+ "question_category_column_name": {
119
+ "title": "Question Category Column Name",
120
+ "description": "The name of the column that contains the question category.",
121
+ "type": "string",
122
+ "default": "Category",
123
+ "order": 11
124
+ },
125
+ "response_type_column_name": {
126
+ "title": "Response Type Column Name",
127
+ "description": "The name of the column that contains the question response type.",
128
+ "type": "string",
129
+ "default": "Response Type",
130
+ "order": 12
131
+ }
132
+ },
133
+ "order": 4
134
+ },
135
+ "question_category_mapping": {
136
+ "type": "string",
137
+ "title": "Question Category Mapping",
138
+ "description": "JSON map from source survey question categories to Faros question categories.",
139
+ "multiline": true,
140
+ "default": "{}",
141
+ "examples": [
142
+ "{\"Technical Practices\": \"SpeedAndAgility\", \"Planning\": \"AlignmentAndGoals\"}"
143
+ ],
144
+ "order": 5
145
+ }
146
+ }
147
+ }
148
+ ]
149
+ }