/** * Data Sharing Agreement response object. */ export interface AssetSharingAgreementResponseObjectResponseBody { /** Time the agreement was accepted, in RFC 3339 format. */ acceptedAtTime?: string | undefined; /** User ID who accepted the agreement (visible only to recipient). */ acceptedByUserId?: string | undefined; /** Time the agreement was canceled, in RFC 3339 format. */ canceledAtTime?: string | undefined; /** Party that canceled the agreement. Valid values: `provider`, `recipient` */ canceledByParty?: AssetSharingAgreementResponseObjectResponseBody.CanceledByParty | undefined; /** User ID who canceled the agreement (visible only to the canceling party). */ canceledByUserId?: string | undefined; /** Time the agreement was created, in RFC 3339 format. */ createdAtTime: string; /** User ID in provider org who created the agreement. */ createdByUserId?: string | undefined; /** User ID in provider org who soft-deleted the agreement. */ deletedByUserId?: string | undefined; /** Unique identifier for the agreement. */ id: string; /** Defines where the gateways will be located. Valid values: `provider`, `recipient` */ operator: AssetSharingAgreementResponseObjectResponseBody.Operator; /** List of data packages the provider will see. */ providerDataPackages: AssetSharingAgreementResponseObjectResponseBody.ProviderDataPackages.Item[]; /** ID of the organization that owns the assets shared under the agreement. */ providerOrganizationId: string; /** List of data packages the recipient will see. */ recipientDataPackages: AssetSharingAgreementResponseObjectResponseBody.RecipientDataPackages.Item[]; /** ID of the organization that rents the assets from the provider. */ recipientOrganizationId: string; /** Time the agreement was rejected, in RFC 3339 format. */ rejectedAtTime?: string | undefined; /** User ID who rejected the agreement (visible only to recipient). */ rejectedByUserId?: string | undefined; /** The status of the agreement. Valid values: `pending`, `accepted`, `rejected`, `canceled` */ status: AssetSharingAgreementResponseObjectResponseBody.Status; /** Time the agreement was last updated, in RFC 3339 format. */ updatedAtTime: string; } export declare namespace AssetSharingAgreementResponseObjectResponseBody { /** Party that canceled the agreement. Valid values: `provider`, `recipient` */ const CanceledByParty: { readonly Provider: "provider"; readonly Recipient: "recipient"; }; type CanceledByParty = (typeof CanceledByParty)[keyof typeof CanceledByParty]; /** Defines where the gateways will be located. Valid values: `provider`, `recipient` */ const Operator: { readonly Provider: "provider"; readonly Recipient: "recipient"; }; type Operator = (typeof Operator)[keyof typeof Operator]; type ProviderDataPackages = ProviderDataPackages.Item[]; namespace ProviderDataPackages { /** Data package type Valid values: `safety`, `telematics`, `location`, `maintenance`, `reefer`, `all` */ const Item: { readonly Safety: "safety"; readonly Telematics: "telematics"; readonly Location: "location"; readonly Maintenance: "maintenance"; readonly Reefer: "reefer"; readonly All: "all"; }; type Item = (typeof Item)[keyof typeof Item]; } type RecipientDataPackages = RecipientDataPackages.Item[]; namespace RecipientDataPackages { /** Data package type Valid values: `safety`, `telematics`, `location`, `maintenance`, `reefer`, `all` */ const Item: { readonly Safety: "safety"; readonly Telematics: "telematics"; readonly Location: "location"; readonly Maintenance: "maintenance"; readonly Reefer: "reefer"; readonly All: "all"; }; type Item = (typeof Item)[keyof typeof Item]; } /** The status of the agreement. Valid values: `pending`, `accepted`, `rejected`, `canceled` */ const Status: { readonly Pending: "pending"; readonly Accepted: "accepted"; readonly Rejected: "rejected"; readonly Canceled: "canceled"; }; type Status = (typeof Status)[keyof typeof Status]; }