@nimiplatform/sdk 0.13.0 → 0.15.0

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 (115) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/README.md +318 -4
  3. package/dist/core/ai/capability-configuration.d.ts +3 -0
  4. package/dist/core/ai/capability-configuration.d.ts.map +1 -1
  5. package/dist/core/ai/capability-configuration.js +3 -0
  6. package/dist/core/ai/capability-configuration.js.map +1 -1
  7. package/dist/core/ai/local-app-model.d.ts.map +1 -1
  8. package/dist/core/ai/local-app-model.js +1 -0
  9. package/dist/core/ai/local-app-model.js.map +1 -1
  10. package/dist/core/ai/voice-reference-input.d.ts +9 -0
  11. package/dist/core/ai/voice-reference-input.d.ts.map +1 -0
  12. package/dist/core/ai/voice-reference-input.js +17 -0
  13. package/dist/core/ai/voice-reference-input.js.map +1 -0
  14. package/dist/core/app/index.d.ts +6 -0
  15. package/dist/core/app/index.d.ts.map +1 -1
  16. package/dist/core/app/index.js +3 -0
  17. package/dist/core/app/index.js.map +1 -1
  18. package/dist/core/app/local-app-audio-separation.d.ts +6 -0
  19. package/dist/core/app/local-app-audio-separation.d.ts.map +1 -0
  20. package/dist/core/app/local-app-audio-separation.js +31 -0
  21. package/dist/core/app/local-app-audio-separation.js.map +1 -0
  22. package/dist/core/app/local-app-runtime-platform-ai-config.d.ts.map +1 -1
  23. package/dist/core/app/local-app-runtime-platform-ai-config.js +7 -0
  24. package/dist/core/app/local-app-runtime-platform-ai-config.js.map +1 -1
  25. package/dist/core/app/local-app-runtime-platform-ai.d.ts +21 -1
  26. package/dist/core/app/local-app-runtime-platform-ai.d.ts.map +1 -1
  27. package/dist/core/app/local-app-runtime-platform-ai.js +88 -12
  28. package/dist/core/app/local-app-runtime-platform-ai.js.map +1 -1
  29. package/dist/core/app/local-app-runtime-platform-validation.d.ts.map +1 -1
  30. package/dist/core/app/local-app-runtime-platform-validation.js +8 -0
  31. package/dist/core/app/local-app-runtime-platform-validation.js.map +1 -1
  32. package/dist/core/app/local-app-text-annotation.d.ts +24 -0
  33. package/dist/core/app/local-app-text-annotation.d.ts.map +1 -0
  34. package/dist/core/app/local-app-text-annotation.js +71 -0
  35. package/dist/core/app/local-app-text-annotation.js.map +1 -0
  36. package/dist/core/app/local-app-transcription.d.ts +12 -0
  37. package/dist/core/app/local-app-transcription.d.ts.map +1 -0
  38. package/dist/core/app/local-app-transcription.js +28 -0
  39. package/dist/core/app/local-app-transcription.js.map +1 -0
  40. package/dist/core-generated/realm-typed-client.d.ts +73 -5
  41. package/dist/core-generated/realm-typed-client.d.ts.map +1 -1
  42. package/dist/core-generated/realm-typed-client.js +64 -2
  43. package/dist/core-generated/realm-typed-client.js.map +1 -1
  44. package/dist/core-generated/runtime-protobuf/runtime/v1/ai.d.ts +375 -1
  45. package/dist/core-generated/runtime-protobuf/runtime/v1/ai.d.ts.map +1 -1
  46. package/dist/core-generated/runtime-protobuf/runtime/v1/ai.js +760 -5
  47. package/dist/core-generated/runtime-protobuf/runtime/v1/ai.js.map +1 -1
  48. package/dist/core-generated/runtime-protobuf/runtime/v1/app.d.ts +128 -0
  49. package/dist/core-generated/runtime-protobuf/runtime/v1/app.d.ts.map +1 -1
  50. package/dist/core-generated/runtime-protobuf/runtime/v1/app.js +254 -2
  51. package/dist/core-generated/runtime-protobuf/runtime/v1/app.js.map +1 -1
  52. package/dist/core-generated/runtime-protobuf/runtime/v1/capability_configuration.d.ts +123 -0
  53. package/dist/core-generated/runtime-protobuf/runtime/v1/capability_configuration.d.ts.map +1 -1
  54. package/dist/core-generated/runtime-protobuf/runtime/v1/capability_configuration.js +189 -8
  55. package/dist/core-generated/runtime-protobuf/runtime/v1/capability_configuration.js.map +1 -1
  56. package/dist/core-generated/runtime-protobuf/runtime/v1/common.d.ts +15 -0
  57. package/dist/core-generated/runtime-protobuf/runtime/v1/common.d.ts.map +1 -1
  58. package/dist/core-generated/runtime-protobuf/runtime/v1/common.js +15 -0
  59. package/dist/core-generated/runtime-protobuf/runtime/v1/common.js.map +1 -1
  60. package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime.d.ts +34 -0
  61. package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime.d.ts.map +1 -1
  62. package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime.js +36 -4
  63. package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime.js.map +1 -1
  64. package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime_device_environment.d.ts +13 -0
  65. package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime_device_environment.d.ts.map +1 -1
  66. package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime_device_environment.js +17 -1
  67. package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime_device_environment.js.map +1 -1
  68. package/dist/core-generated/runtime-typed-client.d.ts +4 -4
  69. package/dist/core-generated/runtime-typed-client.d.ts.map +1 -1
  70. package/dist/core-generated/runtime-typed-client.js +1 -1
  71. package/dist/core-generated/runtime-typed-client.js.map +1 -1
  72. package/dist/features/generation/index.d.ts +2 -0
  73. package/dist/features/generation/index.d.ts.map +1 -1
  74. package/dist/features/generation/index.js +12 -2
  75. package/dist/features/generation/index.js.map +1 -1
  76. package/dist/runtime/config-projections.d.ts.map +1 -1
  77. package/dist/runtime/config-projections.js +30 -1
  78. package/dist/runtime/config-projections.js.map +1 -1
  79. package/dist/runtime/connector-inventory.js +3 -3
  80. package/dist/runtime/connector-inventory.js.map +1 -1
  81. package/dist/runtime/index.d.ts +2 -0
  82. package/dist/runtime/index.d.ts.map +1 -1
  83. package/dist/runtime/index.js +2 -1
  84. package/dist/runtime/index.js.map +1 -1
  85. package/dist/runtime/machine-loadouts.d.ts +15 -1
  86. package/dist/runtime/machine-loadouts.d.ts.map +1 -1
  87. package/dist/runtime/machine-loadouts.js +13 -2
  88. package/dist/runtime/machine-loadouts.js.map +1 -1
  89. package/dist/runtime/node-grpc.d.ts.map +1 -1
  90. package/dist/runtime/node-grpc.js +35 -4
  91. package/dist/runtime/node-grpc.js.map +1 -1
  92. package/dist/runtime/runtime-local-environment-client-projections.d.ts.map +1 -1
  93. package/dist/runtime/runtime-local-environment-client-projections.js +4 -0
  94. package/dist/runtime/runtime-local-environment-client-projections.js.map +1 -1
  95. package/dist/runtime/runtime-local-environment-client-types.d.ts +10 -1
  96. package/dist/runtime/runtime-local-environment-client-types.d.ts.map +1 -1
  97. package/dist/runtime/runtime-local-environment-client.d.ts.map +1 -1
  98. package/dist/runtime/runtime-local-environment-client.js +5 -1
  99. package/dist/runtime/runtime-local-environment-client.js.map +1 -1
  100. package/dist/runtime/shared-local-agent-ai-config.d.ts.map +1 -1
  101. package/dist/runtime/shared-local-agent-ai-config.js +3 -0
  102. package/dist/runtime/shared-local-agent-ai-config.js.map +1 -1
  103. package/dist/runtime/wire-types/ai-scenario-enums.d.ts +8 -1
  104. package/dist/runtime/wire-types/ai-scenario-enums.d.ts.map +1 -1
  105. package/dist/runtime/wire-types/ai-scenario-enums.js +8 -0
  106. package/dist/runtime/wire-types/ai-scenario-enums.js.map +1 -1
  107. package/dist/runtime/wire-types/ai-scenario-types.d.ts +4 -4
  108. package/dist/runtime/wire-types/ai-scenario-types.d.ts.map +1 -1
  109. package/dist/runtime/wire-types/identity-app-types.d.ts +2 -2
  110. package/dist/runtime/wire-types/identity-app-types.d.ts.map +1 -1
  111. package/dist/runtime/wire-types/reason-code-enums.d.ts +2 -0
  112. package/dist/runtime/wire-types/reason-code-enums.d.ts.map +1 -1
  113. package/dist/runtime/wire-types/reason-code-enums.js +2 -0
  114. package/dist/runtime/wire-types/reason-code-enums.js.map +1 -1
  115. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"local-app-transcription.d.ts","sourceRoot":"","sources":["../../../core/app/local-app-transcription.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,4BAA4B,GAAG;IACzC,QAAQ,CAAC,MAAM,EAAE,aAAa,GAAG,WAAW,CAAC;IAC7C,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,KAAK,EAAE,SAAS;QAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CAClH,CAAC;AAGF,wBAAgB,oCAAoC,CAAC,KAAK,EAAE,OAAO,GAAG,4BAA4B,CAmBjG"}
