@wix/data-resourceusage-service 1.0.7 → 1.0.9

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.
@@ -1 +1,2 @@
1
- export * as data from '@wix/data-resourceusage-service_data';
1
+ import * as data from '@wix/data-resourceusage-service_data';
2
+ export { data };
@@ -24,5 +24,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.data = void 0;
27
- exports.data = __importStar(require("@wix/data-resourceusage-service_data"));
27
+ const data = __importStar(require("@wix/data-resourceusage-service_data"));
28
+ exports.data = data;
28
29
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6EAA6D"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2EAA6D;AAEpD,oBAAI"}
@@ -1 +1,2 @@
1
- export * as data from '@wix/data-resourceusage-service_data';
1
+ import * as data from '@wix/data-resourceusage-service_data';
2
+ export { data };
package/build/es/index.js CHANGED
@@ -1,2 +1,3 @@
1
- export * as data from '@wix/data-resourceusage-service_data';
1
+ import * as data from '@wix/data-resourceusage-service_data';
2
+ export { data };
2
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,sCAAsC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,sCAAsC,CAAC;AAE7D,OAAO,EAAE,IAAI,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/data-resourceusage-service",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -18,7 +18,7 @@
18
18
  "type-bundles"
19
19
  ],
20
20
  "dependencies": {
21
- "@wix/data-resourceusage-service_data": "1.0.7"
21
+ "@wix/data-resourceusage-service_data": "1.0.9"
22
22
  },
23
23
  "devDependencies": {
24
24
  "glob": "^10.4.1",
@@ -43,5 +43,5 @@
43
43
  "fqdn": ""
44
44
  }
45
45
  },
46
- "falconPackageHash": "091ccf76691b53e49e4d32492f986dc20a1d2b36c18e3fbf220c114b"
46
+ "falconPackageHash": "6d1cb6b067abee88d049e13cd3dcb77888404d7d5a881b979f328480"
47
47
  }
@@ -1,3 +1,37 @@
1
+ type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
2
+ interface HttpClient {
3
+ request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
4
+ fetchWithAuth: typeof fetch;
5
+ wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
6
+ }
7
+ type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
8
+ type HttpResponse<T = any> = {
9
+ data: T;
10
+ status: number;
11
+ statusText: string;
12
+ headers: any;
13
+ request?: any;
14
+ };
15
+ type RequestOptions<_TResponse = any, Data = any> = {
16
+ method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
17
+ url: string;
18
+ data?: Data;
19
+ params?: URLSearchParams;
20
+ } & APIMetadata;
21
+ type APIMetadata = {
22
+ methodFqn?: string;
23
+ entityFqdn?: string;
24
+ packageName?: string;
25
+ };
26
+ type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
27
+
28
+ declare global {
29
+ // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
30
+ interface SymbolConstructor {
31
+ readonly observable: symbol;
32
+ }
33
+ }
34
+
1
35
  /** ResourceUsage describes site-wide resource limits and usage */
2
36
  interface ResourceUsage {
3
37
  /**
@@ -132,7 +166,7 @@ interface DomainEvent extends DomainEventBodyOneOf {
132
166
  slug?: string;
133
167
  /** ID of the entity associated with the event. */
134
168
  entityId?: string;
135
- /** Event timestamp. */
169
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
136
170
  eventTime?: Date;
137
171
  /**
138
172
  * Whether the event was triggered as a result of a privacy regulation application
@@ -161,6 +195,9 @@ interface DomainEventBodyOneOf {
161
195
  interface EntityCreatedEvent {
162
196
  entity?: string;
163
197
  }
198
+ interface RestoreInfo {
199
+ deletedDate?: Date;
200
+ }
164
201
  interface EntityUpdatedEvent {
165
202
  /**
166
203
  * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
@@ -187,6 +224,7 @@ interface DataChangeEvent extends DataChangeEventEventOneOf {
187
224
  segmentChanged?: SegmentChanged;
188
225
  /** segment migration started to new physical location */
189
226
  segmentMigrationStarted?: SegmentMigrationStarted;
227
+ idempotenceKey?: string;
190
228
  }
