@microsoft/typespec-msgraph-reference 1.0.1 → 1.0.2

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.
@@ -707,6 +707,10 @@ namespace reference.`microsoft.graph` {
707
707
  @references sponsors: directoryObject[];
708
708
  }
709
709
 
710
+ @open
711
+ @entity model agentUser extends user {
712
+ }
713
+
710
714
  @open
711
715
  @entity model allowedDataLocation extends entity {
712
716
  appId: string | null;
@@ -1100,7 +1104,7 @@ namespace reference.`microsoft.graph` {
1100
1104
  }
1101
1105
 
1102
1106
  @abstract
1103
- @entity model entity extends MsGraph.SharedModels.entity {
1107
+ @entity model entity {
1104
1108
  @computed @key id: string;
1105
1109
  }
1106
1110
 
@@ -1679,6 +1683,7 @@ namespace reference.`microsoft.graph` {
1679
1683
  faxNumber: string | null;
1680
1684
  givenName: string | null;
1681
1685
  identities: objectIdentity[] | null;
1686
+ identityParentId: string | null;
1682
1687
  imAddresses: string[] | null;
1683
1688
  infoCatalogs: string[];
1684
1689
  isManagementRestricted: boolean | null;
@@ -1739,202 +1744,202 @@ namespace reference.`microsoft.graph` {
1739
1744
 
1740
1745
  @graphFlags
1741
1746
  enum allowedRolePrincipalTypes {
1742
- user,
1743
- servicePrincipal,
1744
- group,
1745
- unknownFutureValue,
1747
+ user: 1,
1748
+ servicePrincipal: 2,
1749
+ group: 4,
1750
+ unknownFutureValue: 8,
1746
1751
  }
1747
1752
 
1748
1753
  enum allowInvitesFrom {
1749
- none,
1750
- adminsAndGuestInviters,
1751
- adminsGuestInvitersAndAllMembers,
1752
- everyone,
1753
- unknownFutureValue,
1754
+ none: 0,
1755
+ adminsAndGuestInviters: 1,
1756
+ adminsGuestInvitersAndAllMembers: 2,
1757
+ everyone: 3,
1758
+ unknownFutureValue: 4,
1754
1759
  }
1755
1760
 
1756
1761
  enum appCredentialRestrictionType {
1757
- passwordAddition,
1758
- passwordLifetime,
1759
- symmetricKeyAddition,
1760
- symmetricKeyLifetime,
1761
- customPasswordAddition,
1762
- unknownFutureValue,
1762
+ passwordAddition: 0,
1763
+ passwordLifetime: 1,
1764
+ symmetricKeyAddition: 2,
1765
+ symmetricKeyLifetime: 3,
1766
+ customPasswordAddition: 4,
1767
+ unknownFutureValue: 99,
1763
1768
  }
1764
1769
 
1765
1770
  enum appKeyCredentialRestrictionType {
1766
- asymmetricKeyLifetime,
1767
- trustedCertificateAuthority,
1768
- unknownFutureValue,
1771
+ asymmetricKeyLifetime: 0,
1772
+ trustedCertificateAuthority: 1,
1773
+ unknownFutureValue: 99,
1769
1774
  }
1770
1775
 
1771
1776
  enum appManagementRestrictionState {
1772
- enabled,
1773
- disabled,
1774
- unknownFutureValue,
1777
+ enabled: 1,
1778
+ disabled: 2,
1779
+ unknownFutureValue: 3,
1775
1780
  }
1776
1781
 
1777
1782
  enum authenticationProtocol {
1778
- wsFed,
1779
- saml,
1780
- unknownFutureValue,
1783
+ wsFed: 0,
1784
+ saml: 1,
1785
+ unknownFutureValue: 2,
1781
1786
  }
1782
1787
 
1783
1788
  enum b2bIdentityProvidersType {
1784
- azureActiveDirectory,
1785
- externalFederation,
1786
- socialIdentityProviders,
1787
- emailOneTimePasscode,
1788
- microsoftAccount,
1789
- defaultConfiguredIdp,
1790
- unknownFutureValue,
1789
+ azureActiveDirectory: 1,
1790
+ externalFederation: 2,
1791
+ socialIdentityProviders: 3,
1792
+ emailOneTimePasscode: 4,
1793
+ microsoftAccount: 5,
1794
+ defaultConfiguredIdp: 6,
1795
+ unknownFutureValue: 7,
1791
1796
  }
1792
1797
 
1793
1798
  enum certificateAuthorityType {
1794
- root,
1795
- intermediate,
1796
- unknownFutureValue,
1799
+ root: 0,
1800
+ intermediate: 1,
1801
+ unknownFutureValue: 2,
1797
1802
  }
1798
1803
 
1799
1804
  enum crossTenantAccessPolicyTargetConfigurationAccessType {
1800
- allowed,
1801
- blocked,
1802
- unknownFutureValue,
1805
+ allowed: 1,
1806
+ blocked: 2,
1807
+ unknownFutureValue: 3,
1803
1808
  }
1804
1809
 
1805
1810
  enum crossTenantAccessPolicyTargetType {
1806
- user,
1807
- group,
1808
- application,
1809
- unknownFutureValue,
1811
+ user: 1,
1812
+ group: 2,
1813
+ application: 3,
1814
+ unknownFutureValue: 4,
1810
1815
  }
1811
1816
 
1812
1817
  enum customSecurityAttributeComparisonOperator {
1813
- equals,
1814
- unknownFutureValue,
1818
+ equals: 1,
1819
+ unknownFutureValue: 2,
1815
1820
  }
1816
1821
 
1817
1822
  enum federatedIdpMfaBehavior {
1818
- acceptIfMfaDoneByFederatedIdp,
1819
- enforceMfaByFederatedIdp,
1820
- rejectMfaByFederatedIdp,
1821
- unknownFutureValue,
1823
+ acceptIfMfaDoneByFederatedIdp: 0,
1824
+ enforceMfaByFederatedIdp: 1,
1825
+ rejectMfaByFederatedIdp: 2,
1826
+ unknownFutureValue: 3,
1822
1827
  }
1823
1828
 
1824
1829
  enum kind {
1825
- unrestricted,
1826
- allowedTenants,
1827
- unknownFutureValue,
1830
+ unrestricted: 0,
1831
+ allowedTenants: 1,
1832
+ unknownFutureValue: 2,
1828
1833
  }
1829
1834
 
1830
1835
  enum labelKind {
1831
- all,
1832
- enumerated,
1833
- unknownFutureValue,
1836
+ all: 1,
1837
+ enumerated: 2,
1838
+ unknownFutureValue: 3,
1834
1839
  }
1835
1840
 
1836
1841
  enum layoutTemplateType {
1837
- default,
1838
- verticalSplit,
1839
- unknownFutureValue,
1842
+ default: 0,
1843
+ verticalSplit: 1,
1844
+ unknownFutureValue: 10,
1840
1845
  }
1841
1846
 
1842
1847
  enum onPremisesDirectorySynchronizationDeletionPreventionType {
1843
- disabled,
1844
- enabledForCount,
1845
- enabledForPercentage,
1846
- unknownFutureValue,
1848
+ disabled: 0,
1849
+ enabledForCount: 1,
1850
+ enabledForPercentage: 2,
1851
+ unknownFutureValue: 3,
1847
1852
  }
1848
1853
 
1849
1854
  enum partnerTenantType {
1850
- microsoftSupport,
1851
- syndicatePartner,
1852
- breadthPartner,
1853
- breadthPartnerDelegatedAdmin,
1854
- resellerPartnerDelegatedAdmin,
1855
- valueAddedResellerPartnerDelegatedAdmin,
1856
- unknownFutureValue,
1855
+ microsoftSupport: 1,
1856
+ syndicatePartner: 2,
1857
+ breadthPartner: 3,
1858
+ breadthPartnerDelegatedAdmin: 4,
1859
+ resellerPartnerDelegatedAdmin: 5,
1860
+ valueAddedResellerPartnerDelegatedAdmin: 6,
1861
+ unknownFutureValue: 7,
1857
1862
  }
1858
1863
 
1859
1864
  enum permissionClassificationType {
1860
- low,
1861
- medium,
1862
- high,
1863
- unknownFutureValue,
1865
+ low: 1,
1866
+ medium: 2,
1867
+ high: 3,
1868
+ unknownFutureValue: 4,
1864
1869
  }
1865
1870
 
1866
1871
  enum permissionKind {
1867
- all,
1868
- enumerated,
1869
- allPermissionsOnResourceApp,
1870
- unknownFutureValue,
1872
+ all: 1,
1873
+ enumerated: 2,
1874
+ allPermissionsOnResourceApp: 3,
1875
+ unknownFutureValue: 4,
1871
1876
  }
1872
1877
 
1873
1878
  #suppress "@microsoft/typespec-msgraph/use-evolvable-enum" "Matches shipped CSDL."
1874
1879
  enum permissionType {
1875
- application,
1876
- delegated,
1877
- delegatedUserConsentable,
1880
+ application: 1,
1881
+ delegated: 2,
1882
+ delegatedUserConsentable: 3,
1878
1883
  }
1879
1884
 
1880
1885
  enum perUserMfaState {
1881
- disabled,
1882
- enforced,
1883
- enabled,
1884
- unknownFutureValue,
1886
+ disabled: 0,
1887
+ enforced: 1,
1888
+ enabled: 2,
1889
+ unknownFutureValue: 3,
1885
1890
  }
1886
1891
 
1887
1892
  #suppress "@microsoft/typespec-msgraph/use-evolvable-enum" "Matches shipped CSDL."
1888
1893
  enum phoneType {
1889
- home,
1890
- business,
1891
- mobile,
1892
- other,
1893
- assistant,
1894
- homeFax,
1895
- businessFax,
1896
- otherFax,
1897
- pager,
1898
- radio,
1894
+ home: 0,
1895
+ business: 1,
1896
+ mobile: 2,
1897
+ other: 3,
1898
+ assistant: 4,
1899
+ homeFax: 5,
1900
+ businessFax: 6,
1901
+ otherFax: 7,
1902
+ pager: 8,
1903
+ radio: 9,
1899
1904
  }
1900
1905
 
1901
1906
  enum promptLoginBehavior {
1902
- translateToFreshPasswordAuthentication,
1903
- nativeSupport,
1904
- disabled,
1905
- unknownFutureValue,
1907
+ translateToFreshPasswordAuthentication: 0,
1908
+ nativeSupport: 1,
1909
+ disabled: 2,
1910
+ unknownFutureValue: 3,
1906
1911
  }
1907
1912
 
1908
1913
  enum resourceScopeType {
1909
- group,
1910
- chat,
1911
- tenant,
1912
- unknownFutureValue,
1913
- team,
1914
+ group: 1,
1915
+ chat: 2,
1916
+ tenant: 3,
1917
+ unknownFutureValue: 4,
1918
+ team: 5,
1914
1919
  }
1915
1920
 
1916
1921
  enum rootDomains {
1917
- none,
1918
- all,
1919
- allFederated,
1920
- allManaged,
1921
- enumerated,
1922
- allManagedAndEnumeratedFederated,
1923
- unknownFutureValue,
1922
+ none: 0,
1923
+ all: 1,
1924
+ allFederated: 2,
1925
+ allManaged: 3,
1926
+ enumerated: 4,
1927
+ allManagedAndEnumeratedFederated: 5,
1928
+ unknownFutureValue: 6,
1924
1929
  }
1925
1930
 
1926
1931
  enum scopeCollectionKind {
1927
- allAllowed,
1928
- enumerated,
1929
- none,
1930
- scopeKindNotSet,
1931
- unknownFutureValue,
1932
+ allAllowed: 0,
1933
+ enumerated: 1,
1934
+ none: 2,
1935
+ scopeKindNotSet: 3,
1936
+ unknownFutureValue: 4,
1932
1937
  }
1933
1938
 
1934
1939
  @graphFlags
1935
1940
  enum weakAlgorithms {
1936
- rsaSha1,
1937
- unknownFutureValue,
1941
+ rsaSha1: 1,
1942
+ unknownFutureValue: 2,
1938
1943
  }
1939
1944
 
1940
1945
  }
@@ -800,7 +800,7 @@ namespace reference.`microsoft.graph` {
800
800
  }
801
801
 
802
802
  @abstract
803
- @entity model entity extends MsGraph.SharedModels.entity {
803
+ @entity model entity {
804
804
  @computed @key id: string;
805
805
  }
806
806
 
@@ -1322,129 +1322,130 @@ namespace reference.`microsoft.graph` {
1322
1322
  @references ownedObjects: directoryObject[];
1323
1323
  @references registeredDevices: directoryObject[];
1324
1324
  @contains scopedRoleMemberOf: scopedRoleMembership[];
1325
+ @references sponsors: directoryObject[];
1325
1326
  @references transitiveMemberOf: directoryObject[];
1326
1327
  }
1327
1328
 
1328
1329
  enum allowInvitesFrom {
1329
- none,
1330
- adminsAndGuestInviters,
1331
- adminsGuestInvitersAndAllMembers,
1332
- everyone,
1333
- unknownFutureValue,
1330
+ none: 0,
1331
+ adminsAndGuestInviters: 1,
1332
+ adminsGuestInvitersAndAllMembers: 2,
1333
+ everyone: 3,
1334
+ unknownFutureValue: 4,
1334
1335
  }
1335
1336
 
1336
1337
  enum appCredentialRestrictionType {
1337
- passwordAddition,
1338
- passwordLifetime,
1339
- symmetricKeyAddition,
1340
- symmetricKeyLifetime,
1341
- customPasswordAddition,
1342
- unknownFutureValue,
1338
+ passwordAddition: 0,
1339
+ passwordLifetime: 1,
1340
+ symmetricKeyAddition: 2,
1341
+ symmetricKeyLifetime: 3,
1342
+ customPasswordAddition: 4,
1343
+ unknownFutureValue: 99,
1343
1344
  }
1344
1345
 
1345
1346
  enum appKeyCredentialRestrictionType {
1346
- asymmetricKeyLifetime,
1347
- unknownFutureValue,
1347
+ asymmetricKeyLifetime: 0,
1348
+ unknownFutureValue: 99,
1348
1349
  }
1349
1350
 
1350
1351
  enum authenticationProtocol {
1351
- wsFed,
1352
- saml,
1353
- unknownFutureValue,
1352
+ wsFed: 0,
1353
+ saml: 1,
1354
+ unknownFutureValue: 2,
1354
1355
  }
1355
1356
 
1356
1357
  enum b2bIdentityProvidersType {
1357
- azureActiveDirectory,
1358
- externalFederation,
1359
- socialIdentityProviders,
1360
- emailOneTimePasscode,
1361
- microsoftAccount,
1362
- defaultConfiguredIdp,
1363
- unknownFutureValue,
1358
+ azureActiveDirectory: 1,
1359
+ externalFederation: 2,
1360
+ socialIdentityProviders: 3,
1361
+ emailOneTimePasscode: 4,
1362
+ microsoftAccount: 5,
1363
+ defaultConfiguredIdp: 6,
1364
+ unknownFutureValue: 7,
1364
1365
  }
1365
1366
 
1366
1367
  enum crossTenantAccessPolicyTargetConfigurationAccessType {
1367
- allowed,
1368
- blocked,
1369
- unknownFutureValue,
1368
+ allowed: 1,
1369
+ blocked: 2,
1370
+ unknownFutureValue: 3,
1370
1371
  }
1371
1372
 
1372
1373
  enum crossTenantAccessPolicyTargetType {
1373
- user,
1374
- group,
1375
- application,
1376
- unknownFutureValue,
1374
+ user: 1,
1375
+ group: 2,
1376
+ application: 3,
1377
+ unknownFutureValue: 4,
1377
1378
  }
1378
1379
 
1379
1380
  enum federatedIdpMfaBehavior {
1380
- acceptIfMfaDoneByFederatedIdp,
1381
- enforceMfaByFederatedIdp,
1382
- rejectMfaByFederatedIdp,
1383
- unknownFutureValue,
1381
+ acceptIfMfaDoneByFederatedIdp: 0,
1382
+ enforceMfaByFederatedIdp: 1,
1383
+ rejectMfaByFederatedIdp: 2,
1384
+ unknownFutureValue: 3,
1384
1385
  }
1385
1386
 
1386
1387
  enum layoutTemplateType {
1387
- default,
1388
- verticalSplit,
1389
- unknownFutureValue,
1388
+ default: 0,
1389
+ verticalSplit: 1,
1390
+ unknownFutureValue: 10,
1390
1391
  }
1391
1392
 
1392
1393
  enum onPremisesDirectorySynchronizationDeletionPreventionType {
1393
- disabled,
1394
- enabledForCount,
1395
- enabledForPercentage,
1396
- unknownFutureValue,
1394
+ disabled: 0,
1395
+ enabledForCount: 1,
1396
+ enabledForPercentage: 2,
1397
+ unknownFutureValue: 3,
1397
1398
  }
1398
1399
 
1399
1400
  enum partnerTenantType {
1400
- microsoftSupport,
1401
- syndicatePartner,
1402
- breadthPartner,
1403
- breadthPartnerDelegatedAdmin,
1404
- resellerPartnerDelegatedAdmin,
1405
- valueAddedResellerPartnerDelegatedAdmin,
1406
- unknownFutureValue,
1401
+ microsoftSupport: 1,
1402
+ syndicatePartner: 2,
1403
+ breadthPartner: 3,
1404
+ breadthPartnerDelegatedAdmin: 4,
1405
+ resellerPartnerDelegatedAdmin: 5,
1406
+ valueAddedResellerPartnerDelegatedAdmin: 6,
1407
+ unknownFutureValue: 7,
1407
1408
  }
1408
1409
 
1409
1410
  enum permissionClassificationType {
1410
- low,
1411
- medium,
1412
- high,
1413
- unknownFutureValue,
1411
+ low: 1,
1412
+ medium: 2,
1413
+ high: 3,
1414
+ unknownFutureValue: 4,
1414
1415
  }
1415
1416
 
1416
1417
  #suppress "@microsoft/typespec-msgraph/use-evolvable-enum" "Matches shipped CSDL."
1417
1418
  enum permissionType {
1418
- delegatedUserConsentable,
1419
- delegated,
1420
- application,
1419
+ delegatedUserConsentable: 1,
1420
+ delegated: 2,
1421
+ application: 3,
1421
1422
  }
1422
1423
 
1423
1424
  #suppress "@microsoft/typespec-msgraph/use-evolvable-enum" "Matches shipped CSDL."
1424
1425
  enum phoneType {
1425
- home,
1426
- business,
1427
- mobile,
1428
- other,
1429
- assistant,
1430
- homeFax,
1431
- businessFax,
1432
- otherFax,
1433
- pager,
1434
- radio,
1426
+ home: 0,
1427
+ business: 1,
1428
+ mobile: 2,
1429
+ other: 3,
1430
+ assistant: 4,
1431
+ homeFax: 5,
1432
+ businessFax: 6,
1433
+ otherFax: 7,
1434
+ pager: 8,
1435
+ radio: 9,
1435
1436
  }
1436
1437
 
1437
1438
  enum promptLoginBehavior {
1438
- translateToFreshPasswordAuthentication,
1439
- nativeSupport,
1440
- disabled,
1441
- unknownFutureValue,
1439
+ translateToFreshPasswordAuthentication: 0,
1440
+ nativeSupport: 1,
1441
+ disabled: 2,
1442
+ unknownFutureValue: 3,
1442
1443
  }
1443
1444
 
1444
1445
  @graphFlags
1445
1446
  enum weakAlgorithms {
1446
- rsaSha1,
1447
- unknownFutureValue,
1447
+ rsaSha1: 1,
1448
+ unknownFutureValue: 2,
1448
1449
  }
1449
1450
 
1450
1451
  }