1659
1659
" integer"
1660
1660
]
1661
1661
},
1662
+ "config" : {
1663
+ "additionalProperties" : false ,
1664
+ "description" : " custom add-on provisioning options" ,
1665
+ "example" : {
1666
+ "db-version" : " 1.2.3"
1667
+ },
1668
+ "patternProperties" : {
1669
+ "^\\ w+$" : {
1670
+ "type" : [
1671
+ " string"
1672
+ ]
1673
+ }
1674
+ },
1675
+ "type" : [
1676
+ " object"
1677
+ ]
1678
+ },
1662
1679
"config_vars" : {
1663
1680
"description" : " config vars exposed to the owning app by this add-on" ,
1664
1681
"example" : [
1816
1833
]
1817
1834
},
1818
1835
"config" : {
1819
- "additionalProperties" : false ,
1820
- "description" : " custom add-on provisioning options" ,
1821
- "example" : {
1822
- "db-version" : " 1.2.3"
1823
- },
1824
- "patternProperties" : {
1825
- "^\\ w+$" : {
1826
- "type" : [
1827
- " string"
1828
- ]
1829
- }
1830
- },
1831
- "type" : [
1832
- " object"
1833
- ]
1836
+ "$ref" : " #/definitions/add-on/definitions/config"
1834
1837
},
1835
1838
"confirm" : {
1836
1839
"$ref" : " #/definitions/add-on/definitions/confirm"
13300
13303
"id" : {
13301
13304
"$ref" : " #/definitions/collaborator/definitions/id"
13302
13305
},
13306
+ "permissions" : {
13307
+ "type" : [
13308
+ " array"
13309
+ ],
13310
+ "items" : {
13311
+ "$ref" : " #/definitions/team-app-permission"
13312
+ },
13313
+ "description" : " array of permissions for the collaborator (only applicable if the app is on a team)"
13314
+ },
13303
13315
"role" : {
13304
13316
"$ref" : " #/definitions/team/definitions/role"
13305
13317
},
14668
14680
}
14669
14681
]
14670
14682
},
14683
+ "device_data" : {
14684
+ "type" : [
14685
+ " string" ,
14686
+ " null"
14687
+ ],
14688
+ "description" : " Device data string generated by the client" ,
14689
+ "example" : " VGhpcyBpcyBhIGdvb2QgZGF5IHRvIGRpZQ=="
14690
+ },
14691
+ "nonce" : {
14692
+ "type" : [
14693
+ " string" ,
14694
+ " null"
14695
+ ],
14696
+ "description" : " Nonce generated by Braintree hosted fields form" ,
14697
+ "example" : " VGhpcyBpcyBhIGdvb2QgZGF5IHRvIGRpZQ=="
14698
+ },
14671
14699
"address_1" : {
14672
14700
"type" : [
14673
14701
" string"
@@ -14677,14 +14705,16 @@
14677
14705
},
14678
14706
"address_2" : {
14679
14707
"type" : [
14680
- " string"
14708
+ " string" ,
14709
+ " null"
14681
14710
],
14682
14711
"description" : " street address line 2" ,
14683
14712
"example" : " Suite 103"
14684
14713
},
14685
14714
"card_number" : {
14686
14715
"type" : [
14687
- " string"
14716
+ " string" ,
14717
+ " null"
14688
14718
],
14689
14719
"description" : " encrypted card number of payment method" ,
14690
14720
"example" : " encrypted-card-number"
@@ -14705,21 +14735,24 @@
14705
14735
},
14706
14736
"cvv" : {
14707
14737
"type" : [
14708
- " string"
14738
+ " string" ,
14739
+ " null"
14709
14740
],
14710
14741
"description" : " card verification value" ,
14711
14742
"example" : " 123"
14712
14743
},
14713
14744
"expiration_month" : {
14714
14745
"type" : [
14715
- " string"
14746
+ " string" ,
14747
+ " null"
14716
14748
],
14717
14749
"description" : " expiration month" ,
14718
14750
"example" : " 11"
14719
14751
},
14720
14752
"expiration_year" : {
14721
14753
"type" : [
14722
- " string"
14754
+ " string" ,
14755
+ " null"
14723
14756
],
14724
14757
"description" : " expiration year" ,
14725
14758
"example" : " 2014"
14740
14773
},
14741
14774
"other" : {
14742
14775
"type" : [
14743
- " string"
14776
+ " string" ,
14777
+ " null"
14744
14778
],
14745
14779
"description" : " metadata" ,
14746
14780
"example" : " Additional information for payment method"
14916
14950
},
14917
14951
"state" : {
14918
14952
"$ref" : " #/definitions/team/definitions/state"
14953
+ },
14954
+ "nonce" : {
14955
+ "$ref" : " #/definitions/team/definitions/nonce"
14956
+ },
14957
+ "device_data" : {
14958
+ "$ref" : " #/definitions/team/definitions/device_data"
14919
14959
}
14920
14960
},
14921
14961
"required" : [
0 commit comments