191
229
  /** @oneof */
192
230
  interface DataChangeEventEventOneOf {
@@ -226,6 +264,8 @@ interface DataChanged extends DataChangedChangeOneOf {
226
264
  resumeToken?: string;
227
265
  /** Initiator of the request */
228
266
  initiator?: Initiator;
267
+ /** Identity of the user who initiated the request */
268
+ writer?: Identity;
229
269
  }
230
270
  /** @oneof */
231
271
  interface DataChangedChangeOneOf {
@@ -251,6 +291,18 @@ declare enum DataStore {
251
291
  interface Initiator {
252
292
  type?: Type;
253
293
  }
294
+ interface Identity {
295
+ /** User ID, when the request is initiated by a user */
296
+ userId?: string | null;
297
+ /** Member ID, when the request is initiated by a member */
298
+ memberId?: string | null;
299
+ /** Visitor ID, when the request is initiated by a visitor */
300
+ visitorId?: string | null;
301
+ /** External App ID, when the request is initiated by an external app */
302
+ externalAppId?: string | null;
303
+ /** Service ID, when the request is initiated by a service */
304
+ serviceId?: string | null;
305
+ }
254
306
  interface ChangesLost {
255
307
  clusterId?: string;
256
308
  }
@@ -381,46 +433,15 @@ interface GetResourceUsageOptions {
381
433
  consistentRead?: boolean;
382
434
  }
383
435
 
384
- type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
385
- interface HttpClient {
386
- request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
387
- fetchWithAuth: typeof fetch;
388
- wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
389
- }
390
- type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
391
- type HttpResponse<T = any> = {
392
- data: T;
393
- status: number;
394
- statusText: string;
395
- headers: any;
396
- request?: any;
397
- };
398
- type RequestOptions<_TResponse = any, Data = any> = {
399
- method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
400
- url: string;
401
- data?: Data;
402
- params?: URLSearchParams;
403
- } & APIMetadata;
404
- type APIMetadata = {
405
- methodFqn?: string;
406
- entityFqdn?: string;
407
- packageName?: string;
408
- };
409
- type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
410
-
411
- declare global {
412
- // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
413
- interface SymbolConstructor {
414
- readonly observable: symbol;
415
- }
436
+ declare function getResourceUsage$1(httpClient: HttpClient): GetResourceUsageSignature;
437
+ interface GetResourceUsageSignature {
438
+ /**
439
+ * Get current Resource Usage
440
+ */
441
+ (options?: GetResourceUsageOptions | undefined): Promise<GetResourceUsageResponse & GetResourceUsageResponseNonNullableFields>;
416
442
  }
417
443
 
418
- declare function getResourceUsage$1(httpClient: HttpClient): (options?: GetResourceUsageOptions) => Promise<GetResourceUsageResponse & GetResourceUsageResponseNonNullableFields>;
419
-
420
- declare function createRESTModule<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
421
-
422
- type _publicGetResourceUsageType = typeof getResourceUsage$1;
423
- declare const getResourceUsage: ReturnType<typeof createRESTModule<_publicGetResourceUsageType>>;
444
+ declare const getResourceUsage: BuildRESTFunction<typeof getResourceUsage$1> & typeof getResourceUsage$1;
424
445
 
425
446
  type context_ActionEvent = ActionEvent;
426
447
  type context_BulkUpdateUsagesRequest = BulkUpdateUsagesRequest;
@@ -450,11 +471,13 @@ type context_GetStoredUsageRequest = GetStoredUsageRequest;
450
471
  type context_GetStoredUsageResponse = GetStoredUsageResponse;
451
472
  type context_IdentificationData = IdentificationData;
452
473
  type context_IdentificationDataIdOneOf = IdentificationDataIdOneOf;
474
+ type context_Identity = Identity;
453
475
  type context_Initiator = Initiator;
454
476
  type context_InstanceUsageUpdate = InstanceUsageUpdate;
455
477
  type context_MessageEnvelope = MessageEnvelope;
456
478
  type context_ReferenceChanged = ReferenceChanged;
457
479
  type context_ResourceUsage = ResourceUsage;
480
+ type context_RestoreInfo = RestoreInfo;
458
481
  type context_Segment = Segment;
459
482
  declare const context_Segment: typeof Segment;
460
483
  type context_SegmentChanged = SegmentChanged;
@@ -463,10 +486,9 @@ type context_Type = Type;
463
486
  declare const context_Type: typeof Type;
464
487
  type context_WebhookIdentityType = WebhookIdentityType;
465
488
  declare const context_WebhookIdentityType: typeof WebhookIdentityType;
466
- type context__publicGetResourceUsageType = _publicGetResourceUsageType;
467
489
  declare const context_getResourceUsage: typeof getResourceUsage;
468
490
  declare namespace context {
469
- export { type context_ActionEvent as ActionEvent, type context_BulkUpdateUsagesRequest as BulkUpdateUsagesRequest, type context_BulkUpdateUsagesResponse as BulkUpdateUsagesResponse, type context_ChangesLost as ChangesLost, context_CollectionType as CollectionType, type context_DataChangeEvent as DataChangeEvent, type context_DataChangeEventEventOneOf as DataChangeEventEventOneOf, type context_DataChanged as DataChanged, type context_DataChangedChangeOneOf as DataChangedChangeOneOf, type context_DataCollectionResourceUsage as DataCollectionResourceUsage, type context_DataCollectionResourceUsageUpdate as DataCollectionResourceUsageUpdate, context_DataStore as DataStore, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_Empty as Empty, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_GetResourceUsageOptions as GetResourceUsageOptions, type context_GetResourceUsageRequest as GetResourceUsageRequest, type context_GetResourceUsageResponse as GetResourceUsageResponse, type context_GetResourceUsageResponseNonNullableFields as GetResourceUsageResponseNonNullableFields, type context_GetStoredUsageRequest as GetStoredUsageRequest, type context_GetStoredUsageResponse as GetStoredUsageResponse, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context_Initiator as Initiator, type context_InstanceUsageUpdate as InstanceUsageUpdate, type context_MessageEnvelope as MessageEnvelope, type context_ReferenceChanged as ReferenceChanged, type context_ResourceUsage as ResourceUsage, context_Segment as Segment, type context_SegmentChanged as SegmentChanged, type context_SegmentMigrationStarted as SegmentMigrationStarted, context_Type as Type, context_WebhookIdentityType as WebhookIdentityType, type context__publicGetResourceUsageType as _publicGetResourceUsageType, context_getResourceUsage as getResourceUsage };
491
+ export { type context_ActionEvent as ActionEvent, type context_BulkUpdateUsagesRequest as BulkUpdateUsagesRequest, type context_BulkUpdateUsagesResponse as BulkUpdateUsagesResponse, type context_ChangesLost as ChangesLost, context_CollectionType as CollectionType, type context_DataChangeEvent as DataChangeEvent, type context_DataChangeEventEventOneOf as DataChangeEventEventOneOf, type context_DataChanged as DataChanged, type context_DataChangedChangeOneOf as DataChangedChangeOneOf, type context_DataCollectionResourceUsage as DataCollectionResourceUsage, type context_DataCollectionResourceUsageUpdate as DataCollectionResourceUsageUpdate, context_DataStore as DataStore, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_Empty as Empty, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_GetResourceUsageOptions as GetResourceUsageOptions, type context_GetResourceUsageRequest as GetResourceUsageRequest, type context_GetResourceUsageResponse as GetResourceUsageResponse, type context_GetResourceUsageResponseNonNullableFields as GetResourceUsageResponseNonNullableFields, type context_GetStoredUsageRequest as GetStoredUsageRequest, type context_GetStoredUsageResponse as GetStoredUsageResponse, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context_Identity as Identity, type context_Initiator as Initiator, type context_InstanceUsageUpdate as InstanceUsageUpdate, type context_MessageEnvelope as MessageEnvelope, type context_ReferenceChanged as ReferenceChanged, type context_ResourceUsage as ResourceUsage, type context_RestoreInfo as RestoreInfo, context_Segment as Segment, type context_SegmentChanged as SegmentChanged, type context_SegmentMigrationStarted as SegmentMigrationStarted, context_Type as Type, context_WebhookIdentityType as WebhookIdentityType, context_getResourceUsage as getResourceUsage };
470
492
  }
471
493
 
472
494
  export { context as data };
@@ -1,3 +1,37 @@
1
+ type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
2
+ interface HttpClient {
3
+ request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
4
+ fetchWithAuth: typeof fetch;
5
+ wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
6
+ }
7
+ type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
8
+ type HttpResponse<T = any> = {
9
+ data: T;
10
+ status: number;
11
+ statusText: string;
12
+ headers: any;
13
+ request?: any;
14
+ };
15
+ type RequestOptions<_TResponse = any, Data = any> = {
16
+ method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
17
+ url: string;
18
+ data?: Data;
19
+ params?: URLSearchParams;
20
+ } & APIMetadata;
21
+ type APIMetadata = {
22
+ methodFqn?: string;
23
+ entityFqdn?: string;
24
+ packageName?: string;
25
+ };
26
+ type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
27
+
28
+ declare global {
29
+ // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
30
+ interface SymbolConstructor {
31
+ readonly observable: symbol;
32
+ }
33
+ }
34
+
1
35
  /** ResourceUsage describes site-wide resource limits and usage */
2
36
  interface ResourceUsage {
3
37
  /**
@@ -132,7 +166,7 @@ interface DomainEvent extends DomainEventBodyOneOf {
132
166
  slug?: string;
133
167
  /** ID of the entity associated with the event. */
134
168
  entityId?: string;
135
- /** Event timestamp. */
169
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
136
170
  eventTime?: Date;
137
171
  /**
138
172
  * Whether the event was triggered as a result of a privacy regulation application
@@ -161,6 +195,9 @@ interface DomainEventBodyOneOf {
161
195
  interface EntityCreatedEvent {
162
196
  entity?: string;
163
197
  }
198
+ interface RestoreInfo {
199
+ deletedDate?: Date;
200
+ }
164
201
  interface EntityUpdatedEvent {
165
202
  /**
166
203
  * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
@@ -187,6 +224,7 @@ interface DataChangeEvent extends DataChangeEventEventOneOf {
187
224
  segmentChanged?: SegmentChanged;
188
225
  /** segment migration started to new physical location */
189
226
  segmentMigrationStarted?: SegmentMigrationStarted;
227
+ idempotenceKey?: string;
190
228
  }
191
229
  /** @oneof */
192
230
  interface DataChangeEventEventOneOf {
@@ -226,6 +264,8 @@ interface DataChanged extends DataChangedChangeOneOf {
226
264
  resumeToken?: string;
227
265
  /** Initiator of the request */
228
266
  initiator?: Initiator;
267
+ /** Identity of the user who initiated the request */
268
+ writer?: Identity;
229
269
  }
230
270
  /** @oneof */
231
271
  interface DataChangedChangeOneOf {
@@ -251,6 +291,18 @@ declare enum DataStore {
251
291
  interface Initiator {
252
292
  type?: Type;
253
293
  }
294
+ interface Identity {
295
+ /** User ID, when the request is initiated by a user */
296
+ userId?: string | null;
297
+ /** Member ID, when the request is initiated by a member */
298
+ memberId?: string | null;
299
+ /** Visitor ID, when the request is initiated by a visitor */
300
+ visitorId?: string | null;
301
+ /** External App ID, when the request is initiated by an external app */
302
+ externalAppId?: string | null;
303
+ /** Service ID, when the request is initiated by a service */
304
+ serviceId?: string | null;
305
+ }
254
306
  interface ChangesLost {
255
307
  clusterId?: string;
256
308
  }
@@ -381,46 +433,15 @@ interface GetResourceUsageOptions {
381
433
  consistentRead?: boolean;
382
434
  }
383
435
 
384
- type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
385
- interface HttpClient {
386
- request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
387
- fetchWithAuth: typeof fetch;
388
- wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
389
- }
390
- type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
391
- type HttpResponse<T = any> = {
392
- data: T;
393
- status: number;
394
- statusText: string;
395
- headers: any;
396
- request?: any;
397
- };
398
- type RequestOptions<_TResponse = any, Data = any> = {
399
- method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
400
- url: string;
401
- data?: Data;
402
- params?: URLSearchParams;
403
- } & APIMetadata;
404
- type APIMetadata = {
405
- methodFqn?: string;
406
- entityFqdn?: string;
407
- packageName?: string;
408
- };
409
- type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
410
-
411
- declare global {
412
- // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
413
- interface SymbolConstructor {
414
- readonly observable: symbol;
415
- }
436
+ declare function getResourceUsage$1(httpClient: HttpClient): GetResourceUsageSignature;
437
+ interface GetResourceUsageSignature {
438
+ /**
439
+ * Get current Resource Usage
440
+ */
441
+ (options?: GetResourceUsageOptions | undefined): Promise<GetResourceUsageResponse & GetResourceUsageResponseNonNullableFields>;
416
442
  }
417
443
 
418
- declare function getResourceUsage$1(httpClient: HttpClient): (options?: GetResourceUsageOptions) => Promise<GetResourceUsageResponse & GetResourceUsageResponseNonNullableFields>;
419
-
420
- declare function createRESTModule<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
421
-
422
- type _publicGetResourceUsageType = typeof getResourceUsage$1;
423
- declare const getResourceUsage: ReturnType<typeof createRESTModule<_publicGetResourceUsageType>>;
444
+ declare const getResourceUsage: BuildRESTFunction<typeof getResourceUsage$1> & typeof getResourceUsage$1;
424
445
 
425
446
  type index_d_ActionEvent = ActionEvent;
426
447
  type index_d_BulkUpdateUsagesRequest = BulkUpdateUsagesRequest;
@@ -450,11 +471,13 @@ type index_d_GetStoredUsageRequest = GetStoredUsageRequest;
450
471
  type index_d_GetStoredUsageResponse = GetStoredUsageResponse;
451
472
  type index_d_IdentificationData = IdentificationData;
452
473
  type index_d_IdentificationDataIdOneOf = IdentificationDataIdOneOf;
474
+ type index_d_Identity = Identity;
453
475
  type index_d_Initiator = Initiator;
454
476
  type index_d_InstanceUsageUpdate = InstanceUsageUpdate;
455
477
  type index_d_MessageEnvelope = MessageEnvelope;
456
478
  type index_d_ReferenceChanged = ReferenceChanged;
457
479
  type index_d_ResourceUsage = ResourceUsage;
480
+ type index_d_RestoreInfo = RestoreInfo;
458
481
  type index_d_Segment = Segment;
459
482
  declare const index_d_Segment: typeof Segment;
460
483
  type index_d_SegmentChanged = SegmentChanged;
@@ -463,10 +486,9 @@ type index_d_Type = Type;
463
486
  declare const index_d_Type: typeof Type;
464
487
  type index_d_WebhookIdentityType = WebhookIdentityType;
465
488
  declare const index_d_WebhookIdentityType: typeof WebhookIdentityType;
466
- type index_d__publicGetResourceUsageType = _publicGetResourceUsageType;
467
489
  declare const index_d_getResourceUsage: typeof getResourceUsage;
468
490
  declare namespace index_d {
469
- export { type index_d_ActionEvent as ActionEvent, type index_d_BulkUpdateUsagesRequest as BulkUpdateUsagesRequest, type index_d_BulkUpdateUsagesResponse as BulkUpdateUsagesResponse, type index_d_ChangesLost as ChangesLost, index_d_CollectionType as CollectionType, type index_d_DataChangeEvent as DataChangeEvent, type index_d_DataChangeEventEventOneOf as DataChangeEventEventOneOf, type index_d_DataChanged as DataChanged, type index_d_DataChangedChangeOneOf as DataChangedChangeOneOf, type index_d_DataCollectionResourceUsage as DataCollectionResourceUsage, type index_d_DataCollectionResourceUsageUpdate as DataCollectionResourceUsageUpdate, index_d_DataStore as DataStore, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_Empty as Empty, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_GetResourceUsageOptions as GetResourceUsageOptions, type index_d_GetResourceUsageRequest as GetResourceUsageRequest, type index_d_GetResourceUsageResponse as GetResourceUsageResponse, type index_d_GetResourceUsageResponseNonNullableFields as GetResourceUsageResponseNonNullableFields, type index_d_GetStoredUsageRequest as GetStoredUsageRequest, type index_d_GetStoredUsageResponse as GetStoredUsageResponse, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d_Initiator as Initiator, type index_d_InstanceUsageUpdate as InstanceUsageUpdate, type index_d_MessageEnvelope as MessageEnvelope, type index_d_ReferenceChanged as ReferenceChanged, type index_d_ResourceUsage as ResourceUsage, index_d_Segment as Segment, type index_d_SegmentChanged as SegmentChanged, type index_d_SegmentMigrationStarted as SegmentMigrationStarted, index_d_Type as Type, index_d_WebhookIdentityType as WebhookIdentityType, type index_d__publicGetResourceUsageType as _publicGetResourceUsageType, index_d_getResourceUsage as getResourceUsage };
491
+ export { type index_d_ActionEvent as ActionEvent, type index_d_BulkUpdateUsagesRequest as BulkUpdateUsagesRequest, type index_d_BulkUpdateUsagesResponse as BulkUpdateUsagesResponse, type index_d_ChangesLost as ChangesLost, index_d_CollectionType as CollectionType, type index_d_DataChangeEvent as DataChangeEvent, type index_d_DataChangeEventEventOneOf as DataChangeEventEventOneOf, type index_d_DataChanged as DataChanged, type index_d_DataChangedChangeOneOf as DataChangedChangeOneOf, type index_d_DataCollectionResourceUsage as DataCollectionResourceUsage, type index_d_DataCollectionResourceUsageUpdate as DataCollectionResourceUsageUpdate, index_d_DataStore as DataStore, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_Empty as Empty, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_GetResourceUsageOptions as GetResourceUsageOptions, type index_d_GetResourceUsageRequest as GetResourceUsageRequest, type index_d_GetResourceUsageResponse as GetResourceUsageResponse, type index_d_GetResourceUsageResponseNonNullableFields as GetResourceUsageResponseNonNullableFields, type index_d_GetStoredUsageRequest as GetStoredUsageRequest, type index_d_GetStoredUsageResponse as GetStoredUsageResponse, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d_Identity as Identity, type index_d_Initiator as Initiator, type index_d_InstanceUsageUpdate as InstanceUsageUpdate, type index_d_MessageEnvelope as MessageEnvelope, type index_d_ReferenceChanged as ReferenceChanged, type index_d_ResourceUsage as ResourceUsage, type index_d_RestoreInfo as RestoreInfo, index_d_Segment as Segment, type index_d_SegmentChanged as SegmentChanged, type index_d_SegmentMigrationStarted as SegmentMigrationStarted, index_d_Type as Type, index_d_WebhookIdentityType as WebhookIdentityType, index_d_getResourceUsage as getResourceUsage };
470
492
  }
471
493
 
472
494
  export { index_d as data };