@proveanything/smartlinks 1.10.1 → 1.10.3

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/dist/openapi.yaml CHANGED
@@ -15619,33 +15619,6 @@ components:
15619
15619
  $ref: "#/components/schemas/FacetRuleClause"
15620
15620
  required:
15621
15621
  - all
15622
- ScopeFacetClause:
15623
- type: object
15624
- properties:
15625
- key:
15626
- type: string
15627
- valueKeys:
15628
- type: array
15629
- items:
15630
- type: string
15631
- required:
15632
- - key
15633
- - valueKeys
15634
- RecordScope:
15635
- type: object
15636
- properties:
15637
- productId:
15638
- type: string
15639
- variantId:
15640
- type: string
15641
- proofId:
15642
- type: string
15643
- batchId:
15644
- type: string
15645
- facets:
15646
- type: array
15647
- items:
15648
- $ref: "#/components/schemas/ScopeFacetClause"
15649
15622
  RecordTarget:
15650
15623
  type: object
15651
15624
  properties:
@@ -15670,6 +15643,14 @@ components:
15670
15643
  type: string
15671
15644
  recordType:
15672
15645
  type: string
15646
+ productId:
15647
+ type: string
15648
+ variantId:
15649
+ type: string
15650
+ batchId:
15651
+ type: string
15652
+ proofId:
15653
+ type: string
15673
15654
  customId:
15674
15655
  type: string
15675
15656
  sourceSystem:
@@ -15680,8 +15661,6 @@ components:
15680
15661
  type: string
15681
15662
  status:
15682
15663
  type: string
15683
- scope:
15684
- $ref: "#/components/schemas/RecordScope"
15685
15664
  data:
15686
15665
  type: object
15687
15666
  additionalProperties: true
@@ -15713,43 +15692,35 @@ components:
15713
15692
  type: number
15714
15693
  required:
15715
15694
  - deleted
15716
- MatchedRecord:
15717
- type: object
15718
- properties:
15719
- matchedAt:
15720
- $ref: "#/components/schemas/MatchedAt"
15721
- required:
15722
- - matchedAt
15723
15695
  MatchEntry:
15724
15696
  type: object
15725
15697
  properties:
15726
- record:
15727
- $ref: "#/components/schemas/AppRecord"
15728
15698
  matchedAt:
15729
15699
  $ref: "#/components/schemas/MatchedAt"
15730
15700
  matchedRule:
15731
15701
  $ref: "#/components/schemas/FacetRule"
15732
15702
  matchedClauseCount:
15733
15703
  type: number
15734
- specificity:
15735
- type: number
15736
15704
  required:
15737
- - record
15738
15705
  - matchedAt
15739
- - specificity
15740
15706
  MatchResult:
15741
15707
  type: object
15742
15708
  properties:
15743
- records:
15709
+ data:
15744
15710
  type: array
15745
15711
  items:
15746
15712
  $ref: "#/components/schemas/MatchEntry"
15747
- best:
15748
- type: object
15749
- additionalProperties:
15750
- $ref: "#/components/schemas/MatchEntry"
15713
+ total:
15714
+ type: number
15715
+ strategy:
15716
+ type: string
15717
+ enum:
15718
+ - all
15719
+ - best
15751
15720
  required:
15752
- - records
15721
+ - data
15722
+ - total
15723
+ - strategy
15753
15724
  UpsertRecordInput:
15754
15725
  type: object
15755
15726
  properties:
@@ -15757,6 +15728,14 @@ components:
15757
15728
  type: string
15758
15729
  recordType:
15759
15730
  type: string
15731
+ productId:
15732
+ type: string
15733
+ variantId:
15734
+ type: string
15735
+ batchId:
15736
+ type: string
15737
+ proofId:
15738
+ type: string
15760
15739
  customId:
15761
15740
  type: string
15762
15741
  sourceSystem:
@@ -15767,8 +15746,6 @@ components:
15767
15746
  type: string
15768
15747
  status:
15769
15748
  type: string
15770
- scope:
15771
- $ref: "#/components/schemas/RecordScope"
15772
15749
  data:
15773
15750
  type: object
15774
15751
  additionalProperties: true
@@ -15825,14 +15802,24 @@ components:
15825
15802
  type: string
15826
15803
  ref:
15827
15804
  type: string
15805
+ scopeType:
15806
+ type: string
15807
+ scopeId:
15808
+ type: string
15828
15809
  customId:
15829
15810
  type: string
15811
+ customIdNormalized:
15812
+ type: string
15830
15813
  sourceSystem:
15831
15814
  type: string
15832
15815
  status:
15833
15816
  type: string
15834
15817
  productId:
15835
15818
  type: string
15819
+ variantId:
15820
+ type: string
15821
+ batchId:
15822
+ type: string
15836
15823
  proofId:
15837
15824
  type: string
15838
15825
  contactId:
@@ -15855,12 +15842,12 @@ components:
15855
15842
  type: string
15856
15843
  deletedAt:
15857
15844
  type: string
15858
- scope:
15859
- $ref: "#/components/schemas/RecordScope"
15860
15845
  specificity:
15861
15846
  type: number
15862
15847
  facetRule:
15863
15848
  $ref: "#/components/schemas/FacetRule"
15849
+ singletonKey:
15850
+ type: string
15864
15851
  data:
15865
15852
  type: object
15866
15853
  additionalProperties: true
