@victoria-company/agora-client 1.0.202503101126 → 1.0.202503101537

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.
@@ -0,0 +1,21 @@
1
+ import { type WithGdprDelegateConnectionItemRequestBuilder } from './item/index.js';
2
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Builds and executes requests for operations under /api/public/gdpr/delegate_connection
5
+ */
6
+ export interface Delegate_connectionRequestBuilder extends BaseRequestBuilder<Delegate_connectionRequestBuilder> {
7
+ /**
8
+ * Gets an item from the VC.api.public.gdpr.delegate_connection.item collection
9
+ * @param gdprDelegateConnectionId Unique identifier of the item
10
+ * @returns {WithGdprDelegateConnectionItemRequestBuilder}
11
+ */
12
+ byGdprDelegateConnectionId(gdprDelegateConnectionId: string): WithGdprDelegateConnectionItemRequestBuilder;
13
+ }
14
+ /**
15
+ * Uri template for the request builder.
16
+ */
17
+ export declare const Delegate_connectionRequestBuilderUriTemplate = "{+baseurl}/api/public/gdpr/delegate_connection";
18
+ /**
19
+ * Metadata for all the navigation properties in the request builder.
20
+ */
21
+ export declare const Delegate_connectionRequestBuilderNavigationMetadata: Record<Exclude<keyof Delegate_connectionRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Delegate_connectionRequestBuilderNavigationMetadata = exports.Delegate_connectionRequestBuilderUriTemplate = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ // @ts-ignore
8
+ const index_js_1 = require("./item/index.js");
9
+ /**
10
+ * Uri template for the request builder.
11
+ */
12
+ exports.Delegate_connectionRequestBuilderUriTemplate = "{+baseurl}/api/public/gdpr/delegate_connection";
13
+ /**
14
+ * Metadata for all the navigation properties in the request builder.
15
+ */
16
+ exports.Delegate_connectionRequestBuilderNavigationMetadata = {
17
+ byGdprDelegateConnectionId: {
18
+ requestsMetadata: index_js_1.WithGdprDelegateConnectionItemRequestBuilderRequestsMetadata,
19
+ pathParametersMappings: ["gdprDelegateConnectionId"],
20
+ },
21
+ };
22
+ /* tslint:enable */
23
+ /* eslint-enable */
@@ -0,0 +1,26 @@
1
+ import { type GdprResponse } from '../../../../../models/index.js';
2
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Builds and executes requests for operations under /api/public/gdpr/delegate_connection/{gdprDelegateConnectionId}
5
+ */
6
+ export interface WithGdprDelegateConnectionItemRequestBuilder extends BaseRequestBuilder<WithGdprDelegateConnectionItemRequestBuilder> {
7
+ /**
8
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
+ * @returns {Promise<GdprResponse>}
10
+ * @throws {DomainExceptionResponse} error when the service returns a 422 status code
11
+ */
12
+ get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<GdprResponse | undefined>;
13
+ /**
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @returns {RequestInformation}
16
+ */
17
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
18
+ }
19
+ /**
20
+ * Uri template for the request builder.
21
+ */
22
+ export declare const WithGdprDelegateConnectionItemRequestBuilderUriTemplate = "{+baseurl}/api/public/gdpr/delegate_connection/{gdprDelegateConnectionId}";
23
+ /**
24
+ * Metadata for all the requests in the request builder.
25
+ */
26
+ export declare const WithGdprDelegateConnectionItemRequestBuilderRequestsMetadata: RequestsMetadata;
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WithGdprDelegateConnectionItemRequestBuilderRequestsMetadata = exports.WithGdprDelegateConnectionItemRequestBuilderUriTemplate = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ // @ts-ignore
8
+ const index_js_1 = require("../../../../../models/index.js");
9
+ /**
10
+ * Uri template for the request builder.
11
+ */
12
+ exports.WithGdprDelegateConnectionItemRequestBuilderUriTemplate = "{+baseurl}/api/public/gdpr/delegate_connection/{gdprDelegateConnectionId}";
13
+ /**
14
+ * Metadata for all the requests in the request builder.
15
+ */
16
+ exports.WithGdprDelegateConnectionItemRequestBuilderRequestsMetadata = {
17
+ get: {
18
+ uriTemplate: exports.WithGdprDelegateConnectionItemRequestBuilderUriTemplate,
19
+ responseBodyContentType: "application/json",
20
+ errorMappings: {
21
+ 422: index_js_1.createDomainExceptionResponseFromDiscriminatorValue,
22
+ },
23
+ adapterMethodName: "send",
24
+ responseBodyFactory: index_js_1.createGdprResponseFromDiscriminatorValue,
25
+ },
26
+ };
27
+ /* tslint:enable */
28
+ /* eslint-enable */
@@ -1,9 +1,14 @@
1
+ import { type Delegate_connectionRequestBuilder } from './delegate_connection/index.js';
1
2
  import { type WithGdprItemRequestBuilder } from './item/index.js';
