@proveanything/smartlinks 1.7.9 → 1.8.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/README.md +3 -0
- package/dist/api/analytics.d.ts +57 -0
- package/dist/api/analytics.js +542 -0
- package/dist/api/auth.d.ts +23 -35
- package/dist/api/auth.js +104 -0
- package/dist/api/index.d.ts +1 -0
- package/dist/api/index.js +1 -0
- package/dist/api/order.d.ts +14 -5
- package/dist/api/order.js +19 -8
- package/dist/docs/API_SUMMARY.md +595 -64
- package/dist/docs/analytics-metadata-conventions.md +80 -0
- package/dist/docs/analytics.md +690 -0
- package/dist/docs/interactions.md +2 -0
- package/dist/docs/overview.md +2 -1
- package/dist/index.d.ts +1 -1
- package/dist/openapi.yaml +853 -115
- package/dist/types/analytics.d.ts +307 -0
- package/dist/types/analytics.js +7 -1
- package/dist/types/auth.d.ts +67 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +1 -0
- package/dist/types/order.d.ts +25 -28
- package/docs/API_SUMMARY.md +595 -64
- package/docs/analytics-metadata-conventions.md +80 -0
- package/docs/analytics.md +690 -0
- package/docs/interactions.md +2 -0
- package/docs/overview.md +2 -1
- package/openapi.yaml +853 -115
- package/package.json +1 -1
package/dist/openapi.yaml
CHANGED
|
@@ -6761,6 +6761,27 @@ paths:
|
|
|
6761
6761
|
description: Unauthorized
|
|
6762
6762
|
404:
|
|
6763
6763
|
description: Not found
|
|
6764
|
+
/public/auth/location:
|
|
6765
|
+
get:
|
|
6766
|
+
tags:
|
|
6767
|
+
- auth
|
|
6768
|
+
summary: Gets a best-effort coarse location for the current anonymous caller.
|
|
6769
|
+
operationId: auth_getLocation
|
|
6770
|
+
security:
|
|
6771
|
+
- bearerAuth: []
|
|
6772
|
+
responses:
|
|
6773
|
+
200:
|
|
6774
|
+
description: Success
|
|
6775
|
+
content:
|
|
6776
|
+
application/json:
|
|
6777
|
+
schema:
|
|
6778
|
+
$ref: "#/components/schemas/AuthLocation"
|
|
6779
|
+
400:
|
|
6780
|
+
description: Bad request
|
|
6781
|
+
401:
|
|
6782
|
+
description: Unauthorized
|
|
6783
|
+
404:
|
|
6784
|
+
description: Not found
|
|
6764
6785
|
/public/auth/login:
|
|
6765
6786
|
post:
|
|
6766
6787
|
tags:
|
|
@@ -10731,25 +10752,674 @@ components:
|
|
|
10731
10752
|
type: number
|
|
10732
10753
|
orientation:
|
|
10733
10754
|
type: string
|
|
10734
|
-
enum:
|
|
10735
|
-
- landscape
|
|
10736
|
-
- portrait
|
|
10737
|
-
- squarish
|
|
10755
|
+
enum:
|
|
10756
|
+
- landscape
|
|
10757
|
+
- portrait
|
|
10758
|
+
- squarish
|
|
10759
|
+
required:
|
|
10760
|
+
- query
|
|
10761
|
+
AISearchPhotosPhoto:
|
|
10762
|
+
type: object
|
|
10763
|
+
properties:
|
|
10764
|
+
url:
|
|
10765
|
+
type: string
|
|
10766
|
+
alt:
|
|
10767
|
+
type: string
|
|
10768
|
+
photographer:
|
|
10769
|
+
type: string
|
|
10770
|
+
photographerUrl:
|
|
10771
|
+
type: string
|
|
10772
|
+
required:
|
|
10773
|
+
- url
|
|
10774
|
+
AnalyticsLocation:
|
|
10775
|
+
type: object
|
|
10776
|
+
properties:
|
|
10777
|
+
country:
|
|
10778
|
+
type: string
|
|
10779
|
+
latitude:
|
|
10780
|
+
type: number
|
|
10781
|
+
longitude:
|
|
10782
|
+
type: number
|
|
10783
|
+
area:
|
|
10784
|
+
type: number
|
|
10785
|
+
AnalyticsStandardMetadataFields:
|
|
10786
|
+
type: object
|
|
10787
|
+
properties:
|
|
10788
|
+
visitorId:
|
|
10789
|
+
type: string
|
|
10790
|
+
referrer:
|
|
10791
|
+
type: string
|
|
10792
|
+
referrerHost:
|
|
10793
|
+
type: string
|
|
10794
|
+
utmSource:
|
|
10795
|
+
type: string
|
|
10796
|
+
utmMedium:
|
|
10797
|
+
type: string
|
|
10798
|
+
utmCampaign:
|
|
10799
|
+
type: string
|
|
10800
|
+
utmContent:
|
|
10801
|
+
type: string
|
|
10802
|
+
utmTerm:
|
|
10803
|
+
type: string
|
|
10804
|
+
entryType:
|
|
10805
|
+
type: string
|
|
10806
|
+
group:
|
|
10807
|
+
type: string
|
|
10808
|
+
tag:
|
|
10809
|
+
type: string
|
|
10810
|
+
campaign:
|
|
10811
|
+
type: string
|
|
10812
|
+
placement:
|
|
10813
|
+
type: string
|
|
10814
|
+
linkGroup:
|
|
10815
|
+
type: string
|
|
10816
|
+
linkPlacement:
|
|
10817
|
+
type: string
|
|
10818
|
+
linkPosition:
|
|
10819
|
+
type: object
|
|
10820
|
+
additionalProperties: true
|
|
10821
|
+
linkTitle:
|
|
10822
|
+
type: string
|
|
10823
|
+
destinationDomain:
|
|
10824
|
+
type: string
|
|
10825
|
+
pagePath:
|
|
10826
|
+
type: string
|
|
10827
|
+
pageId:
|
|
10828
|
+
type: string
|
|
10829
|
+
qrCodeId:
|
|
10830
|
+
type: string
|
|
10831
|
+
scanMethod:
|
|
10832
|
+
type: string
|
|
10833
|
+
CollectionAnalyticsEvent:
|
|
10834
|
+
type: object
|
|
10835
|
+
properties:
|
|
10836
|
+
sessionId:
|
|
10837
|
+
type: string
|
|
10838
|
+
eventType:
|
|
10839
|
+
$ref: "#/components/schemas/AnalyticsEventType"
|
|
10840
|
+
collectionId:
|
|
10841
|
+
type: string
|
|
10842
|
+
productId:
|
|
10843
|
+
type: string
|
|
10844
|
+
proofId:
|
|
10845
|
+
type: string
|
|
10846
|
+
batchId:
|
|
10847
|
+
type: string
|
|
10848
|
+
variantId:
|
|
10849
|
+
type: string
|
|
10850
|
+
appId:
|
|
10851
|
+
type: string
|
|
10852
|
+
destinationAppId:
|
|
10853
|
+
type: string
|
|
10854
|
+
linkId:
|
|
10855
|
+
type: string
|
|
10856
|
+
deviceType:
|
|
10857
|
+
type: string
|
|
10858
|
+
href:
|
|
10859
|
+
type: string
|
|
10860
|
+
path:
|
|
10861
|
+
type: string
|
|
10862
|
+
isExternal:
|
|
10863
|
+
type: boolean
|
|
10864
|
+
location:
|
|
10865
|
+
$ref: "#/components/schemas/AnalyticsLocation"
|
|
10866
|
+
metadata:
|
|
10867
|
+
type: object
|
|
10868
|
+
additionalProperties: true
|
|
10869
|
+
required:
|
|
10870
|
+
- eventType
|
|
10871
|
+
- collectionId
|
|
10872
|
+
TagAnalyticsEvent:
|
|
10873
|
+
type: object
|
|
10874
|
+
properties:
|
|
10875
|
+
sessionId:
|
|
10876
|
+
type: string
|
|
10877
|
+
eventType:
|
|
10878
|
+
$ref: "#/components/schemas/AnalyticsEventType"
|
|
10879
|
+
collectionId:
|
|
10880
|
+
type: string
|
|
10881
|
+
productId:
|
|
10882
|
+
type: string
|
|
10883
|
+
proofId:
|
|
10884
|
+
type: string
|
|
10885
|
+
batchId:
|
|
10886
|
+
type: string
|
|
10887
|
+
variantId:
|
|
10888
|
+
type: string
|
|
10889
|
+
codeId:
|
|
10890
|
+
type: string
|
|
10891
|
+
claimId:
|
|
10892
|
+
type: string
|
|
10893
|
+
deviceType:
|
|
10894
|
+
type: string
|
|
10895
|
+
path:
|
|
10896
|
+
type: string
|
|
10897
|
+
location:
|
|
10898
|
+
$ref: "#/components/schemas/AnalyticsLocation"
|
|
10899
|
+
isAdmin:
|
|
10900
|
+
type: boolean
|
|
10901
|
+
metadata:
|
|
10902
|
+
type: object
|
|
10903
|
+
additionalProperties: true
|
|
10904
|
+
required:
|
|
10905
|
+
- eventType
|
|
10906
|
+
- collectionId
|
|
10907
|
+
AnalyticsTrackOptions:
|
|
10908
|
+
type: object
|
|
10909
|
+
properties:
|
|
10910
|
+
preferBeacon:
|
|
10911
|
+
type: boolean
|
|
10912
|
+
AnalyticsBrowserConfig:
|
|
10913
|
+
type: object
|
|
10914
|
+
properties:
|
|
10915
|
+
sessionStorageKey:
|
|
10916
|
+
type: string
|
|
10917
|
+
visitorId:
|
|
10918
|
+
type: string
|
|
10919
|
+
visitorStorage:
|
|
10920
|
+
$ref: "#/components/schemas/AnalyticsStorageMode"
|
|
10921
|
+
visitorStorageKey:
|
|
10922
|
+
type: string
|
|
10923
|
+
autoCaptureCampaignParams:
|
|
10924
|
+
type: boolean
|
|
10925
|
+
campaignParamMap:
|
|
10926
|
+
type: object
|
|
10927
|
+
additionalProperties: true
|
|
10928
|
+
defaultCollectionEvent:
|
|
10929
|
+
$ref: "#/components/schemas/CollectionAnalyticsEvent"
|
|
10930
|
+
defaultTagEvent:
|
|
10931
|
+
$ref: "#/components/schemas/TagAnalyticsEvent"
|
|
10932
|
+
AnalyticsGeolocationCaptureOptions:
|
|
10933
|
+
type: object
|
|
10934
|
+
properties:
|
|
10935
|
+
includeCoordinates:
|
|
10936
|
+
type: boolean
|
|
10937
|
+
includeAccuracyArea:
|
|
10938
|
+
type: boolean
|
|
10939
|
+
AnalyticsLinkClickInput:
|
|
10940
|
+
type: object
|
|
10941
|
+
properties:
|
|
10942
|
+
href:
|
|
10943
|
+
type: string
|
|
10944
|
+
linkId:
|
|
10945
|
+
type: string
|
|
10946
|
+
destinationAppId:
|
|
10947
|
+
type: string
|
|
10948
|
+
path:
|
|
10949
|
+
type: string
|
|
10950
|
+
isExternal:
|
|
10951
|
+
type: boolean
|
|
10952
|
+
linkTitle:
|
|
10953
|
+
type: string
|
|
10954
|
+
required:
|
|
10955
|
+
- href
|
|
10956
|
+
AnalyticsVisitorIdOptions:
|
|
10957
|
+
type: object
|
|
10958
|
+
properties:
|
|
10959
|
+
persist:
|
|
10960
|
+
type: boolean
|
|
10961
|
+
storage:
|
|
10962
|
+
$ref: "#/components/schemas/AnalyticsStorageMode"
|
|
10963
|
+
storageKey:
|
|
10964
|
+
type: string
|
|
10965
|
+
AnalyticsPageViewBindingOptions:
|
|
10966
|
+
type: object
|
|
10967
|
+
properties:
|
|
10968
|
+
trackInitialPageView:
|
|
10969
|
+
type: boolean
|
|
10970
|
+
includeHashChanges:
|
|
10971
|
+
type: boolean
|
|
10972
|
+
event:
|
|
10973
|
+
$ref: "#/components/schemas/CollectionAnalyticsEvent"
|
|
10974
|
+
trackOptions:
|
|
10975
|
+
$ref: "#/components/schemas/AnalyticsTrackOptions"
|
|
10976
|
+
AnalyticsLinkBindingOptions:
|
|
10977
|
+
type: object
|
|
10978
|
+
properties:
|
|
10979
|
+
root:
|
|
10980
|
+
type: object
|
|
10981
|
+
additionalProperties: true
|
|
10982
|
+
selector:
|
|
10983
|
+
type: string
|
|
10984
|
+
trackInternal:
|
|
10985
|
+
type: boolean
|
|
10986
|
+
event:
|
|
10987
|
+
$ref: "#/components/schemas/CollectionAnalyticsEvent"
|
|
10988
|
+
trackOptions:
|
|
10989
|
+
$ref: "#/components/schemas/AnalyticsTrackOptions"
|
|
10990
|
+
AnalyticsClassicReportRequest:
|
|
10991
|
+
type: object
|
|
10992
|
+
properties:
|
|
10993
|
+
metric:
|
|
10994
|
+
$ref: "#/components/schemas/AnalyticsMetric"
|
|
10995
|
+
limit:
|
|
10996
|
+
type: number
|
|
10997
|
+
AnalyticsTrackResult:
|
|
10998
|
+
type: object
|
|
10999
|
+
properties:
|
|
11000
|
+
queued:
|
|
11001
|
+
type: boolean
|
|
11002
|
+
transport:
|
|
11003
|
+
type: string
|
|
11004
|
+
enum:
|
|
11005
|
+
- beacon
|
|
11006
|
+
- fetch
|
|
11007
|
+
- unavailable
|
|
11008
|
+
required:
|
|
11009
|
+
- queued
|
|
11010
|
+
- transport
|
|
11011
|
+
AnalyticsFilterRequest:
|
|
11012
|
+
type: object
|
|
11013
|
+
properties:
|
|
11014
|
+
source:
|
|
11015
|
+
$ref: "#/components/schemas/AnalyticsSource"
|
|
11016
|
+
from:
|
|
11017
|
+
type: string
|
|
11018
|
+
to:
|
|
11019
|
+
type: string
|
|
11020
|
+
eventType:
|
|
11021
|
+
type: string
|
|
11022
|
+
eventTypes:
|
|
11023
|
+
type: array
|
|
11024
|
+
items:
|
|
11025
|
+
type: string
|
|
11026
|
+
productId:
|
|
11027
|
+
type: string
|
|
11028
|
+
productIds:
|
|
11029
|
+
type: array
|
|
11030
|
+
items:
|
|
11031
|
+
type: string
|
|
11032
|
+
proofId:
|
|
11033
|
+
type: string
|
|
11034
|
+
proofIds:
|
|
11035
|
+
type: array
|
|
11036
|
+
items:
|
|
11037
|
+
type: string
|
|
11038
|
+
batchId:
|
|
11039
|
+
type: string
|
|
11040
|
+
batchIds:
|
|
11041
|
+
type: array
|
|
11042
|
+
items:
|
|
11043
|
+
type: string
|
|
11044
|
+
variantId:
|
|
11045
|
+
type: string
|
|
11046
|
+
variantIds:
|
|
11047
|
+
type: array
|
|
11048
|
+
items:
|
|
11049
|
+
type: string
|
|
11050
|
+
sessionId:
|
|
11051
|
+
type: string
|
|
11052
|
+
sessionIds:
|
|
11053
|
+
type: array
|
|
11054
|
+
items:
|
|
11055
|
+
type: string
|
|
11056
|
+
country:
|
|
11057
|
+
type: string
|
|
11058
|
+
countries:
|
|
11059
|
+
type: array
|
|
11060
|
+
items:
|
|
11061
|
+
type: string
|
|
11062
|
+
metadata:
|
|
11063
|
+
type: object
|
|
11064
|
+
additionalProperties: true
|
|
11065
|
+
appId:
|
|
11066
|
+
type: string
|
|
11067
|
+
appIds:
|
|
11068
|
+
type: array
|
|
11069
|
+
items:
|
|
11070
|
+
type: string
|
|
11071
|
+
destinationAppId:
|
|
11072
|
+
type: string
|
|
11073
|
+
destinationAppIds:
|
|
11074
|
+
type: array
|
|
11075
|
+
items:
|
|
11076
|
+
type: string
|
|
11077
|
+
linkId:
|
|
11078
|
+
type: string
|
|
11079
|
+
linkIds:
|
|
11080
|
+
type: array
|
|
11081
|
+
items:
|
|
11082
|
+
type: string
|
|
11083
|
+
href:
|
|
11084
|
+
type: string
|
|
11085
|
+
path:
|
|
11086
|
+
type: string
|
|
11087
|
+
hrefContains:
|
|
11088
|
+
type: string
|
|
11089
|
+
pathContains:
|
|
11090
|
+
type: string
|
|
11091
|
+
isExternal:
|
|
11092
|
+
type: boolean
|
|
11093
|
+
codeId:
|
|
11094
|
+
type: string
|
|
11095
|
+
codeIds:
|
|
11096
|
+
type: array
|
|
11097
|
+
items:
|
|
11098
|
+
type: string
|
|
11099
|
+
claimId:
|
|
11100
|
+
type: string
|
|
11101
|
+
claimIds:
|
|
11102
|
+
type: array
|
|
11103
|
+
items:
|
|
11104
|
+
type: string
|
|
11105
|
+
isAdmin:
|
|
11106
|
+
type: boolean
|
|
11107
|
+
hasLocation:
|
|
11108
|
+
type: boolean
|
|
11109
|
+
AnalyticsSummaryRequest:
|
|
11110
|
+
type: object
|
|
11111
|
+
properties:
|
|
11112
|
+
source:
|
|
11113
|
+
$ref: "#/components/schemas/AnalyticsSource"
|
|
11114
|
+
required:
|
|
11115
|
+
- source
|
|
11116
|
+
AnalyticsSummaryData:
|
|
11117
|
+
type: object
|
|
11118
|
+
properties:
|
|
11119
|
+
totalEvents:
|
|
11120
|
+
type: number
|
|
11121
|
+
uniqueSessions:
|
|
11122
|
+
type: number
|
|
11123
|
+
uniqueVisitors:
|
|
11124
|
+
type: number
|
|
11125
|
+
uniqueCountries:
|
|
11126
|
+
type: number
|
|
11127
|
+
uniqueLinks:
|
|
11128
|
+
type: number
|
|
11129
|
+
externalEvents:
|
|
11130
|
+
type: number
|
|
11131
|
+
internalEvents:
|
|
11132
|
+
type: number
|
|
11133
|
+
firstEventAt:
|
|
11134
|
+
type: string
|
|
11135
|
+
lastEventAt:
|
|
11136
|
+
type: string
|
|
11137
|
+
uniqueCodes:
|
|
11138
|
+
type: number
|
|
11139
|
+
uniqueClaims:
|
|
11140
|
+
type: number
|
|
11141
|
+
adminEvents:
|
|
11142
|
+
type: number
|
|
11143
|
+
customerEvents:
|
|
11144
|
+
type: number
|
|
11145
|
+
locationEvents:
|
|
11146
|
+
type: number
|
|
11147
|
+
AnalyticsSummaryResponse:
|
|
11148
|
+
type: object
|
|
11149
|
+
properties:
|
|
11150
|
+
source:
|
|
11151
|
+
$ref: "#/components/schemas/AnalyticsSource"
|
|
11152
|
+
summary:
|
|
11153
|
+
$ref: "#/components/schemas/AnalyticsSummaryData"
|
|
11154
|
+
required:
|
|
11155
|
+
- source
|
|
11156
|
+
- summary
|
|
11157
|
+
AnalyticsTimeseriesRequest:
|
|
11158
|
+
type: object
|
|
11159
|
+
properties:
|
|
11160
|
+
source:
|
|
11161
|
+
$ref: "#/components/schemas/AnalyticsSource"
|
|
11162
|
+
granularity:
|
|
11163
|
+
$ref: "#/components/schemas/AnalyticsGranularity"
|
|
11164
|
+
metric:
|
|
11165
|
+
$ref: "#/components/schemas/AnalyticsMetric"
|
|
11166
|
+
required:
|
|
11167
|
+
- source
|
|
11168
|
+
- granularity
|
|
11169
|
+
- metric
|
|
11170
|
+
AnalyticsTimeseriesRow:
|
|
11171
|
+
type: object
|
|
11172
|
+
properties:
|
|
11173
|
+
period:
|
|
11174
|
+
type: string
|
|
11175
|
+
count:
|
|
11176
|
+
type: number
|
|
11177
|
+
uniqueSessions:
|
|
11178
|
+
type: number
|
|
11179
|
+
uniqueVisitors:
|
|
11180
|
+
type: number
|
|
11181
|
+
value:
|
|
11182
|
+
type: number
|
|
11183
|
+
required:
|
|
11184
|
+
- period
|
|
11185
|
+
- count
|
|
11186
|
+
- value
|
|
11187
|
+
AnalyticsTimeseriesResponse:
|
|
11188
|
+
type: object
|
|
11189
|
+
properties:
|
|
11190
|
+
source:
|
|
11191
|
+
$ref: "#/components/schemas/AnalyticsSource"
|
|
11192
|
+
granularity:
|
|
11193
|
+
$ref: "#/components/schemas/AnalyticsGranularity"
|
|
11194
|
+
metric:
|
|
11195
|
+
$ref: "#/components/schemas/AnalyticsMetric"
|
|
11196
|
+
rows:
|
|
11197
|
+
type: array
|
|
11198
|
+
items:
|
|
11199
|
+
$ref: "#/components/schemas/AnalyticsTimeseriesRow"
|
|
11200
|
+
required:
|
|
11201
|
+
- source
|
|
11202
|
+
- granularity
|
|
11203
|
+
- metric
|
|
11204
|
+
- rows
|
|
11205
|
+
AnalyticsBreakdownRequest:
|
|
11206
|
+
type: object
|
|
11207
|
+
properties:
|
|
11208
|
+
source:
|
|
11209
|
+
$ref: "#/components/schemas/AnalyticsSource"
|
|
11210
|
+
dimension:
|
|
11211
|
+
oneOf:
|
|
11212
|
+
- $ref: "#/components/schemas/EventAnalyticsDimension"
|
|
11213
|
+
- $ref: "#/components/schemas/TagAnalyticsDimension"
|
|
11214
|
+
metric:
|
|
11215
|
+
$ref: "#/components/schemas/AnalyticsMetric"
|
|
11216
|
+
metadataKey:
|
|
11217
|
+
type: string
|
|
11218
|
+
limit:
|
|
11219
|
+
type: number
|
|
11220
|
+
required:
|
|
11221
|
+
- source
|
|
11222
|
+
- dimension
|
|
11223
|
+
AnalyticsBreakdownRow:
|
|
11224
|
+
type: object
|
|
11225
|
+
properties:
|
|
11226
|
+
dimensionValue:
|
|
11227
|
+
type: object
|
|
11228
|
+
additionalProperties: true
|
|
11229
|
+
count:
|
|
11230
|
+
type: number
|
|
11231
|
+
uniqueSessions:
|
|
11232
|
+
type: number
|
|
11233
|
+
uniqueVisitors:
|
|
11234
|
+
type: number
|
|
11235
|
+
value:
|
|
11236
|
+
type: number
|
|
11237
|
+
required:
|
|
11238
|
+
- dimensionValue
|
|
11239
|
+
- count
|
|
11240
|
+
- value
|
|
11241
|
+
AnalyticsBreakdownResponse:
|
|
11242
|
+
type: object
|
|
11243
|
+
properties:
|
|
11244
|
+
source:
|
|
11245
|
+
$ref: "#/components/schemas/AnalyticsSource"
|
|
11246
|
+
dimension:
|
|
11247
|
+
type: string
|
|
11248
|
+
metric:
|
|
11249
|
+
$ref: "#/components/schemas/AnalyticsMetric"
|
|
11250
|
+
rows:
|
|
11251
|
+
type: array
|
|
11252
|
+
items:
|
|
11253
|
+
$ref: "#/components/schemas/AnalyticsBreakdownRow"
|
|
11254
|
+
required:
|
|
11255
|
+
- source
|
|
11256
|
+
- dimension
|
|
11257
|
+
- metric
|
|
11258
|
+
- rows
|
|
11259
|
+
AnalyticsEventsRequest:
|
|
11260
|
+
type: object
|
|
11261
|
+
properties:
|
|
11262
|
+
source:
|
|
11263
|
+
$ref: "#/components/schemas/AnalyticsSource"
|
|
11264
|
+
limit:
|
|
11265
|
+
type: number
|
|
11266
|
+
offset:
|
|
11267
|
+
type: number
|
|
11268
|
+
sort:
|
|
11269
|
+
$ref: "#/components/schemas/AnalyticsSortOrder"
|
|
11270
|
+
required:
|
|
11271
|
+
- source
|
|
11272
|
+
AnalyticsEventsResponse:
|
|
11273
|
+
type: object
|
|
11274
|
+
properties:
|
|
11275
|
+
source:
|
|
11276
|
+
$ref: "#/components/schemas/AnalyticsSource"
|
|
11277
|
+
limit:
|
|
11278
|
+
type: number
|
|
11279
|
+
offset:
|
|
11280
|
+
type: number
|
|
11281
|
+
sort:
|
|
11282
|
+
type: string
|
|
11283
|
+
enum:
|
|
11284
|
+
- ASC
|
|
11285
|
+
- DESC
|
|
11286
|
+
count:
|
|
11287
|
+
type: number
|
|
11288
|
+
rows:
|
|
11289
|
+
type: array
|
|
11290
|
+
items:
|
|
11291
|
+
type: object
|
|
11292
|
+
additionalProperties: true
|
|
11293
|
+
required:
|
|
11294
|
+
- source
|
|
11295
|
+
- limit
|
|
11296
|
+
- offset
|
|
11297
|
+
- sort
|
|
11298
|
+
- count
|
|
11299
|
+
- rows
|
|
11300
|
+
LegacyAnalyticsRequest:
|
|
11301
|
+
type: object
|
|
11302
|
+
properties:
|
|
11303
|
+
collection:
|
|
11304
|
+
type: string
|
|
11305
|
+
collectionId:
|
|
11306
|
+
type: string
|
|
11307
|
+
productId:
|
|
11308
|
+
type: string
|
|
11309
|
+
appId:
|
|
11310
|
+
type: string
|
|
11311
|
+
startDate:
|
|
11312
|
+
type: string
|
|
11313
|
+
endDate:
|
|
11314
|
+
type: string
|
|
11315
|
+
location:
|
|
11316
|
+
type: string
|
|
11317
|
+
tagId:
|
|
11318
|
+
type: string
|
|
11319
|
+
qrCodeUrl:
|
|
11320
|
+
type: string
|
|
11321
|
+
AnalyticsDashboardMetrics:
|
|
11322
|
+
type: object
|
|
11323
|
+
properties: {}
|
|
11324
|
+
AnalyticsDashboardCharts:
|
|
11325
|
+
type: object
|
|
11326
|
+
properties: {}
|
|
11327
|
+
AnalyticsDashboardResponse:
|
|
11328
|
+
type: object
|
|
11329
|
+
properties:
|
|
11330
|
+
metrics:
|
|
11331
|
+
$ref: "#/components/schemas/AnalyticsDashboardMetrics"
|
|
11332
|
+
charts:
|
|
11333
|
+
$ref: "#/components/schemas/AnalyticsDashboardCharts"
|
|
11334
|
+
locationData:
|
|
11335
|
+
type: array
|
|
11336
|
+
items: {}
|
|
11337
|
+
required:
|
|
11338
|
+
- metrics
|
|
11339
|
+
- charts
|
|
11340
|
+
- locationData
|
|
11341
|
+
AnalyticsProductsRow:
|
|
11342
|
+
type: object
|
|
11343
|
+
properties:
|
|
11344
|
+
productId:
|
|
11345
|
+
type: string
|
|
11346
|
+
totalEvents:
|
|
11347
|
+
type: number
|
|
11348
|
+
required:
|
|
11349
|
+
- productId
|
|
11350
|
+
- totalEvents
|
|
11351
|
+
AnalyticsProductsResponse:
|
|
11352
|
+
type: object
|
|
11353
|
+
properties:
|
|
11354
|
+
products:
|
|
11355
|
+
type: array
|
|
11356
|
+
items:
|
|
11357
|
+
type: string
|
|
11358
|
+
rows:
|
|
11359
|
+
type: array
|
|
11360
|
+
items:
|
|
11361
|
+
$ref: "#/components/schemas/AnalyticsProductsRow"
|
|
11362
|
+
required:
|
|
11363
|
+
- products
|
|
11364
|
+
- rows
|
|
11365
|
+
AnalyticsQrCodeRow:
|
|
11366
|
+
type: object
|
|
11367
|
+
properties:
|
|
11368
|
+
href:
|
|
11369
|
+
type: string
|
|
11370
|
+
visits:
|
|
11371
|
+
type: number
|
|
11372
|
+
displayName:
|
|
11373
|
+
type: string
|
|
11374
|
+
code:
|
|
11375
|
+
type: string
|
|
10738
11376
|
required:
|
|
10739
|
-
-
|
|
10740
|
-
|
|
11377
|
+
- href
|
|
11378
|
+
- visits
|
|
11379
|
+
- displayName
|
|
11380
|
+
- code
|
|
11381
|
+
AnalyticsTagRow:
|
|
10741
11382
|
type: object
|
|
10742
11383
|
properties:
|
|
10743
|
-
|
|
11384
|
+
tagId:
|
|
10744
11385
|
type: string
|
|
10745
|
-
|
|
11386
|
+
claimId:
|
|
10746
11387
|
type: string
|
|
10747
|
-
|
|
11388
|
+
codeId:
|
|
10748
11389
|
type: string
|
|
10749
|
-
|
|
11390
|
+
displayName:
|
|
10750
11391
|
type: string
|
|
11392
|
+
scans:
|
|
11393
|
+
type: number
|
|
11394
|
+
activeDays:
|
|
11395
|
+
type: number
|
|
10751
11396
|
required:
|
|
10752
|
-
-
|
|
11397
|
+
- tagId
|
|
11398
|
+
- claimId
|
|
11399
|
+
- codeId
|
|
11400
|
+
- displayName
|
|
11401
|
+
- scans
|
|
11402
|
+
- activeDays
|
|
11403
|
+
AnalyticsTagsResponse:
|
|
11404
|
+
type: object
|
|
11405
|
+
properties:
|
|
11406
|
+
tags:
|
|
11407
|
+
type: array
|
|
11408
|
+
items:
|
|
11409
|
+
$ref: "#/components/schemas/AnalyticsTagRow"
|
|
11410
|
+
required:
|
|
11411
|
+
- tags
|
|
11412
|
+
AnalyticsWeeklyRequest:
|
|
11413
|
+
type: object
|
|
11414
|
+
properties:
|
|
11415
|
+
group:
|
|
11416
|
+
type: string
|
|
11417
|
+
enum:
|
|
11418
|
+
- count
|
|
11419
|
+
- unique
|
|
11420
|
+
AnalyticsCountryRequest:
|
|
11421
|
+
type: object
|
|
11422
|
+
properties: {}
|
|
10753
11423
|
AppConfigurationResponse:
|
|
10754
11424
|
type: object
|
|
10755
11425
|
properties:
|
|
@@ -12389,6 +13059,149 @@ components:
|
|
|
12389
13059
|
- firebase
|
|
12390
13060
|
required:
|
|
12391
13061
|
- name
|
|
13062
|
+
AuthLocation:
|
|
13063
|
+
type: object
|
|
13064
|
+
properties:
|
|
13065
|
+
latitude:
|
|
13066
|
+
type: number
|
|
13067
|
+
longitude:
|
|
13068
|
+
type: number
|
|
13069
|
+
area:
|
|
13070
|
+
type: number
|
|
13071
|
+
country:
|
|
13072
|
+
type: string
|
|
13073
|
+
AuthLocationCacheOptions:
|
|
13074
|
+
type: object
|
|
13075
|
+
properties:
|
|
13076
|
+
cache:
|
|
13077
|
+
type: string
|
|
13078
|
+
enum:
|
|
13079
|
+
- session
|
|
13080
|
+
ttlMs:
|
|
13081
|
+
type: number
|
|
13082
|
+
storageKey:
|
|
13083
|
+
type: string
|
|
13084
|
+
forceRefresh:
|
|
13085
|
+
type: boolean
|
|
13086
|
+
AccountFirebaseInfo:
|
|
13087
|
+
type: object
|
|
13088
|
+
properties:
|
|
13089
|
+
identities:
|
|
13090
|
+
type: object
|
|
13091
|
+
additionalProperties:
|
|
13092
|
+
type: array
|
|
13093
|
+
items:
|
|
13094
|
+
type: string
|
|
13095
|
+
sign_in_provider:
|
|
13096
|
+
type: string
|
|
13097
|
+
AccountClientInfo:
|
|
13098
|
+
type: object
|
|
13099
|
+
properties:
|
|
13100
|
+
createdAt:
|
|
13101
|
+
type: string
|
|
13102
|
+
createdVia:
|
|
13103
|
+
type: string
|
|
13104
|
+
AccountFeatureFlags:
|
|
13105
|
+
type: object
|
|
13106
|
+
properties:
|
|
13107
|
+
actionLogger:
|
|
13108
|
+
type: boolean
|
|
13109
|
+
apiKeys:
|
|
13110
|
+
type: boolean
|
|
13111
|
+
analytics:
|
|
13112
|
+
type: boolean
|
|
13113
|
+
webhooks:
|
|
13114
|
+
type: boolean
|
|
13115
|
+
creating:
|
|
13116
|
+
type: boolean
|
|
13117
|
+
helpDocs:
|
|
13118
|
+
type: boolean
|
|
13119
|
+
certificateTemplates:
|
|
13120
|
+
type: boolean
|
|
13121
|
+
contentLibrary:
|
|
13122
|
+
type: boolean
|
|
13123
|
+
devScanner:
|
|
13124
|
+
type: boolean
|
|
13125
|
+
appScanner:
|
|
13126
|
+
type: boolean
|
|
13127
|
+
AccountInfoResponse:
|
|
13128
|
+
type: object
|
|
13129
|
+
properties:
|
|
13130
|
+
id:
|
|
13131
|
+
type: string
|
|
13132
|
+
uid:
|
|
13133
|
+
type: string
|
|
13134
|
+
userId:
|
|
13135
|
+
type: string
|
|
13136
|
+
user_id:
|
|
13137
|
+
type: string
|
|
13138
|
+
sub:
|
|
13139
|
+
type: string
|
|
13140
|
+
name:
|
|
13141
|
+
type: string
|
|
13142
|
+
email:
|
|
13143
|
+
type: string
|
|
13144
|
+
email_verified:
|
|
13145
|
+
type: boolean
|
|
13146
|
+
picture:
|
|
13147
|
+
type: string
|
|
13148
|
+
iss:
|
|
13149
|
+
type: string
|
|
13150
|
+
aud:
|
|
13151
|
+
type: string
|
|
13152
|
+
auth_time:
|
|
13153
|
+
type: number
|
|
13154
|
+
iat:
|
|
13155
|
+
type: number
|
|
13156
|
+
exp:
|
|
13157
|
+
type: number
|
|
13158
|
+
firebase:
|
|
13159
|
+
$ref: "#/components/schemas/AccountFirebaseInfo"
|
|
13160
|
+
accessType:
|
|
13161
|
+
type: string
|
|
13162
|
+
clientType:
|
|
13163
|
+
type: string
|
|
13164
|
+
analyticsCode:
|
|
13165
|
+
type: string
|
|
13166
|
+
analyticsId:
|
|
13167
|
+
type: string
|
|
13168
|
+
baseCollectionId:
|
|
13169
|
+
type: string
|
|
13170
|
+
collectionGroup:
|
|
13171
|
+
type: string
|
|
13172
|
+
contactId:
|
|
13173
|
+
type: string
|
|
13174
|
+
features:
|
|
13175
|
+
$ref: "#/components/schemas/AccountFeatureFlags"
|
|
13176
|
+
adminCollections:
|
|
13177
|
+
type: array
|
|
13178
|
+
items:
|
|
13179
|
+
type: string
|
|
13180
|
+
clients:
|
|
13181
|
+
type: object
|
|
13182
|
+
additionalProperties:
|
|
13183
|
+
$ref: "#/components/schemas/AccountClientInfo"
|
|
13184
|
+
sites:
|
|
13185
|
+
type: object
|
|
13186
|
+
additionalProperties:
|
|
13187
|
+
type: boolean
|
|
13188
|
+
whitelabel:
|
|
13189
|
+
type: object
|
|
13190
|
+
additionalProperties: true
|
|
13191
|
+
location:
|
|
13192
|
+
$ref: "#/components/schemas/AuthLocation"
|
|
13193
|
+
required:
|
|
13194
|
+
- id
|
|
13195
|
+
- uid
|
|
13196
|
+
- userId
|
|
13197
|
+
- sub
|
|
13198
|
+
- name
|
|
13199
|
+
- email
|
|
13200
|
+
- email_verified
|
|
13201
|
+
- iss
|
|
13202
|
+
- auth_time
|
|
13203
|
+
- iat
|
|
13204
|
+
- features
|
|
12392
13205
|
AuthKitUser:
|
|
12393
13206
|
type: object
|
|
12394
13207
|
properties:
|
|
@@ -15881,20 +16694,12 @@ components:
|
|
|
15881
16694
|
- items
|
|
15882
16695
|
- limit
|
|
15883
16696
|
- offset
|
|
15884
|
-
|
|
15885
|
-
type: object
|
|
15886
|
-
properties:
|
|
15887
|
-
productId:
|
|
15888
|
-
type: string
|
|
15889
|
-
batchId:
|
|
15890
|
-
type: string
|
|
15891
|
-
variantId:
|
|
15892
|
-
type: string
|
|
15893
|
-
required:
|
|
15894
|
-
- productId
|
|
15895
|
-
QueryOrdersFilter:
|
|
16697
|
+
QueryOrdersRequest:
|
|
15896
16698
|
type: object
|
|
15897
16699
|
properties:
|
|
16700
|
+
query:
|
|
16701
|
+
type: object
|
|
16702
|
+
additionalProperties: true
|
|
15898
16703
|
status:
|
|
15899
16704
|
type: string
|
|
15900
16705
|
orderRef:
|
|
@@ -15913,11 +16718,31 @@ components:
|
|
|
15913
16718
|
type: number
|
|
15914
16719
|
maxItemCount:
|
|
15915
16720
|
type: number
|
|
16721
|
+
productId:
|
|
16722
|
+
type: string
|
|
16723
|
+
batchId:
|
|
16724
|
+
type: string
|
|
16725
|
+
variantId:
|
|
16726
|
+
type: string
|
|
16727
|
+
itemType:
|
|
16728
|
+
type: string
|
|
16729
|
+
enum:
|
|
16730
|
+
- tag
|
|
16731
|
+
- proof
|
|
16732
|
+
- serial
|
|
16733
|
+
itemId:
|
|
16734
|
+
type: string
|
|
16735
|
+
itemCollectionId:
|
|
16736
|
+
type: string
|
|
16737
|
+
itemMetadata:
|
|
16738
|
+
type: object
|
|
16739
|
+
additionalProperties: true
|
|
16740
|
+
items:
|
|
16741
|
+
type: object
|
|
16742
|
+
additionalProperties: true
|
|
15916
16743
|
metadata:
|
|
15917
16744
|
type: object
|
|
15918
16745
|
additionalProperties: true
|
|
15919
|
-
item:
|
|
15920
|
-
$ref: "#/components/schemas/QueryOrderItemFilter"
|
|
15921
16746
|
sortBy:
|
|
15922
16747
|
type: string
|
|
15923
16748
|
sortOrder:
|
|
@@ -15925,17 +16750,15 @@ components:
|
|
|
15925
16750
|
enum:
|
|
15926
16751
|
- asc
|
|
15927
16752
|
- desc
|
|
15928
|
-
QueryOrdersRequest:
|
|
15929
|
-
type: object
|
|
15930
|
-
properties:
|
|
15931
|
-
query:
|
|
15932
|
-
$ref: "#/components/schemas/QueryOrdersFilter"
|
|
15933
16753
|
limit:
|
|
15934
16754
|
type: number
|
|
15935
16755
|
offset:
|
|
15936
16756
|
type: number
|
|
15937
16757
|
includeItems:
|
|
15938
16758
|
type: boolean
|
|
16759
|
+
required:
|
|
16760
|
+
- itemType
|
|
16761
|
+
- itemId
|
|
15939
16762
|
QueryOrdersResponse:
|
|
15940
16763
|
type: object
|
|
15941
16764
|
properties:
|
|
@@ -17208,88 +18031,3 @@ components:
|
|
|
17208
18031
|
additionalProperties: true
|
|
17209
18032
|
required:
|
|
17210
18033
|
- valid
|
|
17211
|
-
AccountInfoResponse:
|
|
17212
|
-
type: object
|
|
17213
|
-
properties:
|
|
17214
|
-
accessType:
|
|
17215
|
-
type: string
|
|
17216
|
-
analyticsCode:
|
|
17217
|
-
type: string
|
|
17218
|
-
analyticsId:
|
|
17219
|
-
type: string
|
|
17220
|
-
auth_time:
|
|
17221
|
-
type: number
|
|
17222
|
-
baseCollectionId:
|
|
17223
|
-
type: string
|
|
17224
|
-
clientType:
|
|
17225
|
-
type: string
|
|
17226
|
-
email:
|
|
17227
|
-
type: string
|
|
17228
|
-
email_verified:
|
|
17229
|
-
type: boolean
|
|
17230
|
-
features:
|
|
17231
|
-
type: object
|
|
17232
|
-
additionalProperties: true
|
|
17233
|
-
actionLogger:
|
|
17234
|
-
type: boolean
|
|
17235
|
-
adminCollections:
|
|
17236
|
-
type: boolean
|
|
17237
|
-
adminApps:
|
|
17238
|
-
type: boolean
|
|
17239
|
-
apiKeys:
|
|
17240
|
-
type: boolean
|
|
17241
|
-
adminUsers:
|
|
17242
|
-
type: boolean
|
|
17243
|
-
iat:
|
|
17244
|
-
type: number
|
|
17245
|
-
id:
|
|
17246
|
-
type: string
|
|
17247
|
-
iss:
|
|
17248
|
-
type: string
|
|
17249
|
-
location:
|
|
17250
|
-
type: string
|
|
17251
|
-
name:
|
|
17252
|
-
type: string
|
|
17253
|
-
picture:
|
|
17254
|
-
type: string
|
|
17255
|
-
sites:
|
|
17256
|
-
type: object
|
|
17257
|
-
additionalProperties: true
|
|
17258
|
-
sub:
|
|
17259
|
-
type: string
|
|
17260
|
-
uid:
|
|
17261
|
-
type: string
|
|
17262
|
-
userId:
|
|
17263
|
-
type: string
|
|
17264
|
-
contactId:
|
|
17265
|
-
type: string
|
|
17266
|
-
whitelabel:
|
|
17267
|
-
type: object
|
|
17268
|
-
additionalProperties: true
|
|
17269
|
-
required:
|
|
17270
|
-
- accessType
|
|
17271
|
-
- analyticsCode
|
|
17272
|
-
- analyticsId
|
|
17273
|
-
- auth_time
|
|
17274
|
-
- baseCollectionId
|
|
17275
|
-
- clientType
|
|
17276
|
-
- email
|
|
17277
|
-
- email_verified
|
|
17278
|
-
- features
|
|
17279
|
-
- actionLogger
|
|
17280
|
-
- adminCollections
|
|
17281
|
-
- adminApps
|
|
17282
|
-
- apiKeys
|
|
17283
|
-
- adminUsers
|
|
17284
|
-
- iat
|
|
17285
|
-
- id
|
|
17286
|
-
- iss
|
|
17287
|
-
- location
|
|
17288
|
-
- name
|
|
17289
|
-
- picture
|
|
17290
|
-
- sites
|
|
17291
|
-
- sub
|
|
17292
|
-
- uid
|
|
17293
|
-
- userId
|
|
17294
|
-
- contactId
|
|
17295
|
-
- whitelabel
|