Skip to content

Commit a3c4954

Browse files
authored
Merge pull request #133 from ordercloud-api/dev
updates for latest api version
2 parents 50ba816 + b2db9f2 commit a3c4954

6 files changed

Lines changed: 99 additions & 21 deletions

File tree

src/OrderCloud.SDK.Tests/OrderCloud.SDK.Tests.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
</PropertyGroup>
1616

1717
<ItemGroup>
18-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
19-
<PackageReference Include="NUnit" Version="4.1.0" />
20-
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
18+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
19+
<PackageReference Include="NUnit" Version="4.2.2" />
20+
<PackageReference Include="NUnit3TestAdapter" Version="4.6.0" />
2121
</ItemGroup>
2222

2323
<ItemGroup>

src/OrderCloud.SDK/Generated/ErrorCodes.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ public static class Auth
8585
public const string MustPassAnonUserToken = "Auth.MustPassAnonUserToken";
8686
/// <summary>Both clientID and email are required.</summary>
8787
public const string ClientIDAndEmailRequired = "Auth.ClientIDAndEmailRequired";
88+
/// <summary>The provided token has been revoked. Please re-authenticate.</summary>
89+
public const string TokenRevoked = "Auth.TokenRevoked";
8890
}
8991
public static class BillingAddress
9092
{

src/OrderCloud.SDK/Generated/Models.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public class ApiClient : OrderCloudModel
141141
/// <summary>App name of the api client. Required. Searchable: priority level 2. Sortable.</summary>
142142
[Required]
143143
public string AppName { get => GetProp<string>("AppName"); set => SetProp<string>("AppName", value); }
144-
/// <summary>Refresh token duration of the api client. Must be between 0 and 43200.</summary>
144+
/// <summary>Refresh token duration of the api client. Must be between 0 and 524160.</summary>
145145
public int RefreshTokenDuration { get => GetProp<int>("RefreshTokenDuration"); set => SetProp<int>("RefreshTokenDuration", value); }
146146
/// <summary>Optionally set a user that will be used when authenticating with a Client Credentials grant type flow. This grant type is often used for anonymous browsing on buyer applications and authentication on server integration layers.</summary>
147147
public string DefaultContextUserName { get => GetProp<string>("DefaultContextUserName"); set => SetProp<string>("DefaultContextUserName", value); }
@@ -735,6 +735,12 @@ public class EntitySyncConfig : OrderCloudModel
735735
/// <summary>ID of the delivery config. Required.</summary>
736736
[Required]
737737
public string DeliveryConfigID { get => GetProp<string>("DeliveryConfigID"); set => SetProp<string>("DeliveryConfigID", value); }
738+
/// <summary>Sync entity changed of the entity sync config. Required.</summary>
739+
[Required]
740+
public bool SyncEntityChanged { get => GetProp<bool>("SyncEntityChanged"); set => SetProp<bool>("SyncEntityChanged", value); }
741+
/// <summary>Sync entity deleted of the entity sync config. Required.</summary>
742+
[Required]
743+
public bool SyncEntityDeleted { get => GetProp<bool>("SyncEntityDeleted"); set => SetProp<bool>("SyncEntityDeleted", value); }
738744
}
739745
public class ErrorConfig : OrderCloudModel
740746
{

0 commit comments

Comments
 (0)