Skip to content

Commit 7bbce53

Browse files
author
rykalov
committed
Переименование: GlobalTransportationIdentifier => TransportationDocumentIdentifier, GlobalTransportationId => TransportationDocumentId
1 parent f23736a commit 7bbce53

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

EdiApi.Client/Http/BaseEdiApiHttpClient.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,15 +140,15 @@ public UsersInfo GetUsersInfo(string authToken, string partyId)
140140
return Serializer.Deserialize<UsersInfo>(result.Response.Content.ToString());
141141
}
142142

143-
public GlobalTransportationIdentifier GetGlobalTransportationIdentifier(string authToken, string partyId)
143+
public TransportationDocumentIdentifier GetTransportationDocumentIdentifier(string authToken, string partyId)
144144
{
145-
var request = BuildGetRequest("V1/Logistics/GetGlobalTransportationIdentifier", authToken : authToken)
145+
var request = BuildGetRequest("V1/Logistics/GetTransportationDocumentIdentifier", authToken : authToken)
146146
.WithAdditionalQueryParameter("partyId", partyId);
147147

148148
var result = clusterClient.Send(request);
149149
EnsureSuccessResult(result);
150150

151-
return Serializer.Deserialize<GlobalTransportationIdentifier>(result.Response.Content.ToString());
151+
return Serializer.Deserialize<TransportationDocumentIdentifier>(result.Response.Content.ToString());
152152
}
153153

154154
protected IEdiApiTypesSerializer Serializer { get; }

EdiApi.Client/IBaseEdiApiClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ public interface IBaseEdiApiClient
3131

3232
UsersInfo GetUsersInfo(string authToken, string partyId);
3333

34-
GlobalTransportationIdentifier GetGlobalTransportationIdentifier(string authToken, string partyId);
34+
TransportationDocumentIdentifier GetTransportationDocumentIdentifier(string authToken, string partyId);
3535
}
3636
}

EdiApi.Client/Types/Logistics/GlobalTransportationIdentifier.cs renamed to EdiApi.Client/Types/Logistics/TransportationDocumentIdentifier.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace SkbKontur.EdiApi.Client.Types.Logistics
44
{
55
/// <summary>УИД транспортной накладной из пула Минтранс</summary>
6-
public class GlobalTransportationIdentifier
6+
public class TransportationDocumentIdentifier
77
{
88
/// <summary>Значение УИДа транспортной накладной</summary>
99
public string Id { get; set; } = null!;

EdiApi.Client/Types/Messages/BoxEventsContents/LogisticsWaybillStatusInfo.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public class LogisticsWaybillStatusInfo
1717
/// <summary>Признак черновика. Заполняется в событии TransportationCreated</summary>
1818
public bool? IsDraft { get; set; }
1919

20-
/// <summary>Тип титула</summary>
20+
/// <summary>Тип титула. Заполняется в событиях подписания</summary>
2121
public string? TitleType { get; set; }
2222

2323
/// <summary>Идентификатор ящика отправителя в Диадоке. Заполняется в событии TitleForwarded</summary>
@@ -29,10 +29,10 @@ public class LogisticsWaybillStatusInfo
2929
/// <summary>Результат приёмки. Заполняется в событии ConsigneeTitleSigned</summary>
3030
public string? AcceptanceResult { get; set; }
3131

32-
/// <summary>Признак исправления</summary>
32+
/// <summary>Признак исправления. Заполняется в событиях подписания</summary>
3333
public bool? IsRevision { get; set; }
3434

35-
/// <summary>Тип действия с черновиком</summary>
35+
/// <summary>Тип действия с черновиком. Заполняется в событии DraftAction</summary>
3636
public string? DraftActionType { get; set; }
3737
}
3838
}

EdiApi.Client/Types/Messages/BoxEventsContents/LogisticsWaybillTitleIdentificationInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ public class LogisticsWaybillTitleIdentificationInfo
99
public string OriginalSenderDiadocBoxId { get; set; } = null!;
1010

1111
/// <summary>Идентификатор транспортной накладной в Минтранс</summary>
12-
public string GlobalTransportationId { get; set; } = null!;
12+
public string TransportationDocumentId { get; set; } = null!;
1313

14-
/// <summary>Идентификатор транспортной накладной в Контур.Логистике</summary>
14+
/// <summary>Внутренний идентификатор перевозки в Контур.Логистике</summary>
1515
public string LogisticsTransportationId { get; set; } = null!;
1616

1717
/// <summary>Идентификатор черновика в Контур.Логистике</summary>

version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
3-
"version": "2.9-pre.2",
3+
"version": "2.9-pre.3",
44
"assemblyVersion": {
55
"precision": "build"
66
},

0 commit comments

Comments
 (0)