@@ -0,0 +1,28 @@
1
+ import { asRecord, assertExactProjectionKeys, localAppProjectionError } from './local-app-runtime-platform-validation.js';
2
+ const utf8Length = (value) => new TextEncoder().encode(value).length;
3
+ // @nimi-authority: rule.nimi.runtime.ai-provider.speech-transcription-result
4
+ export function validateNimiLocalAppSpeechTranscript(value) {
5
+ const record = asRecord(value);
6
+ assertExactProjectionKeys(record, ['status', 'text', 'language', 'words'], 'speech transcription');
7
+ if (!['transcribed', 'no-speech'].includes(String(record.status)) || typeof record.text !== 'string' || record.text !== record.text.trim()
8
+ || typeof record.language !== 'string' || record.language !== record.language.trim() || utf8Length(record.language) > 64
9
+ || !Array.isArray(record.words) || record.words.length > 16384)
10
+ localAppProjectionError('speech transcription');
11
+ if (record.status === 'no-speech' ? record.text !== '' || record.language !== '' || record.words.length !== 0 : !record.text)
12
+ localAppProjectionError('speech transcription status');
13
+ let previousStart = 0;
14
+ const words = record.words.map((value) => {
15
+ const word = asRecord(value);
16
+ assertExactProjectionKeys(word, ['text', 'startSeconds', 'endSeconds'], 'transcription word');
17
+ if (typeof word.text !== 'string' || !word.text.trim() || typeof word.startSeconds !== 'number' || typeof word.endSeconds !== 'number'
18
+ || !Number.isFinite(word.startSeconds) || !Number.isFinite(word.endSeconds) || word.startSeconds < previousStart || word.endSeconds < word.startSeconds)
19
+ localAppProjectionError('transcription word timing');
20
+ previousStart = word.startSeconds;
21
+ return Object.freeze({ text: word.text, startSeconds: word.startSeconds, endSeconds: word.endSeconds });
22
+ });
23
+ const result = { status: record.status, text: record.text, language: record.language, words: Object.freeze(words) };
24
+ if (utf8Length(JSON.stringify(result)) > 1 << 20)
25
+ localAppProjectionError('speech transcription size');
26
+ return Object.freeze(result);
27
+ }
28
+ //# sourceMappingURL=local-app-transcription.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"local-app-transcription.js","sourceRoot":"","sources":["../../../core/app/local-app-transcription.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,yBAAyB,EAAE,uBAAuB,EAAE,MAAM,4CAA4C,CAAC;AAE1H,MAAM,UAAU,GAAG,CAAC,KAAa,EAAE,EAAE,CAAC,IAAI,WAAW,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC;AAS7E,6EAA6E;AAC7E,MAAM,UAAU,oCAAoC,CAAC,KAAc;IACjE,MAAM,MAAM,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC/B,yBAAyB,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,sBAAsB,CAAC,CAAC;IACnG,IAAI,CAAC,CAAC,aAAa,EAAE,WAAW,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,OAAO,MAAM,CAAC,IAAI,KAAK,QAAQ,IAAI,MAAM,CAAC,IAAI,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE;WACrI,OAAO,MAAM,CAAC,QAAQ,KAAK,QAAQ,IAAI,MAAM,CAAC,QAAQ,KAAK,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,IAAI,UAAU,CAAC,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE;WACrH,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,KAAK;QAAE,uBAAuB,CAAC,sBAAsB,CAAC,CAAC;IAClH,IAAI,MAAM,CAAC,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,KAAK,EAAE,IAAI,MAAM,CAAC,QAAQ,KAAK,EAAE,IAAI,MAAM,CAAC,KAAK,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI;QAAE,uBAAuB,CAAC,6BAA6B,CAAC,CAAC;IACrL,IAAI,aAAa,GAAG,CAAC,CAAC;IACtB,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,KAAc,EAAE,EAAE;QAChD,MAAM,IAAI,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;QAC7B,yBAAyB,CAAC,IAAI,EAAE,CAAC,MAAM,EAAE,cAAc,EAAE,YAAY,CAAC,EAAE,oBAAoB,CAAC,CAAC;QAC9F,IAAI,OAAO,IAAI,CAAC,IAAI,KAAK,QAAQ,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,OAAO,IAAI,CAAC,YAAY,KAAK,QAAQ,IAAI,OAAO,IAAI,CAAC,UAAU,KAAK,QAAQ;eACjI,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC,YAAY,GAAG,aAAa,IAAI,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,YAAY;YAAE,uBAAuB,CAAC,2BAA2B,CAAC,CAAC;QAChN,aAAa,GAAG,IAAI,CAAC,YAAY,CAAC;QAClC,OAAO,MAAM,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,YAAY,EAAE,IAAI,CAAC,YAAY,EAAE,UAAU,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC;IAC1G,CAAC,CAAC,CAAC;IACH,MAAM,MAAM,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,MAAgD,EAAE,IAAI,EAAE,MAAM,CAAC,IAAI,EAAE,QAAQ,EAAE,MAAM,CAAC,QAAQ,EAAE,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC;IAC9J,IAAI,UAAU,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,IAAI,EAAE;QAAE,uBAAuB,CAAC,2BAA2B,CAAC,CAAC;IACvG,OAAO,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;AAC/B,CAAC"}
@@ -174,6 +174,7 @@ export interface BundleMemberDto {
174
174
  readonly assetId: string;
175
175
  readonly sortOrder: number;
176
176
  }