2
3
  import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
3
4
  /**
4
5
  * Builds and executes requests for operations under /api/public/gdpr
5
6
  */
6
7
  export interface GdprRequestBuilder extends BaseRequestBuilder<GdprRequestBuilder> {
8
+ /**
9
+ * The delegate_connection property
10
+ */
11
+ get delegate_connection(): Delegate_connectionRequestBuilder;
7
12
  /**
8
13
  * Gets an item from the VC.api.public.gdpr.item collection
9
14
  * @param gdprId Unique identifier of the item
@@ -5,7 +5,9 @@ exports.GdprRequestBuilderNavigationMetadata = exports.GdprRequestBuilderUriTemp
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
7
7
  // @ts-ignore
8
- const index_js_1 = require("./item/index.js");
8
+ const index_js_1 = require("./delegate_connection/index.js");
9
+ // @ts-ignore
10
+ const index_js_2 = require("./item/index.js");
9
11
  /**
10
12
  * Uri template for the request builder.
11
13
  */
@@ -15,10 +17,13 @@ exports.GdprRequestBuilderUriTemplate = "{+baseurl}/api/public/gdpr";
15
17
  */
16
18
  exports.GdprRequestBuilderNavigationMetadata = {
17
19
  byGdprId: {
18
- requestsMetadata: index_js_1.WithGdprItemRequestBuilderRequestsMetadata,
19
- navigationMetadata: index_js_1.WithGdprItemRequestBuilderNavigationMetadata,
20
+ requestsMetadata: index_js_2.WithGdprItemRequestBuilderRequestsMetadata,
21
+ navigationMetadata: index_js_2.WithGdprItemRequestBuilderNavigationMetadata,
20
22
  pathParametersMappings: ["gdprId"],
21
23
  },
24
+ delegate_connection: {
25
+ navigationMetadata: index_js_1.Delegate_connectionRequestBuilderNavigationMetadata,
26
+ },
22
27
  };
23
28
  /* tslint:enable */
24
29
  /* eslint-enable */
@@ -4398,6 +4398,10 @@ export interface GdprResponse_GdprDelegateConnectionResponse extends Parsable {
4398
4398
  * The delegateName property
4399
4399
  */
4400
4400
  delegateName?: string | null;
4401
+ /**
4402
+ * The id property
4403
+ */
4404
+ id?: string | null;
4401
4405
  /**
4402
4406
  * The isOptIn property
4403
4407
  */
@@ -3454,6 +3454,7 @@ function deserializeIntoGdprResponse_GdprDelegateConnectionResponse(gdprResponse
3454
3454
  return {
3455
3455
  "delegateId": n => { gdprResponse_GdprDelegateConnectionResponse.delegateId = n.getStringValue(); },
3456
3456
  "delegateName": n => { gdprResponse_GdprDelegateConnectionResponse.delegateName = n.getStringValue(); },
3457
+ "id": n => { gdprResponse_GdprDelegateConnectionResponse.id = n.getStringValue(); },
3457
3458
  "isOptIn": n => { gdprResponse_GdprDelegateConnectionResponse.isOptIn = n.getBooleanValue(); },
3458
3459
  "lastRequestDate": n => { gdprResponse_GdprDelegateConnectionResponse.lastRequestDate = n.getDateValue(); },
3459
3460
  "requestCount": n => { gdprResponse_GdprDelegateConnectionResponse.requestCount = n.getNumberValue(); },
@@ -6534,6 +6535,7 @@ function serializeGdprResponse_GdprDelegateConnectionResponse(writer, gdprRespon
6534
6535
  if (gdprResponse_GdprDelegateConnectionResponse) {
6535
6536
  writer.writeStringValue("delegateId", gdprResponse_GdprDelegateConnectionResponse.delegateId);
6536
6537
  writer.writeStringValue("delegateName", gdprResponse_GdprDelegateConnectionResponse.delegateName);
6538
+ writer.writeStringValue("id", gdprResponse_GdprDelegateConnectionResponse.id);
6537
6539
  writer.writeBooleanValue("isOptIn", gdprResponse_GdprDelegateConnectionResponse.isOptIn);
6538
6540
  writer.writeDateValue("lastRequestDate", gdprResponse_GdprDelegateConnectionResponse.lastRequestDate);
6539
6541
  writer.writeNumberValue("requestCount", gdprResponse_GdprDelegateConnectionResponse.requestCount);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@victoria-company/agora-client",
3
- "version": "1.0.202503101126",
3
+ "version": "1.0.202503101537",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",