gd-sprest-def 2.0.3 → 2.0.4
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/custom.js +12 -0
- package/lib/SP/entitytypes.d.ts +58 -2
- package/lib/mapper.d.ts +8 -0
- package/lib/mapper.ts +7 -0
- package/package.json +1 -1
package/custom.js
CHANGED
|
@@ -425,6 +425,18 @@ module.exports = {
|
|
|
425
425
|
}
|
|
426
426
|
],
|
|
427
427
|
|
|
428
|
+
// Sensitivity Label Collection
|
|
429
|
+
"SP.SensitivityLabelCollection": [
|
|
430
|
+
{
|
|
431
|
+
name: "getSensitivityLabelAsStream",
|
|
432
|
+
returnType: "any",
|
|
433
|
+
params: [
|
|
434
|
+
{ $: { Name: "expand", Type: "string" } },
|
|
435
|
+
{ $: { Name: "filter", Type: "string" } }
|
|
436
|
+
]
|
|
437
|
+
}
|
|
438
|
+
],
|
|
439
|
+
|
|
428
440
|
// Site
|
|
429
441
|
"SP.Site": [
|
|
430
442
|
{
|
package/lib/SP/entitytypes.d.ts
CHANGED
|
@@ -6627,20 +6627,76 @@ export interface SemanticSearchItemCollectionCollections {
|
|
|
6627
6627
|
|
|
6628
6628
|
}
|
|
6629
6629
|
|
|
6630
|
+
/*********************************************
|
|
6631
|
+
* ISensitivityLabelCollection
|
|
6632
|
+
**********************************************/
|
|
6633
|
+
export interface ISensitivityLabelCollection extends SensitivityLabelCollectionCollections, SensitivityLabelCollectionMethods, Base.IBaseQuery<SensitivityLabelCollection, ISensitivityLabelCollectionQuery> {
|
|
6634
|
+
|
|
6635
|
+
}
|
|
6636
|
+
|
|
6637
|
+
/*********************************************
|
|
6638
|
+
* ISensitivityLabelCollectionCollection
|
|
6639
|
+
**********************************************/
|
|
6640
|
+
export interface ISensitivityLabelCollectionCollection extends Base.IBaseResults<SensitivityLabelCollection> {
|
|
6641
|
+
done?: (resolve: (value?: Array<SensitivityLabelCollection>) => void) => void;
|
|
6642
|
+
}
|
|
6643
|
+
|
|
6644
|
+
/*********************************************
|
|
6645
|
+
* ISensitivityLabelCollectionQueryCollection
|
|
6646
|
+
**********************************************/
|
|
6647
|
+
export interface ISensitivityLabelCollectionQueryCollection extends Base.IBaseResults<SensitivityLabelCollectionOData> {
|
|
6648
|
+
done?: (resolve: (value?: Array<SensitivityLabelCollectionOData>) => void) => void;
|
|
6649
|
+
}
|
|
6650
|
+
|
|
6651
|
+
/*********************************************
|
|
6652
|
+
* ISensitivityLabelCollectionQuery
|
|
6653
|
+
**********************************************/
|
|
6654
|
+
export interface ISensitivityLabelCollectionQuery extends SensitivityLabelCollectionOData, SensitivityLabelCollectionMethods {
|
|
6655
|
+
|
|
6656
|
+
}
|
|
6657
|
+
|
|
6630
6658
|
/*********************************************
|
|
6631
6659
|
* SensitivityLabelCollection
|
|
6632
6660
|
**********************************************/
|
|
6633
|
-
export interface SensitivityLabelCollection {
|
|
6661
|
+
export interface SensitivityLabelCollection extends Base.IBaseResult, SensitivityLabelCollectionProps, SensitivityLabelCollectionCollections, SensitivityLabelCollectionMethods {
|
|
6662
|
+
|
|
6663
|
+
}
|
|
6664
|
+
|
|
6665
|
+
/*********************************************
|
|
6666
|
+
* SensitivityLabelCollectionProps
|
|
6667
|
+
**********************************************/
|
|
6668
|
+
export interface SensitivityLabelCollectionProps {
|
|
6634
6669
|
Id4a81de82eeb94d6080ea5bf63e27023a?: string;
|
|
6635
6670
|
}
|
|
6636
6671
|
|
|
6672
|
+
/*********************************************
|
|
6673
|
+
* SensitivityLabelCollectionPropMethods
|
|
6674
|
+
**********************************************/
|
|
6675
|
+
export interface SensitivityLabelCollectionPropMethods {
|
|
6676
|
+
|
|
6677
|
+
}
|
|
6678
|
+
|
|
6637
6679
|
/*********************************************
|
|
6638
6680
|
* SensitivityLabelCollectionCollections
|
|
6639
6681
|
**********************************************/
|
|
6640
|
-
export interface SensitivityLabelCollectionCollections {
|
|
6682
|
+
export interface SensitivityLabelCollectionCollections extends SensitivityLabelCollectionPropMethods {
|
|
6641
6683
|
|
|
6642
6684
|
}
|
|
6643
6685
|
|
|
6686
|
+
/*********************************************
|
|
6687
|
+
* SensitivityLabelCollectionOData
|
|
6688
|
+
**********************************************/
|
|
6689
|
+
export interface SensitivityLabelCollectionOData extends Base.IBaseResult, SensitivityLabelCollectionProps, SensitivityLabelCollectionMethods {
|
|
6690
|
+
|
|
6691
|
+
}
|
|
6692
|
+
|
|
6693
|
+
/*********************************************
|
|
6694
|
+
* SensitivityLabelCollectionMethods
|
|
6695
|
+
**********************************************/
|
|
6696
|
+
export interface SensitivityLabelCollectionMethods {
|
|
6697
|
+
getSensitivityLabelAsStream(expand?: string, filter?: string): Base.IBaseExecution<any>;
|
|
6698
|
+
}
|
|
6699
|
+
|
|
6644
6700
|
/*********************************************
|
|
6645
6701
|
* ServerSettings
|
|
6646
6702
|
**********************************************/
|
package/lib/mapper.d.ts
CHANGED
|
@@ -10022,6 +10022,14 @@ export interface IMapper {
|
|
|
10022
10022
|
|
|
10023
10023
|
}
|
|
10024
10024
|
|
|
10025
|
+
"SP.SensitivityLabelCollection": {
|
|
10026
|
+
properties?: Array<string>;
|
|
10027
|
+
getSensitivityLabelAsStream: IMapperMethod & {
|
|
10028
|
+
argNames: [ "expand", "filter" ],
|
|
10029
|
+
},
|
|
10030
|
+
|
|
10031
|
+
}
|
|
10032
|
+
|
|
10025
10033
|
"SP.Site": {
|
|
10026
10034
|
properties?: Array<string>;
|
|
10027
10035
|
cancelDeleteFileVersions: IMapperMethod & {
|
package/lib/mapper.ts
CHANGED
|
@@ -9724,6 +9724,13 @@ export const Mapper: IMapper = {
|
|
|
9724
9724
|
|
|
9725
9725
|
},
|
|
9726
9726
|
|
|
9727
|
+
"SP.SensitivityLabelCollection": {
|
|
9728
|
+
getSensitivityLabelAsStream: {
|
|
9729
|
+
argNames: [ "expand", "filter" ],
|
|
9730
|
+
},
|
|
9731
|
+
|
|
9732
|
+
},
|
|
9733
|
+
|
|
9727
9734
|
"SP.Site": {
|
|
9728
9735
|
cancelDeleteFileVersions: {
|
|
9729
9736
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gd-sprest-def",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"description": "TypeScript definition files generated from the $metadata REST endpoint in SharePoint.",
|
|
5
5
|
"author": "Gunjan Datta <me@dattabase.com> (https://gunjandatta.github.io)",
|
|
6
6
|
"license": "MIT",
|