177
+ export type BundleStatus = "DRAFT" | "PUBLISHED" | "ARCHIVED";
177
178
  export interface CanDmResultDto {
178
179
  readonly canDm: boolean;
179
180
  readonly reason?: string;
@@ -503,6 +504,7 @@ export interface CheckEmailResponseDto {
503
504
  }
504
505
  export interface CloneAssetDto {
505
506
  readonly clonePolicy?: "ALLOW" | "DENY" | "INHERIT";
507
+ readonly operationId: string;
506
508
  readonly ownerId?: string;
507
509
  readonly transferPolicy?: "ALLOW" | "DENY" | "INHERIT";
508
510
  readonly usePolicy?: UsePolicyDto | null;
@@ -519,6 +521,7 @@ export interface CreateAssetDto {
519
521
  readonly authorId?: string;
520
522
  readonly clonePolicy: "ALLOW" | "DENY" | "INHERIT";
521
523
  readonly kind: "WORK" | "ITEM";
524
+ readonly operationId: string;
522
525
  readonly originKind: "ORIGINAL" | "CLONE" | "DERIVED";
523
526
  readonly ownerId?: string;
524
527
  readonly previewResourceId?: string | null;
@@ -1119,6 +1122,8 @@ export interface OAuthTokenResponseDto {
1119
1122
  readonly refresh_token: string;
1120
1123
  readonly token_type: string;
1121
1124
  }
1125
+ export type OwnableAssetKind = "WORK" | "ITEM";
1126
+ export type OwnableAssetStatus = "DRAFT" | "READY" | "ARCHIVED" | "DELETED";
1122
1127
  export interface PasswordLoginDto {
1123
1128
  readonly identifier: string;
1124
1129
  readonly password: string;
@@ -1365,6 +1370,7 @@ export interface ResourceBinaryDirectUploadTransportDto {
1365
1370
  readonly contentType: string;
1366
1371
  readonly method: "PUT";
1367
1372
  }
1373
+ export type ResourceControllerKind = "ACCOUNT" | "WORLD";
1368
1374
  export interface ResourceDetailDto {
1369
1375
  readonly controllerId: string;
1370
1376
  readonly controllerKind: "ACCOUNT" | "WORLD";
@@ -1412,12 +1418,15 @@ export interface ResourceDirectUploadSessionDto {
1412
1418
  export type ResourceDirectUploadTransportDto = ResourceMultipartDirectUploadTransportDto | ResourceBinaryDirectUploadTransportDto;
1413
1419
  export interface ResourceListDto {
1414
1420
  readonly items: readonly (ResourceDetailDto)[];
1421
+ readonly nextCursor: string | null;
1415
1422
  }
1416
1423
  export interface ResourceMultipartDirectUploadTransportDto {
1417
1424
  readonly bodyKind: "MULTIPART_FORM_DATA";
1418
1425
  readonly formField: string;
1419
1426
  readonly method: "POST";
1420
1427
  }
1428
+ export type ResourceStatus = "PENDING" | "READY" | "FAILED" | "DELETED";
1429
+ export type ResourceType = "IMAGE" | "VIDEO" | "AUDIO" | "TEXT";
1421
1430
  export interface RevenueDistributionPreviewDto {
1422
1431
  readonly isWorldOwned: boolean;
1423
1432
  readonly ownerAmount: string;
@@ -1545,7 +1554,6 @@ export interface SparkPackageDto {
1545
1554
  readonly usdPrice: number;
1546
1555
  }
1547
1556
  export interface StartChatInputDto {
1548
- readonly asFriendRequest?: boolean;
1549
1557
  readonly payload?: ChatTextPayloadDto | {
1550
1558
  readonly attachment: AttachmentReferenceDto;
1551
1559
  } | ChatPostRefPayloadDto | ChatUserRefPayloadDto | ChatLinkRefPayloadDto | ChatFriendRequestPayloadDto | ChatSystemPayloadDto;
@@ -2325,6 +2333,7 @@ export interface WorldPublicMediaDto {
2325
2333
  readonly heroUrl?: string | null;
2326
2334
  readonly highlightUrls: readonly (string)[];
2327
2335
  readonly iconUrl?: string | null;
2336
+ readonly unavailableResourceRefs: readonly (string)[];
2328
2337
  }
2329
2338
  export interface WorldPublicSceneCountsDto {
2330
2339
  readonly activeEntityCount: number;
@@ -2504,6 +2513,12 @@ export declare const AttachmentTargetTypeValue: {
2504
2513
  readonly ASSET: "ASSET";
2505
2514
  readonly BUNDLE: "BUNDLE";
2506
2515
  };
2516
+ export declare const BundleStatusValues: readonly ["DRAFT", "PUBLISHED", "ARCHIVED"];
2517
+ export declare const BundleStatusValue: {
2518
+ readonly DRAFT: "DRAFT";
2519
+ readonly PUBLISHED: "PUBLISHED";
2520
+ readonly ARCHIVED: "ARCHIVED";
2521
+ };
2507
2522
  export declare const ContentRatingStringValues: readonly ["UNRATED", "G", "PG13", "R18", "EXPLICIT"];
2508
2523
  export declare const ContentRatingStringValue: {
2509
2524
  readonly UNRATED: "UNRATED";
@@ -2551,6 +2566,18 @@ export declare const OAuthProviderValue: {
2551
2566
  readonly WECHAT: "WECHAT";
2552
2567
  readonly TIKTOK: "TIKTOK";
2553
2568
  };
2569
+ export declare const OwnableAssetKindValues: readonly ["WORK", "ITEM"];
2570
+ export declare const OwnableAssetKindValue: {
2571
+ readonly WORK: "WORK";
2572
+ readonly ITEM: "ITEM";
2573
+ };
2574
+ export declare const OwnableAssetStatusValues: readonly ["DRAFT", "READY", "ARCHIVED", "DELETED"];
2575
+ export declare const OwnableAssetStatusValue: {
2576
+ readonly DRAFT: "DRAFT";
2577
+ readonly READY: "READY";
2578
+ readonly ARCHIVED: "ARCHIVED";
2579
+ readonly DELETED: "DELETED";
2580
+ };
2554
2581
  export declare const PresenceStatusValues: readonly ["online", "invisible"];
2555
2582
  export declare const PresenceStatusValue: {
2556
2583
  readonly ONLINE: "online";
@@ -2571,6 +2598,25 @@ export declare const ReportReasonValue: {
2571
2598
  readonly SCAM: "SCAM";
2572
2599
  readonly OTHER: "OTHER";
2573
2600
  };
2601
+ export declare const ResourceControllerKindValues: readonly ["ACCOUNT", "WORLD"];
2602
+ export declare const ResourceControllerKindValue: {
2603
+ readonly ACCOUNT: "ACCOUNT";
2604
+ readonly WORLD: "WORLD";
2605
+ };
2606
+ export declare const ResourceStatusValues: readonly ["PENDING", "READY", "FAILED", "DELETED"];
2607
+ export declare const ResourceStatusValue: {
2608
+ readonly PENDING: "PENDING";
2609
+ readonly READY: "READY";
2610
+ readonly FAILED: "FAILED";
2611
+ readonly DELETED: "DELETED";
2612
+ };
2613
+ export declare const ResourceTypeValues: readonly ["IMAGE", "VIDEO", "AUDIO", "TEXT"];
2614
+ export declare const ResourceTypeValue: {
2615
+ readonly IMAGE: "IMAGE";
2616
+ readonly VIDEO: "VIDEO";
2617
+ readonly AUDIO: "AUDIO";
2618
+ readonly TEXT: "TEXT";
2619
+ };
2574
2620
  export declare const StripeConnectStatusValues: readonly ["NOT_CREATED", "PENDING", "VERIFIED", "RESTRICTED", "DISABLED"];
2575
2621
  export declare const StripeConnectStatusValue: {
2576
2622
  readonly NOT_CREATED: "NOT_CREATED";
@@ -2624,6 +2670,7 @@ export interface RealmTypedModelMap {
2624
2670
  readonly "BundleDetailDto": BundleDetailDto;
2625
2671
  readonly "BundleListDto": BundleListDto;
2626
2672
  readonly "BundleMemberDto": BundleMemberDto;
2673
+ readonly "BundleStatus": BundleStatus;
2627
2674
  readonly "CanDmResultDto": CanDmResultDto;
2628
2675
  readonly "CanWithdrawDto": CanWithdrawDto;
2629
2676
  readonly "ChangeEmailDto": ChangeEmailDto;
@@ -2756,6 +2803,8 @@ export interface RealmTypedModelMap {
2756
2803
  readonly "OAuthProvider": OAuthProvider;
2757
2804
  readonly "OAuthTokenRequestDto": OAuthTokenRequestDto;
2758
2805
  readonly "OAuthTokenResponseDto": OAuthTokenResponseDto;
2806
+ readonly "OwnableAssetKind": OwnableAssetKind;
2807
+ readonly "OwnableAssetStatus": OwnableAssetStatus;
2759
2808
  readonly "PasswordLoginDto": PasswordLoginDto;
2760
2809
  readonly "PasswordRegisterDto": PasswordRegisterDto;
2761
2810
  readonly "PendingFriendRequestDto": PendingFriendRequestDto;
@@ -2793,11 +2842,14 @@ export interface RealmTypedModelMap {
2793
2842
  readonly "ReportReason": ReportReason;
2794
2843
  readonly "ReportResponseDto": ReportResponseDto;
2795
2844
  readonly "ResourceBinaryDirectUploadTransportDto": ResourceBinaryDirectUploadTransportDto;
2845
+ readonly "ResourceControllerKind": ResourceControllerKind;
2796
2846
  readonly "ResourceDetailDto": ResourceDetailDto;
2797
2847
  readonly "ResourceDirectUploadSessionDto": ResourceDirectUploadSessionDto;
2798
2848
  readonly "ResourceDirectUploadTransportDto": ResourceDirectUploadTransportDto;
2799
2849
  readonly "ResourceListDto": ResourceListDto;
2800
2850
  readonly "ResourceMultipartDirectUploadTransportDto": ResourceMultipartDirectUploadTransportDto;
2851
+ readonly "ResourceStatus": ResourceStatus;
2852
+ readonly "ResourceType": ResourceType;
2801
2853
  readonly "RevenueDistributionPreviewDto": RevenueDistributionPreviewDto;
2802
2854
  readonly "RevenueDistributionPreviewRequestDto": RevenueDistributionPreviewRequestDto;
2803
2855
  readonly "RevenueShareConfigDto": RevenueShareConfigDto;
@@ -3599,14 +3651,21 @@ export interface RealmLinkOauthOperationRequest {
3599
3651
  export type RealmLinkOauthOperationResponse = OAuthLinkResponseDto;
3600
3652
  export interface RealmListAssetsOperationRequest {
3601
3653
  readonly path: {};
3602
- readonly query?: {};
3654
+ readonly query?: {
3655
+ readonly kind?: OwnableAssetKind;
3656
+ readonly status?: OwnableAssetStatus;
3657
+ readonly take?: number;
3658
+ };
3603
3659
  readonly headers?: {};
3604
3660
  readonly body?: Record<string, never>;
3605
3661
  }
3606
3662
  export type RealmListAssetsOperationResponse = AssetListDto;
3607
3663
  export interface RealmListBundlesOperationRequest {
3608
3664
  readonly path: {};
3609
- readonly query?: {};
3665
+ readonly query?: {
3666
+ readonly status?: BundleStatus;
3667
+ readonly take?: number;
3668
+ };
3610
3669
  readonly headers?: {};
3611
3670
  readonly body?: Record<string, never>;
3612
3671
  }
@@ -3685,7 +3744,16 @@ export interface RealmListOnlineUsersOperationRequest {
3685
3744
  export type RealmListOnlineUsersOperationResponse = readonly (string)[];
3686
3745
  export interface RealmListResourcesOperationRequest {
3687
3746
  readonly path: {};
3688
- readonly query?: {};
3747
+ readonly query?: {
3748
+ readonly resourceType?: ResourceType;
3749
+ readonly worldId?: string;
3750
+ readonly sourceRef?: string;
3751
+ readonly controllerKind?: ResourceControllerKind;
3752
+ readonly controllerId?: string;
3753
+ readonly status?: ResourceStatus;
3754
+ readonly take?: number;
3755
+ readonly cursor?: string;
3756
+ };
3689
3757
  readonly headers?: {};
3690
3758
  readonly body?: Record<string, never>;
3691
3759
  }
@@ -3974,7 +4042,7 @@ export interface RealmTransitControllerGetActiveTransitOperationRequest {
3974
4042
  readonly headers?: {};
3975
4043
  readonly body?: Record<string, never>;
3976
4044
  }
3977
- export type RealmTransitControllerGetActiveTransitOperationResponse = TransitDetailDto;
4045
+ export type RealmTransitControllerGetActiveTransitOperationResponse = TransitDetailDto | null;
3978
4046
  export interface RealmTransitControllerGetTransitOperationRequest {
3979
4047
  readonly path: {
3980
4048
  readonly id: string;