@@ -15881,10 +15868,15 @@ components:
15881
15868
  - visibility
15882
15869
  - recordType
15883
15870
  - ref
15871
+ - scopeType
15872
+ - scopeId
15884
15873
  - customId
15874
+ - customIdNormalized
15885
15875
  - sourceSystem
15886
15876
  - status
15887
15877
  - productId
15878
+ - variantId
15879
+ - batchId
15888
15880
  - proofId
15889
15881
  - contactId
15890
15882
  - authorId
@@ -15896,9 +15888,9 @@ components:
15896
15888
  - startsAt
15897
15889
  - expiresAt
15898
15890
  - deletedAt
15899
- - scope
15900
15891
  - specificity
15901
15892
  - facetRule
15893
+ - singletonKey
15902
15894
  - data
15903
15895
  - owner
15904
15896
  - admin
@@ -15916,6 +15908,10 @@ components:
15916
15908
  type: string
15917
15909
  productId:
15918
15910
  type: string
15911
+ variantId:
15912
+ type: string
15913
+ batchId:
15914
+ type: string
15919
15915
  proofId:
15920
15916
  type: string
15921
15917
  contactId:
@@ -15932,12 +15928,16 @@ components:
15932
15928
  type: string
15933
15929
  expiresAt:
15934
15930
  type: string
15935
- scope:
15936
- $ref: "#/components/schemas/RecordScope"
15931
+ scopeType:
15932
+ type: string
15933
+ scopeId:
15934
+ type: string
15937
15935
  customId:
15938
15936
  type: string
15939
15937
  sourceSystem:
15940
15938
  type: string
15939
+ singletonPer:
15940
+ type: string
15941
15941
  data:
15942
15942
  type: object
15943
15943
  additionalProperties: true
@@ -15952,8 +15952,6 @@ components:
15952
15952
  additionalProperties: true
15953
15953
  facetRule:
15954
15954
  $ref: "#/components/schemas/FacetRule"
15955
- required:
15956
- - recordType
15957
15955
  UpdateRecordInput:
15958
15956
  type: object
15959
15957
  properties:
@@ -15974,12 +15972,22 @@ components:
15974
15972
  type: string
15975
15973
  recordType:
15976
15974
  type: string
15975
+ productId:
15976
+ type: string
15977
+ variantId:
15978
+ type: string
15979
+ batchId:
15980
+ type: string
15981
+ proofId:
15982
+ type: string
15977
15983
  startsAt:
15978
15984
  type: string
15979
15985
  expiresAt:
15980
15986
  type: string
15981
- scope:
15982
- $ref: "#/components/schemas/RecordScope"
15987
+ scopeType:
15988
+ type: string
15989
+ scopeId:
15990
+ type: string
15983
15991
  customId:
15984
15992
  type: string
15985
15993
  sourceSystem:
@@ -16081,16 +16089,59 @@ components:
16081
16089
  records:
16082
16090
  type: array
16083
16091
  items:
16084
- $ref: "#/components/schemas/MatchEntry"
16092
+ $ref: "#/components/schemas/ResolveAllEntry"
16093
+ total:
16094
+ type: number
16095
+ context:
16096
+ $ref: "#/components/schemas/ResolveAllContext"
16085
16097
  truncated:
16086
16098
  type: boolean
16087
16099
  required:
16088
16100
  - records
16101
+ - total
16102
+ - context
16103
+ - truncated
16104
+ ResolveAllEntry:
16105
+ type: object
16106
+ properties:
16107
+ record:
16108
+ $ref: "#/components/schemas/AppRecord"
16109
+ matchedAt:
16110
+ $ref: "#/components/schemas/MatchedAt"
16111
+ specificity:
16112
+ type: number
16113
+ matchedRule:
16114
+ $ref: "#/components/schemas/FacetRule"
16115
+ matchedClauseCount:
16116
+ type: number
16117
+ required:
16118
+ - record
16119
+ - matchedAt
16120
+ - specificity
16121
+ ResolveAllContext:
16122
+ type: object
16123
+ properties:
16124
+ productId:
16125
+ type: string
16126
+ variantId:
16127
+ type: string
16128
+ batchId:
16129
+ type: string
16130
+ proofId:
16131
+ type: string
16132
+ facets:
16133
+ type: object
16134
+ additionalProperties:
16135
+ type: array
16136
+ items:
16137
+ type: string
16089
16138
  PreviewRuleParams:
16090
16139
  type: object
16091
16140
  properties:
16092
16141
  facetRule:
16093
16142
  $ref: "#/components/schemas/FacetRule"
16143
+ recordType:
16144
+ type: string
16094
16145
  limit:
16095
16146
  type: number
16096
16147
  required:
@@ -16098,15 +16149,19 @@ components:
16098
16149
  PreviewRuleResult:
16099
16150
  type: object
16100
16151
  properties:
16101
- sampleProductIds:
16152
+ matchingProducts:
16102
16153
  type: array
16103
16154
  items:
16104
- type: string
16105
- totalMatches:
16155
+ type: object
16156
+ additionalProperties: true
16157
+ total:
16106
16158
  type: number
16159
+ rule:
16160
+ $ref: "#/components/schemas/FacetRule"
16107
16161
  required:
16108
- - sampleProductIds
16109
- - totalMatches
16162
+ - matchingProducts
16163
+ - total
16164
+ - rule
16110
16165
  RelatedResponse:
16111
16166
  type: object
16112
16167
  properties: