@safetech/inheriti-client-sdk 1.17.21 → 1.17.23

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.
@@ -126,6 +126,25 @@ interface PlanLogPage {
126
126
  items: PlanLog[];
127
127
  total: number;
128
128
  }
129
+ interface ListMemberLogsInput {
130
+ source?: 'MEMBER' | 'AUTOMATION';
131
+ from?: string;
132
+ to?: string;
133
+ limit?: number;
134
+ offset?: number;
135
+ }
136
+ interface MemberLog {
137
+ id: string;
138
+ memberId: string;
139
+ source: 'MEMBER' | 'AUTOMATION';
140
+ event: string;
141
+ occurredOn: string;
142
+ status?: string;
143
+ }
144
+ interface MemberLogPage {
145
+ items: MemberLog[];
146
+ total: number;
147
+ }
129
148
  interface ListPlansInput {
130
149
  cursor?: string;
131
150
  limit?: number;
@@ -470,6 +489,7 @@ interface InboxMessageMetadata {
470
489
  recipientStatuses?: Array<{
471
490
  memberId: string;
472
491
  status: NonNullable<InboxMessageMetadata['recipientStatus']>;
492
+ consumedAt?: string | null;
473
493
  }>;
474
494
  status: Exclude<PublishedInboxMessage['status'], 'DELETED'>;
475
495
  senderMemberId: string;
@@ -524,6 +544,16 @@ interface NormalInboxMessageMetadata {
524
544
  senderDeviceId: string;
525
545
  participantRevision: number;
526
546
  createdAt: string;
547
+ recipientStatuses?: Array<{
548
+ memberId: string;
549
+ read?: boolean;
550
+ readAt?: string | null;
551
+ secrets?: Array<{
552
+ position: number;
553
+ status: 'UNREAD' | 'LEASED' | 'CONSUMED' | 'EXPIRED' | 'REVOKED' | 'DELETED';
554
+ revealedAt?: string | null;
555
+ }>;
556
+ }>;
527
557
  }
528
558
  interface NormalInboxMessagePage {
529
559
  items: NormalInboxMessageMetadata[];
@@ -697,6 +727,7 @@ interface ElementsApiPort {
697
727
  listPlans(input?: ListPlansInput): Promise<PlanPage>;
698
728
  getPlan(planId: string): Promise<PlanDetail>;
699
729
  listPlanLogs(planId: string, input?: ListPlanLogsInput): Promise<PlanLogPage>;
730
+ listMemberLogs(memberId: string, input?: ListMemberLogsInput): Promise<MemberLogPage>;
700
731
  startPlanCreation(input: StartPlanCreationInput): Promise<PlanCreationProgress>;
701
732
  getPlanCreation(operationId: string): Promise<PlanCreationProgress>;
702
733
  supplyPlanCreationMaterial(operationId: string, material: EncryptedPlanMaterial): Promise<PlanCreationProgress>;
@@ -876,7 +907,7 @@ type RevealMode = 'DIRECT' | 'GOVERNED';
876
907
  type RevealStage = 'STARTING' | 'WAITING_FOR_DMS' | 'WAITING_FOR_PARTICIPANTS' | 'AUTHORIZED' | 'MATERIAL_AUTHORIZED' | 'MATERIAL_RELEASED' | 'RECONSTRUCTED' | 'ACTIONS_OPEN' | 'CLOSING' | 'CLOSED' | 'DENIED' | 'PARTICIPANT_REVOKED' | 'RECONCILIATION_REQUIRED' | 'EXPIRED' | 'CANCELED' | 'FAILED' | 'WAITING_FOR_CUSTODIAN_CLAIM' | 'WAITING_FOR_CUSTODIAN';
877
908
  type RevealCloseReason = 'COMPLETED' | 'CANCELED' | 'DMS_RESET' | 'ERROR';
878
909
  type RevealActionType = 'VIEW_FIELD' | 'COPY_FIELD' | 'USE_FIELD' | 'EXPORT_ASSET' | 'AUTOFILL_FIELD' | 'INSERT_FIELD' | 'DELIVER_FIELD';
879
- type RevealActionDestination = 'STDIN' | 'ENVIRONMENT' | 'FILE_DESCRIPTOR' | 'LOCAL_SOCKET' | 'TEMPORARY_FILE' | 'LOCAL_BROWSER';
910
+ type RevealActionDestination = 'STDIN' | 'ENVIRONMENT' | 'FILE_DESCRIPTOR' | 'LOCAL_SOCKET' | 'TEMPORARY_FILE' | 'AWS_SECRETS_MANAGER' | 'AWS_PARAMETER_STORE' | 'GOOGLE_CLOUD_SECRET_MANAGER' | 'LOCAL_BROWSER';
880
911
  type RevealActionOutcome = 'SUCCEEDED' | 'FAILED' | 'CANCELED';
881
912
  interface StartRevealInput {
882
913
  mode: RevealMode;
@@ -1402,6 +1433,7 @@ declare class ElementsClient {
1402
1433
  listPlans(input?: ListPlansInput): Promise<PlanPage>;
1403
1434
  getPlan(planId: string): Promise<PlanDetail>;
1404
1435
  listPlanLogs(planId: string, input?: ListPlanLogsInput): Promise<PlanLogPage>;
1436
+ listMemberLogs(memberId: string, input?: ListMemberLogsInput): Promise<MemberLogPage>;
1405
1437
  startPlanCreation(input: StartPlanCreationInput): Promise<PlanCreationProgress>;
1406
1438
  getPlanCreation(operationId: string): Promise<PlanCreationProgress>;
1407
1439
  supplyPlanCreationMaterial(operationId: string, material: EncryptedPlanMaterial): Promise<PlanCreationProgress>;
@@ -1623,6 +1655,7 @@ declare class HttpElementsApiPort implements ElementsApiPort {
1623
1655
  listPlans(input?: ListPlansInput): Promise<PlanPage>;
1624
1656
  getPlan(planId: string): Promise<PlanDetail>;
1625
1657
  listPlanLogs(planId: string, input?: ListPlanLogsInput): Promise<PlanLogPage>;
1658
+ listMemberLogs(memberId: string, input?: ListMemberLogsInput): Promise<MemberLogPage>;
1626
1659
  startPlanCreation(input: StartPlanCreationInput): Promise<PlanCreationProgress>;
1627
1660
  getPlanCreation(operationId: string): Promise<PlanCreationProgress>;
1628
1661
  supplyPlanCreationMaterial(operationId: string, material: EncryptedPlanMaterial): Promise<PlanCreationProgress>;
@@ -2012,4 +2045,4 @@ declare class OperatorSessionController {
2012
2045
  }
2013
2046
 
2014
2047
  export { BusinessOrganizationSelectionError, CANONICAL_PLAN_ASSET_TYPES, CANONICAL_STRUCTURED_ASSET_FIELDS, CorePlanMaterialBuilder, ElementsApiPortRequired, ElementsApiRequestFailed, ElementsClient, GuidedCreateRecoveryError, GuidedPlanCreator, HostProcessRuntimeEnvironment, HttpAutomationRevealApiPort, HttpElementsApiPort, HttpOperatorAuthTransport, InheritiClientProvider, InvalidPlanDeclaration, InvalidPlanMaterial, LocalProcessReconciliationOwnership, MasterKeyRelayCancellationFailed, MasterKeyRelayExpired, MasterKeyRelayTimedOut, MasterKeyRequired, MemoryGuidedCreateCheckpointStore, MemoryKeyVault, MemoryStatePort, OAuthProtocolError, OperatorAuthClient, OperatorAuthError, OperatorReauthenticationRequired, OperatorSessionController, PLAN_CREATION_SERVER_STAGES, PlanMaterialReconstructionFailed, PlanMaterialReconstructorRequired, PollingSharedPlanEventListener, RelayMasterKeySource, RevealActionsNotOpen, RevealFieldAccessError, RevealHandleClosed, StaticMasterKeyResolver, SystemOAuthClock, WebOAuthCrypto, createAutomationRevealClient, createElementsClient, createMasterKeyResolver, getAvailableEnvs, masterKeyRefFor, masterKeyRefKey, oauthErrorCode, parseAssetFieldSelector, revealPhaseOf, selectBusinessOrganization, unwrapDekWithMasterKey, useClient, validatePlanCreationInput, validatePlanCreationMaterial };
2015
- export type { AssetFieldSelector, AuthorizationTransaction, AuthorizeRevealActionInput, AutomationRevealOptions, BusinessOrganization, CanonicalPlanAssetType, CollectedPlanMaterial, CompatibleValue, ConsumedRevealField, CorePlanSecrets, CreateInboxConversationInput, CustodianShareResult, DeclaredMasterKeySource, DecodedPlanAsset, DeviceAuthorization, DeviceTransaction, ElementsApiPort, ElementsClientOptions, ElementsEnvironment, EncryptedPlanMaterial, EncryptedPlanShard, ExportPlanBridgeInput, GovernedRevealSession, GovernedRevealState, GovernedShare, GovernedSharesMaterial, GovernedValidatorMaterial, GuidedCreateCheckpoint, GuidedCreateCheckpointStore, GuidedCreateLocalStage, GuidedCreateOptions, InboxConversation, InboxConversationPage, InboxDevice, InboxMember, InboxMemberPage, InboxMessageMetadata, InboxMessagePage, InboxParentMetadata, InboxParentPage, InboxParticipant, InboxParticipantPage, InboxSendPreparation, InboxShareLayer, InheritiClientProviderProps, IntegrationPlanAssetDeclaration, KeyVault, ListInboxConversationsInput, ListInboxMessagesInput, ListInboxParticipantsInput, ListPlanLogsInput, ListPlansInput, MasterKeyAcquisition, MasterKeyAcquisitionOptions, MasterKeyRef, MasterKeyRelayContext, MasterKeyRelayPort, MasterKeyRelaySessionOpened, MasterKeyRelaySessionState, MasterKeyResolver, NativePlanParticipant, NormalInboxMessageMetadata, NormalInboxMessagePage, NormalInboxSendPreparation, OAuthClock, OAuthCrypto, OAuthHttpTransport, OAuthTokenResponse, OAuthTransaction, OAuthTransactionStore, OidcDiscoveryDocument, OpenRevealOptions, OpenedInboxParent, OpenedNormalInboxMessage, OperatorAuthClientOptions, OperatorAuthConfiguration, OperatorAuthTransport, OperatorSession, OperatorSessionControlPort, OperatorSessionStore, OperatorSessionSummary, OperatorTokenValidator, PlanAssetContainerDecoder, PlanAssetSummary, PlanBridgeEnvelope, PlanCreationOutcome, PlanCreationProgress, PlanCreationServerStage, PlanDetail, PlanGovernanceMode, PlanGovernancePolicy, PlanLog, PlanLogPage, PlanMaterialBuilder, PlanMaterialReconstructor, PlanPage, PlanParticipantRelationship, PlanRevealProfile, PlanStatus, PlanSummary, ProCustodianShare, PublishInboxMessageInput, PublishInboxParentInput, PublishNormalInboxMessageInput, PublishedInboxMessage, PublishedNormalInboxMessage, RegisterInboxDeviceInput, RelayMasterKeySourceOptions, ReplaceInboxDeviceInput, ReportRevealActionOutcomeInput, RevealAction, RevealActionDestination, RevealActionOutcome, RevealActionType, RevealCloseReason, RevealFieldConsumption, RevealFieldDestination, RevealFieldOptions, RevealHandle, RevealMode, RevealPhase, RevealProgress, RevealReconstructionInput, RevealSession, RevealStage, RevokeInboxDeviceInput, StartPlanCreationInput, StartRevealInput, StatePort, StepUpReadContext, ValidatedOperatorToken };
2048
+ export type { AssetFieldSelector, AuthorizationTransaction, AuthorizeRevealActionInput, AutomationRevealOptions, BusinessOrganization, CanonicalPlanAssetType, CollectedPlanMaterial, CompatibleValue, ConsumedRevealField, CorePlanSecrets, CreateInboxConversationInput, CustodianShareResult, DeclaredMasterKeySource, DecodedPlanAsset, DeviceAuthorization, DeviceTransaction, ElementsApiPort, ElementsClientOptions, ElementsEnvironment, EncryptedPlanMaterial, EncryptedPlanShard, ExportPlanBridgeInput, GovernedRevealSession, GovernedRevealState, GovernedShare, GovernedSharesMaterial, GovernedValidatorMaterial, GuidedCreateCheckpoint, GuidedCreateCheckpointStore, GuidedCreateLocalStage, GuidedCreateOptions, InboxConversation, InboxConversationPage, InboxDevice, InboxMember, InboxMemberPage, InboxMessageMetadata, InboxMessagePage, InboxParentMetadata, InboxParentPage, InboxParticipant, InboxParticipantPage, InboxSendPreparation, InboxShareLayer, InheritiClientProviderProps, IntegrationPlanAssetDeclaration, KeyVault, ListInboxConversationsInput, ListInboxMessagesInput, ListInboxParticipantsInput, ListMemberLogsInput, ListPlanLogsInput, ListPlansInput, MasterKeyAcquisition, MasterKeyAcquisitionOptions, MasterKeyRef, MasterKeyRelayContext, MasterKeyRelayPort, MasterKeyRelaySessionOpened, MasterKeyRelaySessionState, MasterKeyResolver, MemberLog, MemberLogPage, NativePlanParticipant, NormalInboxMessageMetadata, NormalInboxMessagePage, NormalInboxSendPreparation, OAuthClock, OAuthCrypto, OAuthHttpTransport, OAuthTokenResponse, OAuthTransaction, OAuthTransactionStore, OidcDiscoveryDocument, OpenRevealOptions, OpenedInboxParent, OpenedNormalInboxMessage, OperatorAuthClientOptions, OperatorAuthConfiguration, OperatorAuthTransport, OperatorSession, OperatorSessionControlPort, OperatorSessionStore, OperatorSessionSummary, OperatorTokenValidator, PlanAssetContainerDecoder, PlanAssetSummary, PlanBridgeEnvelope, PlanCreationOutcome, PlanCreationProgress, PlanCreationServerStage, PlanDetail, PlanGovernanceMode, PlanGovernancePolicy, PlanLog, PlanLogPage, PlanMaterialBuilder, PlanMaterialReconstructor, PlanPage, PlanParticipantRelationship, PlanRevealProfile, PlanStatus, PlanSummary, ProCustodianShare, PublishInboxMessageInput, PublishInboxParentInput, PublishNormalInboxMessageInput, PublishedInboxMessage, PublishedNormalInboxMessage, RegisterInboxDeviceInput, RelayMasterKeySourceOptions, ReplaceInboxDeviceInput, ReportRevealActionOutcomeInput, RevealAction, RevealActionDestination, RevealActionOutcome, RevealActionType, RevealCloseReason, RevealFieldConsumption, RevealFieldDestination, RevealFieldOptions, RevealHandle, RevealMode, RevealPhase, RevealProgress, RevealReconstructionInput, RevealSession, RevealStage, RevokeInboxDeviceInput, StartPlanCreationInput, StartRevealInput, StatePort, StepUpReadContext, ValidatedOperatorToken };
@@ -168,6 +168,7 @@ export interface InboxMessageMetadata {
168
168
  recipientStatuses?: Array<{
169
169
  memberId: string;
170
170
  status: NonNullable<InboxMessageMetadata['recipientStatus']>;
171
+ consumedAt?: string | null;
171
172
  }>;
172
173
  status: Exclude<PublishedInboxMessage['status'], 'DELETED'>;
173
174
  senderMemberId: string;
@@ -222,6 +223,16 @@ export interface NormalInboxMessageMetadata {
222
223
  senderDeviceId: string;
223
224
  participantRevision: number;
224
225
  createdAt: string;
226
+ recipientStatuses?: Array<{
227
+ memberId: string;
228
+ read?: boolean;
229
+ readAt?: string | null;
230
+ secrets?: Array<{
231
+ position: number;
232
+ status: 'UNREAD' | 'LEASED' | 'CONSUMED' | 'EXPIRED' | 'REVOKED' | 'DELETED';
233
+ revealedAt?: string | null;
234
+ }>;
235
+ }>;
225
236
  }
226
237
  export interface NormalInboxMessagePage {
227
238
  items: NormalInboxMessageMetadata[];
@@ -111,6 +111,7 @@ export interface ElementsApiPort {
111
111
  listPlans(input?: import('./plan-operations').ListPlansInput): Promise<import('./plan-operations').PlanPage>;
112
112
  getPlan(planId: string): Promise<import('./plan-operations').PlanDetail>;
113
113
  listPlanLogs(planId: string, input?: import('./plan-operations').ListPlanLogsInput): Promise<import('./plan-operations').PlanLogPage>;
114
+ listMemberLogs(memberId: string, input?: import('./plan-operations').ListMemberLogsInput): Promise<import('./plan-operations').MemberLogPage>;
114
115
  startPlanCreation(input: import('./plan-operations').StartPlanCreationInput): Promise<import('./plan-operations').PlanCreationProgress>;
115
116
  getPlanCreation(operationId: string): Promise<import('./plan-operations').PlanCreationProgress>;
116
117
  supplyPlanCreationMaterial(operationId: string, material: import('./plan-operations').EncryptedPlanMaterial): Promise<import('./plan-operations').PlanCreationProgress>;
@@ -290,7 +291,7 @@ export type RevealMode = 'DIRECT' | 'GOVERNED';
290
291
  export type RevealStage = 'STARTING' | 'WAITING_FOR_DMS' | 'WAITING_FOR_PARTICIPANTS' | 'AUTHORIZED' | 'MATERIAL_AUTHORIZED' | 'MATERIAL_RELEASED' | 'RECONSTRUCTED' | 'ACTIONS_OPEN' | 'CLOSING' | 'CLOSED' | 'DENIED' | 'PARTICIPANT_REVOKED' | 'RECONCILIATION_REQUIRED' | 'EXPIRED' | 'CANCELED' | 'FAILED' | 'WAITING_FOR_CUSTODIAN_CLAIM' | 'WAITING_FOR_CUSTODIAN';
291
292
  export type RevealCloseReason = 'COMPLETED' | 'CANCELED' | 'DMS_RESET' | 'ERROR';
292
293
  export type RevealActionType = 'VIEW_FIELD' | 'COPY_FIELD' | 'USE_FIELD' | 'EXPORT_ASSET' | 'AUTOFILL_FIELD' | 'INSERT_FIELD' | 'DELIVER_FIELD';
293
- export type RevealActionDestination = 'STDIN' | 'ENVIRONMENT' | 'FILE_DESCRIPTOR' | 'LOCAL_SOCKET' | 'TEMPORARY_FILE' | 'LOCAL_BROWSER';
294
+ export type RevealActionDestination = 'STDIN' | 'ENVIRONMENT' | 'FILE_DESCRIPTOR' | 'LOCAL_SOCKET' | 'TEMPORARY_FILE' | 'AWS_SECRETS_MANAGER' | 'AWS_PARAMETER_STORE' | 'GOOGLE_CLOUD_SECRET_MANAGER' | 'LOCAL_BROWSER';
294
295
  export type RevealActionOutcome = 'SUCCEEDED' | 'FAILED' | 'CANCELED';
295
296
  export interface StartRevealInput {
296
297
  mode: RevealMode;
@@ -6,7 +6,7 @@ import type { AuthorizeRevealActionInput, CollectedPlanMaterial, CustodianShareR
6
6
  import type { PlanMaterialReconstructor } from './plan-material-reconstructor';
7
7
  import type { MasterKeyRef, MasterKeyResolver } from './master-key';
8
8
  import type { PlanAssetDeclaration } from '@safetech/inheriti-core-sdk';
9
- import type { EncryptedPlanMaterial, ListPlanLogsInput, ListPlansInput, PlanCreationProgress, PlanDetail, PlanLogPage, PlanPage, StartPlanCreationInput } from './plan-operations';
9
+ import type { EncryptedPlanMaterial, ListMemberLogsInput, ListPlanLogsInput, ListPlansInput, MemberLogPage, PlanCreationProgress, PlanDetail, PlanLogPage, PlanPage, StartPlanCreationInput } from './plan-operations';
10
10
  import type { GuidedCreateCheckpointStore } from './guided-plan-creator';
11
11
  import { GuidedPlanCreator } from './guided-plan-creator';
12
12
  import type { OpenRevealOptions, RevealHandle } from './scoped-reveal';
@@ -77,6 +77,7 @@ export default class ElementsClient {
77
77
  listPlans(input?: ListPlansInput): Promise<PlanPage>;
78
78
  getPlan(planId: string): Promise<PlanDetail>;
79
79
  listPlanLogs(planId: string, input?: ListPlanLogsInput): Promise<PlanLogPage>;
80
+ listMemberLogs(memberId: string, input?: ListMemberLogsInput): Promise<MemberLogPage>;
80
81
  startPlanCreation(input: StartPlanCreationInput): Promise<PlanCreationProgress>;
81
82
  getPlanCreation(operationId: string): Promise<PlanCreationProgress>;
82
83
  supplyPlanCreationMaterial(operationId: string, material: EncryptedPlanMaterial): Promise<PlanCreationProgress>;
@@ -1,6 +1,6 @@
1
1
  import type { BearerTokenResolver, HttpTransport } from '@safetech/inheriti-core-sdk/node';
2
2
  import type { AuthorizeRevealActionInput, CollectedPlanMaterial, CustodianShareResult, ElementsApiPort, MasterKeyAcquisition, MasterKeyRelayContext, MasterKeyRelaySessionOpened, MasterKeyRelaySessionState, PlanKeyReference, ExportPlanBridgeInput, GovernedRevealSession, GovernedRevealState, GovernedSharesMaterial, GovernedValidatorMaterial, PlanBridgeEnvelope, ReportRevealActionOutcomeInput, RevealAction, RevealCloseReason, RevealReconstructionInput, RevealSession, StartRevealInput, StepUpReadContext } from './elements-api-port';
3
- import type { EncryptedPlanMaterial, ListPlanLogsInput, ListPlansInput, PlanCreationProgress, PlanDetail, PlanLogPage, PlanPage, StartPlanCreationInput } from './plan-operations';
3
+ import type { EncryptedPlanMaterial, ListMemberLogsInput, ListPlanLogsInput, ListPlansInput, MemberLogPage, PlanCreationProgress, PlanDetail, PlanLogPage, PlanPage, StartPlanCreationInput } from './plan-operations';
4
4
  import type { BusinessOrganization } from '../business/organizations';
5
5
  import type { InboxConversation, InboxConversationPage, InboxDevice, InboxMessagePage, InboxParticipantPage, InboxMemberPage, InboxSendPreparation, OpenedInboxMessage, OpenedInboxFile, PublishInboxMessageInput, StageInboxFileInput, PublishedInboxMessage, RegisterInboxDeviceInput, ReplaceInboxDeviceInput, RevokeInboxDeviceInput, CreateInboxConversationInput, ChangeInboxParticipantsInput, ListInboxConversationsInput, ListInboxMessagesInput, ListInboxParticipantsInput } from '../business/inbox/types';
6
6
  import type { PublishNormalInboxMessageInput, PublishedNormalInboxMessage, NormalInboxMessagePage, OpenedNormalInboxMessage } from '../business/inbox/types';
@@ -102,6 +102,7 @@ export default class HttpElementsApiPort implements ElementsApiPort {
102
102
  listPlans(input?: ListPlansInput): Promise<PlanPage>;
103
103
  getPlan(planId: string): Promise<PlanDetail>;
104
104
  listPlanLogs(planId: string, input?: ListPlanLogsInput): Promise<PlanLogPage>;
105
+ listMemberLogs(memberId: string, input?: ListMemberLogsInput): Promise<MemberLogPage>;
105
106
  startPlanCreation(input: StartPlanCreationInput): Promise<PlanCreationProgress>;
106
107
  getPlanCreation(operationId: string): Promise<PlanCreationProgress>;
107
108
  supplyPlanCreationMaterial(operationId: string, material: EncryptedPlanMaterial): Promise<PlanCreationProgress>;
@@ -1,5 +1,6 @@
1
- import type { PlanCreationProgress, PlanDetail, PlanLogPage, PlanPage } from './plan-operations';
1
+ import type { MemberLogPage, PlanCreationProgress, PlanDetail, PlanLogPage, PlanPage } from './plan-operations';
2
2
  export declare function decodePlanPage(value: unknown): PlanPage;
3
3
  export declare function decodePlanLogPage(value: unknown): PlanLogPage;
4
+ export declare function decodeMemberLogPage(value: unknown): MemberLogPage;
4
5
  export declare function decodePlanDetail(value: unknown): PlanDetail;
5
6
  export declare function decodePlanCreationProgress(value: unknown): PlanCreationProgress;
@@ -65,6 +65,25 @@ export interface PlanLogPage {
65
65
  items: PlanLog[];
66
66
  total: number;
67
67
  }
68
+ export interface ListMemberLogsInput {
69
+ source?: 'MEMBER' | 'AUTOMATION';
70
+ from?: string;
71
+ to?: string;
72
+ limit?: number;
73
+ offset?: number;
74
+ }
75
+ export interface MemberLog {
76
+ id: string;
77
+ memberId: string;
78
+ source: 'MEMBER' | 'AUTOMATION';
79
+ event: string;
80
+ occurredOn: string;
81
+ status?: string;
82
+ }
83
+ export interface MemberLogPage {
84
+ items: MemberLog[];
85
+ total: number;
86
+ }
68
87
  export interface ListPlansInput {
69
88
  cursor?: string;
70
89
  limit?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@safetech/inheriti-client-sdk",
3
- "version": "1.17.21",
3
+ "version": "1.17.23",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",