fulcrum-cem-client 0.0.2 → 0.0.4
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.
- package/.openapi-generator/FILES +119 -33
- package/.openapi-generator/VERSION +1 -1
- package/README.md +273 -28
- package/dist/apis/AgentsApi.d.ts +166 -147
- package/dist/apis/AgentsApi.js +139 -131
- package/dist/apis/CommitmentsApi.d.ts +31 -31
- package/dist/apis/CommitmentsApi.js +21 -21
- package/dist/apis/EventApi.d.ts +51 -58
- package/dist/apis/EventApi.js +42 -59
- package/dist/apis/JobsApi.d.ts +112 -129
- package/dist/apis/JobsApi.js +90 -133
- package/dist/apis/MetricsApi.d.ts +113 -84
- package/dist/apis/MetricsApi.js +98 -72
- package/dist/apis/NotaryJobsApi.d.ts +31 -31
- package/dist/apis/NotaryJobsApi.js +20 -20
- package/dist/apis/ParticipantsApi.d.ts +80 -51
- package/dist/apis/ParticipantsApi.js +57 -31
- package/dist/apis/ServiceOfferingsApi.d.ts +31 -31
- package/dist/apis/ServiceOfferingsApi.js +21 -21
- package/dist/apis/ServiceOrdersApi.d.ts +20 -20
- package/dist/apis/ServiceOrdersApi.js +13 -13
- package/dist/apis/ServicesApi.d.ts +213 -252
- package/dist/apis/ServicesApi.js +187 -261
- package/dist/apis/TokensApi.d.ts +80 -62
- package/dist/apis/TokensApi.js +48 -36
- package/dist/apis/TransactionsApi.d.ts +44 -44
- package/dist/apis/TransactionsApi.js +31 -31
- package/dist/esm/apis/AgentsApi.d.ts +166 -147
- package/dist/esm/apis/AgentsApi.js +139 -131
- package/dist/esm/apis/CommitmentsApi.d.ts +31 -31
- package/dist/esm/apis/CommitmentsApi.js +21 -21
- package/dist/esm/apis/EventApi.d.ts +51 -58
- package/dist/esm/apis/EventApi.js +43 -60
- package/dist/esm/apis/JobsApi.d.ts +112 -129
- package/dist/esm/apis/JobsApi.js +90 -133
- package/dist/esm/apis/MetricsApi.d.ts +113 -84
- package/dist/esm/apis/MetricsApi.js +99 -73
- package/dist/esm/apis/NotaryJobsApi.d.ts +31 -31
- package/dist/esm/apis/NotaryJobsApi.js +20 -20
- package/dist/esm/apis/ParticipantsApi.d.ts +80 -51
- package/dist/esm/apis/ParticipantsApi.js +57 -31
- package/dist/esm/apis/ServiceOfferingsApi.d.ts +31 -31
- package/dist/esm/apis/ServiceOfferingsApi.js +21 -21
- package/dist/esm/apis/ServiceOrdersApi.d.ts +20 -20
- package/dist/esm/apis/ServiceOrdersApi.js +13 -13
- package/dist/esm/apis/ServicesApi.d.ts +213 -252
- package/dist/esm/apis/ServicesApi.js +188 -262
- package/dist/esm/apis/TokensApi.d.ts +80 -62
- package/dist/esm/apis/TokensApi.js +49 -37
- package/dist/esm/apis/TransactionsApi.d.ts +44 -44
- package/dist/esm/apis/TransactionsApi.js +32 -32
- package/dist/esm/models/AgentCreateRes.d.ts +15 -1
- package/dist/esm/models/AgentCreateRes.js +5 -1
- package/dist/esm/models/AgentRes.d.ts +15 -1
- package/dist/esm/models/AgentRes.js +5 -1
- package/dist/esm/models/AgentStatus.d.ts +1 -1
- package/dist/esm/models/AgentStatus.js +1 -1
- package/dist/esm/models/AgentTypeRes.d.ts +10 -1
- package/dist/esm/models/AgentTypeRes.js +5 -1
- package/dist/esm/models/AgentTypesList200Response.d.ts +63 -0
- package/dist/esm/models/AgentTypesList200Response.js +52 -0
- package/dist/esm/models/AgentsList200Response.d.ts +63 -0
- package/dist/esm/models/AgentsList200Response.js +52 -0
- package/dist/esm/models/AgentsUpdateStatusRequest.d.ts +33 -0
- package/dist/esm/models/AgentsUpdateStatusRequest.js +44 -0
- package/dist/esm/models/AuthRole.d.ts +1 -1
- package/dist/esm/models/AuthRole.js +1 -1
- package/dist/esm/models/AuthorizerDefinition.d.ts +48 -0
- package/dist/esm/models/AuthorizerDefinition.js +54 -0
- package/dist/esm/models/ByPeriodReq.d.ts +1 -1
- package/dist/esm/models/ByPeriodReq.js +1 -1
- package/dist/esm/models/ByPeriodReqFrom.d.ts +1 -1
- package/dist/esm/models/ByPeriodReqFrom.js +1 -1
- package/dist/esm/models/CommitmentReq.d.ts +1 -1
- package/dist/esm/models/CommitmentReq.js +1 -1
- package/dist/esm/models/CommitmentRes.d.ts +1 -1
- package/dist/esm/models/CommitmentRes.js +1 -1
- package/dist/esm/models/CompleteJobReq.d.ts +13 -5
- package/dist/esm/models/CompleteJobReq.js +7 -5
- package/dist/esm/models/CreateAgentReq.d.ts +10 -4
- package/dist/esm/models/CreateAgentReq.js +3 -1
- package/dist/esm/models/CreateAgentTypeReq.d.ts +10 -1
- package/dist/esm/models/CreateAgentTypeReq.js +7 -1
- package/dist/esm/models/CreateCEMServiceReq.d.ts +1 -1
- package/dist/esm/models/CreateCEMServiceReq.js +1 -1
- package/dist/esm/models/CreateServiceTypeReq.d.ts +9 -2
- package/dist/esm/models/CreateServiceTypeReq.js +4 -1
- package/dist/esm/models/ErrorRes.d.ts +5 -11
- package/dist/esm/models/ErrorRes.js +1 -3
- package/dist/esm/models/EventAckReq.d.ts +1 -1
- package/dist/esm/models/EventAckReq.js +1 -1
- package/dist/esm/models/EventAckRes.d.ts +1 -1
- package/dist/esm/models/EventAckRes.js +1 -1
- package/dist/esm/models/EventLeaseReq.d.ts +1 -1
- package/dist/esm/models/EventLeaseReq.js +1 -1
- package/dist/esm/models/EventLeaseRes.d.ts +1 -1
- package/dist/esm/models/EventLeaseRes.js +1 -1
- package/dist/esm/models/EventRes.d.ts +32 -2
- package/dist/esm/models/EventRes.js +11 -1
- package/dist/esm/models/EventsList200Response.d.ts +63 -0
- package/dist/esm/models/EventsList200Response.js +52 -0
- package/dist/esm/models/FailJobReq.d.ts +3 -1
- package/dist/esm/models/FailJobReq.js +1 -1
- package/dist/esm/models/GeneratorDefinition.d.ts +47 -0
- package/dist/esm/models/GeneratorDefinition.js +53 -0
- package/dist/esm/models/JobRes.d.ts +24 -28
- package/dist/esm/models/JobRes.js +11 -13
- package/dist/esm/models/JobStatus.d.ts +6 -2
- package/dist/esm/models/JobStatus.js +7 -3
- package/dist/esm/models/JobsList200Response.d.ts +63 -0
- package/dist/esm/models/JobsList200Response.js +52 -0
- package/dist/esm/models/LifecycleAction.d.ts +55 -0
- package/dist/esm/models/LifecycleAction.js +56 -0
- package/dist/esm/models/LifecycleSchema.d.ts +60 -0
- package/dist/esm/models/LifecycleSchema.js +57 -0
- package/dist/esm/models/LifecycleState.d.ts +32 -0
- package/dist/esm/models/LifecycleState.js +43 -0
- package/dist/esm/models/LifecycleTransition.d.ts +53 -0
- package/dist/esm/models/LifecycleTransition.js +51 -0
- package/dist/esm/models/MetricEntityType.d.ts +1 -1
- package/dist/esm/models/MetricEntityType.js +1 -1
- package/dist/esm/models/MetricEntriesList200Response.d.ts +63 -0
- package/dist/esm/models/MetricEntriesList200Response.js +52 -0
- package/dist/esm/models/MetricEntryReq.d.ts +4 -4
- package/dist/esm/models/MetricEntryReq.js +3 -3
- package/dist/esm/models/MetricEntryRes.d.ts +25 -1
- package/dist/esm/models/MetricEntryRes.js +9 -1
- package/dist/esm/models/MetricTypeReq.d.ts +1 -1
- package/dist/esm/models/MetricTypeReq.js +1 -1
- package/dist/esm/models/MetricTypeRes.d.ts +1 -1
- package/dist/esm/models/MetricTypeRes.js +1 -1
- package/dist/esm/models/MetricTypesList200Response.d.ts +63 -0
- package/dist/esm/models/MetricTypesList200Response.js +52 -0
- package/dist/esm/models/MetricTypesUpdateRequest.d.ts +32 -0
- package/dist/esm/models/MetricTypesUpdateRequest.js +41 -0
- package/dist/esm/models/NotaryJobRes.d.ts +1 -1
- package/dist/esm/models/NotaryJobRes.js +1 -1
- package/dist/esm/models/NotaryJobStatus.d.ts +1 -1
- package/dist/esm/models/NotaryJobStatus.js +1 -1
- package/dist/esm/models/PageRes.d.ts +14 -8
- package/dist/esm/models/PageRes.js +7 -5
- package/dist/esm/models/ParticipantReq.d.ts +1 -1
- package/dist/esm/models/ParticipantReq.js +1 -1
- package/dist/esm/models/ParticipantRes.d.ts +1 -1
- package/dist/esm/models/ParticipantRes.js +1 -1
- package/dist/esm/models/ParticipantStatus.d.ts +1 -1
- package/dist/esm/models/ParticipantStatus.js +1 -1
- package/dist/esm/models/ParticipantsList200Response.d.ts +63 -0
- package/dist/esm/models/ParticipantsList200Response.js +52 -0
- package/dist/esm/models/PriceItem.d.ts +1 -1
- package/dist/esm/models/PriceItem.js +1 -1
- package/dist/esm/models/PropertyDefinition.d.ts +31 -2
- package/dist/esm/models/PropertyDefinition.js +15 -2
- package/dist/esm/models/SecretDefinition.d.ts +43 -0
- package/dist/esm/models/SecretDefinition.js +50 -0
- package/dist/esm/models/ServiceGroupReq.d.ts +2 -2
- package/dist/esm/models/ServiceGroupReq.js +1 -1
- package/dist/esm/models/ServiceGroupRes.d.ts +2 -2
- package/dist/esm/models/ServiceGroupRes.js +1 -1
- package/dist/esm/models/ServiceGroupsList200Response.d.ts +63 -0
- package/dist/esm/models/ServiceGroupsList200Response.js +52 -0
- package/dist/esm/models/ServiceOfferingReq.d.ts +1 -1
- package/dist/esm/models/ServiceOfferingReq.js +1 -1
- package/dist/esm/models/ServiceOfferingRes.d.ts +1 -1
- package/dist/esm/models/ServiceOfferingRes.js +1 -1
- package/dist/esm/models/ServiceOfferingResServiceType.d.ts +1 -1
- package/dist/esm/models/ServiceOfferingResServiceType.js +1 -1
- package/dist/esm/models/ServiceOrderReq.d.ts +1 -1
- package/dist/esm/models/ServiceOrderReq.js +1 -1
- package/dist/esm/models/ServiceOrderRes.d.ts +9 -2
- package/dist/esm/models/ServiceOrderRes.js +6 -3
- package/dist/esm/models/ServiceOrderStatus.d.ts +26 -0
- package/dist/esm/models/ServiceOrderStatus.js +44 -0
- package/dist/esm/models/ServiceReq.d.ts +2 -2
- package/dist/esm/models/ServiceReq.js +1 -1
- package/dist/esm/models/ServiceRes.d.ts +6 -7
- package/dist/esm/models/ServiceRes.js +7 -8
- package/dist/esm/models/ServiceTypeRes.d.ts +9 -2
- package/dist/esm/models/ServiceTypeRes.js +4 -1
- package/dist/esm/models/ServiceTypesList200Response.d.ts +63 -0
- package/dist/esm/models/ServiceTypesList200Response.js +52 -0
- package/dist/esm/models/ServicesActionRequest.d.ts +34 -0
- package/dist/esm/models/ServicesActionRequest.js +41 -0
- package/dist/esm/models/SubmitNotaryJobReq.d.ts +1 -1
- package/dist/esm/models/SubmitNotaryJobReq.js +1 -1
- package/dist/esm/models/TokenReq.d.ts +2 -2
- package/dist/esm/models/TokenReq.js +1 -1
- package/dist/esm/models/TokenRes.d.ts +4 -10
- package/dist/esm/models/TokenRes.js +3 -5
- package/dist/esm/models/TokensList200Response.d.ts +63 -0
- package/dist/esm/models/TokensList200Response.js +52 -0
- package/dist/esm/models/TokensUpdateRequest.d.ts +51 -0
- package/dist/esm/models/TokensUpdateRequest.js +48 -0
- package/dist/esm/models/TransactionEntityType.d.ts +1 -1
- package/dist/esm/models/TransactionEntityType.js +1 -1
- package/dist/esm/models/TransactionRecordReq.d.ts +1 -1
- package/dist/esm/models/TransactionRecordReq.js +1 -1
- package/dist/esm/models/TransactionRecordRes.d.ts +1 -1
- package/dist/esm/models/TransactionRecordRes.js +1 -1
- package/dist/esm/models/TransactionStatus.d.ts +1 -1
- package/dist/esm/models/TransactionStatus.js +1 -1
- package/dist/esm/models/TransactionType.d.ts +1 -1
- package/dist/esm/models/TransactionType.js +1 -1
- package/dist/esm/models/TransactionsUpdateRequest.d.ts +45 -0
- package/dist/esm/models/TransactionsUpdateRequest.js +46 -0
- package/dist/esm/models/UpdateAgentReq.d.ts +8 -2
- package/dist/esm/models/UpdateAgentReq.js +3 -1
- package/dist/esm/models/UpdateAgentTypeReq.d.ts +10 -1
- package/dist/esm/models/UpdateAgentTypeReq.js +5 -1
- package/dist/esm/models/UpdateCEMServiceReq.d.ts +1 -1
- package/dist/esm/models/UpdateCEMServiceReq.js +1 -1
- package/dist/esm/models/UpdateServiceTypeReq.d.ts +9 -2
- package/dist/esm/models/UpdateServiceTypeReq.js +4 -1
- package/dist/esm/models/ValidationError.d.ts +1 -1
- package/dist/esm/models/ValidationError.js +1 -1
- package/dist/esm/models/ValidatorDefinition.d.ts +8 -6
- package/dist/esm/models/ValidatorDefinition.js +6 -6
- package/dist/esm/models/Variant.d.ts +1 -1
- package/dist/esm/models/Variant.js +1 -1
- package/dist/esm/models/index.d.ts +23 -33
- package/dist/esm/models/index.js +23 -33
- package/dist/esm/runtime.d.ts +1 -1
- package/dist/esm/runtime.js +1 -1
- package/dist/models/AgentCreateRes.d.ts +15 -1
- package/dist/models/AgentCreateRes.js +5 -1
- package/dist/models/AgentRes.d.ts +15 -1
- package/dist/models/AgentRes.js +5 -1
- package/dist/models/AgentStatus.d.ts +1 -1
- package/dist/models/AgentStatus.js +1 -1
- package/dist/models/AgentTypeRes.d.ts +10 -1
- package/dist/models/AgentTypeRes.js +5 -1
- package/dist/models/AgentTypesList200Response.d.ts +63 -0
- package/dist/models/AgentTypesList200Response.js +59 -0
- package/dist/models/AgentsList200Response.d.ts +63 -0
- package/dist/models/AgentsList200Response.js +59 -0
- package/dist/models/AgentsUpdateStatusRequest.d.ts +33 -0
- package/dist/models/AgentsUpdateStatusRequest.js +51 -0
- package/dist/models/AuthRole.d.ts +1 -1
- package/dist/models/AuthRole.js +1 -1
- package/dist/models/AuthorizerDefinition.d.ts +48 -0
- package/dist/models/AuthorizerDefinition.js +62 -0
- package/dist/models/ByPeriodReq.d.ts +1 -1
- package/dist/models/ByPeriodReq.js +1 -1
- package/dist/models/ByPeriodReqFrom.d.ts +1 -1
- package/dist/models/ByPeriodReqFrom.js +1 -1
- package/dist/models/CommitmentReq.d.ts +1 -1
- package/dist/models/CommitmentReq.js +1 -1
- package/dist/models/CommitmentRes.d.ts +1 -1
- package/dist/models/CommitmentRes.js +1 -1
- package/dist/models/CompleteJobReq.d.ts +13 -5
- package/dist/models/CompleteJobReq.js +7 -5
- package/dist/models/CreateAgentReq.d.ts +10 -4
- package/dist/models/CreateAgentReq.js +3 -1
- package/dist/models/CreateAgentTypeReq.d.ts +10 -1
- package/dist/models/CreateAgentTypeReq.js +7 -1
- package/dist/models/CreateCEMServiceReq.d.ts +1 -1
- package/dist/models/CreateCEMServiceReq.js +1 -1
- package/dist/models/CreateServiceTypeReq.d.ts +9 -2
- package/dist/models/CreateServiceTypeReq.js +4 -1
- package/dist/models/ErrorRes.d.ts +5 -11
- package/dist/models/ErrorRes.js +1 -3
- package/dist/models/EventAckReq.d.ts +1 -1
- package/dist/models/EventAckReq.js +1 -1
- package/dist/models/EventAckRes.d.ts +1 -1
- package/dist/models/EventAckRes.js +1 -1
- package/dist/models/EventLeaseReq.d.ts +1 -1
- package/dist/models/EventLeaseReq.js +1 -1
- package/dist/models/EventLeaseRes.d.ts +1 -1
- package/dist/models/EventLeaseRes.js +1 -1
- package/dist/models/EventRes.d.ts +32 -2
- package/dist/models/EventRes.js +11 -1
- package/dist/models/EventsList200Response.d.ts +63 -0
- package/dist/models/EventsList200Response.js +59 -0
- package/dist/models/FailJobReq.d.ts +3 -1
- package/dist/models/FailJobReq.js +1 -1
- package/dist/models/GeneratorDefinition.d.ts +47 -0
- package/dist/models/GeneratorDefinition.js +61 -0
- package/dist/models/JobRes.d.ts +24 -28
- package/dist/models/JobRes.js +11 -13
- package/dist/models/JobStatus.d.ts +6 -2
- package/dist/models/JobStatus.js +7 -3
- package/dist/models/JobsList200Response.d.ts +63 -0
- package/dist/models/JobsList200Response.js +59 -0
- package/dist/models/LifecycleAction.d.ts +55 -0
- package/dist/models/LifecycleAction.js +64 -0
- package/dist/models/LifecycleSchema.d.ts +60 -0
- package/dist/models/LifecycleSchema.js +64 -0
- package/dist/models/LifecycleState.d.ts +32 -0
- package/dist/models/LifecycleState.js +50 -0
- package/dist/models/LifecycleTransition.d.ts +53 -0
- package/dist/models/LifecycleTransition.js +58 -0
- package/dist/models/MetricEntityType.d.ts +1 -1
- package/dist/models/MetricEntityType.js +1 -1
- package/dist/models/MetricEntriesList200Response.d.ts +63 -0
- package/dist/models/MetricEntriesList200Response.js +59 -0
- package/dist/models/MetricEntryReq.d.ts +4 -4
- package/dist/models/MetricEntryReq.js +3 -3
- package/dist/models/MetricEntryRes.d.ts +25 -1
- package/dist/models/MetricEntryRes.js +9 -1
- package/dist/models/MetricTypeReq.d.ts +1 -1
- package/dist/models/MetricTypeReq.js +1 -1
- package/dist/models/MetricTypeRes.d.ts +1 -1
- package/dist/models/MetricTypeRes.js +1 -1
- package/dist/models/MetricTypesList200Response.d.ts +63 -0
- package/dist/models/MetricTypesList200Response.js +59 -0
- package/dist/models/MetricTypesUpdateRequest.d.ts +32 -0
- package/dist/models/MetricTypesUpdateRequest.js +48 -0
- package/dist/models/NotaryJobRes.d.ts +1 -1
- package/dist/models/NotaryJobRes.js +1 -1
- package/dist/models/NotaryJobStatus.d.ts +1 -1
- package/dist/models/NotaryJobStatus.js +1 -1
- package/dist/models/PageRes.d.ts +14 -8
- package/dist/models/PageRes.js +7 -5
- package/dist/models/ParticipantReq.d.ts +1 -1
- package/dist/models/ParticipantReq.js +1 -1
- package/dist/models/ParticipantRes.d.ts +1 -1
- package/dist/models/ParticipantRes.js +1 -1
- package/dist/models/ParticipantStatus.d.ts +1 -1
- package/dist/models/ParticipantStatus.js +1 -1
- package/dist/models/ParticipantsList200Response.d.ts +63 -0
- package/dist/models/ParticipantsList200Response.js +59 -0
- package/dist/models/PriceItem.d.ts +1 -1
- package/dist/models/PriceItem.js +1 -1
- package/dist/models/PropertyDefinition.d.ts +31 -2
- package/dist/models/PropertyDefinition.js +15 -2
- package/dist/models/SecretDefinition.d.ts +43 -0
- package/dist/models/SecretDefinition.js +58 -0
- package/dist/models/ServiceGroupReq.d.ts +2 -2
- package/dist/models/ServiceGroupReq.js +1 -1
- package/dist/models/ServiceGroupRes.d.ts +2 -2
- package/dist/models/ServiceGroupRes.js +1 -1
- package/dist/models/ServiceGroupsList200Response.d.ts +63 -0
- package/dist/models/ServiceGroupsList200Response.js +59 -0
- package/dist/models/ServiceOfferingReq.d.ts +1 -1
- package/dist/models/ServiceOfferingReq.js +1 -1
- package/dist/models/ServiceOfferingRes.d.ts +1 -1
- package/dist/models/ServiceOfferingRes.js +1 -1
- package/dist/models/ServiceOfferingResServiceType.d.ts +1 -1
- package/dist/models/ServiceOfferingResServiceType.js +1 -1
- package/dist/models/ServiceOrderReq.d.ts +1 -1
- package/dist/models/ServiceOrderReq.js +1 -1
- package/dist/models/ServiceOrderRes.d.ts +9 -2
- package/dist/models/ServiceOrderRes.js +6 -3
- package/dist/models/ServiceOrderStatus.d.ts +26 -0
- package/dist/models/ServiceOrderStatus.js +52 -0
- package/dist/models/ServiceReq.d.ts +2 -2
- package/dist/models/ServiceReq.js +1 -1
- package/dist/models/ServiceRes.d.ts +6 -7
- package/dist/models/ServiceRes.js +7 -8
- package/dist/models/ServiceTypeRes.d.ts +9 -2
- package/dist/models/ServiceTypeRes.js +4 -1
- package/dist/models/ServiceTypesList200Response.d.ts +63 -0
- package/dist/models/ServiceTypesList200Response.js +59 -0
- package/dist/models/ServicesActionRequest.d.ts +34 -0
- package/dist/models/ServicesActionRequest.js +48 -0
- package/dist/models/SubmitNotaryJobReq.d.ts +1 -1
- package/dist/models/SubmitNotaryJobReq.js +1 -1
- package/dist/models/TokenReq.d.ts +2 -2
- package/dist/models/TokenReq.js +1 -1
- package/dist/models/TokenRes.d.ts +4 -10
- package/dist/models/TokenRes.js +3 -5
- package/dist/models/TokensList200Response.d.ts +63 -0
- package/dist/models/TokensList200Response.js +59 -0
- package/dist/models/TokensUpdateRequest.d.ts +51 -0
- package/dist/models/TokensUpdateRequest.js +55 -0
- package/dist/models/TransactionEntityType.d.ts +1 -1
- package/dist/models/TransactionEntityType.js +1 -1
- package/dist/models/TransactionRecordReq.d.ts +1 -1
- package/dist/models/TransactionRecordReq.js +1 -1
- package/dist/models/TransactionRecordRes.d.ts +1 -1
- package/dist/models/TransactionRecordRes.js +1 -1
- package/dist/models/TransactionStatus.d.ts +1 -1
- package/dist/models/TransactionStatus.js +1 -1
- package/dist/models/TransactionType.d.ts +1 -1
- package/dist/models/TransactionType.js +1 -1
- package/dist/models/TransactionsUpdateRequest.d.ts +45 -0
- package/dist/models/TransactionsUpdateRequest.js +53 -0
- package/dist/models/UpdateAgentReq.d.ts +8 -2
- package/dist/models/UpdateAgentReq.js +3 -1
- package/dist/models/UpdateAgentTypeReq.d.ts +10 -1
- package/dist/models/UpdateAgentTypeReq.js +5 -1
- package/dist/models/UpdateCEMServiceReq.d.ts +1 -1
- package/dist/models/UpdateCEMServiceReq.js +1 -1
- package/dist/models/UpdateServiceTypeReq.d.ts +9 -2
- package/dist/models/UpdateServiceTypeReq.js +4 -1
- package/dist/models/ValidationError.d.ts +1 -1
- package/dist/models/ValidationError.js +1 -1
- package/dist/models/ValidatorDefinition.d.ts +8 -6
- package/dist/models/ValidatorDefinition.js +6 -6
- package/dist/models/Variant.d.ts +1 -1
- package/dist/models/Variant.js +1 -1
- package/dist/models/index.d.ts +23 -33
- package/dist/models/index.js +23 -33
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/docs/AgentCreateRes.md +58 -0
- package/docs/AgentRes.md +56 -0
- package/docs/AgentStatus.md +32 -0
- package/docs/AgentTypeRes.md +44 -0
- package/docs/AgentTypesList200Response.md +44 -0
- package/docs/AgentsApi.md +922 -0
- package/docs/AgentsList200Response.md +44 -0
- package/docs/AgentsUpdateStatusRequest.md +34 -0
- package/docs/AuthRole.md +33 -0
- package/docs/AuthorizerDefinition.md +36 -0
- package/docs/ByPeriodReq.md +36 -0
- package/docs/ByPeriodReqFrom.md +36 -0
- package/docs/CommitmentReq.md +40 -0
- package/docs/CommitmentRes.md +46 -0
- package/docs/CommitmentsApi.md +379 -0
- package/docs/CompleteJobReq.md +38 -0
- package/docs/CreateAgentReq.md +44 -0
- package/docs/CreateAgentTypeReq.md +38 -0
- package/docs/CreateCEMServiceReq.md +46 -0
- package/docs/CreateServiceTypeReq.md +38 -0
- package/docs/ErrorRes.md +36 -0
- package/docs/EventAckReq.md +38 -0
- package/docs/EventAckRes.md +34 -0
- package/docs/EventApi.md +253 -0
- package/docs/EventLeaseReq.md +40 -0
- package/docs/EventLeaseRes.md +38 -0
- package/docs/EventRes.md +54 -0
- package/docs/EventsList200Response.md +44 -0
- package/docs/FailJobReq.md +34 -0
- package/docs/GeneratorDefinition.md +36 -0
- package/docs/JobRes.md +62 -0
- package/docs/JobStatus.md +33 -0
- package/docs/JobsApi.md +474 -0
- package/docs/JobsList200Response.md +44 -0
- package/docs/LifecycleAction.md +38 -0
- package/docs/LifecycleSchema.md +43 -0
- package/docs/LifecycleState.md +34 -0
- package/docs/LifecycleTransition.md +40 -0
- package/docs/MetricEntityType.md +32 -0
- package/docs/MetricEntriesList200Response.md +44 -0
- package/docs/MetricEntryReq.md +42 -0
- package/docs/MetricEntryRes.md +52 -0
- package/docs/MetricTypeReq.md +36 -0
- package/docs/MetricTypeRes.md +42 -0
- package/docs/MetricTypesList200Response.md +44 -0
- package/docs/MetricTypesUpdateRequest.md +34 -0
- package/docs/MetricsApi.md +543 -0
- package/docs/NotaryJobRes.md +54 -0
- package/docs/NotaryJobStatus.md +32 -0
- package/docs/NotaryJobsApi.md +381 -0
- package/docs/PageRes.md +44 -0
- package/docs/ParticipantReq.md +36 -0
- package/docs/ParticipantRes.md +42 -0
- package/docs/ParticipantStatus.md +32 -0
- package/docs/ParticipantsApi.md +389 -0
- package/docs/ParticipantsList200Response.md +44 -0
- package/docs/PriceItem.md +46 -0
- package/docs/PropertyDefinition.md +54 -0
- package/docs/SecretDefinition.md +34 -0
- package/docs/ServiceGroupReq.md +36 -0
- package/docs/ServiceGroupRes.md +42 -0
- package/docs/ServiceGroupsList200Response.md +44 -0
- package/docs/ServiceOfferingReq.md +48 -0
- package/docs/ServiceOfferingRes.md +58 -0
- package/docs/ServiceOfferingResServiceType.md +36 -0
- package/docs/ServiceOfferingsApi.md +379 -0
- package/docs/ServiceOrderReq.md +36 -0
- package/docs/ServiceOrderRes.md +70 -0
- package/docs/ServiceOrderStatus.md +32 -0
- package/docs/ServiceOrdersApi.md +233 -0
- package/docs/ServiceReq.md +44 -0
- package/docs/ServiceRes.md +58 -0
- package/docs/ServiceTypeRes.md +44 -0
- package/docs/ServiceTypesList200Response.md +44 -0
- package/docs/ServicesActionRequest.md +34 -0
- package/docs/ServicesApi.md +1289 -0
- package/docs/SubmitNotaryJobReq.md +38 -0
- package/docs/TokenReq.md +40 -0
- package/docs/TokenRes.md +50 -0
- package/docs/TokensApi.md +453 -0
- package/docs/TokensList200Response.md +44 -0
- package/docs/TokensUpdateRequest.md +40 -0
- package/docs/TransactionEntityType.md +32 -0
- package/docs/TransactionRecordReq.md +56 -0
- package/docs/TransactionRecordRes.md +74 -0
- package/docs/TransactionStatus.md +32 -0
- package/docs/TransactionType.md +32 -0
- package/docs/TransactionsApi.md +525 -0
- package/docs/TransactionsUpdateRequest.md +38 -0
- package/docs/UpdateAgentReq.md +42 -0
- package/docs/UpdateAgentTypeReq.md +38 -0
- package/docs/UpdateCEMServiceReq.md +38 -0
- package/docs/UpdateServiceTypeReq.md +38 -0
- package/docs/ValidationError.md +36 -0
- package/docs/ValidatorDefinition.md +36 -0
- package/docs/Variant.md +40 -0
- package/package.json +2 -2
- package/src/apis/AgentsApi.ts +262 -250
- package/src/apis/CommitmentsApi.ts +41 -41
- package/src/apis/EventApi.ts +96 -129
- package/src/apis/JobsApi.ts +167 -259
- package/src/apis/MetricsApi.ts +200 -149
- package/src/apis/NotaryJobsApi.ts +40 -40
- package/src/apis/ParticipantsApi.ts +109 -67
- package/src/apis/ServiceOfferingsApi.ts +41 -41
- package/src/apis/ServiceOrdersApi.ts +26 -26
- package/src/apis/ServicesApi.ts +348 -489
- package/src/apis/TokensApi.ts +101 -80
- package/src/apis/TransactionsApi.ts +63 -63
- package/src/models/AgentCreateRes.ts +17 -1
- package/src/models/AgentRes.ts +17 -1
- package/src/models/AgentStatus.ts +1 -1
- package/src/models/AgentTypeRes.ts +17 -1
- package/src/models/AgentTypesList200Response.ts +113 -0
- package/src/models/AgentsList200Response.ts +113 -0
- package/src/models/AgentsUpdateStatusRequest.ts +76 -0
- package/src/models/AuthRole.ts +1 -1
- package/src/models/AuthorizerDefinition.ts +86 -0
- package/src/models/ByPeriodReq.ts +1 -1
- package/src/models/ByPeriodReqFrom.ts +1 -1
- package/src/models/CommitmentReq.ts +1 -1
- package/src/models/CommitmentRes.ts +1 -1
- package/src/models/CompleteJobReq.ts +17 -9
- package/src/models/CreateAgentReq.ts +12 -4
- package/src/models/CreateAgentTypeReq.ts +18 -1
- package/src/models/CreateCEMServiceReq.ts +1 -1
- package/src/models/CreateServiceTypeReq.ts +17 -2
- package/src/models/ErrorRes.ts +5 -13
- package/src/models/EventAckReq.ts +1 -1
- package/src/models/EventAckRes.ts +1 -1
- package/src/models/EventLeaseReq.ts +1 -1
- package/src/models/EventLeaseRes.ts +1 -1
- package/src/models/EventRes.ts +42 -2
- package/src/models/EventsList200Response.ts +113 -0
- package/src/models/FailJobReq.ts +3 -1
- package/src/models/GeneratorDefinition.ts +85 -0
- package/src/models/JobRes.ts +34 -48
- package/src/models/JobStatus.ts +7 -3
- package/src/models/JobsList200Response.ts +113 -0
- package/src/models/LifecycleAction.ts +104 -0
- package/src/models/LifecycleSchema.ts +117 -0
- package/src/models/LifecycleState.ts +66 -0
- package/src/models/LifecycleTransition.ts +94 -0
- package/src/models/MetricEntityType.ts +1 -1
- package/src/models/MetricEntriesList200Response.ts +113 -0
- package/src/models/MetricEntryReq.ts +6 -6
- package/src/models/MetricEntryRes.ts +33 -1
- package/src/models/MetricTypeReq.ts +1 -1
- package/src/models/MetricTypeRes.ts +1 -1
- package/src/models/MetricTypesList200Response.ts +113 -0
- package/src/models/MetricTypesUpdateRequest.ts +65 -0
- package/src/models/NotaryJobRes.ts +1 -1
- package/src/models/NotaryJobStatus.ts +1 -1
- package/src/models/PageRes.ts +20 -12
- package/src/models/ParticipantReq.ts +1 -1
- package/src/models/ParticipantRes.ts +1 -1
- package/src/models/ParticipantStatus.ts +1 -1
- package/src/models/ParticipantsList200Response.ts +113 -0
- package/src/models/PriceItem.ts +1 -1
- package/src/models/PropertyDefinition.ts +58 -3
- package/src/models/SecretDefinition.ts +80 -0
- package/src/models/ServiceGroupReq.ts +2 -2
- package/src/models/ServiceGroupRes.ts +2 -2
- package/src/models/ServiceGroupsList200Response.ts +113 -0
- package/src/models/ServiceOfferingReq.ts +1 -1
- package/src/models/ServiceOfferingRes.ts +1 -1
- package/src/models/ServiceOfferingResServiceType.ts +1 -1
- package/src/models/ServiceOrderReq.ts +1 -1
- package/src/models/ServiceOrderRes.ts +21 -4
- package/src/models/ServiceOrderStatus.ts +54 -0
- package/src/models/ServiceReq.ts +2 -2
- package/src/models/ServiceRes.ts +12 -22
- package/src/models/ServiceTypeRes.ts +17 -2
- package/src/models/ServiceTypesList200Response.ts +113 -0
- package/src/models/ServicesActionRequest.ts +65 -0
- package/src/models/SubmitNotaryJobReq.ts +1 -1
- package/src/models/TokenReq.ts +2 -2
- package/src/models/TokenRes.ts +6 -14
- package/src/models/TokensList200Response.ts +113 -0
- package/src/models/TokensUpdateRequest.ts +99 -0
- package/src/models/TransactionEntityType.ts +1 -1
- package/src/models/TransactionRecordReq.ts +1 -1
- package/src/models/TransactionRecordRes.ts +1 -1
- package/src/models/TransactionStatus.ts +1 -1
- package/src/models/TransactionType.ts +1 -1
- package/src/models/TransactionsUpdateRequest.ts +91 -0
- package/src/models/UpdateAgentReq.ts +10 -2
- package/src/models/UpdateAgentTypeReq.ts +17 -1
- package/src/models/UpdateCEMServiceReq.ts +1 -1
- package/src/models/UpdateServiceTypeReq.ts +17 -2
- package/src/models/ValidationError.ts +1 -1
- package/src/models/ValidatorDefinition.ts +9 -9
- package/src/models/Variant.ts +1 -1
- package/src/models/index.ts +23 -33
- package/src/runtime.ts +1 -1
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
|
|
2
|
+
# AgentsList200Response
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`items` | [Array<AgentRes>](AgentRes.md)
|
|
10
|
+
`totalItems` | number
|
|
11
|
+
`totalPages` | number
|
|
12
|
+
`currentPage` | number
|
|
13
|
+
`hasNext` | boolean
|
|
14
|
+
`hasPrev` | boolean
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import type { AgentsList200Response } from 'fulcrum-cem-client'
|
|
20
|
+
|
|
21
|
+
// TODO: Update the object below with actual values
|
|
22
|
+
const example = {
|
|
23
|
+
"items": null,
|
|
24
|
+
"totalItems": null,
|
|
25
|
+
"totalPages": null,
|
|
26
|
+
"currentPage": null,
|
|
27
|
+
"hasNext": null,
|
|
28
|
+
"hasPrev": null,
|
|
29
|
+
} satisfies AgentsList200Response
|
|
30
|
+
|
|
31
|
+
console.log(example)
|
|
32
|
+
|
|
33
|
+
// Convert the instance to a JSON string
|
|
34
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
35
|
+
console.log(exampleJSON)
|
|
36
|
+
|
|
37
|
+
// Parse the JSON string back to an object
|
|
38
|
+
const exampleParsed = JSON.parse(exampleJSON) as AgentsList200Response
|
|
39
|
+
console.log(exampleParsed)
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
43
|
+
|
|
44
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# AgentsUpdateStatusRequest
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`status` | [AgentStatus](AgentStatus.md)
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { AgentsUpdateStatusRequest } from 'fulcrum-cem-client'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"status": null,
|
|
19
|
+
} satisfies AgentsUpdateStatusRequest
|
|
20
|
+
|
|
21
|
+
console.log(example)
|
|
22
|
+
|
|
23
|
+
// Convert the instance to a JSON string
|
|
24
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
+
console.log(exampleJSON)
|
|
26
|
+
|
|
27
|
+
// Parse the JSON string back to an object
|
|
28
|
+
const exampleParsed = JSON.parse(exampleJSON) as AgentsUpdateStatusRequest
|
|
29
|
+
console.log(exampleParsed)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
+
|
|
34
|
+
|
package/docs/AuthRole.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
|
|
2
|
+
# AuthRole
|
|
3
|
+
|
|
4
|
+
Access role for the token
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
Name | Type
|
|
9
|
+
------------ | -------------
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { AuthRole } from 'fulcrum-cem-client'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
} satisfies AuthRole
|
|
19
|
+
|
|
20
|
+
console.log(example)
|
|
21
|
+
|
|
22
|
+
// Convert the instance to a JSON string
|
|
23
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
24
|
+
console.log(exampleJSON)
|
|
25
|
+
|
|
26
|
+
// Parse the JSON string back to an object
|
|
27
|
+
const exampleParsed = JSON.parse(exampleJSON) as AuthRole
|
|
28
|
+
console.log(exampleParsed)
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
32
|
+
|
|
33
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# AuthorizerDefinition
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`type` | string
|
|
10
|
+
`config` | { [key: string]: any; }
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { AuthorizerDefinition } from 'fulcrum-cem-client'
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"type": null,
|
|
20
|
+
"config": null,
|
|
21
|
+
} satisfies AuthorizerDefinition
|
|
22
|
+
|
|
23
|
+
console.log(example)
|
|
24
|
+
|
|
25
|
+
// Convert the instance to a JSON string
|
|
26
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
+
console.log(exampleJSON)
|
|
28
|
+
|
|
29
|
+
// Parse the JSON string back to an object
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as AuthorizerDefinition
|
|
31
|
+
console.log(exampleParsed)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
|
+
|
|
36
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# ByPeriodReq
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`from` | [ByPeriodReqFrom](ByPeriodReqFrom.md)
|
|
10
|
+
`to` | [ByPeriodReqFrom](ByPeriodReqFrom.md)
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { ByPeriodReq } from 'fulcrum-cem-client'
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"from": null,
|
|
20
|
+
"to": null,
|
|
21
|
+
} satisfies ByPeriodReq
|
|
22
|
+
|
|
23
|
+
console.log(example)
|
|
24
|
+
|
|
25
|
+
// Convert the instance to a JSON string
|
|
26
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
+
console.log(exampleJSON)
|
|
28
|
+
|
|
29
|
+
// Parse the JSON string back to an object
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as ByPeriodReq
|
|
31
|
+
console.log(exampleParsed)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
|
+
|
|
36
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# ByPeriodReqFrom
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`year` | number
|
|
10
|
+
`month` | number
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { ByPeriodReqFrom } from 'fulcrum-cem-client'
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"year": null,
|
|
20
|
+
"month": null,
|
|
21
|
+
} satisfies ByPeriodReqFrom
|
|
22
|
+
|
|
23
|
+
console.log(example)
|
|
24
|
+
|
|
25
|
+
// Convert the instance to a JSON string
|
|
26
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
+
console.log(exampleJSON)
|
|
28
|
+
|
|
29
|
+
// Parse the JSON string back to an object
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as ByPeriodReqFrom
|
|
31
|
+
console.log(exampleParsed)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
|
+
|
|
36
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
|
|
2
|
+
# CommitmentReq
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`name` | string
|
|
10
|
+
`duration` | number
|
|
11
|
+
`billingFrequency` | number
|
|
12
|
+
`prepaid` | boolean
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import type { CommitmentReq } from 'fulcrum-cem-client'
|
|
18
|
+
|
|
19
|
+
// TODO: Update the object below with actual values
|
|
20
|
+
const example = {
|
|
21
|
+
"name": null,
|
|
22
|
+
"duration": null,
|
|
23
|
+
"billingFrequency": null,
|
|
24
|
+
"prepaid": null,
|
|
25
|
+
} satisfies CommitmentReq
|
|
26
|
+
|
|
27
|
+
console.log(example)
|
|
28
|
+
|
|
29
|
+
// Convert the instance to a JSON string
|
|
30
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
31
|
+
console.log(exampleJSON)
|
|
32
|
+
|
|
33
|
+
// Parse the JSON string back to an object
|
|
34
|
+
const exampleParsed = JSON.parse(exampleJSON) as CommitmentReq
|
|
35
|
+
console.log(exampleParsed)
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
39
|
+
|
|
40
|
+
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
|
|
2
|
+
# CommitmentRes
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | string
|
|
10
|
+
`name` | string
|
|
11
|
+
`duration` | number
|
|
12
|
+
`billingFrequency` | number
|
|
13
|
+
`prepaid` | boolean
|
|
14
|
+
`createdAt` | Date
|
|
15
|
+
`updatedAt` | Date
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import type { CommitmentRes } from 'fulcrum-cem-client'
|
|
21
|
+
|
|
22
|
+
// TODO: Update the object below with actual values
|
|
23
|
+
const example = {
|
|
24
|
+
"id": 123e4567-e89b-12d3-a456-426614174000,
|
|
25
|
+
"name": null,
|
|
26
|
+
"duration": null,
|
|
27
|
+
"billingFrequency": null,
|
|
28
|
+
"prepaid": null,
|
|
29
|
+
"createdAt": null,
|
|
30
|
+
"updatedAt": null,
|
|
31
|
+
} satisfies CommitmentRes
|
|
32
|
+
|
|
33
|
+
console.log(example)
|
|
34
|
+
|
|
35
|
+
// Convert the instance to a JSON string
|
|
36
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
37
|
+
console.log(exampleJSON)
|
|
38
|
+
|
|
39
|
+
// Parse the JSON string back to an object
|
|
40
|
+
const exampleParsed = JSON.parse(exampleJSON) as CommitmentRes
|
|
41
|
+
console.log(exampleParsed)
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
45
|
+
|
|
46
|
+
|
|
@@ -0,0 +1,379 @@
|
|
|
1
|
+
# CommitmentsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api.fulcrum.testudosrl.dev/api/v1*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
| [**commitmentsCreate**](CommitmentsApi.md#commitmentscreate) | **POST** /commitments | Create a new commitment |
|
|
8
|
+
| [**commitmentsDelete**](CommitmentsApi.md#commitmentsdelete) | **DELETE** /commitments/{id} | Delete a commitment |
|
|
9
|
+
| [**commitmentsGet**](CommitmentsApi.md#commitmentsget) | **GET** /commitments/{id} | Get a commitment by ID |
|
|
10
|
+
| [**commitmentsList**](CommitmentsApi.md#commitmentslist) | **GET** /commitments | List all commitments |
|
|
11
|
+
| [**commitmentsUpdate**](CommitmentsApi.md#commitmentsupdate) | **PATCH** /commitments/{id} | Update a commitment |
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## commitmentsCreate
|
|
16
|
+
|
|
17
|
+
> CommitmentRes commitmentsCreate(commitmentReq)
|
|
18
|
+
|
|
19
|
+
Create a new commitment
|
|
20
|
+
|
|
21
|
+
### Example
|
|
22
|
+
|
|
23
|
+
```ts
|
|
24
|
+
import {
|
|
25
|
+
Configuration,
|
|
26
|
+
CommitmentsApi,
|
|
27
|
+
} from 'fulcrum-cem-client';
|
|
28
|
+
import type { CommitmentsCreateRequest } from 'fulcrum-cem-client';
|
|
29
|
+
|
|
30
|
+
async function example() {
|
|
31
|
+
console.log("🚀 Testing fulcrum-cem-client SDK...");
|
|
32
|
+
const config = new Configuration({
|
|
33
|
+
// To configure OAuth2 access token for authorization: BearerAuth implicit
|
|
34
|
+
accessToken: "YOUR ACCESS TOKEN",
|
|
35
|
+
});
|
|
36
|
+
const api = new CommitmentsApi(config);
|
|
37
|
+
|
|
38
|
+
const body = {
|
|
39
|
+
// CommitmentReq
|
|
40
|
+
commitmentReq: ...,
|
|
41
|
+
} satisfies CommitmentsCreateRequest;
|
|
42
|
+
|
|
43
|
+
try {
|
|
44
|
+
const data = await api.commitmentsCreate(body);
|
|
45
|
+
console.log(data);
|
|
46
|
+
} catch (error) {
|
|
47
|
+
console.error(error);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// Run the test
|
|
52
|
+
example().catch(console.error);
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### Parameters
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
| Name | Type | Description | Notes |
|
|
59
|
+
|------------- | ------------- | ------------- | -------------|
|
|
60
|
+
| **commitmentReq** | [CommitmentReq](CommitmentReq.md) | | |
|
|
61
|
+
|
|
62
|
+
### Return type
|
|
63
|
+
|
|
64
|
+
[**CommitmentRes**](CommitmentRes.md)
|
|
65
|
+
|
|
66
|
+
### Authorization
|
|
67
|
+
|
|
68
|
+
[BearerAuth implicit](../README.md#BearerAuth-implicit)
|
|
69
|
+
|
|
70
|
+
### HTTP request headers
|
|
71
|
+
|
|
72
|
+
- **Content-Type**: `application/json`
|
|
73
|
+
- **Accept**: `application/json`
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
### HTTP response details
|
|
77
|
+
| Status code | Description | Response headers |
|
|
78
|
+
|-------------|-------------|------------------|
|
|
79
|
+
| **201** | Commitment created | - |
|
|
80
|
+
| **400** | Bad Request | - |
|
|
81
|
+
| **401** | Unauthorized | - |
|
|
82
|
+
| **403** | Forbidden | - |
|
|
83
|
+
|
|
84
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
## commitmentsDelete
|
|
88
|
+
|
|
89
|
+
> commitmentsDelete(id)
|
|
90
|
+
|
|
91
|
+
Delete a commitment
|
|
92
|
+
|
|
93
|
+
### Example
|
|
94
|
+
|
|
95
|
+
```ts
|
|
96
|
+
import {
|
|
97
|
+
Configuration,
|
|
98
|
+
CommitmentsApi,
|
|
99
|
+
} from 'fulcrum-cem-client';
|
|
100
|
+
import type { CommitmentsDeleteRequest } from 'fulcrum-cem-client';
|
|
101
|
+
|
|
102
|
+
async function example() {
|
|
103
|
+
console.log("🚀 Testing fulcrum-cem-client SDK...");
|
|
104
|
+
const config = new Configuration({
|
|
105
|
+
// To configure OAuth2 access token for authorization: BearerAuth implicit
|
|
106
|
+
accessToken: "YOUR ACCESS TOKEN",
|
|
107
|
+
});
|
|
108
|
+
const api = new CommitmentsApi(config);
|
|
109
|
+
|
|
110
|
+
const body = {
|
|
111
|
+
// string
|
|
112
|
+
id: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
|
|
113
|
+
} satisfies CommitmentsDeleteRequest;
|
|
114
|
+
|
|
115
|
+
try {
|
|
116
|
+
const data = await api.commitmentsDelete(body);
|
|
117
|
+
console.log(data);
|
|
118
|
+
} catch (error) {
|
|
119
|
+
console.error(error);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
// Run the test
|
|
124
|
+
example().catch(console.error);
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
### Parameters
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
| Name | Type | Description | Notes |
|
|
131
|
+
|------------- | ------------- | ------------- | -------------|
|
|
132
|
+
| **id** | `string` | | [Defaults to `undefined`] |
|
|
133
|
+
|
|
134
|
+
### Return type
|
|
135
|
+
|
|
136
|
+
`void` (Empty response body)
|
|
137
|
+
|
|
138
|
+
### Authorization
|
|
139
|
+
|
|
140
|
+
[BearerAuth implicit](../README.md#BearerAuth-implicit)
|
|
141
|
+
|
|
142
|
+
### HTTP request headers
|
|
143
|
+
|
|
144
|
+
- **Content-Type**: Not defined
|
|
145
|
+
- **Accept**: `application/json`
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
### HTTP response details
|
|
149
|
+
| Status code | Description | Response headers |
|
|
150
|
+
|-------------|-------------|------------------|
|
|
151
|
+
| **204** | Commitment deleted | - |
|
|
152
|
+
| **401** | Unauthorized | - |
|
|
153
|
+
| **403** | Forbidden | - |
|
|
154
|
+
| **404** | Commitment not found | - |
|
|
155
|
+
|
|
156
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
## commitmentsGet
|
|
160
|
+
|
|
161
|
+
> CommitmentRes commitmentsGet(id)
|
|
162
|
+
|
|
163
|
+
Get a commitment by ID
|
|
164
|
+
|
|
165
|
+
### Example
|
|
166
|
+
|
|
167
|
+
```ts
|
|
168
|
+
import {
|
|
169
|
+
Configuration,
|
|
170
|
+
CommitmentsApi,
|
|
171
|
+
} from 'fulcrum-cem-client';
|
|
172
|
+
import type { CommitmentsGetRequest } from 'fulcrum-cem-client';
|
|
173
|
+
|
|
174
|
+
async function example() {
|
|
175
|
+
console.log("🚀 Testing fulcrum-cem-client SDK...");
|
|
176
|
+
const config = new Configuration({
|
|
177
|
+
// To configure OAuth2 access token for authorization: BearerAuth implicit
|
|
178
|
+
accessToken: "YOUR ACCESS TOKEN",
|
|
179
|
+
});
|
|
180
|
+
const api = new CommitmentsApi(config);
|
|
181
|
+
|
|
182
|
+
const body = {
|
|
183
|
+
// string
|
|
184
|
+
id: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
|
|
185
|
+
} satisfies CommitmentsGetRequest;
|
|
186
|
+
|
|
187
|
+
try {
|
|
188
|
+
const data = await api.commitmentsGet(body);
|
|
189
|
+
console.log(data);
|
|
190
|
+
} catch (error) {
|
|
191
|
+
console.error(error);
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
// Run the test
|
|
196
|
+
example().catch(console.error);
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
### Parameters
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
| Name | Type | Description | Notes |
|
|
203
|
+
|------------- | ------------- | ------------- | -------------|
|
|
204
|
+
| **id** | `string` | | [Defaults to `undefined`] |
|
|
205
|
+
|
|
206
|
+
### Return type
|
|
207
|
+
|
|
208
|
+
[**CommitmentRes**](CommitmentRes.md)
|
|
209
|
+
|
|
210
|
+
### Authorization
|
|
211
|
+
|
|
212
|
+
[BearerAuth implicit](../README.md#BearerAuth-implicit)
|
|
213
|
+
|
|
214
|
+
### HTTP request headers
|
|
215
|
+
|
|
216
|
+
- **Content-Type**: Not defined
|
|
217
|
+
- **Accept**: `application/json`
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
### HTTP response details
|
|
221
|
+
| Status code | Description | Response headers |
|
|
222
|
+
|-------------|-------------|------------------|
|
|
223
|
+
| **200** | Commitment details | - |
|
|
224
|
+
| **401** | Unauthorized | - |
|
|
225
|
+
| **403** | Forbidden | - |
|
|
226
|
+
| **404** | Commitment not found | - |
|
|
227
|
+
|
|
228
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
## commitmentsList
|
|
232
|
+
|
|
233
|
+
> Array<CommitmentRes> commitmentsList(page, pageSize)
|
|
234
|
+
|
|
235
|
+
List all commitments
|
|
236
|
+
|
|
237
|
+
### Example
|
|
238
|
+
|
|
239
|
+
```ts
|
|
240
|
+
import {
|
|
241
|
+
Configuration,
|
|
242
|
+
CommitmentsApi,
|
|
243
|
+
} from 'fulcrum-cem-client';
|
|
244
|
+
import type { CommitmentsListRequest } from 'fulcrum-cem-client';
|
|
245
|
+
|
|
246
|
+
async function example() {
|
|
247
|
+
console.log("🚀 Testing fulcrum-cem-client SDK...");
|
|
248
|
+
const config = new Configuration({
|
|
249
|
+
// To configure OAuth2 access token for authorization: BearerAuth implicit
|
|
250
|
+
accessToken: "YOUR ACCESS TOKEN",
|
|
251
|
+
});
|
|
252
|
+
const api = new CommitmentsApi(config);
|
|
253
|
+
|
|
254
|
+
const body = {
|
|
255
|
+
// number (optional)
|
|
256
|
+
page: 56,
|
|
257
|
+
// number (optional)
|
|
258
|
+
pageSize: 56,
|
|
259
|
+
} satisfies CommitmentsListRequest;
|
|
260
|
+
|
|
261
|
+
try {
|
|
262
|
+
const data = await api.commitmentsList(body);
|
|
263
|
+
console.log(data);
|
|
264
|
+
} catch (error) {
|
|
265
|
+
console.error(error);
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
// Run the test
|
|
270
|
+
example().catch(console.error);
|
|
271
|
+
```
|
|
272
|
+
|
|
273
|
+
### Parameters
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
| Name | Type | Description | Notes |
|
|
277
|
+
|------------- | ------------- | ------------- | -------------|
|
|
278
|
+
| **page** | `number` | | [Optional] [Defaults to `1`] |
|
|
279
|
+
| **pageSize** | `number` | | [Optional] [Defaults to `20`] |
|
|
280
|
+
|
|
281
|
+
### Return type
|
|
282
|
+
|
|
283
|
+
[**Array<CommitmentRes>**](CommitmentRes.md)
|
|
284
|
+
|
|
285
|
+
### Authorization
|
|
286
|
+
|
|
287
|
+
[BearerAuth implicit](../README.md#BearerAuth-implicit)
|
|
288
|
+
|
|
289
|
+
### HTTP request headers
|
|
290
|
+
|
|
291
|
+
- **Content-Type**: Not defined
|
|
292
|
+
- **Accept**: `application/json`
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
### HTTP response details
|
|
296
|
+
| Status code | Description | Response headers |
|
|
297
|
+
|-------------|-------------|------------------|
|
|
298
|
+
| **200** | A list of commitments | - |
|
|
299
|
+
| **401** | Unauthorized | - |
|
|
300
|
+
| **403** | Forbidden | - |
|
|
301
|
+
|
|
302
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
## commitmentsUpdate
|
|
306
|
+
|
|
307
|
+
> CommitmentRes commitmentsUpdate(id, commitmentReq)
|
|
308
|
+
|
|
309
|
+
Update a commitment
|
|
310
|
+
|
|
311
|
+
### Example
|
|
312
|
+
|
|
313
|
+
```ts
|
|
314
|
+
import {
|
|
315
|
+
Configuration,
|
|
316
|
+
CommitmentsApi,
|
|
317
|
+
} from 'fulcrum-cem-client';
|
|
318
|
+
import type { CommitmentsUpdateRequest } from 'fulcrum-cem-client';
|
|
319
|
+
|
|
320
|
+
async function example() {
|
|
321
|
+
console.log("🚀 Testing fulcrum-cem-client SDK...");
|
|
322
|
+
const config = new Configuration({
|
|
323
|
+
// To configure OAuth2 access token for authorization: BearerAuth implicit
|
|
324
|
+
accessToken: "YOUR ACCESS TOKEN",
|
|
325
|
+
});
|
|
326
|
+
const api = new CommitmentsApi(config);
|
|
327
|
+
|
|
328
|
+
const body = {
|
|
329
|
+
// string
|
|
330
|
+
id: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
|
|
331
|
+
// CommitmentReq
|
|
332
|
+
commitmentReq: ...,
|
|
333
|
+
} satisfies CommitmentsUpdateRequest;
|
|
334
|
+
|
|
335
|
+
try {
|
|
336
|
+
const data = await api.commitmentsUpdate(body);
|
|
337
|
+
console.log(data);
|
|
338
|
+
} catch (error) {
|
|
339
|
+
console.error(error);
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
// Run the test
|
|
344
|
+
example().catch(console.error);
|
|
345
|
+
```
|
|
346
|
+
|
|
347
|
+
### Parameters
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
| Name | Type | Description | Notes |
|
|
351
|
+
|------------- | ------------- | ------------- | -------------|
|
|
352
|
+
| **id** | `string` | | [Defaults to `undefined`] |
|
|
353
|
+
| **commitmentReq** | [CommitmentReq](CommitmentReq.md) | | |
|
|
354
|
+
|
|
355
|
+
### Return type
|
|
356
|
+
|
|
357
|
+
[**CommitmentRes**](CommitmentRes.md)
|
|
358
|
+
|
|
359
|
+
### Authorization
|
|
360
|
+
|
|
361
|
+
[BearerAuth implicit](../README.md#BearerAuth-implicit)
|
|
362
|
+
|
|
363
|
+
### HTTP request headers
|
|
364
|
+
|
|
365
|
+
- **Content-Type**: `application/json`
|
|
366
|
+
- **Accept**: `application/json`
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
### HTTP response details
|
|
370
|
+
| Status code | Description | Response headers |
|
|
371
|
+
|-------------|-------------|------------------|
|
|
372
|
+
| **200** | Commitment updated | - |
|
|
373
|
+
| **400** | Bad Request | - |
|
|
374
|
+
| **401** | Unauthorized | - |
|
|
375
|
+
| **403** | Forbidden | - |
|
|
376
|
+
| **404** | Commitment not found | - |
|
|
377
|
+
|
|
378
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
379
|
+
|