Skip to content

Commit

Permalink
Updated entities based on latest GraphQL schema (2023-02-18)
Browse files Browse the repository at this point in the history
  • Loading branch information
klaasvandeweerdt committed Feb 18, 2023
1 parent a759033 commit cbf83ec
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 9 deletions.
6 changes: 6 additions & 0 deletions Scr/Sdk4me.GraphQL/Entities/ShopOrderLine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,12 @@ public DataList<Attachment>? CustomFieldsAttachments
[JsonProperty("recurringPriceCurrency")]
public string? RecurringPriceCurrency { get; internal set; }

/// <summary>
/// The person creating the shop order line.
/// </summary>
[JsonProperty("requestedBy")]
public Person? RequestedBy { get; internal set; }

/// <summary>
/// The person for whom the shop order line was submitted.
/// </summary>
Expand Down
20 changes: 14 additions & 6 deletions Scr/Sdk4me.GraphQL/Enumerators/Enumerators.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1080,19 +1080,19 @@ public enum ProductDepreciationMethod
/// <summary>
/// DEPRECATED: N/A - Cost is Zero/Included in Other configuration item or Service.
/// </summary>
[Obsolete("Not applicable.")]
[Obsolete("N/A - Cost is Zero/Included in Other CI or Service.")]
[EnumMember(Value = "na_cost_is_zero")]
NaCostIsZero,
/// <summary>
/// DEPRECATED: N/A - Leased.
/// </summary>
[Obsolete("Not applicable.")]
[Obsolete("N/A - Leased.")]
[EnumMember(Value = "na_leased")]
NaLeased,
/// <summary>
/// DEPRECATED: N/A - Not Capitalized.
/// </summary>
[Obsolete("Not applicable.")]
[Obsolete("N/A - Not Capitalized.")]
[EnumMember(Value = "na_not_capitalized")]
NaNotCapitalized,
/// <summary>
Expand Down Expand Up @@ -3339,8 +3339,9 @@ public enum WorkflowPhaseStatus
public enum WorkflowStatus
{
/// <summary>
/// Approval.
/// DEPRECATED: Approval - use In Progress instead.
/// </summary>
[Obsolete("Approval - use In Progress instead.")]
[EnumMember(Value = "approval")]
Approval = 1,
/// <summary>
Expand All @@ -3354,11 +3355,17 @@ public enum WorkflowStatus
[EnumMember(Value = "completed")]
Completed,
/// <summary>
/// Implementation.
/// DEPRECATED: Implementation - use In Progress instead.
/// </summary>
[Obsolete("Implementation - use In Progress instead.")]
[EnumMember(Value = "implementation")]
Implementation,
/// <summary>
/// In Progress.
/// </summary>
[EnumMember(Value = "in_progress")]
InProgress,
/// <summary>
/// Progress Halted.
/// </summary>
[EnumMember(Value = "progress_halted")]
Expand All @@ -3369,8 +3376,9 @@ public enum WorkflowStatus
[EnumMember(Value = "registered")]
Registered,
/// <summary>
/// Risk &amp; Impact.
/// DEPRECATED: Risk &amp; Impact - use In Progress instead.
/// </summary>
[Obsolete("Risk &amp; Impact - use In Progress instead.")]
[EnumMember(Value = "risk_and_impact")]
RiskAndImpact,
}
Expand Down
5 changes: 5 additions & 0 deletions Scr/Sdk4me.GraphQL/Enumerators/FieldEnumerators.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7350,6 +7350,11 @@ public enum ShopOrderLineField
[EnumMember(Value = "recurringPriceCurrency")]
RecurringPriceCurrency,
/// <summary>
/// The requested by field.
/// </summary>
[EnumMember(Value = "requestedBy")]
RequestedBy,
/// <summary>
/// The requested for field.
/// </summary>
[EnumMember(Value = "requestedFor")]
Expand Down
6 changes: 3 additions & 3 deletions Scr/Sdk4me.GraphQL/Sdk4me.GraphQL.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
<RepositoryUrl>https://github.com/code4me/4me-sdk-graphql-dotnet</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>4me</PackageTags>
<AssemblyVersion>1.0.1</AssemblyVersion>
<FileVersion>1.0.1</FileVersion>
<AssemblyVersion>1.0.2</AssemblyVersion>
<FileVersion>1.0.2</FileVersion>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageIcon>LogoDark128x218.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
<Version>1.0.1</Version>
<Version>1.0.2</Version>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit cbf83ec

Please sign in to comment.