-
Notifications
You must be signed in to change notification settings - Fork 0
/
api_sdk.yaml
17065 lines (17065 loc) · 596 KB
/
api_sdk.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
openapi: "3.1.0"
info:
title: "Airbyte"
version: "0.1.0"
servers:
- url: "https://api.airbyte.com/v1/"
description: "Airbyte API v1"
paths:
/connections:
post:
tags:
- "Connections"
responses:
"200":
description: "Successful operation"
content:
application/json:
schema:
$ref: "#/components/schemas/ConnectionId"
"403":
description: "Not allowed"
operationId: "createConnection"
summary: "Create a connection"
x-use-speakeasy-middleware: true
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/ConnectionCreate"
/sources:
post:
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/SourceCreate"
tags:
- "Sources"
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/SourceId"
description: "Successful operation"
"403":
description: "Not allowed"
operationId: "createSource"
summary: "Create a source"
description: "Creates a source given a name, workspace id, and a json blob containing\
\ the configuration for the source."
x-use-speakeasy-middleware: true
/destinations:
post:
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/DestinationCreate"
tags:
- "Destinations"
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/DestinationId"
description: "Successful operation"
"403":
description: "Not allowed"
"404":
description: "Not found"
operationId: "createDestination"
summary: "Create a destination"
description: "Creates a destination given a name, workspace id, and a json blob\
\ containing the configuration for the source."
x-use-speakeasy-middleware: true
/jobs:
get:
tags:
- "Jobs"
operationId: "listJobs"
summary: "List Jobs by sync type"
parameters:
- name: "connectionId"
description: "Filter the Jobs by connectionId."
schema:
format: "UUID"
type: "string"
in: "query"
required: true
- name: "limit"
description: "Set the limit on the number of Jobs returned. The default is\
\ 20 Jobs"
schema:
format: "int32"
type: "integer"
minimum: 1
maximum: 100
default: 20
in: "query"
- name: "offset"
description: "Set the offset to start at when returning Jobs. The default\
\ is 0"
schema:
type: "integer"
format: "int32"
minimum: 0
default: 0
in: "query"
- name: "jobType"
description: "Filter the Jobs by jobType."
schema:
$ref: "#/components/schemas/JobType"
in: "query"
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/JobsResponse"
description: "List all the Jobs by connectionId."
x-use-speakeasy-middleware: true
post:
tags:
- "Jobs"
operationId: "createJob"
summary: "Trigger a sync or reset job of a connection"
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/JobCreate"
required: true
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/JobResponse"
description: "Kicks off a new Job based on the JobType. The connectionId\
\ is the resource that \nJob will be run for."
x-use-speakeasy-middleware: true
/jobs/{jobId}:
get:
tags:
- "Jobs"
operationId: "getJob"
summary: "Get Job status and details"
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/JobResponse"
description: "Get a Job by the id in the path."
x-use-speakeasy-middleware: true
delete:
tags:
- "Jobs"
operationId: "cancelJob"
summary: "Cancel a running Job"
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/JobResponse"
description: "Cancel a Job."
x-use-speakeasy-middleware: true
parameters:
- name: "jobId"
schema:
format: "int64"
type: "integer"
in: "path"
required: true
components:
schemas:
ConnectionId:
title: "UUID of a Connection"
description: ""
type: "object"
properties:
connectionId:
format: "UUID"
type: "string"
ConnectionCreate:
type: "object"
required:
- "sourceId"
- "destinationId"
properties:
name:
type: "string"
description: "Optional name of the connection"
sourceId:
type: "string"
format: "uuid"
destinationId:
type: "string"
format: "uuid"
SourceId:
title: "UUID of a Source"
description: ""
type: "object"
properties:
sourceId:
format: "UUID"
type: "string"
SourceCreate:
required:
- "name"
- "workspaceId"
- "connectionConfiguration"
type: "object"
properties:
name:
type: "string"
workspaceId:
format: "uuid"
type: "string"
connectionConfiguration:
$ref: "#/components/schemas/SourceConfiguration"
DestinationId:
title: "UUID of a Destination"
description: ""
type: "object"
properties:
destinationId:
format: "UUID"
type: "string"
DestinationCreate:
required:
- "name"
- "workspaceId"
- "connectionConfiguration"
type: "object"
properties:
name:
type: "string"
workspaceId:
format: "uuid"
type: "string"
connectionConfiguration:
$ref: "#/components/schemas/DestinationConfiguration"
JobResponse:
title: "Root Type for JobResponse"
description: "Provides details of a single job."
required:
- "jobId"
- "status"
- "jobType"
type: "object"
properties:
jobId:
type: "integer"
format: "int64"
status:
$ref: "#/components/schemas/JobStatus"
jobType:
$ref: "#/components/schemas/JobType"
description: ""
example:
id: "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826"
status: "running"
JobStatus:
enum:
- "pending"
- "running"
- "incomplete"
- "failed"
- "succeeded"
- "cancelled"
type: "string"
JobCreate:
title: "Root Type for JobCreate"
description: "Creates a new Job from the configuration provided in the request\
\ body"
required:
- "jobType"
- "connectionId"
type: "object"
properties:
connectionId:
format: "UUID"
type: "string"
jobType:
$ref: "#/components/schemas/JobType"
example:
connectionId: "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826"
jobType: "sync"
JobsResponse:
title: "Root Type for JobsResponse"
description: ""
required:
- "data"
- "next"
- "previous"
type: "object"
properties:
previous:
type: "string"
next:
type: "string"
data:
type: "array"
items:
$ref: "#/components/schemas/JobResponse"
example:
next: "https://api.airbyte.com/v1/jobs?limit=5&offset=10"
previous: "https://api.airbyte.com/v1/jobs?limit=5&offset=0"
data:
- id: "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826"
status: "running"
JobType:
description: "enum that describes the different types of jobs that the platform\
\ runs."
enum:
- "sync"
- "reset"
type: "string"
source-linkedin-ads:
title: "Linkedin Ads Spec"
type: "object"
required:
- "start_date"
- "airbyte-source-name"
properties:
credentials:
title: "Authentication"
type: "object"
oneOf:
- type: "object"
title: "OAuth2.0"
required:
- "client_id"
- "client_secret"
- "refresh_token"
properties:
auth_method:
type: "string"
const: "oAuth2.0"
enum:
- "oAuth2.0"
client_id:
type: "string"
title: "Client ID"
description: "The client ID of the LinkedIn Ads developer application."
airbyte_secret: true
client_secret:
type: "string"
title: "Client secret"
description: "The client secret the LinkedIn Ads developer application."
airbyte_secret: true
refresh_token:
type: "string"
title: "Refresh token"
description: "The key to refresh the expired access token."
airbyte_secret: true
- title: "Access token"
type: "object"
required:
- "access_token"
properties:
auth_method:
type: "string"
const: "access_token"
enum:
- "access_token"
access_token:
type: "string"
title: "Access token"
description: "The token value generated using the authentication code.\
\ See the <a href=\"https://docs.airbyte.com/integrations/sources/linkedin-ads#authentication\"\
>docs</a> to obtain yours."
airbyte_secret: true
start_date:
type: "string"
title: "Start date"
pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
description: "UTC date in the format 2020-09-17. Any data before this date\
\ will not be replicated."
examples:
- "2021-05-17"
format: "date"
account_ids:
title: "Account IDs"
type: "array"
description: "Specify the account IDs separated by a space, to pull the\
\ data from. Leave empty, if you want to pull the data from all associated\
\ accounts. See the <a href=\"https://www.linkedin.com/help/linkedin/answer/a424270/find-linkedin-ads-account-details?lang=en\"\
>LinkedIn Ads docs</a> for more info."
items:
type: "integer"
default: []
airbyte-source-name:
title: "linkedin-ads"
const: "linkedin-ads"
enum:
- "linkedin-ads"
order: 0
type: "string"
source-us-census:
title: "https://api.census.gov/ Source Spec"
type: "object"
required:
- "api_key"
- "query_path"
- "airbyte-source-name"
properties:
query_params:
type: "string"
description: "The query parameters portion of the GET request, without the\
\ api key"
pattern: "^\\w+=[\\w,:*]+(&(?!key)\\w+=[\\w,:*]+)*$"
examples:
- "get=NAME,NAICS2017_LABEL,LFO_LABEL,EMPSZES_LABEL,ESTAB,PAYANN,PAYQTR1,EMP&for=us:*&NAICS2017=72&LFO=001&EMPSZES=001"
- "get=MOVEDIN,GEOID1,GEOID2,MOVEDOUT,FULL1_NAME,FULL2_NAME,MOVEDNET&for=county:*"
query_path:
type: "string"
description: "The path portion of the GET request"
pattern: "^data(\\/[\\w\\d]+)+$"
examples:
- "data/2019/cbp"
- "data/2018/acs"
- "data/timeseries/healthins/sahie"
api_key:
type: "string"
description: "Your API Key. Get your key <a href=\"https://api.census.gov/data/key_signup.html\"\
>here</a>."
airbyte_secret: true
airbyte-source-name:
title: "us-census"
const: "us-census"
enum:
- "us-census"
order: 0
type: "string"
source-the-guardian-api:
title: "The Guardian Api Spec"
type: "object"
required:
- "api_key"
- "start_date"
- "airbyte-source-name"
properties:
api_key:
title: "API Key"
type: "string"
description: "Your API Key. See <a href=\"https://open-platform.theguardian.com/access/\"\
>here</a>. The key is case sensitive."
airbyte_secret: true
start_date:
title: "Start Date"
type: "string"
description: "Use this to set the minimum date (YYYY-MM-DD) of the results.\
\ Results older than the start_date will not be shown."
pattern: "^([1-9][0-9]{3})\\-(0?[1-9]|1[012])\\-(0?[1-9]|[12][0-9]|3[01])$"
examples:
- "YYYY-MM-DD"
query:
title: "Query"
type: "string"
description: "(Optional) The query (q) parameter filters the results to\
\ only those that include that search term. The q parameter supports AND,\
\ OR and NOT operators."
examples:
- "environment AND NOT water"
- "environment AND political"
- "amusement park"
- "political"
tag:
title: "Tag"
type: "string"
description: "(Optional) A tag is a piece of data that is used by The Guardian\
\ to categorise content. Use this parameter to filter results by showing\
\ only the ones matching the entered tag. See <a href=\"https://content.guardianapis.com/tags?api-key=test\"\
>here</a> for a list of all tags, and <a href=\"https://open-platform.theguardian.com/documentation/tag\"\
>here</a> for the tags endpoint documentation."
examples:
- "environment/recycling"
- "environment/plasticbags"
- "environment/energyefficiency"
section:
title: "Section"
type: "string"
description: "(Optional) Use this to filter the results by a particular\
\ section. See <a href=\"https://content.guardianapis.com/sections?api-key=test\"\
>here</a> for a list of all sections, and <a href=\"https://open-platform.theguardian.com/documentation/section\"\
>here</a> for the sections endpoint documentation."
examples:
- "media"
- "technology"
- "housing-network"
end_date:
title: "End Date"
type: "string"
description: "(Optional) Use this to set the maximum date (YYYY-MM-DD) of\
\ the results. Results newer than the end_date will not be shown. Default\
\ is set to the current date (today) for incremental syncs."
pattern: "^([1-9][0-9]{3})\\-(0?[1-9]|1[012])\\-(0?[1-9]|[12][0-9]|3[01])$"
examples:
- "YYYY-MM-DD"
airbyte-source-name:
title: "the-guardian-api"
const: "the-guardian-api"
enum:
- "the-guardian-api"
order: 0
type: "string"
source-pinterest:
title: "Pinterest Spec"
type: "object"
required:
- "start_date"
- "airbyte-source-name"
properties:
start_date:
type: "string"
title: "Start Date"
description: "A date in the format YYYY-MM-DD. If you have not set a date,\
\ it would be defaulted to latest allowed date by api (914 days from today)."
examples:
- "2022-07-28"
status:
title: "Status"
description: "Entity statuses based off of campaigns, ad_groups, and ads.\
\ If you do not have a status set, it will be ignored completely."
type:
- "array"
- "null"
items:
type: "string"
enum:
- "ACTIVE"
- "PAUSED"
- "ARCHIVED"
uniqueItems: true
credentials:
title: "Authorization Method"
type: "object"
oneOf:
- type: "object"
title: "OAuth2.0"
required:
- "auth_method"
- "refresh_token"
properties:
auth_method:
type: "string"
const: "oauth2.0"
order: 0
enum:
- "oauth2.0"
client_id:
type: "string"
title: "Client ID"
description: "The Client ID of your OAuth application"
airbyte_secret: true
client_secret:
type: "string"
title: "Client Secret"
description: "The Client Secret of your OAuth application."
airbyte_secret: true
refresh_token:
type: "string"
title: "Refresh Token"
description: "Refresh Token to obtain new Access Token, when it's\
\ expired."
airbyte_secret: true
- type: "object"
title: "Access Token"
required:
- "auth_method"
- "access_token"
properties:
auth_method:
type: "string"
const: "access_token"
order: 0
enum:
- "access_token"
access_token:
type: "string"
title: "Access Token"
description: "The Access Token to make authenticated requests."
airbyte_secret: true
airbyte-source-name:
title: "pinterest"
const: "pinterest"
enum:
- "pinterest"
order: 0
type: "string"
source-spacex-api:
title: "Spacex Api Spec"
type: "object"
properties:
id:
title: "Unique ID for specific source target"
type: "string"
desciption: "Optional, For a specific ID"
options:
title: "Configuration options for endpoints"
type: "string"
desciption: "Optional, Possible values for an endpoint. Example values for\
\ launches-latest, upcoming, past"
airbyte-source-name:
title: "spacex-api"
const: "spacex-api"
enum:
- "spacex-api"
order: 0
type: "string"
required:
- "airbyte-source-name"
source-harvest:
title: "Harvest Spec"
type: "object"
required:
- "account_id"
- "replication_start_date"
- "airbyte-source-name"
properties:
account_id:
title: "Account ID"
description: "Harvest account ID. Required for all Harvest requests in pair\
\ with Personal Access Token"
airbyte_secret: true
type: "string"
order: 0
replication_start_date:
title: "Start Date"
description: "UTC date and time in the format 2017-01-25T00:00:00Z. Any\
\ data before this date will not be replicated."
pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$"
examples:
- "2017-01-25T00:00:00Z"
type: "string"
order: 1
replication_end_date:
title: "End Date"
description: "UTC date and time in the format 2017-01-25T00:00:00Z. Any\
\ data after this date will not be replicated."
pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$"
examples:
- "2017-01-25T00:00:00Z"
type: "string"
airbyte_hidden: true
order: 2
credentials:
title: "Authentication mechanism"
description: "Choose how to authenticate to Harvest."
type: "object"
order: 3
oneOf:
- type: "object"
title: "Authenticate via Harvest (OAuth)"
required:
- "client_id"
- "client_secret"
- "refresh_token"
additionalProperties: true
properties:
auth_type:
type: "string"
const: "Client"
order: 0
enum:
- "Client"
client_id:
title: "Client ID"
type: "string"
description: "The Client ID of your Harvest developer application."
client_secret:
title: "Client Secret"
type: "string"
description: "The Client Secret of your Harvest developer application."
airbyte_secret: true
refresh_token:
title: "Refresh Token"
type: "string"
description: "Refresh Token to renew the expired Access Token."
airbyte_secret: true
- type: "object"
title: "Authenticate with Personal Access Token"
required:
- "api_token"
additionalProperties: true
properties:
auth_type:
type: "string"
const: "Token"
order: 0
enum:
- "Token"
api_token:
title: "Personal Access Token"
description: "Log into Harvest and then create new <a href=\"https://id.getharvest.com/developers\"\
> personal access token</a>."
type: "string"
airbyte_secret: true
airbyte-source-name:
title: "harvest"
const: "harvest"
enum:
- "harvest"
order: 0
type: "string"
source-public-apis:
title: "Public Apis Spec"
type: "object"
required:
- "airbyte-source-name"
properties:
airbyte-source-name:
title: "public-apis"
const: "public-apis"
enum:
- "public-apis"
order: 0
type: "string"
source-bamboo-hr:
title: "Bamboo HR Spec"
type: "object"
required:
- "subdomain"
- "api_key"
- "airbyte-source-name"
properties:
subdomain:
type: "string"
description: "Sub Domain of bamboo hr"
api_key:
type: "string"
description: "Api key of bamboo hr"
airbyte_secret: true
custom_reports_fields:
type: "string"
default: ""
description: "Comma-separated list of fields to include in custom reports."
custom_reports_include_default_fields:
type: "boolean"
default: true
description: "If true, the custom reports endpoint will include the default\
\ fields defined here: https://documentation.bamboohr.com/docs/list-of-field-names."
airbyte-source-name:
title: "bamboo-hr"
const: "bamboo-hr"
enum:
- "bamboo-hr"
order: 0
type: "string"
source-okta:
title: "Okta Spec"
type: "object"
required:
- "airbyte-source-name"
properties:
domain:
type: "string"
title: "Okta domain"
description: "The Okta domain. See the <a href=\"https://docs.airbyte.com/integrations/sources/okta\"\
>docs</a> for instructions on how to find it."
airbyte_secret: false
start_date:
type: "string"
pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$"
description: "UTC date and time in the format YYYY-MM-DDTHH:MM:SSZ. Any\
\ data before this date will not be replicated."
examples:
- "2022-07-22T00:00:00Z"
title: "Start Date"
credentials:
title: "Authorization Method"
type: "object"
oneOf:
- type: "object"
title: "OAuth2.0"
required:
- "auth_type"
- "client_id"
- "client_secret"
- "refresh_token"
properties:
auth_type:
type: "string"
const: "oauth2.0"
order: 0
enum:
- "oauth2.0"
client_id:
type: "string"
title: "Client ID"
description: "The Client ID of your OAuth application."
airbyte_secret: true
client_secret:
type: "string"
title: "Client Secret"
description: "The Client Secret of your OAuth application."
airbyte_secret: true
refresh_token:
type: "string"
title: "Refresh Token"
description: "Refresh Token to obtain new Access Token, when it's\
\ expired."
airbyte_secret: true
- type: "object"
title: "API Token"
required:
- "auth_type"
- "api_token"
properties:
auth_type:
type: "string"
const: "api_token"
order: 0
enum:
- "api_token"
api_token:
type: "string"
title: "Personal API Token"
description: "An Okta token. See the <a href=\"https://docs.airbyte.com/integrations/sources/okta\"\
>docs</a> for instructions on how to generate it."
airbyte_secret: true
airbyte-source-name:
title: "okta"
const: "okta"
enum:
- "okta"
order: 0
type: "string"
source-prestashop:
title: "PrestaShop Spec"
type: "object"
required:
- "access_key"
- "url"
- "start_date"
- "airbyte-source-name"
properties:
access_key:
type: "string"
title: "Access Key"
description: "Your PrestaShop access key. See <a href=\"https://devdocs.prestashop.com/1.7/webservice/tutorials/creating-access/#create-an-access-key\"\
> the docs </a> for info on how to obtain this."
order: 0
airbyte_secret: true
url:
type: "string"
title: "Shop URL"
description: "Shop URL without trailing slash."
order: 1
start_date:
type: "string"
title: "Start date"
description: "The Start date in the format YYYY-MM-DD."
pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
examples:
- "2022-01-01"
format: "date"
order: 2
airbyte-source-name:
title: "prestashop"
const: "prestashop"
enum:
- "prestashop"
order: 0
type: "string"
source-netsuite:
title: "Netsuite Spec"
type: "object"
required:
- "realm"
- "consumer_key"
- "consumer_secret"
- "token_key"
- "token_secret"
- "start_datetime"
- "airbyte-source-name"
properties:
realm:
type: "string"
title: "Realm (Account Id)"
description: "Netsuite realm e.g. 2344535, as for `production` or 2344535_SB1,\
\ as for the `sandbox`"
order: 0
airbyte_secret: true
consumer_key:
type: "string"
title: "Consumer Key"
description: "Consumer key associated with your integration"
order: 1
airbyte_secret: true
consumer_secret:
type: "string"
title: "Consumer Secret"
description: "Consumer secret associated with your integration"
order: 2
airbyte_secret: true
token_key:
type: "string"
title: "Token Key (Token Id)"
description: "Access token key"
order: 3
airbyte_secret: true
token_secret:
type: "string"
title: "Token Secret"
description: "Access token secret"
order: 4
airbyte_secret: true
object_types:
type: "array"
title: "Object Types"
items:
type: "string"
description: "The API names of the Netsuite objects you want to sync. Setting\
\ this speeds up the connection setup process by limiting the number of\
\ schemas that need to be retrieved from Netsuite."
order: 5
examples:
- "customer"
- "salesorder"
- "etc"
default: []
start_datetime:
type: "string"
title: "Start Date"
description: "Starting point for your data replication, in format of \"\
YYYY-MM-DDTHH:mm:ssZ\""
order: 6
pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$"
examples:
- "2017-01-25T00:00:00Z"
window_in_days:
type: "integer"
title: "Window in Days"
description: "The amount of days used to query the data with date chunks.\
\ Set smaller value, if you have lots of data."
order: 7
default: 30
airbyte-source-name:
title: "netsuite"
const: "netsuite"
enum:
- "netsuite"
order: 0
type: "string"
source-mixpanel:
title: "Source Mixpanel Spec"
type: "object"
properties:
credentials:
title: "Authentication *"
description: "Choose how to authenticate to Mixpanel"
type: "object"
order: 0
oneOf:
- type: "object"
title: "Service Account"
required:
- "username"
- "secret"
properties:
option_title:
type: "string"
const: "Service Account"
order: 0
enum:
- "Service Account"
username:
order: 1
title: "Username"
type: "string"
description: "Mixpanel Service Account Username. See the <a href=\"\
https://developer.mixpanel.com/reference/service-accounts\">docs</a>\
\ for more information on how to obtain this."
secret:
order: 2
title: "Secret"
type: "string"
description: "Mixpanel Service Account Secret. See the <a href=\"\
https://developer.mixpanel.com/reference/service-accounts\">docs</a>\
\ for more information on how to obtain this."
airbyte_secret: true
- type: "object"
title: "Project Secret"
required:
- "api_secret"
properties:
option_title:
type: "string"
const: "Project Secret"
order: 0
enum:
- "Project Secret"
api_secret:
order: 1