@microsoft/msgraph-sdk-domains 1.0.0-preview.10

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.
Files changed (65) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +11 -0
  3. package/domains/count/index.d.ts +40 -0
  4. package/domains/count/index.d.ts.map +1 -0
  5. package/domains/count/index.js +35 -0
  6. package/domains/index.d.ts +97 -0
  7. package/domains/index.d.ts.map +1 -0
  8. package/domains/index.js +71 -0
  9. package/domains/item/domainNameReferences/count/index.d.ts +40 -0
  10. package/domains/item/domainNameReferences/count/index.d.ts.map +1 -0
  11. package/domains/item/domainNameReferences/count/index.js +35 -0
  12. package/domains/item/domainNameReferences/index.d.ts +82 -0
  13. package/domains/item/domainNameReferences/index.d.ts.map +1 -0
  14. package/domains/item/domainNameReferences/index.js +58 -0
  15. package/domains/item/domainNameReferences/item/index.d.ts +41 -0
  16. package/domains/item/domainNameReferences/item/index.d.ts.map +1 -0
  17. package/domains/item/domainNameReferences/item/index.js +36 -0
  18. package/domains/item/federationConfiguration/count/index.d.ts +40 -0
  19. package/domains/item/federationConfiguration/count/index.d.ts.map +1 -0
  20. package/domains/item/federationConfiguration/count/index.js +35 -0
  21. package/domains/item/federationConfiguration/index.d.ts +97 -0
  22. package/domains/item/federationConfiguration/index.d.ts.map +1 -0
  23. package/domains/item/federationConfiguration/index.js +70 -0
  24. package/domains/item/federationConfiguration/item/index.d.ts +69 -0
  25. package/domains/item/federationConfiguration/item/index.d.ts.map +1 -0
  26. package/domains/item/federationConfiguration/item/index.js +56 -0
  27. package/domains/item/forceDelete/index.d.ts +59 -0
  28. package/domains/item/forceDelete/index.d.ts.map +1 -0
  29. package/domains/item/forceDelete/index.js +58 -0
  30. package/domains/item/index.d.ts +108 -0
  31. package/domains/item/index.d.ts.map +1 -0
  32. package/domains/item/index.js +100 -0
  33. package/domains/item/promote/index.d.ts +58 -0
  34. package/domains/item/promote/index.d.ts.map +1 -0
  35. package/domains/item/promote/index.js +56 -0
  36. package/domains/item/serviceConfigurationRecords/count/index.d.ts +40 -0
  37. package/domains/item/serviceConfigurationRecords/count/index.d.ts.map +1 -0
  38. package/domains/item/serviceConfigurationRecords/count/index.js +35 -0
  39. package/domains/item/serviceConfigurationRecords/index.d.ts +96 -0
  40. package/domains/item/serviceConfigurationRecords/index.d.ts.map +1 -0
  41. package/domains/item/serviceConfigurationRecords/index.js +70 -0
  42. package/domains/item/serviceConfigurationRecords/item/index.d.ts +66 -0
  43. package/domains/item/serviceConfigurationRecords/item/index.d.ts.map +1 -0
  44. package/domains/item/serviceConfigurationRecords/item/index.js +56 -0
  45. package/domains/item/verificationDnsRecords/count/index.d.ts +40 -0
  46. package/domains/item/verificationDnsRecords/count/index.d.ts.map +1 -0
  47. package/domains/item/verificationDnsRecords/count/index.js +35 -0
  48. package/domains/item/verificationDnsRecords/index.d.ts +96 -0
  49. package/domains/item/verificationDnsRecords/index.d.ts.map +1 -0
  50. package/domains/item/verificationDnsRecords/index.js +70 -0
  51. package/domains/item/verificationDnsRecords/item/index.d.ts +66 -0
  52. package/domains/item/verificationDnsRecords/item/index.d.ts.map +1 -0
  53. package/domains/item/verificationDnsRecords/item/index.js +56 -0
  54. package/domains/item/verify/index.d.ts +29 -0
  55. package/domains/item/verify/index.d.ts.map +1 -0
  56. package/domains/item/verify/index.js +28 -0
  57. package/domainsServiceClient.d.ts +25 -0
  58. package/domainsServiceClient.d.ts.map +1 -0
  59. package/domainsServiceClient.js +49 -0
  60. package/index.d.ts +11 -0
  61. package/index.d.ts.map +1 -0
  62. package/index.js +20 -0
  63. package/package.json +48 -0
  64. package/tsconfig.json +15 -0
  65. package/tsconfig.tsbuildinfo +1 -0
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
8
+ /**
9
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
10
+ */
11
+ const CountRequestBuilderGetQueryParametersMapper = {
12
+ "filter": "%24filter",
13
+ "search": "%24search",
14
+ };
15
+ /**
16
+ * Metadata for all the requests in the request builder.
17
+ */
18
+ exports.CountRequestBuilderRequestsMetadata = {
19
+ get: {
20
+ responseBodyContentType: "text/plain;q=0.9",
21
+ errorMappings: {
22
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
23
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
+ },
25
+ adapterMethodName: "sendPrimitiveAsync",
26
+ responseBodyFactory: "number",
27
+ queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
28
+ },
29
+ };
30
+ /**
31
+ * Uri template for the request builder.
32
+ */
33
+ exports.CountRequestBuilderUriTemplate = "{+baseurl}/domains/{domain%2Did}/verificationDnsRecords/$count{?%24search,%24filter}";
34
+ /* tslint:enable */
35
+ /* eslint-enable */
@@ -0,0 +1,96 @@
1
+ import { type DomainDnsRecord, type DomainDnsRecordCollectionResponse } from '@microsoft/msgraph-sdk/models/';
2
+ import { type CountRequestBuilder } from './count/';
3
+ import { type DomainDnsRecordItemRequestBuilder } from './item/';
4
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
5
+ /**
6
+ * Provides operations to manage the verificationDnsRecords property of the microsoft.graph.domain entity.
7
+ */
8
+ export interface VerificationDnsRecordsRequestBuilder extends BaseRequestBuilder<VerificationDnsRecordsRequestBuilder> {
9
+ /**
10
+ * Provides operations to count the resources in the collection.
11
+ */
12
+ get count(): CountRequestBuilder;
13
+ /**
14
+ * Provides operations to manage the verificationDnsRecords property of the microsoft.graph.domain entity.
15
+ * @param domainDnsRecordId The unique identifier of domainDnsRecord
16
+ * @returns a DomainDnsRecordItemRequestBuilder
17
+ */
18
+ byDomainDnsRecordId(domainDnsRecordId: string): DomainDnsRecordItemRequestBuilder;
19
+ /**
20
+ * Retrieve a list of domainDnsRecord objects. You cannot use an associated domain with your Microsoft Entra tenant until ownership is verified. To verify the ownership of the domain, retrieve the domain verification records and add the details to the zone file of the domain. This can be done through the domain registrar or DNS server configuration. Root domains require verification. For example, contoso.com requires verification. If a root domain is verified, subdomains of the root domain are automatically verified. For example, subdomain.contoso.com is automatically be verified if contoso.com has been verified.
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns a Promise of DomainDnsRecordCollectionResponse
23
+ * @see {@link https://learn.microsoft.com/graph/api/domain-list-verificationdnsrecords?view=graph-rest-1.0|Find more info here}
24
+ */
25
+ get(requestConfiguration?: RequestConfiguration<VerificationDnsRecordsRequestBuilderGetQueryParameters> | undefined): Promise<DomainDnsRecordCollectionResponse | undefined>;
26
+ /**
27
+ * Create new navigation property to verificationDnsRecords for domains
28
+ * @param body The request body
29
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
+ * @returns a Promise of DomainDnsRecord
31
+ */
32
+ post(body: DomainDnsRecord, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DomainDnsRecord | undefined>;
33
+ /**
34
+ * Retrieve a list of domainDnsRecord objects. You cannot use an associated domain with your Microsoft Entra tenant until ownership is verified. To verify the ownership of the domain, retrieve the domain verification records and add the details to the zone file of the domain. This can be done through the domain registrar or DNS server configuration. Root domains require verification. For example, contoso.com requires verification. If a root domain is verified, subdomains of the root domain are automatically verified. For example, subdomain.contoso.com is automatically be verified if contoso.com has been verified.
35
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
36
+ * @returns a RequestInformation
37
+ */
38
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<VerificationDnsRecordsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
39
+ /**
40
+ * Create new navigation property to verificationDnsRecords for domains
41
+ * @param body The request body
42
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
43
+ * @returns a RequestInformation
44
+ */
45
+ toPostRequestInformation(body: DomainDnsRecord, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
46
+ }
47
+ /**
48
+ * Retrieve a list of domainDnsRecord objects. You cannot use an associated domain with your Microsoft Entra tenant until ownership is verified. To verify the ownership of the domain, retrieve the domain verification records and add the details to the zone file of the domain. This can be done through the domain registrar or DNS server configuration. Root domains require verification. For example, contoso.com requires verification. If a root domain is verified, subdomains of the root domain are automatically verified. For example, subdomain.contoso.com is automatically be verified if contoso.com has been verified.
49
+ */
50
+ export interface VerificationDnsRecordsRequestBuilderGetQueryParameters {
51
+ /**
52
+ * Include count of items
53
+ */
54
+ count?: boolean;
55
+ /**
56
+ * Expand related entities
57
+ */
58
+ expand?: string[];
59
+ /**
60
+ * Filter items by property values
61
+ */
62
+ filter?: string;
63
+ /**
64
+ * Order items by property values
65
+ */
66
+ orderby?: string[];
67
+ /**
68
+ * Search items by search phrases
69
+ */
70
+ search?: string;
71
+ /**
72
+ * Select properties to be returned
73
+ */
74
+ select?: string[];
75
+ /**
76
+ * Skip the first n items
77
+ */
78
+ skip?: number;
79
+ /**
80
+ * Show only the first n items
81
+ */
82
+ top?: number;
83
+ }
84
+ /**
85
+ * Metadata for all the navigation properties in the request builder.
86
+ */
87
+ export declare const VerificationDnsRecordsRequestBuilderNavigationMetadata: Record<Exclude<keyof VerificationDnsRecordsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
88
+ /**
89
+ * Metadata for all the requests in the request builder.
90
+ */
91
+ export declare const VerificationDnsRecordsRequestBuilderRequestsMetadata: RequestsMetadata;
92
+ /**
93
+ * Uri template for the request builder.
94
+ */
95
+ export declare const VerificationDnsRecordsRequestBuilderUriTemplate = "{+baseurl}/domains/{domain%2Did}/verificationDnsRecords{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
96
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAwI,KAAK,eAAe,EAAE,KAAK,iCAAiC,EAAE,MAAM,gCAAgC,CAAC;AAEpP,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAmG,KAAK,iCAAiC,EAAE,MAAM,SAAS,CAAC;AAClK,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,oCAAqC,SAAQ,kBAAkB,CAAC,oCAAoC,CAAC;IAClH;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,mBAAmB,CAAC,iBAAiB,EAAE,MAAM,GAAI,iCAAiC,CAAC;IACpF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,sDAAsD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,iCAAiC,GAAG,SAAS,CAAC,CAAC;IAC/K;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,eAAe,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC,CAAC;IACrI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,sDAAsD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC/J;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,eAAe,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC1I;AACD;;GAEG;AACH,MAAM,WAAW,sDAAsD;IACnE;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AAcD;;GAEG;AACH,eAAO,MAAM,sDAAsD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,oCAAoC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAUtL,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,oDAAoD,EAAE,gBAuBlE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,+CAA+C,yIAAyI,CAAC"}
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.VerificationDnsRecordsRequestBuilderUriTemplate = exports.VerificationDnsRecordsRequestBuilderRequestsMetadata = exports.VerificationDnsRecordsRequestBuilderNavigationMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ const count_1 = require("./count/");
10
+ const item_1 = require("./item/");
11
+ /**
12
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
13
+ */
14
+ const VerificationDnsRecordsRequestBuilderGetQueryParametersMapper = {
15
+ "count": "%24count",
16
+ "expand": "%24expand",
17
+ "filter": "%24filter",
18
+ "orderby": "%24orderby",
19
+ "search": "%24search",
20
+ "select": "%24select",
21
+ "skip": "%24skip",
22
+ "top": "%24top",
23
+ };
24
+ /**
25
+ * Metadata for all the navigation properties in the request builder.
26
+ */
27
+ exports.VerificationDnsRecordsRequestBuilderNavigationMetadata = {
28
+ byDomainDnsRecordId: {
29
+ uriTemplate: item_1.DomainDnsRecordItemRequestBuilderUriTemplate,
30
+ requestsMetadata: item_1.DomainDnsRecordItemRequestBuilderRequestsMetadata,
31
+ pathParametersMappings: ["domainDnsRecord%2Did"],
32
+ },
33
+ count: {
34
+ uriTemplate: count_1.CountRequestBuilderUriTemplate,
35
+ requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
36
+ },
37
+ };
38
+ /**
39
+ * Metadata for all the requests in the request builder.
40
+ */
41
+ exports.VerificationDnsRecordsRequestBuilderRequestsMetadata = {
42
+ get: {
43
+ responseBodyContentType: "application/json",
44
+ errorMappings: {
45
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
46
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
+ },
48
+ adapterMethodName: "sendAsync",
49
+ responseBodyFactory: models_1.createDomainDnsRecordCollectionResponseFromDiscriminatorValue,
50
+ queryParametersMapper: VerificationDnsRecordsRequestBuilderGetQueryParametersMapper,
51
+ },
52
+ post: {
53
+ responseBodyContentType: "application/json",
54
+ errorMappings: {
55
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
56
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
57
+ },
58
+ adapterMethodName: "sendAsync",
59
+ responseBodyFactory: models_1.createDomainDnsRecordFromDiscriminatorValue,
60
+ requestBodyContentType: "application/json",
61
+ requestBodySerializer: models_1.serializeDomainDnsRecord,
62
+ requestInformationContentSetMethod: "setContentFromParsable",
63
+ },
64
+ };
65
+ /**
66
+ * Uri template for the request builder.
67
+ */
68
+ exports.VerificationDnsRecordsRequestBuilderUriTemplate = "{+baseurl}/domains/{domain%2Did}/verificationDnsRecords{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
69
+ /* tslint:enable */
70
+ /* eslint-enable */
@@ -0,0 +1,66 @@
1
+ import { type DomainDnsRecord } from '@microsoft/msgraph-sdk/models/';
2
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Provides operations to manage the verificationDnsRecords property of the microsoft.graph.domain entity.
5
+ */
6
+ export interface DomainDnsRecordItemRequestBuilder extends BaseRequestBuilder<DomainDnsRecordItemRequestBuilder> {
7
+ /**
8
+ * Delete navigation property verificationDnsRecords for domains
9
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ */
11
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
12
+ /**
13
+ * DNS records that the customer adds to the DNS zone file of the domain before the customer can complete domain ownership verification with Microsoft Entra ID. Read-only, Nullable. Supports $expand.
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @returns a Promise of DomainDnsRecord
16
+ */
17
+ get(requestConfiguration?: RequestConfiguration<DomainDnsRecordItemRequestBuilderGetQueryParameters> | undefined): Promise<DomainDnsRecord | undefined>;
18
+ /**
19
+ * Update the navigation property verificationDnsRecords in domains
20
+ * @param body The request body
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns a Promise of DomainDnsRecord
23
+ */
24
+ patch(body: DomainDnsRecord, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DomainDnsRecord | undefined>;
25
+ /**
26
+ * Delete navigation property verificationDnsRecords for domains
27
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
28
+ * @returns a RequestInformation
29
+ */
30
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
31
+ /**
32
+ * DNS records that the customer adds to the DNS zone file of the domain before the customer can complete domain ownership verification with Microsoft Entra ID. Read-only, Nullable. Supports $expand.
33
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
34
+ * @returns a RequestInformation
35
+ */
36
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<DomainDnsRecordItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
37
+ /**
38
+ * Update the navigation property verificationDnsRecords in domains
39
+ * @param body The request body
40
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
41
+ * @returns a RequestInformation
42
+ */
43
+ toPatchRequestInformation(body: DomainDnsRecord, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
44
+ }
45
+ /**
46
+ * DNS records that the customer adds to the DNS zone file of the domain before the customer can complete domain ownership verification with Microsoft Entra ID. Read-only, Nullable. Supports $expand.
47
+ */
48
+ export interface DomainDnsRecordItemRequestBuilderGetQueryParameters {
49
+ /**
50
+ * Expand related entities
51
+ */
52
+ expand?: string[];
53
+ /**
54
+ * Select properties to be returned
55
+ */
56
+ select?: string[];
57
+ }
58
+ /**
59
+ * Metadata for all the requests in the request builder.
60
+ */
61
+ export declare const DomainDnsRecordItemRequestBuilderRequestsMetadata: RequestsMetadata;
62
+ /**
63
+ * Uri template for the request builder.
64
+ */
65
+ export declare const DomainDnsRecordItemRequestBuilderUriTemplate = "{+baseurl}/domains/{domain%2Did}/verificationDnsRecords/{domainDnsRecord%2Did}{?%24select,%24expand}";
66
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAyE,KAAK,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAE7I,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,iCAAkC,SAAQ,kBAAkB,CAAC,iCAAiC,CAAC;IAC5G;;;OAGG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,mDAAmD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC,CAAC;IAC1J;;;;;OAKG;IACF,KAAK,CAAC,IAAI,EAAE,eAAe,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC,CAAC;IACtI;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,mDAAmD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC5J;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,eAAe,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC3I;AACD;;GAEG;AACH,MAAM,WAAW,mDAAmD;IAChE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,iDAAiD,EAAE,gBA+B/D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,4CAA4C,yGAAyG,CAAC"}
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DomainDnsRecordItemRequestBuilderUriTemplate = exports.DomainDnsRecordItemRequestBuilderRequestsMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ /**
10
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
11
+ */
12
+ const DomainDnsRecordItemRequestBuilderGetQueryParametersMapper = {
13
+ "expand": "%24expand",
14
+ "select": "%24select",
15
+ };
16
+ /**
17
+ * Metadata for all the requests in the request builder.
18
+ */
19
+ exports.DomainDnsRecordItemRequestBuilderRequestsMetadata = {
20
+ delete: {
21
+ responseBodyContentType: "application/json",
22
+ errorMappings: {
23
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
25
+ },
26
+ adapterMethodName: "sendNoResponseContentAsync",
27
+ },
28
+ get: {
29
+ responseBodyContentType: "application/json",
30
+ errorMappings: {
31
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
32
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
33
+ },
34
+ adapterMethodName: "sendAsync",
35
+ responseBodyFactory: models_1.createDomainDnsRecordFromDiscriminatorValue,
36
+ queryParametersMapper: DomainDnsRecordItemRequestBuilderGetQueryParametersMapper,
37
+ },
38
+ patch: {
39
+ responseBodyContentType: "application/json",
40
+ errorMappings: {
41
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
42
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
43
+ },
44
+ adapterMethodName: "sendAsync",
45
+ responseBodyFactory: models_1.createDomainDnsRecordFromDiscriminatorValue,
46
+ requestBodyContentType: "application/json",
47
+ requestBodySerializer: models_1.serializeDomainDnsRecord,
48
+ requestInformationContentSetMethod: "setContentFromParsable",
49
+ },
50
+ };
51
+ /**
52
+ * Uri template for the request builder.
53
+ */
54
+ exports.DomainDnsRecordItemRequestBuilderUriTemplate = "{+baseurl}/domains/{domain%2Did}/verificationDnsRecords/{domainDnsRecord%2Did}{?%24select,%24expand}";
55
+ /* tslint:enable */
56
+ /* eslint-enable */
@@ -0,0 +1,29 @@
1
+ import { type Domain } from '@microsoft/msgraph-sdk/models/';
2
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Provides operations to call the verify method.
5
+ */
6
+ export interface VerifyRequestBuilder extends BaseRequestBuilder<VerifyRequestBuilder> {
7
+ /**
8
+ * Validates the ownership of the domain.
9
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ * @returns a Promise of Domain
11
+ * @see {@link https://learn.microsoft.com/graph/api/domain-verify?view=graph-rest-1.0|Find more info here}
12
+ */
13
+ post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Domain | undefined>;
14
+ /**
15
+ * Validates the ownership of the domain.
16
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
17
+ * @returns a RequestInformation
18
+ */
19
+ toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
20
+ }
21
+ /**
22
+ * Metadata for all the requests in the request builder.
23
+ */
24
+ export declare const VerifyRequestBuilderRequestsMetadata: RequestsMetadata;
25
+ /**
26
+ * Uri template for the request builder.
27
+ */
28
+ export declare const VerifyRequestBuilderUriTemplate = "{+baseurl}/domains/{domain%2Did}/verify";
29
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAsC,KAAK,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAEjG,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,kBAAkB,CAAC,oBAAoB,CAAC;IAClF;;;;;OAKG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACrG;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBAUlD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,+BAA+B,4CAA4C,CAAC"}
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.VerifyRequestBuilderUriTemplate = exports.VerifyRequestBuilderRequestsMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ /**
10
+ * Metadata for all the requests in the request builder.
11
+ */
12
+ exports.VerifyRequestBuilderRequestsMetadata = {
13
+ post: {
14
+ responseBodyContentType: "application/json",
15
+ errorMappings: {
16
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
17
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
18
+ },
19
+ adapterMethodName: "sendAsync",
20
+ responseBodyFactory: models_1.createDomainFromDiscriminatorValue,
21
+ },
22
+ };
23
+ /**
24
+ * Uri template for the request builder.
25
+ */
26
+ exports.VerifyRequestBuilderUriTemplate = "{+baseurl}/domains/{domain%2Did}/verify";
27
+ /* tslint:enable */
28
+ /* eslint-enable */
@@ -0,0 +1,25 @@
1
+ import { type DomainsRequestBuilder } from './domains/';
2
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestAdapter } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * The main entry point of the SDK, exposes the configuration and the fluent API.
5
+ */
6
+ export interface DomainsServiceClient extends BaseRequestBuilder<DomainsServiceClient> {
7
+ /**
8
+ * Provides operations to manage the collection of domain entities.
9
+ */
10
+ get domains(): DomainsRequestBuilder;
11
+ }
12
+ /**
13
+ * Instantiates a new DomainsServiceClient and sets the default values.
14
+ * @param requestAdapter The request adapter to use to execute the requests.
15
+ */
16
+ export declare function createDomainsServiceClient(requestAdapter: RequestAdapter): DomainsServiceClient;
17
+ /**
18
+ * Metadata for all the navigation properties in the request builder.
19
+ */
20
+ export declare const DomainsServiceClientNavigationMetadata: Record<Exclude<keyof DomainsServiceClient, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
21
+ /**
22
+ * Uri template for the request builder.
23
+ */
24
+ export declare const DomainsServiceClientUriTemplate = "{+baseurl}";
25
+ //# sourceMappingURL=domainsServiceClient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domainsServiceClient.d.ts","sourceRoot":"","sources":["domainsServiceClient.ts"],"names":[],"mappings":"AAGA,OAAO,EAAoH,KAAK,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAC1K,OAAO,EAA8E,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,KAAK,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAM3O;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,kBAAkB,CAAC,oBAAoB,CAAC;IAClF;;OAEG;IACH,IAAI,OAAO,IAAI,qBAAqB,CAAC;CACxC;AACD;;;GAGG;AACH,wBAAgB,0BAA0B,CAAC,cAAc,EAAE,cAAc,wBAexE;AACD;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,oBAAoB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAMtJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,+BAA+B,eAAe,CAAC"}
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DomainsServiceClientUriTemplate = exports.DomainsServiceClientNavigationMetadata = exports.createDomainsServiceClient = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const domains_1 = require("./domains/");
8
+ const kiota_abstractions_1 = require("@microsoft/kiota-abstractions");
9
+ const kiota_serialization_form_1 = require("@microsoft/kiota-serialization-form");
10
+ const kiota_serialization_json_1 = require("@microsoft/kiota-serialization-json");
11
+ const kiota_serialization_multipart_1 = require("@microsoft/kiota-serialization-multipart");
12
+ const kiota_serialization_text_1 = require("@microsoft/kiota-serialization-text");
13
+ /**
14
+ * Instantiates a new DomainsServiceClient and sets the default values.
15
+ * @param requestAdapter The request adapter to use to execute the requests.
16
+ */
17
+ function createDomainsServiceClient(requestAdapter) {
18
+ (0, kiota_abstractions_1.registerDefaultSerializer)(kiota_serialization_json_1.JsonSerializationWriterFactory);
19
+ (0, kiota_abstractions_1.registerDefaultSerializer)(kiota_serialization_text_1.TextSerializationWriterFactory);
20
+ (0, kiota_abstractions_1.registerDefaultSerializer)(kiota_serialization_form_1.FormSerializationWriterFactory);
21
+ (0, kiota_abstractions_1.registerDefaultSerializer)(kiota_serialization_multipart_1.MultipartSerializationWriterFactory);
22
+ (0, kiota_abstractions_1.registerDefaultDeserializer)(kiota_serialization_json_1.JsonParseNodeFactory);
23
+ (0, kiota_abstractions_1.registerDefaultDeserializer)(kiota_serialization_text_1.TextParseNodeFactory);
24
+ (0, kiota_abstractions_1.registerDefaultDeserializer)(kiota_serialization_form_1.FormParseNodeFactory);
25
+ if (requestAdapter.baseUrl === undefined || requestAdapter.baseUrl === "") {
26
+ requestAdapter.baseUrl = "https://graph.microsoft.com/v1.0";
27
+ }
28
+ const pathParameters = {
29
+ "baseurl": requestAdapter.baseUrl,
30
+ };
31
+ return (0, kiota_abstractions_1.apiClientProxifier)(requestAdapter, pathParameters, exports.DomainsServiceClientUriTemplate, exports.DomainsServiceClientNavigationMetadata, undefined);
32
+ }
33
+ exports.createDomainsServiceClient = createDomainsServiceClient;
34
+ /**
35
+ * Metadata for all the navigation properties in the request builder.
36
+ */
37
+ exports.DomainsServiceClientNavigationMetadata = {
38
+ domains: {
39
+ uriTemplate: domains_1.DomainsRequestBuilderUriTemplate,
40
+ requestsMetadata: domains_1.DomainsRequestBuilderRequestsMetadata,
41
+ navigationMetadata: domains_1.DomainsRequestBuilderNavigationMetadata,
42
+ },
43
+ };
44
+ /**
45
+ * Uri template for the request builder.
46
+ */
47
+ exports.DomainsServiceClientUriTemplate = "{+baseurl}";
48
+ /* tslint:enable */
49
+ /* eslint-enable */
package/index.d.ts ADDED
@@ -0,0 +1,11 @@
1
+ import type { DomainsRequestBuilder } from "./domains";
2
+ declare module "@microsoft/msgraph-sdk" {
3
+ interface GraphServiceClient {
4
+ /**
5
+ * Provides operations to manage the domains singleton.
6
+ */
7
+ get domains(): DomainsRequestBuilder;
8
+ }
9
+ }
10
+ export * from "./domainsServiceClient";
11
+ //# sourceMappingURL=index.d.ts.map
package/index.d.ts.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAGvD,OAAO,QAAQ,wBAAwB,CAAC;IACtC,UAAU,kBAAkB;QAC1B;;WAEG;QACH,IAAI,OAAO,IAAI,qBAAqB,CAAC;KACtC;CACF;AAED,cAAc,wBAAwB,CAAC"}
package/index.js ADDED
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ const msgraph_sdk_1 = require("@microsoft/msgraph-sdk");
18
+ const domainsServiceClient_1 = require("./domainsServiceClient");
19
+ (0, msgraph_sdk_1.extendGraphServiceClient)(domainsServiceClient_1.DomainsServiceClientNavigationMetadata);
20
+ __exportStar(require("./domainsServiceClient"), exports);
package/package.json ADDED
@@ -0,0 +1,48 @@
1
+ {
2
+ "name": "@microsoft/msgraph-sdk-domains",
3
+ "version": "1.0.0-preview.10",
4
+ "description": "Domains fluent API for Microsoft Graph",
5
+ "keywords": [
6
+ "Microsoft",
7
+ "Graph",
8
+ "msgraph",
9
+ "API",
10
+ "SDK",
11
+ "domains"
12
+ ],
13
+ "author": "Microsoft <graphsdkpub+javascript@microsoft.com>",
14
+ "license": "MIT",
15
+ "main": "index.js",
16
+ "publishConfig": {
17
+ "access": "public"
18
+ },
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "git+https://github.com/microsoftgraph/msgraph-sdk-typescript.git"
22
+ },
23
+ "scripts": {
24
+ "build": "tsc -p tsconfig.json",
25
+ "lint": "eslint . --ext .ts",
26
+ "lint:fix": "eslint . --ext .ts --fix",
27
+ "clean": "rimraf -g **/*.d.ts && rimraf -g **/*.d.ts.map && rimraf -g **/*.js.map && rimraf -g **/*.js && rimraf tsconfig.tsbuildinfo"
28
+ },
29
+ "bugs": {
30
+ "url": "https://github.com/microsoftgraph/msgraph-sdk-typescript/issues"
31
+ },
32
+ "homepage": "https://github.com/microsoftgraph/msgraph-sdk-typescript#readme",
33
+ "types": "index.d.ts",
34
+ "dependencies": {
35
+ "@microsoft/kiota-abstractions": "^1.0.0-preview.38",
36
+ "@microsoft/kiota-serialization-form": "^1.0.0-preview.27",
37
+ "@microsoft/kiota-serialization-json": "^1.0.0-preview.38",
38
+ "@microsoft/kiota-serialization-multipart": "^1.0.0-preview.17",
39
+ "@microsoft/kiota-serialization-text": "^1.0.0-preview.35",
40
+ "@microsoft/msgraph-sdk": "^1.0.0-preview.10",
41
+ "guid-typescript": "^1.0.9",
42
+ "tslib": "^2.6.2"
43
+ },
44
+ "devDependencies": {
45
+ "typescript": "^5.3.3"
46
+ },
47
+ "gitHead": "15d9675ebafd32092472a638aa8d5d9276e283b1"
48
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,15 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/tsconfig",
3
+ "extends": "../tsconfig.base.json",
4
+ "compilerOptions": {
5
+ "resolveJsonModule": true,
6
+ "esModuleInterop": true,
7
+ "baseUrl": "./",
8
+ "paths": {
9
+ "@microsoft/msgraph-sdk": ["../msgraph-sdk"]
10
+ }
11
+ },
12
+ "include": ["**/*.ts"],
13
+ "exclude": ["node_modules", "**/__tests__/*", "**/__e2e__/*"],
14
+ "references": [{ "path": "../msgraph-sdk" }]
15
+ }