|
@@ 70-76 (lines=7) @@
|
| 67 |
|
return $this->serializer->deserialize(FacadeOrderResponse::class, $result); |
| 68 |
|
} |
| 69 |
|
|
| 70 |
|
public function facadeOrderDetails(string $token, string $orderId): FacadeOrderDetailsResponse |
| 71 |
|
{ |
| 72 |
|
$result = $this->request('GET', sprintf('/api/v3/facade/order/%s/details', $orderId), null, null, $token); |
| 73 |
|
|
| 74 |
|
/* @noinspection PhpIncompatibleReturnTypeInspection */ |
| 75 |
|
return $this->serializer->deserialize(FacadeOrderDetailsResponse::class, $result); |
| 76 |
|
} |
| 77 |
|
|
| 78 |
|
public function facadeDocListV2(string $token, FacadeDocListV2Query $query): FacadeDocListV2Response |
| 79 |
|
{ |
|
@@ 86-92 (lines=7) @@
|
| 83 |
|
return $this->serializer->deserialize(FacadeDocListV2Response::class, $result); |
| 84 |
|
} |
| 85 |
|
|
| 86 |
|
public function facadeDocBody(string $token, string $docId): FacadeDocBodyResponse |
| 87 |
|
{ |
| 88 |
|
$result = $this->request('GET', sprintf('/api/v3/facade/doc/%s/body', $docId), null, null, $token); |
| 89 |
|
|
| 90 |
|
/* @noinspection PhpIncompatibleReturnTypeInspection */ |
| 91 |
|
return $this->serializer->deserialize(FacadeDocBodyResponse::class, $result); |
| 92 |
|
} |
| 93 |
|
|
| 94 |
|
public function facadeCisList(string $token, string $cis): FacadeCisListResponse |
| 95 |
|
{ |
|
@@ 94-100 (lines=7) @@
|
| 91 |
|
return $this->serializer->deserialize(FacadeDocBodyResponse::class, $result); |
| 92 |
|
} |
| 93 |
|
|
| 94 |
|
public function facadeCisList(string $token, string $cis): FacadeCisListResponse |
| 95 |
|
{ |
| 96 |
|
$response = $this->request('GET', '/api/v3/facade/cis/cis_list', null, ['cis' => $cis], $token); |
| 97 |
|
|
| 98 |
|
/* @noinspection PhpIncompatibleReturnTypeInspection */ |
| 99 |
|
return $this->serializer->deserialize(FacadeCisListResponse::class, $response); |
| 100 |
|
} |
| 101 |
|
|
| 102 |
|
public function facadeMarkedProducts(string $token, string $uit): FacadeMarkedProductsResponse |
| 103 |
|
{ |
|
@@ 102-108 (lines=7) @@
|
| 99 |
|
return $this->serializer->deserialize(FacadeCisListResponse::class, $response); |
| 100 |
|
} |
| 101 |
|
|
| 102 |
|
public function facadeMarkedProducts(string $token, string $uit): FacadeMarkedProductsResponse |
| 103 |
|
{ |
| 104 |
|
$response = $this->request('GET', '/api/v3/facade/marked_products', null, ['uit' => $uit], $token); |
| 105 |
|
|
| 106 |
|
/** @noinspection PhpIncompatibleReturnTypeInspection */ |
| 107 |
|
return $this->serializer->deserialize(FacadeMarkedProductsResponse::class, $response); |
| 108 |
|
} |
| 109 |
|
|
| 110 |
|
public function lkDocumentsCreate(string $token, DocumentCreateRequest $request): string |
| 111 |
|
{ |